Skip to content
IB Diploma ProgrammeSL & HL

Functions, domain and range

Mathematics: Applications and Interpretation SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Functions, domain and range notes as a printable PDF.

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

Read the notes

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

~10 min read

1. Function notation and models

A function gives one output for each input. f(x) is read "f of x": x is the input and f(x) is the output. Other letters are used when the context needs them: v(t) for a speed at time t, C(n) for a cost of n items. A function used this way is a mathematical model.

To find an output, substitute the input. To find an input from a given output, form an equation and solve it.

y = f(x)

f(a) = the output when x = a

Worked example 14 marks

The cost, C dollars, of hiring a bicycle for n hours is modelled by C(n) = 8 + 4.5n, for n ≥ 0.(a) Calculate C(6).(b) Determine the value of n for which C(n) = 44.

  1. 1

    (a) attempt to substitute n = 6: C(6) = 8 + 4.5 × 6 (M1) [1]

  2. 2

    C(6) = char36 35 (A1) [1]

  3. 3

    (b) set 8 + 4.5n = 44 (M1) [1]

  4. 4

    4.5n = 36, so n = 8 (A1) [1]

2. Domain and range

The domain is the set of input values. The range is the set of output values. In a model, the context limits the domain: a ball cannot be in the air before it is thrown or after it lands.

For f(x) = √(2 -x) the domain is x ≤ 2, since the square root needs 2 - x ≥ 0. The range is f(x) ≥ 0. A graph is helpful in visualizing the range: on the GDC, sketch the graph and read the lowest and highest outputs.

domain: values of x range: values of f(x)

Worked example 15 marks

The height, h metres, of a ball above the ground is modelled by h(t) = 20t - 5t², where t is the time in seconds after it is thrown and t ≥ 0 until the ball returns to the ground. Determine the domain and the range of h.

  1. 1

    set h(t) = 0: 20t - 5t² = 0 (M1) [1]

  2. 2

    t = 0 or t = 4, so the domain is 0 ≤ t ≤ 4 (A1) [1]

  3. 3

    use the GDC to find the maximum of the graph (M1) [1]

  4. 4

    maximum h = 20 at t = 2 (A1) [1]

  5. 5

    the range is 0 ≤ h ≤ 20 (A1) [1]

3. The inverse function

An inverse function reverses or undoes the effect of a function. It is written f⁻¹(x). The -1 marks the inverse, not a power.

Solving f(x) = 10 is equivalent to finding f⁻¹(10). Both ask: which input gives the output 10?

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

f(x) = k iff x = f⁻¹(k)

(a, b) on f iff (b, a) on f⁻¹

Worked example 13 marks

The function F(c) = 1.8c + 32 converts a temperature of c °C to degrees Fahrenheit. Find F⁻¹(86) and state what it represents.

  1. 1

    F⁻¹(86) means solve F(c) = 86: 1.8c + 32 = 86 (M1) [1]

  2. 2

    1.8c = 54, so c = 30 (A1) [1]

  3. 3

    F⁻¹(86) = 30: a temperature of 86 °F is 30 °C (A1) [1]

4. One to one functions and the domain of the inverse

An inverse function exists for a one to one function: each output comes from exactly one input. f(x) = x² for all real x is not one to one, since f(2) = f(-2) = 4.

The outputs of f become the inputs of f⁻¹. So the domain of f⁻¹(x) is equal to the range of f(x).

Find the range of f first, from its domain. Then write it as the domain of f⁻¹.

domain of f⁻¹ = range of f

Worked example 15 marks

The function f is defined by f(x) = 2x + 3 for 0 ≤ x ≤ 5.(a) Find the range of f.(b) Write down the domain of f⁻¹.(c) Find f⁻¹(9).

  1. 1

    (a) f(0) = 3 and f(5) = 13 (M1) [1]

  2. 2

    range: 3 ≤ f(x) ≤ 13 (A1) [1]

  3. 3

    (b) domain of f⁻¹ is the range of f: 3 ≤ x ≤ 13 (A1) (FT from part (a)) [1]

  4. 4

    (c) solve 2x + 3 = 9 (M1) [1]

  5. 5

    f⁻¹(9) = 3 (A1) [1]

