Skip to content

← Grade 10

Quadratic Equation

Unit 4 · CDC textbook pages 36–50

Hide the stories, facts, photos, activities and interactives, for revising before an exam
In this unit 9 sections
  1. 4.1 Introduction
  2. 4.2 Conversion of quadratic equation y = ax² + bx + c into y = a(x − h)² + k
  3. 4.3 Sketch the graph of quadratic function y = a(x − h)² + k
  4. 4.4 Transformation of quadratic function y = x²
  5. Exercise 4.1
  6. 4.5 Solution of quadratic equation using graphs
  7. 4.6 Solution of quadratic equation and linear equation using graphs
  8. Exercise 4.2
  9. How the SEE asks it

Throw a ball straight up at 20 m/s (a strong throw). How high does it go? When does it come back down? And when is it exactly 15 m above your hand? Its height after t seconds is close to h=20t−5t2 h = 20t - 5t^2 meters, and the graph of that formula is a curve called a parabola, drawn below.

The highest point of the curve answers the first question, the place where it comes back to 0 the second, and where the line h = 15 cuts it the third. This unit shows how to rewrite such a formula so its highest or lowest point can be read straight off, how to sketch its graph, and how to solve an equation by reading a graph. The ball is answered at the end of 4.6.

the handevery 0.5 s123451015200time t(s)height h(m)h = 151 s3 shighest: 20 m at 2 s
Figure 4.1 A ball thrown straight up from the hand at 20 m/s, drawn every half second (left), and its height above the hand plotted against time (right). The ball goes up and down one straight line; the parabola is the graph of its height, not its path. (Air slows a real ball a little, and g is taken as 10 m/s² to keep the numbers round.)

4.1 Introduction

An equation in which the highest power of the variable is 2 is a quadratic equation (from the Latin quadratus, “square”: the variable is squared). The general quadratic equation in one variable is

ax2+bx+c=0(a≠0) ax^2 + bx + c = 0 \qquad (a \ne 0)

where a, b and c are real numbers. If a were 0, there would be no x2 x^2 term, and the equation would be linear. So x2−9=0 x^2 - 9 = 0 , 2x2+3x=0 2x^2 + 3x = 0 and 5t2−20t+15=0 5t^2 - 20t + 15 = 0 are quadratic equations, but x3−x=0 x^3 - x = 0 and 4x − 1 = 0 are not.

The same expression made into a rule, y=ax2+bx+c y = ax^2 + bx + c , is a quadratic function: each x gives one y. Its graph is a curve shaped like ∪ or ∩, called a parabola. Where it is placed, and how wide it is, depend on the numbers a, b and c. The point where a parabola stops going down and starts going up (or the other way round) is its turning point, also called its vertex.

Two pages of an old Arabic manuscript in brown ink, with a square diagram drawn among the lines of text on each page
Figure 4.2 Two pages of a copy of al-Khwarizmi’s Algebra made in 1342, now in the Bodleian Library, Oxford. The squares drawn among the words are his geometric solutions to two quadratic equations. Photo: Bodleian Library, University of Oxford (MS. Huntington 214), Public domain

Quadratic equations are much older than algebra’s name: clay tablets from Babylon, written around 1800 BC, already solve problems about areas by a method that is, in effect, completing the square.

A grey satellite dish on a metal stand on a flat rooftop in Kathmandu, its receiver held out in front of the dish on an arm
Figure 4.3 A satellite TV dish on a rooftop in Kathmandu. The receiver on the arm sits at the dish’s focus. Photo: Nabher123, CC BY-SA 4.0

Which of these is a quadratic equation?

Pick an answer to see why.

In ax2+bx+c=0 ax^2 + bx + c = 0 , why must a not be 0?

Pick an answer to see why.

4.2 Conversion of quadratic equation y = ax² + bx + c into y = a(x − h)² + k

The form y=ax2+bx+c y = ax^2 + bx + c hides the vertex. The form y=a(x−h)2+k y = a(x - h)^2 + k , called the vertex form, shows it at once. Take y=(x−2)2−1 y = (x - 2)^2 - 1 . A square is never negative, so (x−2)2 (x - 2)^2 is 0 or more, and it is 0 only when x = 2. So y is never less than −1, and it is exactly −1 at x = 2: the lowest point, the vertex, is (2, −1).

