2.2 Concept of a function, domain, range and inverse
Studying this course? Keep your progress in one place.
Key facts
- A function gives exactly one output for each input; is the output for input .
- The domain is the set of allowed inputs; the range is the set of outputs.
- The inverse undoes : write , swap and , rearrange.
- The graph of is the reflection of in ; domain of = range of .
- An inverse exists only if is one-to-one; restrict the domain if needed.
Functions and notation
A function is a rule that gives exactly one output for each input.
We write for the output when the input is ; other letters suit the context, such as or . The allowed inputs form the domain and the resulting outputs form the range. The graph is the set of points .
A function is often a mathematical model: models a taxi fare of 12 AED plus 2.5 AED per kilometre, so means an 18 km journey costs 57 AED.
- One inputexactly one output
For , what is ?
Domain and range
The domain is limited by the mathematics or the context; read the range off the graph.
Limits on the domain:
- A square root needs a non-negative expression: for , , so the domain is and the range is .
- In context, negative times or distances are not allowed: for the domain is .
Find the range by graphing and reading the lowest and highest outputs, using and when end values are reached. For on : .
What is the domain of ?
The inverse function
The inverse reverses a function: if turns 5 into 11, then turns 11 back into 5.
To find : write , swap and , then rearrange for .
The graph of is the reflection of in the line . Solving is the same as finding .
An inverse function reverses the roles: the domain of is the range of , and the range of is the domain of .
- 1
Write
- 2
Swap and
- 3
Rearrange for
- 4
Result
Worked example
Find the inverse of .
- 1
Write .
- 2
Swap and : .
- 3
Rearrange for : .
If , what is ?
When an inverse exists
Only a one-to-one function has an inverse; restrict the domain to make one.
A function is one-to-one if each output comes from exactly one input. If two inputs give the same output, the inverse would not know which to return.
is not one-to-one because . Restrict the domain to and .
In the ball model , the vertex is at , so restrict to before using .
Worked example
Use to find how far you can travel for 100 AED.
- 1
Solve : .
- 2
.
- 3
.
Why does have no inverse on all real numbers?
Try an exam question
The function is defined by for . (a) Find the range of . (b) Find and state its domain.
[4 marks]
- [1] and .
- [1]Range: .
- [1]; swap: , so .
- [1]Domain of is the range of : .
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which of the following is the largest possible domain of ?
1 mark, marked against the mark scheme
Which of the following is the largest possible domain of ?
1 mark, marked against the mark scheme