Recap

  • A function takes each input in its domain to one output. Written f(x), v(t), C(n).
  • Domain: the set of input values. Range: the set of output values.
  • Example: f(x) = √(2 - x) has domain x ≤ 2 and range f(x) ≥ 0.
  • A graph is helpful in visualizing the range.
  • The inverse function f⁻¹(x) reverses or undoes the effect of f.
  • Solving f(x) = 10 is equivalent to finding f⁻¹(10).
  • The graph of f⁻¹ is the reflection of the graph of f in the line y = x.
  • Inverse functions exist for one to one functions. The domain of f⁻¹(x) equals the range of f(x).

End-of-chapter exercise

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

  1. Do not use a calculator. Given f(x) = 4x - 5, state the value of f(3).1 mark
    Answer
    1. f(3) = 4 × 3 - 5 = 7.

    Trap: Subtracting first, 4(3 - 5) = -8, breaks the order of operations: multiply, then subtract.

  2. Do not use a calculator. The function f is defined by f(x) = x² for all real x. State the range of f.1 mark
    Answer
    1. f(x) ≥ 0.

    Trap: The range is a set of outputs, so write it in f(x), not as all real x (that is the domain).

  3. Do not use a calculator. A taxi fare, F dollars, for a journey of d km is F(d) = 3 + 2d. Calculate F(7) and determine the distance for which F(d) = 21.2 marks
    Answer
    1. F(7) = 3 + 14 = 17, so char36 17. Then 3 + 2d = 21 gives d = 9 km.

    Trap: Putting d = 21 into F gives F(21) = 45, which answers a different question.

  4. Do not use a calculator. State the domain and the range of f(x) = √(x - 4).2 marks
    Answer
    1. Domain: x ≥ 4. Range: f(x) ≥ 0.

    Trap: At x = 4 the output is 0, so 4 is included: x > 4 is wrong.

  5. The point (2, 9) lies on the graph of f, which has an inverse function. (a) State the coordinates of the corresponding point on the graph of f⁻¹. (b) State the equation of the line in which the graph of f is reflected to give the graph of f⁻¹.2 marks
    Answer
    1. (a)
    2. (9, 2).
    3. (b)
    4. y = x.

    Trap: Negating the coordinates, (-2, -9), is not a reflection in y = x: the coordinates swap.

  6. Do not use a calculator. The function f is defined by f(x) = 3x - 7. Explain what f⁻¹(14) means, then find its value.3 marks
    Answer
    1. f⁻¹(14) is the input x for which f(x) = 14: 3x - 7 = 14, so f⁻¹(14) = 7.

    Trap: Finding f(14) = 35 gives the output for an input of 14, the opposite of what f⁻¹(14) asks.

  7. Do not use a calculator. The function f is defined by f(x) = 2x - 5 for 1 ≤ x ≤ 6. Determine the range of f and the domain of f⁻¹.3 marks
    Answer
    1. f(1) = -3 and f(6) = 7, so the range of f is -3 ≤ f(x) ≤ 7.
    2. Domain of f⁻¹ equals the range of f: -3 ≤ x ≤ 7.

    Trap: Reusing 1 ≤ x ≤ 6 as the domain of f⁻¹: the domain of f⁻¹ is the range of f.

  8. The function F(c) = 1.8c + 32 converts a temperature of c °C to degrees Fahrenheit. Determine the temperature in °C that is equal to 100 °F. Give your answer to three significant figures.3 marks
    Answer
    1. 1.8c + 32 = 100, so 1.8c = 68 and c = 37.8 °C (3 s.f.).

    Trap: Calculating F(100) = 212 answers a different question; so does multiplying 68 by 1.8.

  9. The number of visitors, N hundred, in a theme park t hours after it opens is modelled by N(t) = 12t - t² for 0 ≤ t ≤ 10. (a) Determine the range of N. (b) Explain why N does not have an inverse function on this domain.5 marks
    Answer
    1. (a)
    2. N(0) = 0, N(10) = 20 and the GDC maximum is N(6) = 36.
    3. Range: 0 ≤ N(t) ≤ 36.
    4. (b)
    5. N(4) = N(8) = 32: two inputs give the same output, so N is not one to one and has no inverse function.

    Trap: Using only the end points, N(0) = 0 and N(10) = 20, gives 0 ≤ N(t) ≤ 20 and misses the maximum of 36 at t = 6.

  10. The stopping distance, d metres, of a car travelling at v km h⁻¹ is modelled by d(v) = 0.2v + 0.01v² for 0 ≤ v ≤ 120. The function d is one to one on this domain. (a) Find the range of d. (b) A car stopped in 60 metres. Find d⁻¹(60), giving your answer to three significant figures. (c) Write down the domain of d⁻¹.6 marks
    Answer
    1. (a)
    2. d(0) = 0 and d(120) = 168. Range: 0 ≤ d(v) ≤ 168.
    3. (b)
    4. GDC: 0.2v + 0.01v² = 60 gives v = 68.1 or v = -88.1. Reject -88.1 (outside the domain): d⁻¹(60) = 68.1 km h⁻¹.
    5. (c)
    6. 0 ≤ x ≤ 168.

    Trap: The equation has a second solution, v = -88.1, outside the domain: reject it, and take the domain of d⁻¹ from the range of d, not 0 ≤ x ≤ 120.

