Expressing variable q in terms of p. Where p and q are contents in a quadratic. Suppose that $p$ and $q$ are constants such that the smallest possible value of $x^2+px+q$ is $0$. Express $q$ in terms of $p$.
I am unsure what it is asking. I feel it is asking something very simple. However I am unsure of what it is. Any solutions or walk-throughs would be appreciated.

If the minimum value of the quadratic is $0$, then it has a double root and opens upwards, so can be factored as $(x-r)^2=0$. Expanding this and equating coefficients, we get $p=-2r$ and $q=r^2$, therefore $q=p^2/4$.
