Skip to content
IB Diploma ProgrammeSL & HL

Quadratic functions

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Quadratic functions notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Quadratic functions notes as text: skim, search, and jump between subtopics.

~12 min read

1. Standard form, y-intercept and axis of symmetry

The quadratic function f(x) = ax² + bx + c, with a ≠ 0, has a graph called a parabola. It opens upwards when a > 0 and downwards when a < 0.

The y-intercept is (0, c), because f(0) = c. The graph is symmetric about a vertical line, the axis of symmetry, which passes through the vertex.

Find the axis with x = -b/2a. Then substitute that value into f to get the y-coordinate of the vertex. The command term ‘find’ wants the method shown, not a bare value.

f(x) = ax² + bx + c

y-intercept: (0, c)

axis of symmetry: x = -b/2a

Worked example 15 marks

The function f is defined by f(x) = 2x² - 8x + 5.(a) Write down the y-intercept of the graph of f.(b) Find the equation of the axis of symmetry.(c) Find the coordinates of the vertex.

  1. 1

    (a) (0, 5) A1 [1]

  2. 2

    (b) using x = -b/2a with a = 2, b = -8: x = -(-8)/(2(2)) M1 [1]

  3. 3

    x = 2 A1 [1]

  4. 4

    (c) substituting the x-coordinate into f: f(2) = 2(4) - 16 + 5 M1 [1]

  5. 5

    f(2) = -3, so the vertex is (2, -3) A1 [1]

2. Factorised form and x-intercepts

The form f(x) = a(x - p)(x -q) shows the x-intercepts at once: (p, 0) and (q, 0). Each bracket is zero at one intercept, so the signs flip: (x + 3) gives an intercept at x = -3.

The axis of symmetry lies midway between the roots, so x = (p + q)/2. The vertex is on that line. Its y-coordinate is f of that x-value.

In a ‘show that’ question the given answer must be reached with every step written. In a ‘find’ or ‘hence write down’ question, use what was found earlier. The vertex also gives the range: a minimum when a > 0, a maximum when a < 0.

f(x) = a(x - p)(x - q)

x-intercepts: (p, 0), (q, 0)

x = (p + q)/2

Worked example 15 marks

Consider the function f(x) = 3(x - 2)(x - q), where x ∈ R and q is a real constant. The axis of symmetry of the graph of f has equation x = 4.(a) Show that q = 6.(b) Find the coordinates of the vertex of the graph of f.(c) Hence, write down the range of f.

  1. 1

    (a) roots are 2 and q (A1) [1]

  2. 2

    1/2(2 +q) = 4 A1, so 2 + q = 8 and q = 6 AG [1]

  3. 3

    (b) recognition that f(4) is required: f(4) = 3(4 - 2)(4 - 6) (M1) [1]

  4. 4

    (4, -12) A1 [1]

  5. 5

    (c) range: f(x) ≥ -12 A1 [1]

3. Vertex form

The form f(x) = a(x - h)² + k shows the vertex (h,k) directly. The axis of symmetry is x = h.

The sign of h is the trap. The bracket is (x - h), so (x - 3)² has h = 3 and (x + 3)² has h = -3.

Because a squared bracket is never negative, k is the minimum value of f when a > 0 and the maximum when a < 0. A vertex is a point, so give it as (h, k).

f(x) = a(x - h)² + k

vertex: (h, k), axis: x = h

Worked example 17 marks

Consider the quadratic function f(x) = -(x + 2)(x - 4), for x ∈ R.(a)(i) Find the x-coordinate of each of the x-intercepts.(ii) Find the coordinates of the vertex. The function f can also be written in the form f(x) = -(x - h)² + k, where h, k ∈ R.(b) Write down the value of(i) h;(ii) k.

  1. 1

    (a)(i) setting f(x) = 0 (M1) [1]

  2. 2

    x = -2, x = 4 A1 [1]

  3. 3

    (ii) x = 1, midway between -2 and 4 A1 [1]

  4. 4

    substituting their x-coordinate into f: -(1 + 2)(1 - 4) (M1) [1]

  5. 5

    y = 9, so the vertex is (1, 9) A1 [1]

  6. 6

    (b)(i) h = 1 A1 [1]

  7. 7

    (ii) k = 9 A1 [1]

4. Changing from one form to another

A candidate is expected to move between all three forms. Expand to go from factorised or vertex form to standard form. To go from standard to vertex form, complete the square: factor a out of the x² and x terms, halve the coefficient of x inside, then correct the constant.

From factorised form there is a shortcut. The roots give h by symmetry, and a carries across unchanged. Then find k by substituting h into f.

A question that says ‘write f(x) in the form’ needs the final line in exactly that form, with a, h and k as the question requires.

x² + bx + c = (x + b/2)² - b²/4 + c

a(x - p)(x - q) gives h = (p + q)/2

Worked example 14 marks

