Quadratic relations and the parabola¶
Algebra · level 7, lesson 1 of 7
A question to start¶
A ball is kicked straight up from the ground. Every second someone writes down its height in metres:
| Time \(t\) (s) | 0 | 1 | 2 | 3 | 4 | 5 | 6 |
|---|---|---|---|---|---|---|---|
| Height \(h\) (m) | 0 | 25 | 40 | 45 | 40 | 25 | 0 |
Look at the heights. They go up, then come down again in exactly the same steps, in reverse. Is that luck? And here is a harder puzzle: if the ball had been timed only at \(t = 1\) and \(t = 5\) (both 25 m), could you say when it was highest, without any other measurement?
You can: halfway, at \(t = 3\). This lesson explains why. The rule behind the table is \(h = 30t - 5t^2\), and the \(t^2\) makes it a new kind of relation, with a curved graph that is perfectly symmetric.
The idea¶
Second differences¶
In level 6 you met first differences: subtract each output from the next one. For a straight line they are all the same. Here they are not:
| \(h\) | 0 | 25 | 40 | 45 | 40 | 25 | 0 |
|---|---|---|---|---|---|---|---|
| first differences | 25 | 15 | 5 | −5 | −15 | −25 | |
| second differences | −10 | −10 | −10 | −10 | −10 |
Take differences of the differences and you get the same number every time. A relation whose second differences are constant (with equal steps in \(x\)) is called quadratic. Quadratic comes from the Latin quadratus, square, because the highest power is a square: \(x^2\).
Why do squares give constant second differences? Look at \(y = x^2\): the outputs 0, 1, 4, 9, 16, 25 have first differences 1, 3, 5, 7, 9 (the odd numbers) and second differences all 2. In general
so the first differences grow in a straight line, going up by 2 each step. For \(y = ax^2 + bx + c\) the same algebra gives second differences of \(2a\) (with steps of 1). In the ball table, \(2a = -10\), so \(a = -5\). ✓
The parabola and its parts¶
The graph of a quadratic relation is a parabola: a U-shaped curve, opening up or down.
The picture shows \(y = x^2 - 6x + 5\). Its parts have names:
- The vertex is the turning point, here \((3, -4)\). It is the lowest point if the parabola opens up (a minimum), and the highest point if it opens down (a maximum).
- The axis of symmetry is the vertical line through the vertex, here \(x = 3\). Fold the graph along it and the two halves match exactly.
- The zeros (also called roots or \(x\)-intercepts) are where the curve meets the \(x\)-axis, where \(y = 0\). Here \(x = 1\) and \(x = 5\).
- The \(y\)-intercept is where it meets the \(y\)-axis, where \(x = 0\). Here \(y = 5\).
Three ways to write the same quadratic¶
The same parabola can be written three ways. Each one shows different features straight away.
| Form | Example | Shows you at a glance |
|---|---|---|
| standard form \(y = ax^2 + bx + c\) | \(y = x^2 - 6x + 5\) | the \(y\)-intercept \(c\) |
| factored form \(y = a(x - r)(x - s)\) | \(y = (x - 1)(x - 5)\) | the zeros \(r\) and \(s\) |
| vertex form \(y = a(x - h)^2 + k\) | \(y = (x - 3)^2 - 4\) | the vertex \((h, k)\) |
Check that they agree by expanding: \((x - 1)(x - 5) = x^2 - 5x - x + 5 = x^2 - 6x + 5\), and \((x - 3)^2 - 4 = x^2 - 6x + 9 - 4 = x^2 - 6x + 5\). ✓
In all three forms the number \(a\) is the same, and it controls the shape:
- \(a > 0\): opens up (a smile). \(a < 0\): opens down (a frown).
- The bigger \(\lvert a \rvert\) (the size of \(a\), ignoring its sign), the narrower the parabola. \(y = 3x^2\) climbs three times as fast as \(y = x^2\); \(y = \tfrac12 x^2\) is wider.
Why the vertex form shows the vertex¶
In \(y = (x - 3)^2 - 4\), the square \((x - 3)^2\) can never be negative: it is 0 when \(x = 3\) and positive for every other \(x\). So \(y\) is never less than \(0 - 4 = -4\), and it equals \(-4\) exactly when \(x = 3\). That is the minimum, so the vertex is \((3, -4)\). If \(a\) were negative, the same argument would give a maximum instead.
Why the axis of symmetry is halfway between the zeros¶
Take \(y = a(x - r)(x - s)\) and let \(m = \dfrac{r + s}{2}\), the midpoint of the zeros, and \(d = \dfrac{s - r}{2}\), half the gap between them. Then \(r = m - d\) and \(s = m + d\). Now go a distance \(t\) to either side of \(m\):
Going the other way, \(t\) becomes \(-t\), and \(a((-t)^2 - d^2) = a(t^2 - d^2)\): the same. So points equally far left and right of \(m\) always have the same height. That is exactly what symmetry about \(x = m\) means. And the vertex, being on the axis, is at \(x = m\), with height \(a(0 - d^2) = -ad^2\).
This is why the ball was highest at \(t = 3\): it was at the same height (25 m) at \(t = 1\) and \(t = 5\), and the axis is halfway between any two points at equal height, not only the zeros. (The same argument works with \(y - 25\) in place of \(y\).)
Finding the equation from a graph¶
If you know the zeros and one other point, the factored form gives the equation quickly: write \(y = a(x - r)(x - s)\), put in the point, and solve for \(a\). If you know the vertex and one other point, use the vertex form the same way.
Worked examples¶
1. From factored form. Describe \(y = 2(x - 1)(x - 5)\).
- Zeros: \(x = 1\) and \(x = 5\) (each bracket is 0 there).
- Axis of symmetry: halfway, \(x = \dfrac{1 + 5}{2} = 3\).
- Vertex: \(y = 2(3 - 1)(3 - 5) = 2(2)(-2) = -8\), so \((3, -8)\). \(a = 2 > 0\), so this is a minimum.
- \(y\)-intercept: \(y = 2(-1)(-5) = 10\).
- Standard form: \(2(x^2 - 6x + 5) = 2x^2 - 12x + 10\). The constant is 10, matching the \(y\)-intercept. ✓
2. From vertex form. Describe \(y = -(x + 2)^2 + 9\).
- Careful with the sign: \(x + 2 = x - (-2)\), so \(h = -2\). Vertex \((-2, 9)\), axis \(x = -2\).
- \(a = -1 < 0\): opens down, so 9 is the maximum.
- Zeros: set \(y = 0\), so \((x + 2)^2 = 9\), so \(x + 2 = 3\) or \(x + 2 = -3\), giving \(x = 1\) or \(x = -5\). (Halfway is \(-2\), the axis. ✓)
- \(y\)-intercept: \(-(2)^2 + 9 = 5\).
- Factored form: \(y = -(x - 1)(x + 5)\). Standard form: \(-(x^2 + 4x - 5) = -x^2 - 4x + 5\).
3. Equation from the zeros and a point. A parabola has zeros \(-1\) and \(3\) and passes through \((1, -8)\).
- \(y = a(x + 1)(x - 3)\).
- Put in \((1, -8)\): \(-8 = a(2)(-2) = -4a\), so \(a = 2\).
- \(y = 2(x + 1)(x - 3) = 2x^2 - 4x - 6\). The axis is \(x = 1\), so \((1, -8)\) was actually the vertex.
4. A bridge arch. A parabolic arch is 40 m wide at the ground and 10 m high in the middle. How high is it 5 m in from one end?
- Put the left foot at \((0, 0)\) and the right foot at \((40, 0)\). Then \(y = a\,x(x - 40)\), and the vertex is at \(x = 20\), height 10.
- \(10 = a(20)(-20) = -400a\), so \(a = -\dfrac{1}{40}\).
- At \(x = 5\): \(y = -\dfrac{1}{40}(5)(-35) = \dfrac{175}{40} = 4.375\) m.
5. The ball, on two planets. On Earth the ball's height was \(h = 30t - 5t^2 = -5t(t - 6)\): zeros at 0 and 6 s, so the top is at \(t = 3\), where \(h = 45\) m. The \(5\) is half of Earth's gravity, about 10 m per second squared, rounded. Mars's gravity is about 3.7 m per second squared, so the same kick there gives \(h = 30t - 1.85t^2 = -1.85t\left(t - \tfrac{30}{1.85}\right)\). The zeros are 0 and about 16.2 s, the axis is at about 8.1 s, and the top is about \(30(8.1) - 1.85(8.1)^2 \approx 122\) m. Smaller \(\lvert a \rvert\), wider parabola: the same shape, stretched.
Try it¶
- For \(y = (x - 4)(x + 2)\), find the zeros, the axis of symmetry and the vertex.
- For \(y = 3(x - 2)^2 - 12\), find the vertex, say whether it is a maximum or a minimum, and find the zeros and the \(y\)-intercept.
- Write \(y = -2(x + 1)(x - 3)\) in standard form.
- A relation has the table \(x\): 0, 1, 2, 3, 4 and \(y\): 3, 0, −1, 0, 3. Show it is quadratic using second differences, then find its equation.
- A parabola has zeros 0 and 6 and a maximum height of 18. Find its equation.
- Which form would you choose to find quickly (a) the highest point of a thrown ball, (b) when it lands, (c) the height it was thrown from? Why?
- Does \(y = x^2 + 4\) have any zeros? Can it be written in factored form with real numbers?
- For \(y = x^2 - 6x + 5\), show that \(y(3 + t) = y(3 - t)\) for every number \(t\). What does this prove?
Answers
- Zeros \(x = 4\) and \(x = -2\). Axis \(x = \dfrac{4 + (-2)}{2} = 1\). Vertex: \(y = (1 - 4)(1 + 2) = (-3)(3) = -9\), so \((1, -9)\).
- Vertex \((2, -12)\); \(a = 3 > 0\), so it is a minimum. Zeros: \(3(x - 2)^2 = 12\), so \((x - 2)^2 = 4\), so \(x = 0\) or \(x = 4\). \(y\)-intercept: \(3(-2)^2 - 12 = 0\), so the parabola passes through the origin (which is also a zero, as it should be).
- \((x + 1)(x - 3) = x^2 - 2x - 3\), so \(y = -2x^2 + 4x + 6\).
- First differences: \(-3, -1, 1, 3\). Second differences: \(2, 2, 2\), constant, so it is quadratic, with \(2a = 2\), so \(a = 1\). The zeros are 1 and 3 (where \(y = 0\)), so \(y = (x - 1)(x - 3) = x^2 - 4x + 3\). Check \(x = 0\): \(y = 3\). ✓
- \(y = a\,x(x - 6)\). The vertex is at \(x = 3\): \(18 = a(3)(-3) = -9a\), so \(a = -2\). So \(y = -2x(x - 6)\), or \(y = -2x^2 + 12x\).
- (a) Vertex form: the vertex \((h, k)\) gives the time and the greatest height. (b) Factored form: the zeros are the times when the height is 0. (c) Standard form: \(c\) is the height at time 0.
- No zeros: \(x^2 \ge 0\), so \(x^2 + 4 \ge 4\), never 0. The vertex is \((0, 4)\) and the parabola opens up, so it never reaches the \(x\)-axis. It cannot be factored as \((x - r)(x - s)\) with real \(r\) and \(s\), because then \(r\) would be a zero. (With complex numbers it can: see the related topics below.)
- \(y(3 + t) = (3 + t)^2 - 6(3 + t) + 5 = 9 + 6t + t^2 - 18 - 6t + 5 = t^2 - 4\). Replacing \(t\) by \(-t\) gives \((-t)^2 - 4 = t^2 - 4\), the same. So the graph is symmetric about \(x = 3\), and the vertex is \((3, -4)\).
Common mistake¶
Reading the sign of \(h\) wrongly in vertex form. In \(y = (x + 2)^2 + 9\) the vertex is at \(x = -2\), not \(x = 2\). The form is \(a(x - h)^2 + k\) with a minus, so \(x + 2\) means \(h = -2\). Check by asking "what makes the bracket zero?"
Forgetting \(a\) when writing the factored form. The zeros 1 and 5 belong to \(y = (x - 1)(x - 5)\), but also to \(y = 2(x - 1)(x - 5)\) and \(y = -7(x - 1)(x - 5)\). You need one more point to find \(a\).
Where it leads¶
- Back: Level 6: systems and polynomials, where you learned to expand and factor · Next: Completing the square, which turns any standard form into vertex form.
- Level 7 page · Algebra topic page
- The flight of a ball, and why gravity makes parabolas: Change. The constant second differences are the same idea as sequences with a quadratic rule in Patterns.
- A parabola is also a geometric curve: every point on it is the same distance from a point (the focus) and a line. More shapes from equations: Equations of circles.
- When there are no real zeros, the complex numbers still find two: Every quadratic has roots.
- Throwing things in physics: PHY131 Unit 2 (kinematics in one dimension).