Skip to content
Cambridge AS & A Level9709

Functions

Mathematics 9709 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Functions notes as a printable PDF.

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

Read the notes

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

~12 min read

1. Domain and range

A function gives exactly one output for each input. The inputs allowed are the domain. The outputs produced are the range.

Write a range using f(x) or y, never x. Find the least or greatest value first, then see which way the function goes. For f(x) = (x-2)² + 3 with x ≥ 2, the least value is f(2) = 3, so the range is f(x) ≥ 3.

f(x) = (x-p)² + q ⇒ least value q at x = p

Examiner insight

“Many confused the range and the domain.” “Common errors in incorrect responses included omitting to use a strict inequality and using x instead of y or f(x) to denote the range.”

Worked example 13 marks

The function f is defined by f(x) = (x-2)² + 3 for x ≥ 2. State the domain and the range of f.

  1. 1

    Domain: x ≥ 2, as given [1]

  2. 2

    Least value at x = 2: f(2) = 3 [1]

  3. 3

    The function increases for x ≥ 2, so the range is f(x) ≥ 3 [1]

2. Composite functions

The composite function gf means do f first, then g. Work from the inside out.

gf can be formed only if the range of f lies within the domain of g. If part of the range of f is outside the domain of g, gf cannot be formed.

gf(x) = g(f(x))

Examiner insight

“Some correct explanations linking the range of f to the domain of g were seen but often the range and domain were confused.” “Some candidates composed the functions in the wrong order or multiplied two or more functions together.”

Worked example 12 marks

The function f is defined as follows: f(x) = (x+3)/(x-1) for x > 1. Find the value of ff(5).

  1. 1

    f(5) = (5+3)/(5-1) = 2 [1]

  2. 2

    ff(5) = f(2) = (2+3)/(2-1) = 5 [1]

3. One-one functions and inverses

A function is one-one if each output comes from exactly one input. The inverse function f⁻¹ undoes f, and it is found for a one-one function.

To find it, write y = f(x), make x the subject, then replace y by x. Write the answer as f⁻¹(x) = …

The domain of f⁻¹ is the range of f. The range of f⁻¹ is the domain of f. When a square root appears, the range of f⁻¹ decides whether to take the positive or the negative root.

domain of f⁻¹ = range of f

range of f⁻¹ = domain of f

Examiner insight

“A few candidates made a sign error when obtaining the inverse function and other candidates retained the ± of the square root rather than proceeding, in this case, to reject the negative root.” “Some, otherwise correct, answers were not fully complete because the inverse was left in terms of y rather than x.”

Worked example 15 marks

The function g is defined by g(x) = x² - 6x + 7 for x > 4. By first completing the square, find an expression for g⁻¹(x) and state the domain of g⁻¹.

  1. 1

    g(x) = (x-3)² - 2 [2]

  2. 2

    y = (x-3)² - 2, so x - 3 = ±√(y+2) [1]

  3. 3

    x > 4 gives x - 3 > 1, so take the positive root: g⁻¹(x) = 3 + √(x+2) [1]

  4. 4

    Domain of g⁻¹ is the range of g: g(x) > g(4) = -1, so x > -1 [1]

4. The graph of an inverse

On a graph, a function is one-one if no horizontal line crosses it more than once.

The graph of y = f⁻¹(x) is the reflection of y = f(x) in the mirror line y = x. A point (a,b) on f becomes the point (b,a) on f⁻¹.

Examiner insight

“In part (a) many candidates seemed to know that a reflection in the line y = x was required but often they assumed that this line could be plotted by joining the origin to the point in the top right hand corner of the grid given.” “A significant number of responses also did not recognise the connection between their sketch and whether or not the function had an inverse.”

Worked example 13 marks

The function f is one-one and its graph passes through the points (1, 4) and (3, 10). Write down the coordinates of two points on the graph of y = f⁻¹(x), and the equation of the line in which the two graphs are reflections of each other.

  1. 1

    Reflection in the mirror line swaps x and y: (4, 1) [1]

  2. 2

    and (10, 3) [1]

  3. 3

    The line is y = x [1]

5. Translations and reflections

y = f(x) + a is a translation by the vector beginpmatrix0 aendpmatrix. y = f(x +a) is a translation by beginpmatrix-a 0endpmatrix.

y = -f(x) is a reflection in the x-axis. y = f(-x) is a reflection in the y-axis. A reflection needs its line named.

A vector avoids the ambiguity of words like up, down, left and right.

Examiner insight

“Reflections should be accompanied by a clear statement of the line in which the reflection takes place.” “When describing a translation it should be noted that use of a vector is encouraged as it avoids the ambiguities of verbal descriptions.”

Worked example 14 marks

The graph of y = f(x) is transformed to the graph of y = 3 - f(x). Describe fully, in the correct order, the two transformations that have been combined.

  1. 1

    First, a reflection [1]

  2. 2

    in the x-axis, giving y = -f(x) [1]

  3. 3

    Then, a translation [1]

  4. 4

    by the vector beginpmatrix0 3endpmatrix, giving y = -f(x) + 3 [1]