The function f is defined by f(x) = 5(x + 1)(x + 3), where x ∈ R.(a) Write f(x) in the form a(x - h)² + k, where a, h, k ∈ Z.

  1. 1

    a = 5 (A1) [1]

  2. 2

    attempt to use roots and symmetry to find h: h = ((-1) + (-3))/2 (M1) [1]

  3. 3

    h = -2 (A1) [1]

  4. 4

    k = f(-2) = 5(-1)(1) = -5, so f(x) = 5(x - (-2))² - 5, that is 5(x + 2)² - 5 A1 [1]

5. Sketching a quadratic

A ‘sketch’ shows the general shape and the features the question names. Draw a roughly symmetric curve, concave up when a > 0 and concave down when a < 0.

Label the x-intercepts from factorised form, the y-intercept from f(0), and the vertex as a coordinate pair. Each label is a separate mark, so a curve with no values earns the shape mark only.

Check the sketch against the algebra: the vertex must sit on the axis of symmetry, midway between the x-intercepts.

f(0) = c for the y-intercept

Worked example 14 marks

The function f is defined by f(x) = 5(x + 1)(x + 3), where x ∈ R.(b) Sketch the graph of y = f(x), showing the values of any intercepts with the axes and the coordinates of the vertex.

  1. 1

    a roughly symmetric curve which is concave up M1 [1]

  2. 2

    x intercepts at −3 and −1 A1 [1]

  3. 3

    y intercept at 15, since f(0) = 5(1)(3) A1 [1]

  4. 4

    vertex at (−2, −5) A1 [1]

