A quadratic polynomial $p(x)$ is such that $p(x)$ never takes any negative values. Also, $p(0)=8$ and $p(8)=0$. What would $p(-4)$ be?
I tried doing it by taking the minimum value as zero that is the vertex of the polynomial at $8$. How do we go about after finding out values of $a$ and $b$ in the standard form of the equation $ax^2 + bx + c$ ? Could this be done in a shorter way graphically?
Here's a way to solve this without needing as much mathematical insight as Barry's answer. If the polynomial is $$p(x) = ax^2 + bx + c,$$ then from $p(0) = 8$ we get $$0a + 0b + c=8,$$ from $p(8) = 0$ we get $$64a + 8b + c = 0,$$ and from $p(x)$ never taking any negative values, it follows that $x=8$ is a minimum, and so $p′(8) = 0$, and since $p′(x) = 2ax + b$, then we get $$16a + b + 0c = 0.$$ This gives three simultaneous equations in three variables, which give the coefficients $$a={1\over 8}, b=-2, c=8.$$