To turn ax2+bx+c ax^2 + bx + c into vertex form we complete the square: we make the x2 x^2 and x terms into the start of a perfect square. Since

(x+3)2=x2+6x+9 (x + 3)^2 = x^2 + 6x + 9

the expression x2+6x x^2 + 6x is a perfect square with 9 missing. And 9 is the square of half of 6. So

x2+6x+5=(x2+6x+9)−9+5=(x+3)2−4 \begin{aligned} x^2 + 6x + 5 &= (x^2 + 6x + 9) - 9 + 5 \\ &= (x + 3)^2 - 4 \end{aligned}

Rule: add the square of half the coefficient of x, and take it away again. Adding and taking away the same number changes nothing, but it lets the first three terms close up into a square.

x23x3x9missingx3x3whole side x + 3
Figure 4.4 Completing the square for x2+6x=7 x^2 + 6x = 7 : the square x2 x^2 and two strips of 3x make an L. The missing corner is 32=9 3^2 = 9 ; with it, the whole square is (x+3)2=16 (x + 3)^2 = 16 , so x + 3 = 4 and x = 1.

The name comes from a picture, as al-Khwarizmi drew it. Draw x2 x^2 as a square of side x, and split 6x into two strips, each x long and 3 wide, along two sides of it. The L-shape is almost a square of side x + 3: only a corner of 3 by 3 is missing. Filling that corner, adding 9, completes the square.

When the coefficient of x2 x^2 is not 1, take it out as a factor first:

2x2+12x+7=2(x2+6x)+7=2{(x+3)2−9}+7=2(x+3)2−11 2x^2 + 12x + 7 = 2(x^2 + 6x) + 7 = 2\{(x + 3)^2 - 9\} + 7 = 2(x + 3)^2 - 11

The general case

The same steps work for any y=ax2+bx+c y = ax^2 + bx + c . Take a out, then complete the square with half of b/a, which is b/(2a):

y=ax2+bx+c=a{x2+bax+ca}=a{x2+2⋅x⋅b2a+(b2a)2−(b2a)2+ca} \begin{aligned} y &= ax^2 + bx + c \\ &= a\left\{x^2 + \frac{b}{a}x + \frac{c}{a}\right\} \\ &= a\left\{x^2 + 2 \cdot x \cdot \frac{b}{2a} + \left(\frac{b}{2a}\right)^2 - \left(\frac{b}{2a}\right)^2 + \frac{c}{a}\right\} \end{aligned}

The first three terms are the square of x + b/(2a):

y=a{(x+b2a)2−b24a2+ca}=a{(x+b2a)2−b2−4ac4a2}=a(x+b2a)2−b2−4ac4a \begin{aligned} y &= a\left\{\left(x + \frac{b}{2a}\right)^2 - \frac{b^2}{4a^2} + \frac{c}{a}\right\} \\ &= a\left\{\left(x + \frac{b}{2a}\right)^2 - \frac{b^2 - 4ac}{4a^2}\right\} \\ &= a\left(x + \frac{b}{2a}\right)^2 - \frac{b^2 - 4ac}{4a} \end{aligned}

So

y=a{x−(−b2a)}2+4ac−b24a…(i) y = a\left\{x - \left(-\frac{b}{2a}\right)\right\}^2 + \frac{4ac - b^2}{4a} \quad \ldots \text{(i)}

Comparing (i) with the vertex form y=a(x−h)2+k y = a(x - h)^2 + k … (ii):

h=−b2a,k=4ac−b24a h = -\frac{b}{2a}, \qquad k = \frac{4ac - b^2}{4a}

The vertex of the parabola y=ax2+bx+c y = ax^2 + bx + c is

(h,k)=(−b2a, 4ac−b24a) (h, k) = \left(-\frac{b}{2a},\ \frac{4ac - b^2}{4a}\right)

and its axis of symmetry is the line x = −b/(2a). In practice, k is usually quicker found by putting x = h into the function.

