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; the domain is the inputs and the range the 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 is the range of ; only one-to-one functions have inverses, so restrict the domain if needed.
What a function is
A function assigns to each input exactly one output; the domain is the allowed inputs and the range the outputs produced.
A relation is a function if every vertical line meets its graph at most once. Unless stated, the domain is the largest set of real numbers for which the rule works: needs ; needs .
For the range, think about the least and greatest outputs. In , , so . Domain is about ; range is about .
What is the largest possible domain of ?
Notation and models
Function notation names the rule and the input, and a model's domain must make sense in context.
Function notation such as names the rule and the input. means substitute , not .
A function can be a mathematical model. A taxi fare applies only for distances driven, say . The range follows: . Take care with strict () and non-strict () inequalities at each end.
Worked example
Using , find the fare for an 18 km journey.
- 1
Substitute: .
- 2
.
- 3
Add: .
Using , what is ?
Inverse functions
An inverse function reverses : if then .
An inverse function undoes the rule, so solving is the same as finding . For the taxi, a fare of 48.50 dollars gives km.
Note is not : the means inverse, not reciprocal. Check an inverse by substituting: , so should be 180.
- 1
Write
Replace the function name with
- 2
Swap and
Inputs and outputs trade places
- 3
Rearrange
Make the subject
- 4
Name it
The new is the inverse
Worked example
Find the inverse of , which converts Celsius to Fahrenheit.
- 1
.
- 2
Swap: .
- 3
Rearrange: .
What is for ?
Graph of an inverse
The graph of is the reflection of the graph of in the line .
Swapping inputs and outputs swaps the coordinates: on becomes on . So the domain of is the range of , and the range of is the domain of .
Points where meets are also on . For , , has domain and range .
Worked example
Find where meets the line .
- 1
Set : .
- 2
So .
- 3
.
has domain . What is the domain of ?
When an inverse exists
Only a one-to-one function has an inverse; restrict the domain if it is not.
An inverse exists only if every output comes from exactly one input. The horizontal line test: every horizontal line meets the graph at most once.
To show a function is not one-to-one, give two inputs with the same output: for , . Restricting the domain, here to , keeps one half. Then only the solution in the restricted domain counts.
Worked example
Solve for with domain .
- 1
.
- 2
or .
- 3
Reject because it is outside .
Which function, on all real numbers, has an inverse?
Try an exam question
The function is defined by for . (a) State the range of . (b) Find and state its domain.
[4 marks]
- [1]Range: .
- [1]Writes and rearranges to .
- [1].
- [1]Domain of is .
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