Parabola vertex, focus, directrix
A parabola is every point equally far from a fixed point, the focus, and a fixed line, the directrix. When the equation is (y - k)^2 = 4p(x - h) or (x - h)^2 = 4p(y - k), the vertex is (h, k), the focus sits p units from the vertex along the axis, and the directrix is the line p units on the other side.
For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.
Book your first sessionFind the vertex, focus and directrix of y^2 + 4y - 12x + 40 = 0.
- Move the x and constant terms across: y^2 + 4y = 12x - 40.
- Complete the square on y by adding 4 to both sides: y^2 + 4y + 4 = 12x - 36.
- Write the left side as a square and factor the right: (y + 2)^2 = 12(x - 3).
- Compare with (y - k)^2 = 4p(x - h): k = -2, h = 3, and 4p = 12, so p = 3.
- The vertex is (3, -2). The axis is horizontal and p is positive, so the parabola opens right and the focus is (6, -2).
- The directrix is the vertical line p units left of the vertex: x = 0.
Answer vertex (3, -2), focus (6, -2), directrix x = 0.
Original problem by George Li Tutoring; the standard forms are those of OpenStax, Algebra and Trigonometry 2e
How do the four orientations differ?
Which variable is squared tells you the axis. The sign of p tells you the direction.
| Equation | Axis | Opens | Focus | Directrix |
|---|---|---|---|---|
| y^2 = 4px with p > 0 | x-axis | Right | (p, 0) | x = -p |
| y^2 = 4px with p < 0 | x-axis | Left | (p, 0) | x = -p |
| x^2 = 4py with p > 0 | y-axis | Up | (0, p) | y = -p |
| x^2 = 4py with p < 0 | y-axis | Down | (0, p) | y = -p |
The focus always lies inside the curve, and the directrix is always outside it, on the far side of the vertex. If you have a sign wrong, a quick sketch shows it.
What does a reduced equation tell you?
In reduced form a parabola has its vertex at (0, 0). Take y^2 = 24x. Then 4p = 24, so p = 6. The vertex is (0, 0), the focus is (6, 0), and the directrix is x = -6. For x^2 = -28y, 4p = -28 gives p = -7. The vertex is (0, 0), the focus is (0, -7), the directrix is y = 7, and the curve opens downward.
When the equation is not in the form with a coefficient on one side, solve for it. For 2y^2 = 36x, divide by 2 to get y^2 = 18x, so 4p = 18 and p = 9/2.
What if the vertex is not at the origin?
Read h and k with their signs reversed. In (y - 1)^2 = 20(x + 2), the x part is x + 2, which means h = -2. So the vertex is (-2, 1). With 4p = 20, p = 5, the parabola opens right, the focus is (3, 1), and the directrix is x = -7.
When the equation arrives in expanded form, complete the square on the variable that is squared, as in the worked example. For x^2 + 6x - 12y + 33 = 0, move the other terms: x^2 + 6x = 12y - 33. Add 9: (x + 3)^2 = 12y - 24 = 12(y - 2). So the vertex is (-3, 2), p = 3, the focus is (-3, 5), and the directrix is y = -1.
How do you write the equation from the focus and directrix?
Work out the vertex first. It is the midpoint of the perpendicular segment from focus to directrix. Then p is the distance from the vertex to the focus, with a sign for direction.
- Focus (4, 0), directrix x = -4. The vertex is halfway between, at (0, 0), and p = 4. The equation is y^2 = 16x.
- Focus (0, 3), directrix y = -3. The vertex is (0, 0) and p = 3, so x^2 = 12y.
- Focus (5, 6), directrix y = 2. The vertex is (5, 4) and p = 2, so (x - 5)^2 = 8(y - 4).
The third one can be confirmed from the definition. A point (x, y) above the line is equally far from (5, 6) and the line y = 2, so the square root of (x - 5)^2 + (y - 6)^2 equals y - 2. Squaring gives (x - 5)^2 + y^2 - 12y + 36 = y^2 - 4y + 4, which reduces to (x - 5)^2 = 8y - 32. That is the same equation.
How do you build a parabola from three points?
If the axis is vertical, use y = ax^2 + bx + c and write one equation per point. Through (0, 5), (1, 2) and (2, 1): c = 5, then a + b + 5 = 2 gives a + b = -3, and 4a + 2b + 5 = 1 gives 2a + b = -2. Subtracting, a = 1 and b = -4. So y = x^2 - 4x + 5, which is (x - 2)^2 = y - 1. The vertex is (2, 1), and 4p = 1 gives p = 1/4, so the focus is (2, 5/4) and the directrix is y = 3/4.
With the vertex placed on (0, 0) and the parabola running along the x-axis, y^2 = 4px and one point is enough. Through (2, 6), 36 = 4p(2), so 4p = 18 and the equation is y^2 = 18x.
How can a line meet a parabola?
Substitute the line into the parabola and look at the discriminant of the quadratic that results. For y^2 = 4x, the line y = x - 1 gives (x - 1)^2 = 4x, or x^2 - 6x + 1 = 0, whose discriminant is 32. That is positive, so the line cuts the parabola at two points. The line y = x + 1 gives x^2 - 2x + 1 = 0, a perfect square, so it touches once, at (1, 2). The line y = x + 2 gives x^2 + 4 = 0, which has no real solution, so it misses the parabola entirely.
Practice problems
These are original to George Li Tutoring.
- Find the vertex, focus and directrix of y^2 = -16x.
- Find the vertex, focus and directrix of (x - 4)^2 = 20(y + 3).
- Give the equation for the parabola whose focus is (0, -3) and whose directrix is y = 3.
- Complete the square: x^2 - 6x - 4y + 1 = 0, and give the vertex.
Answers: 1) 4p = -16 gives p = -4, so the vertex is (0, 0), the focus is (-4, 0) and the directrix is x = 4. 2) 4p = 20 gives p = 5, so the vertex is (4, -3), the focus is (4, 2) and the directrix is y = -8. 3) The vertex is (0, 0), p = -3, so x^2 = -12y. 4) x^2 - 6x + 9 = 4y + 8, so (x - 3)^2 = 4(y + 2), and the vertex is (3, -2).
Conics come up in precalculus and college calculus, and occasionally on standardized math tests. The math tutoring page and the packages page show how we work from your problems, and the study planner helps you place the practice in your week.
Common questions
How do I remember which way a parabola opens?
Look at the squared variable and the sign of 4p. If y is squared it opens sideways, right for a positive p and left for a negative one. A squared x means it opens upward for positive p and downward for negative p.
What does p measure?
It is the distance from the vertex to the focus, and also from the vertex to the directrix. The curve's width at the focus is 4 times that distance.
Does the vertex always lie midway from the focus to the directrix?
Yes. Every parabola's vertex is the midpoint of the shortest segment from the focus to the directrix.
Why complete the square?
It rewrites the expanded equation in the standard form where the vertex and p can be read off directly. For a parabola with a vertical axis the vertex formula also gives the vertex, but completing the square gives p as well, which you need for the focus and directrix.