What is the vertex of y=3(x−1)2+5 y = 3(x - 1)^2 + 5 ?

Pick an answer to see why.

4.3 Sketch the graph of quadratic function y = a(x − h)² + k

A sketch is a graph drawn from its important points, not from dozens of plotted ones. For a parabola y=a(x−h)2+k y = a(x - h)^2 + k , four properties give those points.

−3−11−1123XYOV(−1, −1)A(−2, 0)
Figure 4.5 y=x2+2x=(x+1)2−1 y = x^2 + 2x = (x + 1)^2 - 1 : a = 1 > 0, so it opens upward, with its lowest point at V(−1, −1).
  1. Shape. If a > 0, the parabola opens upward (∪): the vertex is its lowest point (minimum), and it has no highest point, since it goes on rising for ever. If a < 0, it opens downward (∩): the vertex is its highest point (maximum), and it has no lowest point. The larger a is (ignoring its sign), the narrower the parabola.

  2. Vertex. The vertex is (h, k).

  3. Intercepts.

    • a.The y-intercept: put x = 0. For y=ax2+bx+c y = ax^2 + bx + c it is simply c; in vertex form it is ah2+k ah^2 + k , the same number.
    • b.The x-intercepts: put y = 0 and solve a(x−h)2+k=0 a(x - h)^2 + k = 0 . If its roots are x₁ and x₂, the parabola cuts the X-axis at (x₁, 0) and (x₂, 0). A parabola may cut the X-axis twice, touch it once, or miss it.
−112−2−12XYOV(1, 2)C(0, 1)
Figure 4.6 y=−x2+2x+1=−(x−1)2+2 y = -x^2 + 2x + 1 = -(x - 1)^2 + 2 : a = −1 < 0, so it opens downward, with its highest point at V(1, 2).
  1. Axis. The axis of symmetry is the upright line x = h through the vertex. The parabola is its own mirror image in this line, so every point on one side has a partner at the same height on the other. That gives one extra point for free: the y-intercept’s partner.

Steps for sketching y = ax² + bx + c

  1. Write it in vertex form; read the vertex and the axis.
  2. Say which way it opens, from the sign of a.
  3. Find the y-intercept, and its mirror point across the axis.
  4. Find the x-intercepts, if any (factorize, or take square roots of the vertex form).
  5. Plot these points and draw a smooth curve through them, round at the vertex (never a point like a V).

Worked examples

A parabola has its vertex at (3, −2) and opens downward. How many times does it cut the X-axis?

Pick an answer to see why.

4.4 Transformation of quadratic function y = x²

Every parabola y=(x−h)2+k y = (x - h)^2 + k is the parabola y=x2 y = x^2 slid to a new place. Sliding every point of a shape the same distance in the same direction is a translation, as in 9.2 Translation. A parabola can be translated horizontally (left or right), vertically (up or down), or both, a combined translation. Its size and shape don’t change.

1. Horizontal translation

Why does a minus 2 move the graph to the right? Because y=(x−2)2 y = (x - 2)^2 does everything y=x2 y = x^2 does, 2 units later. y=x2 y = x^2 reaches the height 4 at x = 2; y=(x−2)2 y = (x - 2)^2 reaches it only when x − 2 = 2, at x = 4. Every height comes 2 further along: the whole curve has moved right.

When y=x2 y = x^2 is translated h units to the right, it becomes y=(x−h)2 y = (x - h)^2 ; translated h units to the left, it becomes y=(x+h)2 y = (x + h)^2 . The parabola keeps its size and shape.

2. Vertical translation

In the same way, y=x2 y = x^2 moved 2 units down is y=x2−2 y = x^2 - 2 . The vertex moves from (0, 0) to (0, 2) or (0, −2).

When y=x2 y = x^2 is translated k units up, it becomes y=x2+k y = x^2 + k ; translated k units down, it becomes y=x2−k y = x^2 - k . Its size and shape stay the same. Here the sign does what you would expect: adding k to every height lifts the curve.

3. Combined translation

