Parabola through three points

Find the parabola through the three points (0,1)(0, 1), (1,0)(1, 0) and (2,3)(2, 3). Through three points with distinct xx-coordinates passes exactly one quadratic function1.

Setting up the equations

Write it as y=ax2+bx+cy = ax^2 + bx + c and substitute each point.

PointEquation
(0,1)(0, 1)c=1c = 1
(1,0)(1, 0)a+b+c=0a + b + c = 0
(2,3)(2, 3)4a+2b+c=34a + 2b + c = 3

Three unknowns, three conditions: exactly enough.

Solving

Using c=1c = 1 leaves two equations.

a+b=12a+b=1\begin{align*} a + b &= -1 \\ 2a + b &= 1 \end{align*}

Subtracting gives a=2a = 2 and then b=3b = -3. Hence y=2x23x+1y = 2x^2 - 3x + 1.

Checking

xx2x23x+12x^2 - 3x + 1Required
001111
110000
223333

Why three points suffice

A quadratic carries three degrees of freedom, aa, bb and cc. Passing through one point is one equation, so three points supply three equations and pin the curve down with nothing to spare. Given only two points, infinitely many parabolas pass through them.

CurveDegrees of freedomPoints needed
Line2222
Parabola3333
Degree nn polynomialn+1n + 1n+1n + 1

The structure is identical to that of finding the circle through three points.

What else the answer tells us

y=2x23x+1y = 2x^2 - 3x + 1 factors as (2x1)(x1)(2x - 1)(x - 1), so it meets the xx-axis at (12,0)\left(\dfrac{1}{2}, 0\right) and (1,0)(1, 0). One of the three given points was on the xx-axis to begin with.

Completing the square turns it into 2(x34)2182\left(x - \dfrac{3}{4}\right)^2 - \dfrac{1}{8}, so the vertex is (34,18)\left(\dfrac{3}{4}, -\dfrac{1}{8}\right). From the bare requirement of passing through three points, the position and the width have both been settled.

Interpolation

Finding a polynomial that passes through a given set of points is called interpolation, and it is the basic tool for drawing a smooth curve through scattered measurements. The large dots mark the three points.

  1. Polynomial interpolation, Wikipedia