6. Stretches and combinations

y = af(x) is a stretch of scale factor a parallel to the y-axis. y = f(ax) is a stretch of scale factor 1/a parallel to the x-axis.

A stretch of scale factor -1 is a reflection. For a combination such as y = 1 + f(1/2x), apply the transformations one at a time so the order is clear.

Name the type of each transformation, its size, and its direction relative to the axes.

y = af(x): stretch, factor a , parallel to y-axis

y = f(ax): stretch, factor 1/a , parallel to x-axis

Examiner insight

“In order to fully describe the two transformations, it was necessary to state the type of each of them and not their effect on the coordinates of f(x).” “The best answers referred to the movement relative to the axes rather than vague terms such as up and down or horizontal and vertical.”

Worked example 14 marks

The graph of y = f(x) is transformed to the graph of y = 1 + f(1/2x). Describe fully the two single transformations which have been combined to give the resulting transformation.

  1. 1

    A stretch [1]

  2. 2

    scale factor 2, parallel to the x-axis [1]

  3. 3

    Then a translation [1]

  4. 4

    by the vector beginpmatrix0 1endpmatrix (1 unit in the y-direction) [1]

Recap

  • Domain = inputs. Range = outputs, written with f(x) or y, never x.
  • gf(x) = g(f(x)): do f first. gf exists only if the range of f lies within the domain of g.
  • Inverse: y = f(x), make x the subject, replace y by x. Write f⁻¹(x) = …
  • Domain of f⁻¹ = range of f. Range of f⁻¹ = domain of f. Use that to choose the root.
  • The graph of f⁻¹ is the reflection of f in y = x: (a, b) becomes (b, a).
  • f(x) + a and f(x + a): translations. -f(x) and f(-x): reflections in the x-axis and y-axis.
  • af(x): stretch factor a parallel to the y-axis. f(ax): stretch factor 1/a parallel to the x-axis.

End-of-chapter exercise

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

  1. The function f is defined by f(x) = 2x + 1 for 0 ≤ x ≤ 3. State the range of f.1 mark
    Answer
    1. f(0) = 1 and f(3) = 7, so the range is 1 ≤ f(x) ≤ 7.

    Trap: 0 ≤ x ≤ 3 is the domain, not the range.

  2. The functions f and g are defined for all real x by f(x) = 3x - 1 and g(x) = x². Find fg(2) and gf(2).2 marks
    Answer
    1. g(2) = 4, so fg(2) = f(4) = 3 × 4 - 1 = 11.
    2. f(2) = 5, so gf(2) = g(5) = 25.

    Trap: Doing the outer function first gives fg(2) = 25 and gf(2) = 11, the wrong way round.

  3. The function f is defined by f(x) = (2x + 3)/5 for all real x. Find f⁻¹(x).3 marks
    Answer
    1. y = (2x+3)/5, so 5y = 2x + 3.
    2. x = (5y - 3)/2.
    3. f⁻¹(x) = (5x - 3)/2.

    Trap: Dividing by 2 before subtracting 3 gives 5x/2 - 3. Rearrange for x one step at a time.

  4. The function f is defined by f(x) = x² - 6x + 11 for all real x. Express f(x) in the form (x + a)² + b and state the range of f.3 marks
    Answer
    1. f(x) = (x - 3)² + 2, so a = -3 and b = 2.
    2. The least value is 2, when x = 3.
    3. The range is f(x) ≥ 2.

    Trap: Expanding (x + 3)² gives +6x. The bracket must be (x - 3) to match -6x.

  5. The functions f and g are defined by f(x) = √(x - 1) for x ≥ 1 and g(x) = x - 3 for all real x. (a) Find an expression for gf(x). (b) Explain why fg cannot be formed.4 marks
    Answer
    1. (a)
    2. gf(x) = g(√(x-1)) = √(x - 1) - 3.
    3. (b)
    4. The range of g is all real numbers.
    5. This is not within the domain of f, which is x ≥ 1, so fg cannot be formed.

    Trap: Compare the range of the inner function with the domain of the outer function, not the two domains.

  6. The function f is defined by f(x) = (x - 2)² + 1 for x ≥ 2. Find f⁻¹(x), and state its domain and its range.5 marks
    Answer
    1. y = (x-2)² + 1, so (x-2)² = y - 1.
    2. x ≥ 2, so x - 2 is positive: x = 2 + √(y - 1).
    3. f⁻¹(x) = 2 + √(x - 1).
    4. Domain of f⁻¹ is the range of f: x ≥ 1.
    5. Range of f⁻¹ is the domain of f: f⁻¹(x) ≥ 2.

    Trap: Keeping ±, or taking the negative root, gives values below 2, outside the domain of f.

  7. The function f is defined by f(x) = 2x - 6 for all real x. (a) Find f⁻¹(x). (b) The graphs of y = f(x) and y = f⁻¹(x) meet at one point. Find its coordinates.4 marks
    Answer
    1. (a)
    2. y = 2x - 6, so x = (y + 6)/2.
    3. f⁻¹(x) = (x + 6)/2.
    4. (b)
    5. The graphs are reflections in y = x, so they meet on y = x: 2x - 6 = x.
    6. x = 6, so the point is (6, 6). Check: f⁻¹(6) = 6.

    Trap: Writing f⁻¹(x) = (x - 6)/2 by undoing the -6 with another subtraction.

  8. The graph of y = f(x) is transformed to the graph of (a) y = f(x + 4), (b) y = f(3x). Describe fully the single transformation in each case.4 marks
    Answer
    1. (a)
    2. A translation by the vector beginpmatrix-4 0endpmatrix.
    3. (b)
    4. A stretch of scale factor 1/3 parallel to the x-axis.

    Trap: f(x + 4) is a translation of -4 in the x-direction, and f(3x) has scale factor 1/3, not 3.

  9. The function f is defined by f(x) = x² - 4x for all real x. The graph of y = f(x) is transformed by a translation by the vector beginpmatrix3 0endpmatrix, then a stretch of scale factor 2 parallel to the y-axis, then a reflection in the x-axis. (a) Find the equation of the resulting graph in the form y = ax² + bx + c. [4] (b) Find the coordinates of the turning point of the resulting graph. [2]6 marks
    Answer
    1. (a)
    2. Translation: replace x by x - 3. y = (x-3)² - 4(x-3) = x² - 10x + 21.
    3. Stretch: multiply by 2. y = 2x² - 20x + 42.
    4. Reflection: multiply every term by -1. y = -2x² + 20x - 42.
    5. (b)
    6. f(x) = (x-2)² - 4, so the new graph is y = -2(x-5)² + 8.
    7. The turning point is (5, 8). Check: -2(25) + 20(5) - 42 = 8.

    Trap: Replacing x by x + 3 moves the graph the wrong way, and multiplying only some terms by -2 breaks the reflection and stretch.

  10. The functions f and g are defined by f(x) = (x - 1)² - 4 for x ≤ 1 and g(x) = 2x + 5 for all real x. (a) State the range of f. [1] (b) Find f⁻¹(x) and state its domain. [4] (c) Find gf(x) and solve gf(x) = 5. [3]8 marks
    Answer
    1. (a)
    2. f is decreasing for x ≤ 1 with least value f(1) = -4: f(x) ≥ -4.
    3. (b)
    4. y = (x-1)² - 4, so (x-1)² = y + 4.
    5. x ≤ 1, so x - 1 is negative: x = 1 - √(y + 4).
    6. f⁻¹(x) = 1 - √(x + 4).
    7. The domain is the range of f: x ≥ -4.
    8. (c)
    9. gf(x) = 2((x-1)² - 4) + 5 = 2(x-1)² - 3.
    10. 2(x-1)² - 3 = 5 gives (x-1)² = 4, so x = 3 or x = -1. The domain is x ≤ 1, so x = -1. Check: f(-1) = 0, g(0) = 5.

    Trap: Taking the positive root, or keeping x = 3, ignores the domain x ≤ 1 of f.