When y=x2 y = x^2 is translated h units to the right and then k units up, it becomes y=(x−h)2+k y = (x - h)^2 + k , with its vertex at (h, k) and its axis x = h. This is why y=(x−h)2+k y = (x - h)^2 + k is called the vertex form of a parabola. (A negative h means left, a negative k down.)

The number a in y=a(x−h)2+k y = a(x - h)^2 + k does one more thing before the slide: it stretches y=x2 y = x^2 upward (a > 1: narrower), squashes it (0 < a < 1: wider), and, when negative, turns it upside down. Try every case:

Try it

Stretch it, slide it

y=x2 y = x^2 is dashed. Which way does a positive h move the vertex? What does a negative a do?

−4−224−4−2246XYOV(1, 1)x = 1y = x2
Vertex form
y = (x − 1)2 + 1
Multiplied out
y = x2 − 2x + 2
Cuts the X-axis at
nowhere

y = x2 kept the same shape, then moved 1 right and 1 up. It opens upward, lowest at its vertex (1, 1).

What you should see

Here is every case in one table:

No. Equation of the parabola Vertex Opens
1 y=x2 y = x^2 (0, 0) upward
2 y=−x2 y = -x^2 (0, 0) downward
3 y=ax2 y = ax^2 , a > 0 (0, 0) upward
4 y=−ax2 y = -ax^2 , a > 0 (0, 0) downward
5 y=x2+k y = x^2 + k (0, k) upward
6 y=−x2+k y = -x^2 + k (0, k) downward
7 y=(x+k)2 y = (x + k)^2 (−k, 0) upward
8 y=(x−k)2 y = (x - k)^2 (k, 0) upward
9 y=a(x−h)2+k y = a(x - h)^2 + k (h, k) upward if a > 0, downward if a < 0

y=x2 y = x^2 is translated 4 units to the left and 1 unit down. Which is the new function?

Pick an answer to see why.

How is y=(x−1)2+5 y = (x - 1)^2 + 5 obtained from y=x2 y = x^2 ?

Pick an answer to see why.

Exercise 4.1

Question 1

A. What are the coordinates of the turning point of the graph of y=ax2 y = ax^2 ?

Pick an answer to see why.

B. What is the shape of the graph of y=−ax2 y = -ax^2 , where a > 0?

Pick an answer to see why.

C. Which line is the axis of symmetry of the parabola y=2x2 y = 2x^2 ?

Pick an answer to see why.

D. What are the coordinates of the vertex of y=a(x−h)2+k y = a(x - h)^2 + k ?

Pick an answer to see why.

E. What are the coordinates of the vertex of the parabola y=x2−2x+1 y = x^2 - 2x + 1 ?

Pick an answer to see why.

Question 2

Convert each quadratic function into the vertex form y=a(x−h)2+k y = a(x - h)^2 + k and sketch its graph.

a.

y=x2 y = x^2

Answer
b.

y=2x2 y = 2x^2

Answer
c.

y=−3x2 y = -3x^2

Answer
d.

y=x2+2 y = x^2 + 2

Answer
e.

y=x2−5 y = x^2 - 5

Answer
f.

y=(x−3)2 y = (x - 3)^2

Answer
g.

y=(x+3)2 y = (x + 3)^2

Answer
h.

y=x2+2x+1 y = x^2 + 2x + 1

Answer
i.

y=x2−4x+3 y = x^2 - 4x + 3

Answer
j.

y=−x2−3x+2 y = -x^2 - 3x + 2

Hint
Answer
k.

y=x2−x−2 y = x^2 - x - 2

Answer
l.

y=−x2+7x+12 y = -x^2 + 7x + 12

Answer

Question 3

For each quadratic equation: i. write it in vertex form; ii. find the vertex of its parabola; iii. find the equation of the axis of symmetry; iv. show its graph as a translation of y=x2 y = x^2 .

a.

x2−4x+7=0 x^2 - 4x + 7 = 0

Answer
b.

x2−6x+13=0 x^2 - 6x + 13 = 0

Answer
c.

x2−8x+21=0 x^2 - 8x + 21 = 0

Answer
d.

x2+2x−4=0 x^2 + 2x - 4 = 0

