Sub topic 14
Writing the equation from the vertex and one more point
This chapter assumes you can substitute values into an expression, solve a linear equation, and read the vertex (h, k) from vertex form. You should also be comfortable with the sign rule for h: in y = a(x - h)² + k, a vertex at x = -3 appears as (x + 3).
Why two pieces of information are enough
Vertex form, y = a(x - h)² + k, has three unknown numbers: a, h, and k. The vertex gives you h and k directly. Only a is left, and one more point on the parabola is enough to find it.
The reason is that substituting a known point turns the equation into a linear equation in a. Linear equations with one unknown have exactly one solution, so the parabola is fully determined.
This is the reverse of the work in earlier chapters. There you started with a, h, and k and produced points. Here you start with points and recover a.
The method
- Write the vertex form with h and k filled in, leaving a unknown.
- Substitute the extra point (px, py) for x and y.
- Simplify the squared term, then solve for a.
- Write the final equation with the value of a.
- Check that the vertex and the extra point both satisfy it.
In symbols, step 3 gives a formula you can use directly:
a = (py - k) / (px - h)²
Worked example 1
A parabola has vertex (2, -3) and passes through (4, 5).
Step 1: y = a(x - 2)² - 3.
Step 2: substitute x = 4 and y = 5.
5 = a(4 - 2)² - 3
Step 3: simplify and solve.
5 = 4a - 3 8 = 4a a = 2
Step 4: y = 2(x - 2)² - 3.
Step 5: check. At x = 4, 2(2)² - 3 = 8 - 3 = 5. ✓
The positive a means the parabola opens upward, which fits a vertex at y = -3 and a point higher up at y = 5.
If you want standard form, expand: 2(x² - 4x + 4) - 3 = 2x² - 8x + 5.
Worked example 2: a negative h and an opening-down parabola
A parabola has vertex (-3, 4) and passes through (0, -5).
Because h = -3, the factor is (x - (-3)), which is (x + 3).
-5 = a(0 + 3)² + 4 -5 = 9a + 4 -9 = 9a a = -1
The equation is y = -(x + 3)² + 4.
The negative a matches the data: the vertex is at y = 4, and the point (0, -5) is lower, so the parabola must open downward. You can use this as a quick sanity check on the sign of a. If the extra point lies above the vertex, a is positive. If it lies below, a is negative.
The same method in code
The function from the topic examples computes a. The version below also refuses inputs that cannot define a quadratic, and it checks its own result.
def vertex_form_from_point(h, k, px, py):
"""Return a so that y = a(x - h)^2 + k passes through (px, py)."""
if px == h:
raise ValueError("The point has the same x as the vertex; a is undetermined or impossible.")
a = (py - k) / (px - h) ** 2
if a == 0:
raise ValueError("The point has the same y as the vertex; a = 0 gives a line, not a parabola.")
assert abs(a * (px - h) ** 2 + k - py) < 1e-9
return a
print(vertex_form_from_point(2, -3, 4, 5)) # 2.0 -> y = 2(x - 2)^2 - 3
print(vertex_form_from_point(-3, 4, 0, -5)) # -1.0 -> y = -(x + 3)^2 + 4Both calls reproduce the hand results above.
Reading the vertex and a point from a graph
Often the information comes as a picture. Follow these habits:
- Read the vertex first. It is the turning point, the lowest or highest point of the curve.
- Choose an extra point that sits exactly on a grid crossing. Reading a point between grid lines introduces rounding error into a.
- Prefer a point that is not the vertex and not directly above or below it.
There is also a shortcut. In y = a(x - h)² + k, moving one unit right of the vertex changes y by exactly a. Moving two units right changes y by 4a, and three units by 9a. So if the graph passes through a lattice point one unit right of the vertex, you can read a as the vertical change.
For example, a vertex at (1, 2) with the curve passing through (2, 5) gives a = 3 directly, so y = 3(x - 1)² + 2.
Using symmetry to double-check
The axis of symmetry x = h means every point has a mirror partner. If your extra point is (px, py), then (2h - px, py) is also on the parabola.
In example 1, the vertex is at x = 2 and the point is at x = 4. The mirror x-value is 2(2) - 4 = 0. Your equation should give y = 5 at x = 0:
2(0 - 2)² - 3 = 8 - 3 = 5. ✓
This is a good independent check because it uses a point you never put into the equation.
Common mistakes
| Mistake | What goes wrong | Fix |
|---|---|---|
| Using the vertex x-value with the wrong sign, such as writing (x - 3) for h = -3 | The parabola is shifted 6 units from where it should be | Write (x - h) with h in parentheses: x - (-3) = x + 3 |
| Forgetting to square (px - h) | You get a = (py - k)/(px - h), which is wrong unless the distance is 1 | Square the difference before dividing |
| Squaring only part of the product, such as (a(px - h))² | The a ends up squared too | The square applies to (x - h) only |
| Using the sign of k backwards | y-values are off by 2k | k is added: + k. For vertex (2, -3) write - 3 |
| Choosing the vertex as the "extra" point | Substituting gives k = k, which says nothing about a | Use a different point |
| Choosing a point at the same y as the vertex | a = 0 | Use a point at a different height |
| Reading a point off a graph imprecisely | a is slightly wrong | Use a clear grid-crossing point |
Edge cases
- Point directly above or below the vertex. If px = h and py ≠ k, the equation becomes py = k, which is false for every a. No function has two different y-values at the same x, so the data is inconsistent.
- Point at the same height as the vertex. If py = k and px ≠ h, then a = 0 and the graph is a horizontal line. A line is not a parabola, so the data does not describe a quadratic.
- Fractional a. If the point is not at a convenient distance, a can be a fraction. For vertex (0, 1) and point (2, 2), a = 1/4. This is correct. A small |a| means a wide parabola.
- Which a is "the" answer. Only one value of a works, so the result is unique. The sign of a is not a choice. It is forced by whether the point is above or below the vertex.
Connecting back to the rest of the plan
Once you have the equation, you can use everything from earlier chapters. The y-intercept is a·h² + k. The x-intercepts follow from h ± √(-k/a) when -k/a is positive. For example 2, y = -(x + 3)² + 4 has -k/a = 4, so the x-intercepts are -3 ± 2, which are -5 and -1. The graph passes through (0, -5), which is the point you started with, so the work is consistent.
Exercises
Exercise
A parabola has vertex (1, 5) and passes through (3, 1). Write its equation in vertex form.
Show answer
Substitute: 1 = a(3 - 1)² + 5, so 1 = 4a + 5, so a = -1. The equation is y = -(x - 1)² + 5. Check: at x = 3, -(2)² + 5 = 1. ✓
Exercise
A parabola has vertex (-2, -1) and passes through (0, 7). Write its equation, then give the mirror point of (0, 7) across the axis of symmetry.
Show answer
Substitute: 7 = a(0 + 2)² - 1, so 8 = 4a, so a = 2. The equation is y = 2(x + 2)² - 1. The axis is x = -2, so the mirror x-value is 2(-2) - 0 = -4. The mirror point is (-4, 7). Check: 2(-4 + 2)² - 1 = 8 - 1 = 7. ✓
Exercise
Explain why no parabola in vertex form has vertex (3, -2) and also passes through (3, 5).
Show answer
Both points have x = 3, so substituting gives 5 = a(3 - 3)² - 2, which simplifies to 5 = -2. That is false for every a. A function cannot have two different y-values at the same x.