Say this, not that

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

Loses the markGets the mark
The domain is x < 2 for f(x) = √(2 - x)The domain is x ≤ 2: f(2) = 0 is defined, so x = 2 is included
The range of f(x) = √(2 - x) is x ≥ 0The range is f(x) ≥ 0: the range is a set of outputs, not inputs
f⁻¹(x) = 1/(f(x))f⁻¹ is the inverse function, which reverses f; -1 is not a power
The domain of f⁻¹ is the domain of fThe domain of f⁻¹ equals the range of f

Frequently asked questions

What is the difference between the domain and the range of a function?
The domain is the set of input values, and the range is the set of output values. For f(x) = √(2 - x) the domain is x ≤ 2, because the square root needs 2 - x ≥ 0, and the range is f(x) ≥ 0. In a model, the context limits the domain: a ball cannot be in the air before it is thrown or after it lands.
What is an inverse function and how do I use it?
The inverse function f⁻¹(x) reverses the effect of f, so f⁻¹(k) is the input that gives the output k. Solving f(x) = k finds it. For F(c) = 1.8c + 32, F⁻¹(86) solves 1.8c + 32 = 86, giving c = 30, so 86 °F is 30 °C. The -1 marks the inverse, not a power.
How does the graph of an inverse function relate to the graph of the function?
The graph of f⁻¹ is the reflection of the graph of f in the line y = x. A point (a, b) on f becomes (b, a) on f⁻¹. For example, if (2, 9) lies on f, then (9, 2) lies on f⁻¹. An inverse exists only for a one to one function, where each output comes from exactly one input.
What is the domain of an inverse function?
The domain of f⁻¹(x) equals the range of f(x), because the outputs of f become the inputs of f⁻¹. For f(x) = 2x - 5 on 1 ≤ x ≤ 6, f(1) = -3 and f(6) = 7, so the range of f is -3 ≤ f(x) ≤ 7. That is the domain of f⁻¹, not the domain of f.
How do I find the range of a function that has a maximum inside its domain?
Find the outputs at both ends of the domain, then check the graph for a maximum or minimum inside it. For N(t) = 12t - t² on 0 ≤ t ≤ 10, N(0) = 0 and N(10) = 20, but the GDC maximum is N(6) = 36. So the range is 0 ≤ N(t) ≤ 36. Using only the end points misses the maximum.
What mistakes do students make with the domain and range of a function?
The range is a set of outputs, so for f(x) = x² the answer is f(x) ≥ 0, not all real x, which is the domain. For f(x) = √(x - 4) the domain includes x = 4, since f(4) = 0, so x > 4 is wrong. The domain of f⁻¹ is the range of f, not the domain given.

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