2.6 · SLPaper 1Paper 2

Quadratic functions

In a minute

A has x2x^{2} as its highest power, and its graph is a U-shaped curve called a . You can write the same quadratic in three forms: general, factorised and vertex form. Each form shows one feature at a glance, so the skill is picking the right form and moving between them.

You'll be able to

  • Sketch the graph of f(x)=ax2+bx+cf(x) = ax^{2} + bx + c from the sign of aa and the (0,c)(0, c).
  • Find the x=−b2ax = -\frac{b}{2a} and use it to find the .
  • Read the (p,0)(p, 0) and (q,0)(q, 0) from the factorised form a(x−p)(x−q)a(x - p)(x - q).
  • Read the vertex (h,k)(h, k) from the vertex form a(x−h)2+ka(x - h)^{2} + k, and use it to state the .
  • Change a quadratic from one form to another by expanding, factorising or .
Before you start3 quick questions on what this builds on
Check yourself
The point (2,k)(2, k) lies on the graph of y=3x2−5x+1y = 3x^{2} - 5x + 1. Find kk.
Check yourself
What are the zeros of f(x)=(x−6)(x+1)f(x) = (x - 6)(x + 1)?
Check yourself
A parabola meets the xx-axis at x=−1x = -1 and x=7x = 7. What is the equation of its axis of symmetry?

Revise first: 2.3 Graphs of functions and 2.4 Key features of graphs

The general form and its graph

A is one whose highest power of xx is x2x^{2}. Its graph is a smooth U-shaped curve called a .

The number aa sets the shape. If a>0a > 0, the parabola opens upwards like a cup, so it has a lowest point. If a<0a < 0, it opens downwards like an upturned cup, so it has a highest point.

Parabola y equals x squared minus 2x minus 3 with its y-intercept, two x-intercepts, vertex and axis of symmetry marked x y (−1, 0) (3, 0) (0, −3) vertex (1, −4) x = 1
One parabola, three forms: y=x2−2x−3=(x+1)(x−3)=(x−1)2−4y = x^{2} - 2x - 3 = (x + 1)(x - 3) = (x - 1)^{2} - 4. Each form shows a different feature with no working.

The general form shows the at once. Put x=0x = 0: every term except cc becomes 00, so f(0)=cf(0) = c and the graph meets the yy-axis at (0,c)(0, c). In the figure, c=−3c = -3.

A parabola is symmetric. Fold it along the vertical line through its , its turning point, and the two halves match. That line is the .

In the formula booklet
f(x)=ax2+bx+c  ⇒  the axis of symmetry is x=−b2af(x) = ax^{2} + bx + c \;\Rightarrow\; \text{the axis of symmetry is } x = -\frac{b}{2a}

Why it works: ax2+bx=x(ax+b)ax^{2} + bx = x(ax + b) is 00 at x=0x = 0 and at x=−bax = -\frac{b}{a}. So both of these xx-values give y=cy = c. The axis lies halfway between them, at x=−b2ax = -\frac{b}{2a}.

It is in the formula booklet, so you needn't memorise it. The vertex lies on the axis: find its xx-coordinate from the formula, then substitute it into ff.

Worked exampleLet f(x)=2x2−12x+7f(x) = 2x^{2} - 12x + 7. Write down the yy-intercept of the graph of ff. Find the equation of the axis of symmetry and the coordinates of the vertex.

Try it first, then reveal one step at a time.

  1. Here a=2a = 2, b=−12b = -12 and c=7c = 7. Since a>0a > 0, the parabola opens upwards, so the vertex is its lowest point.
Check yourself
What is the equation of the axis of symmetry of y=5x2+20x−3y = 5x^{2} + 20x - 3?
Worked exampleThe graph of y=ax2−8x+cy = ax^{2} - 8x + c passes through the point (0,5)(0, 5), and its axis of symmetry is x=−2x = -2. Find aa and cc.

