All revision notes topics

2.2 Functions, domain, range and inverseIB Maths: Analysis and Approaches HL: Revision notes

Section 1

What is a function?

A function is a rule that assigns to each input exactly one output. The set of allowed inputs is the domain; the set of outputs actually produced is the range. The graph of ff is the set of points (x,f(x))(x, f(x)).

  • A relation is a function if every vertical line meets its graph at most once (the vertical line test).
  • Unless stated otherwise, the domain is the largest set of real numbers for which the rule makes sense. For x−3\sqrt{x-3} you need x≥3x \ge 3; for 1x+2\frac{1}{x+2} you need x≠−2x \ne -2.
  • To find a range, think about the smallest and largest outputs: for f(x)=2x−3+1f(x) = 2\sqrt{x-3} + 1, x−3≥0\sqrt{x-3} \ge 0, so f(x)≥1f(x) \ge 1.
Key termsfunctiondomainrangevertical line test
Common mistake

Mixing up domain and range. The domain is about xx (inputs); the range is about f(x)f(x) (outputs).

Exam tip

For a square root, set the expression inside ≥0\ge 0 to find the domain; the root itself is always ≥0\ge 0, which helps with the range.

Section 2

Function notation and functions as models

Function notation names the rule and the input: f(x)f(x), v(t)v(t) for velocity at time tt, C(n)C(n) for the cost of nn items. C(12)C(12) means substitute n=12n = 12; it does not mean C×12C \times 12.

A function can be a mathematical model of a real situation. Then the domain must make sense in context: a taxi fare C(d)=3.5+1.8dC(d) = 3.5 + 1.8d only applies for distances the taxi drives, e.g. 0<d≤400 < d \le 40. The range follows from the domain: here 3.5<C(d)≤75.53.5 < C(d) \le 75.5.

For an increasing or decreasing linear model, the range on an interval comes from the values at the two ends of the domain. Take care with strict (<<) and non-strict (≤\le) inequalities at each end.

Key termsfunction notationmathematical model
Example

C(d)=3.5+1.8dC(d) = 3.5 + 1.8d: C(12)=25.10C(12) = 25.10 dollars is the cost of a 12 km journey.

Section 3

Inverse functions: undoing a function

An inverse function f−1f^{-1} reverses the effect of ff: if f(a)=bf(a) = b then f−1(b)=af^{-1}(b) = a.

So solving f(x)=10f(x) = 10 is the same as finding f−1(10)f^{-1}(10). For the taxi, a fare of 48.50 dollars means C(d)=48.5C(d) = 48.5, so d=C−1(48.5)=48.5−3.51.8=25d = C^{-1}(48.5) = \frac{48.5 - 3.5}{1.8} = 25 km.

To find f−1(x)f^{-1}(x) for a simple function, write y=f(x)y = f(x), swap xx and yy, and rearrange for yy. For F(c)=1.8c+32F(c) = 1.8c + 32: x=1.8y+32x = 1.8y + 32 gives F−1(x)=x−321.8F^{-1}(x) = \frac{x - 32}{1.8}.

Key termsinverse function
Common mistake

f−1(x)f^{-1}(x) is not 1f(x)\frac{1}{f(x)}. The −1-1 means 'inverse', not 'reciprocal'.

Exam tip

Check an inverse by substituting: F(180)=356F(180) = 356, so F−1(356)F^{-1}(356) should be 180.

Section 4

The graph of an inverse: reflection in y = x

Swapping inputs and outputs swaps the coordinates of every point: (a,b)(a, b) on y=f(x)y = f(x) becomes (b,a)(b, a) on y=f−1(x)y = f^{-1}(x). So the graph of y=f−1(x)y = f^{-1}(x) is the reflection of the graph of y=f(x)y = f(x) in the line y=xy = x.

Because of this swap:

  • the domain of f−1f^{-1} is the range of ff, and
  • the range of f−1f^{-1} is the domain of ff.

Points where y=f(x)y = f(x) meets y=xy = x are also on y=f−1(x)y = f^{-1}(x). For F(x)=1.8x+32F(x) = 1.8x + 32, F(x)=xF(x) = x gives x=−40x = -40: −40 ∘C=−40 ∘F-40\,^{\circ}\mathrm{C} = -40\,^{\circ}\mathrm{F}.

Key termsreflection in y = x
Example

f(x)=2x−3+1f(x) = 2\sqrt{x-3} + 1, x≥3x \ge 3, has range f(x)≥1f(x) \ge 1. So f−1f^{-1} has domain x≥1x \ge 1 and range f−1(x)≥3f^{-1}(x) \ge 3.

Section 5

When does an inverse exist?

An inverse exists only if ff is one-to-one: every output comes from exactly one input. Otherwise the 'inverse' would send one input to two outputs and would not be a function.

Test: every horizontal line meets the graph at most once (the horizontal line test). To show a function is not one-to-one, give two different inputs with the same output: for g(x)=(x−2)2+1g(x) = (x-2)^2 + 1, g(0)=g(4)=5g(0) = g(4) = 5.

A function that is not one-to-one can be given an inverse by restricting its domain. For gg, restricting to x≥2x \ge 2 (from the vertex) keeps only the right-hand half, which is one-to-one. Then when solving g(x)=10g(x) = 10 you must reject the solution x=−1x = -1, which is outside the restricted domain.

Key termsone-to-onehorizontal line testrestricted domain
Common mistake

Giving both solutions of (x−2)2=9(x-2)^2 = 9 as g−1(10)g^{-1}(10). Only the one in the restricted domain counts.

Must know

  • A function gives exactly one output for each input; domain = inputs, range = outputs.
  • C(12)C(12) means substitute 12; the domain of a model must make sense in context.
  • Solving f(x)=bf(x) = b is the same as finding f−1(b)f^{-1}(b).
  • The graph of f−1f^{-1} is the reflection of the graph of ff in y=xy = x.
  • Domain of f−1f^{-1} = range of ff; range of f−1f^{-1} = domain of ff.
  • Only one-to-one functions have inverses; restrict the domain if needed.

That's the notes covered.

Carry on to the next subtopic.