I have two questions involving quadratics. Next to a diagram of a parabola with a ma point with the y intercept of $(0,p)$ and roots $(-1,0)$ and $(p,0)$ it says:
3a) Show that the equation of the parabola is $y=p+(p-1)x-x^2$
3b) For what value of $ p$ will the line $y=x+p$ be a tangent to this curve.
I'm terrible at quadratics so please help!
You know that a parabola is represented by a second degree equation so, if the parabola intercepts the $x$ axis ( i.e. has $y=0$) at $(-1,0)$ and $(p,0)$, the equation has the form: $$ y=a(x+1)(x-p) $$ Now you know that the parabola passes through the point $(=,p)$ , so, substituting these coordinates in the equation you can find $a$ : $$ p=a(-p) \Rightarrow a=-1 $$ and you have the equation $y=-x^2+(p-1)x+p$
For the question 3b):
if you know derivatives than the method in the answer of Alain Remillard is the simplest. if don't know derivative you can solve the problem with an algebraic method.
Substitute $y=x+p$ in the equation of the parabola $y=-x^2+(p-1)x+p$ so you have a second degree equation $x+p=-x^2+(p-1)x+p$ whose solutions are the abscissas of the common points of the line and the parabola, so the parabola is tangent iff this equation has only one real solution, and this is done iff its discriminant is null. So, write out $\Delta=0$ and you have an equation in the unknown $p$ whose solutions are the searched values.