2.6 The quadratic function

2.6 The quadratic function

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • ax2+bx+cax^2+bx+c: yy-intercept (0,c)(0,c), axis of symmetry x=−b2ax=-\frac b{2a}; a>0a>0 gives a minimum, a<0a<0 a maximum.
  • a(x−p)(x−q)a(x-p)(x-q): zeros pp and qq, with the axis midway between them.
  • a(x−h)2+ka(x-h)^2+k: vertex (h,k)(h,k).
  • Move between forms by expanding, factorising or completing the square.
  • Use the given information (zeros, vertex or a point) to choose the form and find aa.

The parabola

A quadratic f(x)=ax2+bx+cf(x)=ax^2+bx+c has a parabola graph with a vertex on its axis of symmetry.

If a>0a>0 the parabola opens upwards and the vertex is a minimum; if a<0a<0 it opens downwards and the vertex is a maximum. The yy-intercept is (0,c)(0,c). The axis of symmetry is x=−b2ax=-\frac b{2a} (in the booklet) and the vertex lies on it.

For f(x)=2x2−12x+10f(x)=2x^2-12x+10: axis x=3x=3, vertex (3,−8)(3,-8). Keep the minus: −−124=+3-\frac{-12}4=+3.

−11234567−10−5510xyx = 3vertex (3, −8)(0, 10)(1, 0)(5, 0)y = 2x² − 12x + 10
f(x)=2x2−12x+10f(x)=2x^2-12x+10: opens upwards, vertex (3,−8)(3,-8), axis x=3x=3.
−5−4−3−2−112345−10−8−6−4−2246810xyy = ax² + bx + c
Explore y=ax2+bx+cy=ax^2+bx+c: aa sets direction and width, cc the intercept, bb the axis.

For f(x)=−x2+4x+1f(x)=-x^2+4x+1, what is the axis of symmetry?

Factorised form

In f(x)=a(x−p)(x−q)f(x)=a(x-p)(x-q) the zeros are pp and qq, and the axis is midway between them.

The xx-intercepts are (p,0)(p,0) and (q,0)(q,0), read straight off. The axis is x=p+q2x=\frac{p+q}2: for −2(x−2)(x+4)-2(x-2)(x+4) the zeros are 2 and −4-4, so the axis is x=−1x=-1. Read signs carefully: (x+4)(x+4) gives the zero x=−4x=-4.

If you know the zeros and one more point, substitute that point to find aa.

−6−5−4−3−2−11234−10−55101520xyx = −1(2, 0)(−4, 0)vertex (−1, 18)(0, 16)y = −2(x − 2)(x + 4)
Zeros at x=2x=2 and x=−4x=-4; the axis x=−1x=-1 lies midway.

Worked example

An arch meets the ground at x=0x=0 and x=40x=40 and is 12 m high at x=20x=20. Find its equation.

What are the zeros of f(x)=3(x+1)(x−5)f(x)=3(x+1)(x-5)?

Vertex form

In f(x)=a(x−h)2+kf(x)=a(x-h)^2+k the vertex is (h,k)(h,k) and the axis is x=hx=h.

Watch the sign of hh: −3(x+2)2+12-3(x+2)^2+12 has vertex (−2,12)(-2,12). Since (x−h)2≥0(x-h)^2\ge0, when a<0a<0 the greatest value is kk, and when a>0a>0 the least value is kk. The range is f(x)≤kf(x)\le k or f(x)≥kf(x)\ge k.

To get the yy-intercept, still substitute x=0x=0: g(0)=−3(2)2+12=0g(0)=-3(2)^2+12=0, not 12.

−6−5−4−3−2−112−5510xyx = −2vertex (−2, 12)(0, 0)(−4, 0)y = −3(x + 2)² + 12
g(x)=−3(x+2)2+12g(x)=-3(x+2)^2+12: vertex (−2,12)(-2,12) and zeros at x=−4x=-4 and x=0x=0.

What is the vertex of f(x)=2(x−1)2+7f(x)=2(x-1)^2+7?

Changing form

Expand to reach ax2+bx+cax^2+bx+c; complete the square for vertex form; factorise for zeros.

Vertex or factorised form to ax2+bx+cax^2+bx+c: expand, so −2(x+1)2+18=−2x2−4x+16-2(x+1)^2+18=-2x^2-4x+16.

ax2+bx+cax^2+bx+c to vertex form: take out aa, complete the square, then multiply back. ax2+bx+cax^2+bx+c to factorised form: take out aa and factorise. Vertex form to factorised form: solve f(x)=0f(x)=0.

Multiply the −9-9 by aa too: 2[(x−3)2−9]+10=2(x−3)2−82[(x-3)^2-9]+10=2(x-3)^2-8, not +1+1.

  1. 1

    Take out aa

    2(x2−6x)+102(x^2-6x)+10

  2. 2

    Complete the square

    x2−6x=(x−3)2−9x^2-6x=(x-3)^2-9

  3. 3

    Multiply back

    2[(x−3)2−9]+102[(x-3)^2-9]+10

  4. 4

    Simplify

    2(x−3)2−82(x-3)^2-8

Completing the square

Worked example

Write f(x)=2x2−12x+10f(x)=2x^2-12x+10 in vertex form and in factorised form.

Write x2+6x+1x^2+6x+1 in the form (x+p)2+q(x+p)^2+q.

Quadratic models

Choose the form that matches the information: zeros, a highest point, or the intercept and a rule.

Parabolas model arches, cables, projectiles and profit. Zeros given means factorised form; the highest or lowest point given means vertex form; the yy-intercept and a general rule mean ax2+bx+cax^2+bx+c.

To test whether an object fits under an arch, find the height at its edges. For a vehicle 8 m wide centred under an arch with axis x=20x=20, test x=16x=16 (or 24): h(16)=11.52h(16)=11.52 m.

5101520253035402468101214xy(20, 12)(16, 11.52)(24, 11.52)h(x) = −0.03x(x − 40)
The arch: a vehicle 8 m wide has edges at x=16x=16 and x=24x=24.

A question gives the highest point of a parabola and one other point. Which form is best?

Try an exam question

The function ff is given by f(x)=2x2−12x+10f(x)=2x^2-12x+10. (a) Write f(x)f(x) in the form a(x−h)2+ka(x-h)^2+k. (b) Write down the coordinates of the vertex of the graph of ff.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the equation of the axis of symmetry of the graph of y=f(x)y = f(x).

1 mark, marked against the mark scheme

Revision notes