Try it first, then reveal one step at a time.

  1. The point (0,5)(0, 5) has x=0x = 0, so it is the yy-intercept. The yy-intercept is (0,c)(0, c), so c=5c = 5.
Check yourself
Find the maximum value of f(x)=−3x2+12x−5f(x) = -3x^{2} + 12x - 5.

Factorised form and the x-intercepts

Look again at the figure, written as y=(x+1)(x−3)y = (x + 1)(x - 3). A product is 00 only when one of its factors is 00. So y=0y = 0 exactly when x+1=0x + 1 = 0 or x−3=0x - 3 = 0, that is at x=−1x = -1 or x=3x = 3.

Those are the two , (−1,0)(-1, 0) and (3,0)(3, 0). You read them straight off the brackets, with no solving.

Learn this
f(x)=a(x−p)(x−q)  ⇒  x-intercepts (p, 0) and (q, 0)f(x) = a(x - p)(x - q) \;\Rightarrow\; x\text{-intercepts } (p,\ 0) \text{ and } (q,\ 0)

Watch the signs. The form has a minus sign in each bracket, so (x+4)(x + 4) means (x−(−4))(x - (-4)). It gives the intercept (−4,0)(-4, 0), not (4,0)(4, 0).

The is halfway between the two intercepts, at x=p+q2x = \frac{p + q}{2}. The lies on it, so substitute that xx into ff to find the vertex.

Worked exampleLet f(x)=2(x+1)(x−5)f(x) = 2(x + 1)(x - 5). Write down the xx-intercepts of the graph of ff. Then find the coordinates of its vertex.

Try it first, then reveal one step at a time.

  1. Write each bracket as (x−p)(x - p): x+1=x−(−1)x + 1 = x - (-1). So p=−1p = -1 and q=5q = 5, and the xx-intercepts are (−1,0)(-1, 0) and (5,0)(5, 0).
Worked exampleA parabola crosses the xx-axis at (−5,0)(-5, 0) and (1,0)(1, 0), and passes through the point (2,21)(2, 21). Find its equation in the form y=ax2+bx+cy = ax^{2} + bx + c.

Try it first, then reveal one step at a time.

  1. The intercepts give p=−5p = -5 and q=1q = 1, so y=a(x+5)(x−1)y = a(x + 5)(x - 1). Only aa is unknown.
Check yourself
Where does the graph of y=3(x−4)(x+7)y = 3(x - 4)(x + 7) meet the xx-axis?
Check yourself
The graph of y=a(x−1)(x−7)y = a(x - 1)(x - 7) passes through the point (3,24)(3, 24). Find aa.

Vertex form and the vertex

Now write the figure's as y=(x−1)2−4y = (x - 1)^{2} - 4. A square is never negative, so (x−1)2≥0(x - 1)^{2} \ge 0. It equals 00 only when x=1x = 1.

So yy is never less than 0−4=−40 - 4 = -4, and it equals −4-4 only at x=1x = 1. The lowest point, the , is (1,−4)(1, -4). The , x=1x = 1, passes through it. You read both straight off the form.

Learn this
f(x)=a(x−h)2+k  ⇒  vertex (h, k), axis x=hf(x) = a(x - h)^{2} + k \;\Rightarrow\; \text{vertex } (h,\ k), \text{ axis } x = h

As with factorised form, watch the sign inside the bracket. (x+3)2(x + 3)^{2} is (x−(−3))2(x - (-3))^{2}, so h=−3h = -3. The number outside the bracket keeps its sign: kk is exactly what you see.

If a>0a > 0, the vertex is a minimum point, so the is f(x)≥kf(x) \ge k. If a<0a < 0, it is a maximum point, so the range is f(x)≤kf(x) \le k. The inequality is not strict, because the graph reaches kk at the vertex.

In the widget, keep the base as x2x^{2} and bb at 11. Then its cc slider plays the part of hh and its dd slider plays kk. 2.11 explains these moves as transformations.

Transform a graphDrag the sliders
−6−5−4−3−2−1123456−5−4−3−2−112345dashed: y = x²solid: image

y = x²

1
1
0
0

(1, 1) maps to (1.00, 1.00)

Dashed is the base curve, solid is the image. The open dot on the base lands on the filled dot.
Worked exampleLet f(x)=3(x+4)2−7f(x) = 3(x + 4)^{2} - 7. Write down the vertex and the axis of symmetry of the parabola y=f(x)y = f(x). Find its yy-intercept.

Try it first, then reveal one step at a time.

  1. Match ff to a(x−h)2+ka(x - h)^{2} + k. The bracket is (x+4)=(x−(−4))(x + 4) = (x - (-4)), so h=−4h = -4. The number outside is k=−7k = -7, and a=3a = 3.
Worked exampleThe graph of a quadratic function ff has its vertex at (4,6)(4, 6) and its yy-intercept at (0,−2)(0, -2). Find f(x)f(x) in the form a(x−h)2+ka(x - h)^{2} + k. Hence write down the range of ff.

Try it first, then reveal one step at a time.

  1. The vertex is (4,6)(4, 6), so h=4h = 4 and k=6k = 6: f(x)=a(x−4)2+6f(x) = a(x - 4)^{2} + 6. Only aa is unknown.
Check yourself
What are the coordinates of the vertex of y=5(x+3)2−8y = 5(x + 3)^{2} - 8?
Check yourself
What is the range of g(x)=−4(x+1)2+3g(x) = -4(x + 1)^{2} + 3, for x∈Rx \in \mathbb{R}?

Changing from one form to another

Each form shows a different feature, so you often rewrite a quadratic before you can read off what you want. There are three moves.

1. To reach the general form, expand the brackets. For example, 2(x−3)2+1=2(x2−6x+9)+1=2x2−12x+192(x - 3)^{2} + 1 = 2(x^{2} - 6x + 9) + 1 = 2x^{2} - 12x + 19.

2. To reach the factorised form, take out the common factor aa, then factorise what is left. For example, 3x2−3x−18=3(x2−x−6)=3(x−3)(x+2)3x^{2} - 3x - 18 = 3(x^{2} - x - 6) = 3(x - 3)(x + 2). If the never meets the xx-axis, it has no factorised form with real pp and qq.

3. To reach the vertex form, which shows the , use , shown below.

Start from a squared bracket: (x+5)2=x2+10x+25(x + 5)^{2} = x^{2} + 10x + 25. The number in the bracket, 55, is half of 1010, the coefficient of xx. So x2+10xx^{2} + 10x is (x+5)2(x + 5)^{2} with 2525 taken away.

Learn this
x2+bx=(x+b2)2−(b2)2x^{2} + bx = \left(x + \frac{b}{2}\right)^{2} - \left(\frac{b}{2}\right)^{2}
Worked exampleWrite f(x)=x2−10x+18f(x) = x^{2} - 10x + 18 in the form (x−h)2+k(x - h)^{2} + k. Hence write down the vertex of the parabola y=f(x)y = f(x).

Try it first, then reveal one step at a time.

  1. Half the coefficient of xx is −102=−5\frac{-10}{2} = -5, so the bracket is (x−5)(x - 5).

When a≠1a \ne 1, take aa out of the x2x^{2} and xx terms first. Complete the square inside the bracket, then multiply back by aa.

Worked exampleLet f(x)=−2x2+4x+30f(x) = -2x^{2} + 4x + 30. Write f(x)f(x) in the form a(x−h)2+ka(x - h)^{2} + k.

Try it first, then reveal one step at a time.

  1. Take −2-2 out of the first two terms: f(x)=−2(x2−2x)+30f(x) = -2(x^{2} - 2x) + 30. Check: −2×(−2x)=+4x-2 \times (-2x) = +4x.