Answer
e.

x2+2x+1=0 x^2 + 2x + 1 = 0

Answer

4.5 Solution of quadratic equation using graphs

The general quadratic equation is ax2+bx+c=0 ax^2 + bx + c = 0 , with a, b, c real numbers and a ≠ 0. It can be solved by factorizing, by the formula, by completing the square, and also by drawing a graph. The graph shows what the solutions are.

Two ways of reading an equation as a graph:

  • One curve and the X-axis. The solutions of ax2+bx+c=0 ax^2 + bx + c = 0 are the values of x where y=ax2+bx+c y = ax^2 + bx + c is 0, so they are the x-coordinates of the points where the parabola cuts the X-axis: its x-intercepts.
  • A parabola and a line. Rearrange the equation as x2= x^2 = (something linear), dividing by a first if a ≠ 1. The solutions are where y=x2 y = x^2 and that straight line meet: there, both sides of the equation are equal. Only one parabola, y=x2 y = x^2 , is ever needed, and the line is quick to draw.

Either way, two meeting points give two solutions, a line or axis that only touches the curve gives one (a repeated root), and none gives no real solution.

Try it

Where the line meets the parabola

Each point where the line meets y=x2 y = x^2 gives a solution of the equation under the drawing. Move the line: when are there two solutions, one, or none?

−4−2242468XYOx = −1x = 3y = x2
The line
y = 2x + 3
The equation it solves
x2 − 2x − 3 = 0

The line crosses the parabola twice, so x2 − 2x − 3 = 0 has two solutions: x = −1 and 3.

What you should see

Worked examples

The graph of y=x2+4x+5 y = x^2 + 4x + 5 has its vertex at (−2, 1). What does that tell you about x2+4x+5=0 x^2 + 4x + 5 = 0 ?

Pick an answer to see why.

4.6 Solution of quadratic equation and linear equation using graphs

A quadratic function y=ax2+bx+c y = ax^2 + bx + c and a linear equation such as y = mx + d together are a pair of equations. A solution of the pair is a point (x, y) that fits both: a point on the parabola that is also on the line. So, to solve them by graph, plot both on the same axes and read the points where the parabola and the line intersect. Here the answer is a point, both coordinates.

Worked examples

To find a parabola’s equation from its graph, go backwards: put the coordinates of points read off the graph into y=ax2+bx+c y = ax^2 + bx + c , and solve for a, b and c. Three points give three equations; a point on the Y-axis gives c at once.

Back to the ball

A ball photographed many times on one picture as it bounces from left to right across a dark background, its positions tracing a row of arches that get lower after each bounce
Figure 4.37 A bouncing ball, photographed 25 times a second. Between bounces it moves sideways at a steady speed, and its path is very close to a parabola; each arch is lower than the last. Photo: MichaelMaggs Edit by Richard Bartz, CC BY-SA 3.0

Exercise 4.2

Question 1

Solve each equation by the graphical method.

a.

x2+2x−3=0 x^2 + 2x - 3 = 0

Answer
b.

x2−5x+6=0 x^2 - 5x + 6 = 0

Answer
c.

x2−4x+3=0 x^2 - 4x + 3 = 0

Answer
d.

2x2−7x+3=0 2x^2 - 7x + 3 = 0

Answer
e.

x2−3x−10=0 x^2 - 3x - 10 = 0

Answer

Question 2

Solve each pair of equations by the graphical method.

a.

y=x2 y = x^2 and y = x + 2

Answer
b.

y=x2−x−3 y = x^2 - x - 3 and x − y = 0

Answer
c.

y=6x2−2x−15 y = 6x^2 - 2x - 15 and y = 4x − 3

Answer
d.

y=x2−2x y = x^2 - 2x and y = x + 4

Answer

Question 3

Find the equation of each parabola.