Say this, not that

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

Loses the markGets the mark
the range is x ≥ 3the range is f(x) ≥ 3
move it up 1, or ‘vertical’translation by the vector beginpmatrix0 1endpmatrix
g⁻¹(x) = 3 ± √(x+2)g⁻¹(x) = 3 + √(x+2): reject the negative root
The domain of f does not fit the domain of gPart of the range of f lies outside the domain of g

Frequently asked questions

What is the difference between the domain and the range of a function?
The domain is the inputs allowed, and the range is the outputs produced. Write the range using f(x) or y, never x. Find the least or greatest value first, then see which way the function goes. For f(x)=(x-2)²+3 with x≥2, the range is f(x)≥3.
What is a composite function, and when can gf be formed?
The composite function gf means do f first, then g, working from the inside out: gf(x)=g(f(x)). It can be formed only if the range of f lies within the domain of g. If part of the range of f is outside the domain of g, gf cannot be formed.
How do you find the inverse of a one-one function?
Write y=f(x), make x the subject, then replace y by x, and write the answer as f⁻¹(x). The domain of f⁻¹ is the range of f, and the range of f⁻¹ is the domain of f. If a square root appears, the range of f⁻¹ decides whether to take the positive or the negative root.
What do the graphs of y=f(x) and y=f⁻¹(x) look like together?
The graph of f⁻¹ is the reflection of the graph of f in the mirror line y=x. A point (a,b) on f becomes the point (b,a) on f⁻¹. A function is one-one if no horizontal line crosses its graph more than once.
How do you describe a transformation such as y=f(x+4) or y=3f(x) in words?
Name the type of each transformation, its size and its direction relative to the axes. y=f(x+a) is a translation of -a in the x-direction, and y=af(x) is a stretch of scale factor a parallel to the y-axis. The best answers refer to movement relative to the axes, not vague terms such as up and down.
Why must I reject the negative square root when I find an inverse function?
Keeping the ± is a common error: candidates retained the ± of the square root rather than rejecting the negative root. For g(x)=x²-6x+7 with x>4, the value x-3 is positive, so the inverse is g⁻¹(x)=3+√(x+2) only. The negative root gives values outside the domain.

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