Check yourself
Which is x2+8x+3x^{2} + 8x + 3 written in vertex form?
Check yourself
Which is 2x2−2x−242x^{2} - 2x - 24 written in factorised form?

On Paper 2, a quadratic with awkward decimals is quicker on a GDC. To go from vertex form to factorised form, find the zeros pp and qq on the GDC. The value of aa is the same in every form.

Worked exampleLet f(x)=0.6(x−2.3)2−4.1f(x) = 0.6(x - 2.3)^{2} - 4.1. Use your GDC to find the xx-intercepts of the graph of ff. Hence write f(x)f(x) in the form a(x−p)(x−q)a(x - p)(x - q). Give values to 3 s.f.

Try it first, then reveal one step at a time.

  1. Write down the function you graph: y=0.6(x−2.3)2−4.1y = 0.6(x - 2.3)^{2} - 4.1. The vertex (2.3,−4.1)(2.3, -4.1) is below the xx-axis and the curve opens upwards, so there are two zeros.

Common mistakes

  • Copying the sign from a bracket. (x+2)(x + 2) means (x−(−2))(x - (-2)), so it gives the intercept x=−2x = -2, or h=−2h = -2 in vertex form, not 22.
  • Forgetting to take away the square when completing the square. x2−4x+7x^{2} - 4x + 7 is (x−2)2−4+7=(x−2)2+3(x - 2)^{2} - 4 + 7 = (x - 2)^{2} + 3, not (x−2)2+7(x - 2)^{2} + 7.
  • When a≠1a \ne 1, forgetting to multiply the subtracted number by aa. In −2[(x−1)2−1]-2\left[(x - 1)^{2} - 1\right], the −1-1 becomes +2+2.
  • Giving the vertex as one number, or the axis of symmetry as a number. Write the vertex as coordinates, (h,k)(h, k), and the axis as an equation, x=hx = h.
  • Using a strict inequality for the range. The graph reaches kk at its vertex, so kk belongs in the range: f(x)≥kf(x) \ge k or f(x)≤kf(x) \le k.

Exam tips

  • "Write down" the vertex from vertex form, or the intercepts from factorised form, needs no working. Give a point as coordinates and a line as an equation, such as x=3x = 3.
  • In a "show that" question with a given value, work forwards from the information to that value, for example with x=−b2ax = -\frac{b}{2a}. Never substitute the value you are asked to show.
  • On Paper 1, give exact values such as −12-\frac{1}{2}. On Paper 2, write down the function you graph, then give GDC answers to 3 s.f.

Key takeaways

In bookletf(x)=ax2+bx+c  ⇒  the axis of symmetry is x=−b2af(x) = ax^{2} + bx + c \;\Rightarrow\; \text{the axis of symmetry is } x = -\frac{b}{2a}
Learn thisGeneral form f(x)=ax2+bx+cf(x) = ax^{2} + bx + c: yy-intercept (0,c)(0, c). The parabola opens upwards if a>0a > 0 and downwards if a<0a < 0.
In bookletAxis of symmetry: x=−b2ax = -\frac{b}{2a}. The vertex lies on it, so substitute that xx into ff for the vertex's yy-coordinate.
Learn thisFactorised form a(x−p)(x−q)a(x - p)(x - q): xx-intercepts (p,0)(p, 0) and (q,0)(q, 0), axis x=p+q2x = \frac{p + q}{2}.
Learn thisVertex form a(x−h)2+ka(x - h)^{2} + k: vertex (h,k)(h, k), axis x=hx = h. Range f(x)≥kf(x) \ge k if a>0a > 0, or f(x)≤kf(x) \le k if a<0a < 0.
Learn thisChange forms by expanding, factorising or completing the square: x2+bx=(x+b2)2−(b2)2x^{2} + bx = \left(x + \frac{b}{2}\right)^{2} - \left(\frac{b}{2}\right)^{2}.

Practise this

5 past-paper questions on 2.6 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 2.6 →