a.
−51−1123XYA(−4, 2)B(−3, 0)C(−2, 0)D(−1, 2)
Figure 4.47 A parabola through A(−4, 2), B(−3, 0), C(−2, 0) and D(−1, 2).
Answer
b.
−224−10−8−6−4−22XYOA(−4, 0)B(3, 0)C(−2, −10)D(1, −10)
Figure 4.48 A parabola through A(−4, 0), B(3, 0), C(−2, −10) and D(1, −10).
Answer
c.
−4−24−4246810XYOA(−3, 9)B(4, 9)C(−1, −1)D(2, −1)
Figure 4.49 A parabola through A(−3, 9), B(4, 9), C(−1, −1) and D(2, −1).
Hint
Answer
d.
−6−24−8−6−4−22468XYOA(−5, 7)B(3, 7)C(−2, −8)D(0, −8)
Figure 4.50 A parabola through A(−5, 7), B(3, 7), C(−2, −8) and D(0, −8).
Answer

How the SEE asks it

In the SEE’s Optional Mathematics paper (75 marks, 3 hours), Quadratic Equation is one of the units of Algebra (Units 1 to 6 of this book). CDC’s specification grid gives Algebra 17 marks, in three kinds of question:

Group Kind of question Algebra’s marks Levels
A multiple choice, 1 mark each 2 knowledge 1, application 1
B within the content area: questions on Algebra alone, each of 2 to 4 parts 10 knowledge 2, understanding 2, application 4, higher ability 2
C across content areas: one question joining Algebra with another area 5 understanding 2, application 2, higher ability 1

In CDC’s model paper this unit has a 1-mark multiple-choice question in group A, at the knowledge level: what the real roots of ax2+bx+c=0 ax^2 + bx + c = 0 are on its graph. And a group B question starting from a composite function (Unit 1) goes on to quadratics: convert a quadratic function into the vertex form y=(x−h)2+k y = (x - h)^2 + k (1 mark, understanding), then describe the combined translation that takes y=x2 y = x^2 to it (2 marks, higher ability: one mark for each move with its direction and size).

What each kind asks, and where its marks are:

  • Vertex form: completing the square, the vertex and the axis read off.
  • Describing the translation: h units right or left, then k units up or down, each with its direction.
  • Sketching: the shape, vertex, intercepts and axis, then a smooth curve.
  • Solving by graph: a table of values, the curve (and line) drawn, and the solutions read off the meeting points.
  • The equation from a graph: points into y=ax2+bx+c y = ax^2 + bx + c , the three equations solved.

Here is a question of the longer kind, written for this book, with how it is marked.

Where these facts come from
  • Al-Khwarizmi (about 780 to about 850), his Hisab al-jabr w’al-muqabala and the word algebra, the Latin Algoritmi de numero Indorum and the word algorithm, his six kinds of equation written in words, and the example x2+10x=39 x^2 + 10x = 39 solved by completing the square (4.1, 4.2): MacTutor, “Abu Ja’far Muhammad ibn Musa Al-Khwarizmi”, read October 2026.
  • The Babylonians’ quadratic problems, about 1800 BC, by what is in effect completing the square (4.1): MacTutor, “Quadratic, cubic and quartic equations”, read October 2026.
  • Galileo’s Two New Sciences (1638) and the parabolic path of a projectile (4.1): Wikipedia, “Two New Sciences”, read October 2026.
  • Parabolic reflectors: rays parallel to the axis reflected to the focus; satellite dishes, radio telescopes, headlights, solar cookers (4.1): Wikipedia, “Parabolic reflector”, read October 2026.
  • A projectile’s height y=v0tsin⁡θ−12gt2 y = v_0 t \sin\theta - \tfrac{1}{2}gt^2 , its parabolic path, and that the formulas ignore air resistance (the opening, 4.6): Wikipedia, “Projectile motion”, read October 2026.
  • The manuscript of al-Khwarizmi’s Algebra (Bodleian Library, MS. Huntington 214, copied in 1342), the bouncing ball photographed at 25 images a second, and the satellite dish in Kathmandu: their Wikimedia Commons file pages.
  • CDC’s specification grid and model paper for Optional Mathematics, 2082 (How the SEE asks it): the textbook folder, Specification Grids/grid-Opt. Math-G10.

A companion to your textbook, not a replacement for it: study from the book your school uses, and where the two differ, follow your teacher. Found a mistake? Please tell us.