How to Find a Quadratic Equation from 3 Points
Finding a quadratic equation from three given points is a fundamental skill in algebra and pre‑calculus. When you know three distinct coordinates ((x_1, y_1), (x_2, y_2), (x_3, y_3)) that lie on a parabola, there is exactly one quadratic function (y = ax^2 + bx + c) that passes through all of them—provided the (x)-values are not all the same. This article walks you through the theory, the most reliable methods, and a detailed example so you can confidently find a quadratic equation from 3 points in any problem set or real‑world application It's one of those things that adds up..
And yeah — that's actually more nuanced than it sounds.
Why Three Points Determine a Unique Quadratic
A quadratic function has three unknown coefficients: (a), (b), and (c). Each point ((x_i, y_i)) gives one linear equation when substituted into the generic form:
[ y_i = a x_i^2 + b x_i + c . ]
With three points you obtain three independent linear equations in the three unknowns. As long as the points are not collinear in a way that makes the system degenerate (which would happen only if two points share the same (x)-value), the system has a unique solution. This guarantees that one and only one parabola fits the three points And that's really what it comes down to..
Method 1: Solving a System of Equations
The most straightforward approach is to set up and solve the linear system directly.
Steps
- Write the three equations using the generic quadratic (y = ax^2 + bx + c).
- Arrange them in matrix form (A\mathbf{p} = \mathbf{y}), where
[ A = \begin{bmatrix} x_1^2 & x_1 & 1\ x_2^2 & x_2 & 1\ x_3^2 & x_3 & 1 \end{bmatrix}, \quad \mathbf{p} = \begin{bmatrix}a\ b\ c\end{bmatrix}, \quad \mathbf{y} = \begin{bmatrix}y_1\ y_2\ y_3\end{bmatrix}. ] - Solve for (\mathbf{p}) using any of the following:
- Gaussian elimination (row reduction)
- Cramer’s rule (if you prefer determinants)
- Inverse matrix: (\mathbf{p} = A^{-1}\mathbf{y}) (when (A) is invertible)
- Write the final quadratic (y = ax^2 + bx + c) with the obtained coefficients.
Example
Given points ((1, 2), (2, 3), (3, 6)):
[ \begin{cases} a(1)^2 + b(1) + c = 2\ a(2)^2 + b(2) + c = 3\ a(3)^2 + b(3) + c = 6 \end{cases} ;\Longrightarrow; \begin{bmatrix} 1 & 1 & 1\ 4 & 2 & 1\ 9 & 3 & 1 \end{bmatrix} \begin{bmatrix}a\ b\ c\end{bmatrix}
\begin{bmatrix}2\ 3\ 6\end{bmatrix}. ]
People argue about this. Here's where I land on it Small thing, real impact. Surprisingly effective..
Row‑reducing yields (a = 1,; b = -2,; c = 3).
Thus the quadratic is (y = x^2 - 2x + 3).
Method 2: Lagrange Interpolation Formula
When you prefer a formula that directly yields the polynomial without solving a system, Lagrange interpolation is ideal. For three points the quadratic is:
[ y = \sum_{i=1}^{3} y_i , L_i(x), ] where each basis polynomial is
[ L_i(x) = \prod_{\substack{j=1\ j\neq i}}^{3} \frac{x - x_j}{x_i - x_j}. ]
Steps
- Compute each (L_i(x)) by forming the product of two linear factors.
- Multiply each (L_i(x)) by its corresponding (y_i).
- Add the three results and simplify to standard form (ax^2 + bx + c).
Example (same points)
[ \begin{aligned} L_1(x) &= \frac{(x-2)(x-3)}{(1-2)(1-3)} = \frac{(x-2)(x-3)}{2},\ L_2(x) &= \frac{(x-1)(x-3)}{(2-1)(2-3)} = -\frac{(x-1)(x-3)}{1},\ L_3(x) &= \frac{(x-1)(x-2)}{(3-1)(3-2)} = \frac{(x-1)(x-2)}{2}. \end{aligned} ]
Then
[ y = 2L_1(x) + 3L_2(x) + 6L_3(x) = (x^2 - 2x + 3). ]
The result matches the system‑of‑equations method.
Method 3: Using Vertex Form (When Applicable)
If you suspect the parabola’s vertex is known or can be guessed, you can work with the vertex form:
[ y = a(x - h)^2 + k, ] where ((h, k)) is the vertex. Substituting the three points gives three equations in the unknowns (a, h, k). This method is less systematic but can save algebra when the vertex is obvious from symmetry.
When to Use It
- Two points have the same (y)-value (they are symmetric about the axis).
- The midpoint of those points gives the (x)-coordinate of the vertex.
Example
Points ((0, 4), (2, 0), (4, 4)). Consider this: the first and third points share (y=4); their midpoint (x = 2) is the axis, so (h = 2). Plugging ((2,0)) gives (k = 0) Worth keeping that in mind..
[ 4 = a(0-2)^2 + 0 \Rightarrow 4 = 4a \Rightarrow a = 1. ]
Thus (y = (x-2)^2), which expands to (y = x^2 - 4x + 4) But it adds up..
Common Pitfalls and How to Avoid Them
| Pitfall | Why It Happens | How to Prevent |
|---|---|---|
| Using points with identical (x)-values | Leads to a vertical line, not a function; the system becomes singular. | Ensure all three (x)-coordinates are distinct before starting. |
| Arithmetic errors in substitution | Simple sign or multiplication mistakes propagate. | Double‑check each substitution; consider using a calculator for intermediate steps. |
| Assuming the quadratic is unique when points are collinear | Three collinear points still satisfy a quadratic, but the (x^2) coefficient will be zero (degenerate case). Which means | After solving, verify that (a \neq 0) if a genuine parabola is required. |
| Forgetting to simplify | Leaving the answer in factored or unsimplified form may hide errors. |