I need to find an equation for the parabola that passes through the points $(0,0)$ and $(5,0)$, such that $f(x)<0$ whenever $0< x <5$. The answer should be in expanded form. I.e., $f(x)=ax^2+bx+c$.
I have tried to substitute the two points into the equation of the parabola $y = \frac{1}{2(b+k)}{(x-a)^2}+\frac{(b+k)}{2}$. But the problem I am facing is that there are 3 variables(a,b,k) here and only 2 equations. I have also tried substituting the point in $f(x)=ax^2+bx+c$. I am just starting with parabolas so any book or resource on this topic would be greatly appreciated. Thank you in advance.
If you were clever you would say, I know 2 roots, therefore: $y = a(x-0)(x-5)$ now, what values can $a$ take on?
If you were more brute force about it.
$f(x) = ax^2 + bx + c\\ f(0) = c = 0\\ f(5) = 25a + 5b = 0\\ b = -5a\\ f(x) = ax^2 -5a x\\ $
And you still need to make sure that a is in the right set of values.
but you have chosen
$y = a (x-h)^2 + v$
This is probably not the right place to start. But there is enough information given to determine that $h = \frac 52$, (halfway between the roots) and the sign of $a.$ Still, not the approach I would recommend.