Recap

  • f(x) = ax² + bx + c: y-intercept (0, c), axis of symmetry x = -b/2a.
  • f(x) = a(x - p)(x - q): x-intercepts (p, 0) and (q, 0), axis x = (p + q)/2.
  • f(x) = a(x - h)² + k: vertex (h, k). The sign inside the bracket is the opposite of h.
  • Find the y-coordinate of the vertex by substituting its x-coordinate into f.
  • a > 0: opens upwards, k is the minimum. a < 0: opens downwards, k is the maximum.
  • To change form: expand, complete the square, or use the roots to find h.
  • In a sketch, label the intercepts and the vertex as values. Write a vertex as a coordinate pair.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Write down the y-intercept of the graph of f(x) = 3x² - 7x + 2.1 mark
    Answer
    1. (0, 2) A1

    Trap: The y-intercept is the constant term c, not b or a, and it is a point (0, 2).

  2. The graph of f has equation f(x) = 2(x - 3)² + 5. Which is the vertex of the graph? A. (-3, 5) B. (3, 5) C. (3, -5) D. (-3, -5)1 mark
    Answer
    1. B. (3, 5) A1
    2. A comes from reading h with the sign in the bracket reversed. C changes the sign of k, and D changes both signs.

    Trap: The bracket is (x - h), so (x - 3) gives h = 3. The +5 stays +5.

  3. Do not use a calculator. Write down the x-coordinate of each x-intercept of the graph of f(x) = -2(x + 4)(x - 1).2 marks
    Answer
    1. x = -4 A1
    2. x = 1 A1

    Trap: The -2 does not change the intercepts, and (x + 4) gives x = -4.

  4. Find the equation of the axis of symmetry of the graph of f(x) = x² - 6x + 11.2 marks
    Answer
    1. x = -(-6)/(2(1)) M1
    2. x = 3 A1

    Trap: With b = -6 the minus signs combine to give +3. Using b = 6 gives -3.

  5. Do not use a calculator. The function f is defined by f(x) = (x - 2)(x + 8). Find the coordinates of the vertex of the graph of f.3 marks
    Answer
    1. roots are 2 and -8, so x = (2 + (-8))/2 M1
    2. x = -3 A1
    3. f(-3) = (-5)(5) = -25, so the vertex is (-3, -25) A1

    Trap: The roots are 2 and -8. Adding 2 and 8 gives x = 5, which is the wrong sign.

  6. Do not use a calculator. Write x² + 10x + 7 in the form (x - h)² + k and state the values of h and k.3 marks
    Answer
    1. (x + 5)² - 5² + 7 M1
    2. (x + 5)² - 18 A1
    3. h = -5, k = -18 A1

    Trap: The form is (x - h), so (x + 5) gives h = -5. The 25 made by squaring must be subtracted.

  7. Do not use a calculator. Determine the range of f(x) = -2x² + 12x - 10.4 marks
    Answer
    1. x = -12/(2(-2)) M1
    2. x = 3 A1
    3. f(3) = -18 + 36 - 10 = 8 A1
    4. a < 0, so 8 is the maximum and the range is f(x) ≤ 8 A1

    Trap: a = -2 is negative, so the vertex is a maximum. The range is f(x) ≤ 8, not f(x) ≥ 8.

  8. A ball is thrown upwards from a platform. Its height h metres above the ground after t seconds is modelled by h = -5t² + 20t + 1. Determine the maximum height of the ball and the time at which it occurs.4 marks
    Answer
    1. t = -20/(2(-5)) M1
    2. t = 2 seconds A1
    3. h = -5(4) + 20(2) + 1 M1
    4. maximum height is 21 m A1

    Trap: The axis gives the time, not the height. Substitute t = 2 back into h for the height.

  9. Do not use a calculator. The graph of f(x) = ax² + bx + c has axis of symmetry x = -1. It crosses the x-axis at (2, 0) and the y-axis at (0, 12). (a) Write down the x-coordinate of the other x-intercept. [1] (b) Find the values of a, b and c. [4] (c) Find the coordinates of the vertex, and hence write down the range of f. [3]8 marks
    Answer
    1. (a) 2 is 3 units right of x = -1, so the other root is 3 units left: x = -4 A1
    2. (b) f(x) = a(x - 2)(x + 4) M1
    3. substituting (0, 12): 12 = a(-2)(4) M1
    4. a = -3/2 A1
    5. f(x) = -3/2(x² + 2x - 8), so b = -3 and c = 12 A1
    6. (c) f(-1) = -3/2(-3)(3) M1
    7. vertex (-1, 27/2) A1
    8. a < 0, so the range is f(x) ≤ 27/2 A1

    Trap: Writing f(-1) = 27/2 instead of the point (-1, 27/2) loses a mark (the markscheme's A1(M1)A0). The other root comes from symmetry about x = -1, not from changing the sign of the root 2.

  10. A jet of water leaves a nozzle at ground level and lands on the ground 6 m away. Its path is a parabola with greatest height 4.5 m. Take the nozzle as the origin, with x the horizontal distance and y the height, both in metres. (a) Find the coordinates of the vertex of the path. [2] (b) Show that the path can be written y = -1/2(x - 3)² + 9/2. [2] (c) Write the equation of the path in the form y = ax² + bx + c. [2] (d) A student writes the path as y = -1/2(x + 3)² + 9/2. Show that this equation does not fit the landing point, and state the vertex it gives. [2]8 marks
    Answer
    1. (a) the x-intercepts are 0 and 6, so the axis is x = (0 + 6)/2 = 3 M1
    2. vertex (3, 4.5) A1
    3. (b) y = a(x - 3)² + 9/2; substituting (0, 0): 0 = 9a + 9/2 M1
    4. a = -1/2 A1, so y = -1/2(x - 3)² + 9/2 AG
    5. (c) y = -1/2(x² - 6x + 9) + 9/2 M1
    6. y = -1/2x² + 3x A1
    7. (d) at x = 6: -1/2(9)² + 9/2 = -81/2 + 9/2 = -36 ≠ 0 M1
    8. its vertex is (-3, 9/2), behind the nozzle, because (x + 3) gives h = -3 A1

    Trap: The bracket is (x - h), so a vertex at x = 3 needs (x - 3). The student's (x + 3) still passes through the origin, so only a second point exposes it.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
f(1) = 9 for the coordinates of a vertex(1, 9). The markscheme gives A1(M1)A0 for the function form without coordinates
q = 6 written down with no workingroots are 2 and q, then 1/2(2 + q) = 4, then q = 6
A curve drawn through the roots onlya roughly symmetric curve which is concave up, with both x-intercepts, the y-intercept and the vertex labelled

Frequently asked questions

How do I find the axis of symmetry and the vertex of a quadratic ax² + bx + c?
The axis of symmetry is x = -b/2a. Substitute that x-value into f to get the y-coordinate of the vertex. For f(x) = 2x² - 8x + 5 the axis is x = 2 and f(2) = -3, so the vertex is (2, -3). The y-intercept is (0, 5), because f(0) = c.
How do I find the x-intercepts of a quadratic in factorised form?
For f(x) = a(x - p)(x - q) the x-intercepts are (p, 0) and (q, 0). Each bracket gives an intercept with its sign flipped, so (x + 3) gives x = -3. The axis lies midway between the roots, at x = (p + q)/2. For -(x + 2)(x - 4) the intercepts are (-2, 0) and (4, 0), and the vertex is (1, 9).
How do I read the vertex from vertex form?
The form f(x) = a(x - h)² + k shows the vertex (h, k) directly, and the axis is x = h. The sign inside the bracket is the trap: (x - 3)² gives h = 3, but (x + 3)² gives h = -3. For f(x) = 2(x - 3)² + 5 the vertex is (3, 5).
How do I change a quadratic into vertex form?
Complete the square: halve the coefficient of x inside the bracket, then correct the constant. From factorised form, the roots give h = (p + q)/2 and a carries across unchanged. For f(x) = 5(x + 1)(x + 3), h = -2 and k = f(-2) = -5, so f(x) = 5(x + 2)² - 5.
How do I find the range of a quadratic function?
Use the vertex. If a > 0 the graph opens upwards, so the range is f(x) ≥ k, where k is the minimum. If a < 0 the graph opens downwards and k is the maximum. For f(x) = -2x² + 12x - 10, a = -2, so the vertex is a maximum and the range is f(x) ≤ 8, not f(x) ≥ 8.
What mistake do students make when giving the vertex of a quadratic?
They write f(1) = 9 for the vertex. Write the vertex as the coordinates (1, 9), because the markscheme gives A1(M1)A0 for the function form without coordinates. A sketch needs a roughly symmetric curve that is concave up when a > 0, with both x-intercepts, the y-intercept and the vertex labelled.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters