Answer:
[tex]f(x)=-\frac{1}{8}(x-3)^2+3[/tex]
Step-by-step explanation:
We want to find the equation of the parabola with a focus of [tex](3,1)[/tex] and directrix [tex]y=5[/tex].
Considering the directrix, the quadratic graph must open downwards.
The equation of this parabola is given by the formula,
[tex](x-h)^2=4p(y-k)[/tex], where [tex](h,k)[/tex] is the vertex of the parabola.
The axis of this parabola meets the directrix at [tex](3,5)[/tex].
Since the vertex is the midpoint of the focus and the point of intersection of the axis of the parabola and the directrix,
[tex]h=\frac{3+3}{2}=3[/tex] and [tex]k=\frac{5+1}{2}=3[/tex].
The equation of the parabola now becomes,
[tex](x-3)^2=4p(y-3)[/tex].
Also [tex]|p|[/tex] is the distance between the vertex and the directrix.
[tex]|p|=2[/tex]
This implies that [tex]p=-2\:or\:2[/tex].
Since the parabola turns downwards,
[tex]p=-2[/tex].
Our equation now becomes,
[tex](x-3)^2=4(-2)(y-3)[/tex].
[tex](x-3)^2=-8(y-3)[/tex].
We make y the subject to get,
[tex]y=-\frac{1}{8}(x-3)^2+3)[/tex].
This is the same as
[tex]f(x)=-\frac{1}{8}(x-3)^2+3)[/tex].