All revision notes topics

2.2 Concept of a function, domain, range and inverseIB Maths: Applications and Interpretation SL: Revision notes

Section 1

Functions, notation and models

A function is a rule that gives exactly one output for each input. We write f(x)f(x) for the output when the input is xx; other letters fit the context, e.g. v(t)v(t) for velocity at time tt, or C(n)C(n) for the cost of nn items. The set of allowed inputs is the domain, and the set of outputs that result is the range. A function is often a mathematical model of a real situation: C(n)=12+2.5nC(n)=12+2.5n models a taxi fare of 12 AED plus 2.5 AED per kilometre. C(18)=57C(18)=57 means an 18 km journey costs 57 AED. The graph of a function is the set of points (x,f(x))(x, f(x)), usually drawn as y=f(x)y=f(x).

Key termsfunctiondomainrangemodel
Common mistake

Reading f(x)f(x) as 'ff times xx'. It means 'the value of ff at xx'.

Section 2

Domain and range

The domain may be limited by the mathematics or by the context.

  • A square root needs a non-negative expression: for f(x)=2−xf(x)=\sqrt{2-x} we need 2−x≥02-x\ge0, so the domain is x≤2x\le2 and the range is f(x)≥0f(x)\ge0.
  • In context, negative times or distances are not allowed: for C(n)=12+2.5nC(n)=12+2.5n the domain is n≥0n\ge0. To find the range, sketch or graph the function with your GDC and read off the lowest and highest output values. Remember to include or exclude end values correctly: use ≥\ge and ≤\le when the value is reached. Example: g(x)=2x+5g(x)=2x+5 for −1≤x≤4-1\le x\le4 is increasing, so the range is g(−1)≤g(x)≤g(4)g(-1)\le g(x)\le g(4), i.e. 3≤g(x)≤133\le g(x)\le13.
Key termsdomainrange
Exam tip

Use a graph to find the range: the range is the set of yy-values that the graph covers.

Common mistake

Writing the range using xx-values. The domain is about xx; the range is about f(x)f(x) or yy.

Section 3

The inverse function

An inverse function reverses or undoes the effect of ff. We write it f−1f^{-1}. If ff turns 5 into 11, then f−1f^{-1} turns 11 back into 5. To find f−1(x)f^{-1}(x) algebraically: write y=f(x)y=f(x), swap xx and yy, then rearrange for yy. Example: f(x)=2x+5f(x)=2x+5. Swap: x=2y+5x=2y+5, so y=x−52y=\frac{x-5}{2} and f−1(x)=x−52f^{-1}(x)=\frac{x-5}{2}. The graph of f−1f^{-1} is the reflection of the graph of ff in the line y=xy=x. Solving f(x)=10f(x)=10 is the same as finding f−1(10)f^{-1}(10).

Key termsinverse functionreflection in $y=x$
Common mistake

Confusing f−1(x)f^{-1}(x) with 1f(x)\frac{1}{f(x)}. The −1-1 is not a power; it means inverse function.

Section 4

When does an inverse exist?

An inverse function exists only for a one-to-one function, where each output comes from exactly one input. If two different inputs give the same output, the inverse would not know which one to return. Example: f(x)=x2f(x)=x^2 is not one-to-one because f(−2)=f(2)=4f(-2)=f(2)=4. If the domain is restricted to x≥0x\ge0, it is one-to-one and has an inverse, f−1(x)=xf^{-1}(x)=\sqrt{x}. The inputs and outputs swap roles, so:

  • the domain of f−1f^{-1} is the range of ff;
  • the range of f−1f^{-1} is the domain of ff. In the ball-throwing model h(t)=−5t2+20t+25h(t)=-5t^2+20t+25, the domain must be restricted to 2≤t≤52\le t\le5 before h−1h^{-1} can give a unique time for each height.
Key termsone-to-one
Exam tip

A graph passes the horizontal line test (every horizontal line crosses it at most once) exactly when the function is one-to-one.

Section 5

Inverse functions in context

In a model, f−1f^{-1} answers the reverse question. For the taxi fare C(n)=12+2.5nC(n)=12+2.5n, C(18)=57C(18)=57 asks 'what does 18 km cost?', while C−1(100)C^{-1}(100) asks 'how far can I travel for 100 AED?'. Solve 12+2.5n=10012+2.5n=100 to get n=35.2n=35.2 km. Always state what the answer means and give the units. When two inputs give the same output (as with a ball at the same height on the way up and down), use the domain to choose the correct one.

Exam tip

Say what the input and output of the inverse represent: for C−1C^{-1}, the input is a cost and the output is a distance.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on 2.2 Concept of a function, domain, range and inverse

  1. A function is defined by f(x)=x−3f(x)=\sqrt{x-3}.
    Find the value of xx for which f(x)=4f(x)=4.2 marks
  2. A taxi company charges a fixed fee of 12 AED plus 2.5 AED for each kilometre travelled. The cost, CC AED, of a journey of nn km is modelled by C(n)=12+2.5nC(n)=12+2.5n, for n≥0n\ge0.
    Find the value of C−1(100)C^{-1}(100), giving the units of your answer.2 marks
  3. The function gg is defined by g(x)=2x+5g(x)=2x+5 for −1≤x≤4-1\le x\le4.
    Find the range of gg.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).