2.6 The quadratic function

2.6 The quadratic function

IB Maths: Analysis and Approaches SL: 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 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, 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, a point) to choose the form and find aa.

The quadratic and its graph

A quadratic f(x)=ax2+bx+cf(x)=ax^2+bx+c has a parabola as its graph; aa decides whether it opens up or down.

A quadratic function has a≠0a\ne0 and a graph called a parabola. If a>0a>0 it opens upwards and the vertex is a minimum; if a<0a<0 it opens downwards. The axis of symmetry is x=−b2ax=-\frac{b}{2a} (formula booklet) and the vertex lies on it.

For 2x2−12x+102x^2-12x+10: yy-intercept (0,10)(0,10), axis x=3x=3, vertex (3,−8)(3,-8).

−11234567−10−5510xy(0, 10)(3, −8)(1, 0)(5, 0)y = 2x² − 12x + 10
Opens upwards, with vertex (3,−8)(3,-8) on the axis x=3x=3.

What is the vertex of y=x2−6x+5y = x^2 - 6x + 5?

Factorised form

The zeros can be read straight off, and the axis of symmetry lies midway between them.

In f(x)=a(x−p)(x−q)f(x)=a(x-p)(x-q) the xx-intercepts are (p,0)(p,0) and (q,0)(q,0); the axis is x=p+q2x=\frac{p+q}{2}. For −2(x−2)(x+4)-2(x-2)(x+4) the zeros are 22 and −4-4, so the axis is x=−1x=-1.

With the zeros and one more point, substitute the point to find aa. An arch from x=0x=0 to x=40x=40 with height 12 at x=20x=20 gives a(20)(−20)=12a(20)(-20)=12, so a=−0.03a=-0.03.

−6−4−224−10−55101520xy(2, 0)(−4, 0)(−1, 18)y = −2(x − 2)(x + 4)
Zeros 22 and −4-4; the vertex (−1,18)(-1,18) lies on the axis x=−1x=-1.

Worked example

A parabola has zeros at x=1x = 1 and x=5x = 5 and passes through (0,10)(0, 10). Find its equation.

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

Vertex form

The vertex is (h,k)(h,k) and the axis of symmetry is x=hx=h.

Watch the sign of hh: −3(x+2)2+12=−3(x−(−2))2+12-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, the greatest value is kk when a<0a<0 and the least is kk when a>0a>0. The range is f(x)≤kf(x)\le k or f(x)≥kf(x)\ge k.

−8−6−4−2246−10−551015xyy = −3(x − h)² + k
Change hh and kk to move the vertex. The parabola keeps its shape.

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

Changing between forms

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

Completing the square: take out aa from the xx terms, complete the square, then multiply back: 2x2−12x+10=2[(x−3)2−9]+10=2(x−3)2−82x^2-12x+10=2[(x-3)^2-9]+10=2(x-3)^2-8.

Factorise: 2(x2−6x+5)=2(x−1)(x−5)2(x^2-6x+5)=2(x-1)(x-5). From vertex form, solve f(x)=0f(x)=0: (x+2)2=4(x+2)^2=4 gives x=0,−4x=0,-4. Check a conversion by expanding back.

−11234567−10−5510152025xy(1, 0)(5, 0)Vertex (3, −8)(0, 10)y = 2x² − 12x + 10
The same curve in three forms: 2x² − 12x + 10 = 2(x − 3)² − 8 = 2(x − 1)(x − 5).

Factorised

  • 2(x−1)(x−5)2(x-1)(x-5)
  • Zeros 1 and 5

Vertex

  • 2(x−3)2−82(x-3)^2-8
  • Vertex (3, −8)

Expanded

  • 2x2−12x+102x^2-12x+10
  • yy-intercept 10

Worked example

Write x2+6x+1x^2 + 6x + 1 in the form (x−h)2+k(x - h)^2 + k.

Which is 3x2−12x+53x^2 - 12x + 5 in vertex form?

Quadratic models

Choose the form that matches the information: zeros, highest or lowest point, or the yy-intercept.

Parabolas model arches, cables, projectiles and profit.

  • Zeros given: factorised form.
  • Highest or lowest point given: vertex form.
  • yy-intercept and a rule: ax2+bx+cax^2+bx+c.

To test fit under an arch, find the height at the edges of the object: for a vehicle 8 m wide centred on the axis x=20x=20, test x=16x=16.

510152025303540−22468101214xy(0, 0)(40, 0)(20, 12)(16, 11.52)h(x) = −0.03x(x − 40)
An arch 40 m wide and 12 m high: a vehicle 8 m wide has its edge at x=16x = 16.

h(16)=11.52h(16)=11.52 m, so an 11 m high, 8 m wide vehicle passes under the centre.

A parabolic arch has zeros x=0x = 0 and x=10x = 10 and height 55 at x=5x = 5. Which is its equation?

Try an exam question

The function ff is given by f(x)=2x2−12x+10f(x)=2x^2-12x+10. (a) Write down the yy-intercept. (b) Find the equation of the axis of symmetry. (c) Write f(x)f(x) in the form a(x−h)2+ka(x-h)^2+k.

[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