2.2 Functions, domain, range and inverse
Studying this course? Keep your progress in one place.
Key facts
- A function gives exactly one output for each input: domain = inputs, range = outputs.
- means substitute 12; the domain of a model must make sense in context.
- Solving is the same as finding .
- The graph of is the reflection of the graph of in .
- Domain of = range of ; range of = domain of .
- Only one-to-one functions have inverses; restrict the domain if needed.
What is a function?
A function assigns each input exactly one output; the inputs form the domain and the outputs form the range.
A function gives exactly one output for each input. Inputs form the domain, outputs the range. A relation is a function if every vertical line meets its graph at most once (the vertical line test).
Unless stated, the domain is the largest set where the rule works: needs ; needs . For , so .
What is the largest domain of ?
Notation and models
means substitute 12 into the rule; as a model, the domain must make sense in context.
Function notation names the rule and the input: is velocity at time ; does not mean . A function can be a mathematical model: a taxi fare only applies for the distances driven, e.g. .
For a linear model the range comes from the two ends of the domain. Watch strict () and non-strict () ends.
Worked example
A taxi fare is dollars for km, . Find the range of .
- 1
is increasing, so the extremes come from the ends of the domain.
- 2
Lower end: , but is strict, so .
- 3
Upper end: , and is allowed.
For , what is ?
Inverse functions
An inverse reverses a function: if then . So solving is finding .
For the taxi, a fare of 48.50 dollars means km.
To find , write , swap and , and rearrange for . For this gives .
- Solve Find
Worked example
Find the inverse of .
- 1
Write .
- 2
Swap the variables: .
- 3
Rearrange: , so .
. What is ?
Reflection in y = x
Swapping inputs and outputs swaps coordinates, so is the reflection of in the line .
A point on becomes on . So the domain of is the range of , and vice versa.
Where meets the point is on both graphs. gives : C F.
f
- Domain
- Range
- Domain
- Range
The point is on . Which point is on ?
When does an inverse exist?
Only a one-to-one function has an inverse; restrict the domain of other functions to make one.
is one-to-one if each output comes from exactly one input: every horizontal line meets the graph at most once (horizontal line test). To show it is not, give two inputs with one output: for , .
Restricting to keeps the one-to-one right half. Solving then rejects .
Which function is one-to-one for all real ?
Try an exam question
The function is defined by . (a) Find . (b) Solve .
[4 marks]
- [1]Writes and swaps to .
- [1].
- [1]Sets (or finds ).
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the range of .
1 mark, marked against the mark scheme
Find the range of .
1 mark, marked against the mark scheme