The standard equation follows from that definition and nothing else. Choose coordinates that make the picture symmetric: put the focus at \(F(0,p)\) and the directrix at \(y = -p\text{,}\) so the two sit on opposite sides of the origin at equal distances. A point \(P(x,y)\) lies on the parabola exactly when its distance to \(F\) equals its distance to the directrix, and that second distance is measured straight down to the foot \((x,-p)\text{:}\)
So for the standard parabola \(x^2 = 4py\) the vertex is at the origin, the focus is at \((0,p)\text{,}\) and the directrix is the line \(y = -p\text{.}\) The vertex sits halfway between focus and directrix, which is why both are a distance \(|p|\) from it. If \(p \lt 0\) the same algebra applies unchanged and the curve opens downward; interchanging the roles of \(x\) and \(y\) gives the sideways parabola \(y^2 = 4px\text{.}\)
Comparing with \(x^2 = 4py\) gives \(4p = -2\text{,}\) so \(p = -\frac{1}{2}\text{.}\) The graph is the standard parabola shifted right by one unit, so the vertex is at \((1,0)\text{.}\) Therefore the focus is at
Example5.6From focus and directrix to equation (a sideways parabola).
Find the equation of the parabola whose focus is \((2,0)\) and whose directrix is the vertical line \(x = -2\text{.}\) In which direction does it open?
Here we run DefinitionΒ 5.1 in reverse. A point \((x,y)\) lies on the parabola exactly when its distance to the focus equals its distance to the directrix:
Because the directrix is vertical and the focus lies to its right, the parabola opens to the right. Comparing with \(y^2 = 4px\) gives \(4p = 8\text{,}\) so \(p = 2\text{,}\) consistent with the focus at \((2,0)\text{.}\) This is the same equidistance idea as the previous example, but with a horizontal axis of symmetry.