Functions: domain, range and composition
Studying this course? Keep your progress in one place.
Key facts
- A function gives exactly one output for each input in its domain.
- The domain is the set of inputs; the range is the set of outputs.
- Many-one mappings are functions; one-to-many rules are not.
- fg: do first. In general .
- For to exist, the range of must lie within the domain of .
Functions and mappings
A function gives exactly one output for each input in its domain.
It is written or . The inputs form the domain; the set of outputs is the range.
A function is one-one if each output comes from exactly one input, and many-one if two or more inputs give the same output. A one-to-many rule is not a function.
One-one
- A function
- Each output from exactly one input
Many-one
- A function
- Some outputs share inputs
One-to-many
- Not a function
- One input, several outputs
Which type of mapping is NOT a function?
Finding domain and range
The domain is where the rule works; the range is found by completing the square or sketching.
The domain may be stated, or you find the largest set where the rule works: avoid division by zero, and square roots of negatives. For the domain is .
For the range, use completing the square, a sketch, or the extremes of the domain. A restricted domain can turn a many-one function into a one-one function.
- Domainallowed inputs ()
- Rangeresulting outputs ()
Worked example
Find the range of for all real , and for .
- 1
Complete the square: .
- 2
Since , the minimum value is at . For all real the range is .
- 3
For , is increasing, so the range starts at .
What is the domain of ?
Composite functions
fg(x) means do g first, then f; the order matters.
The composite function applies to first, then to the result.
In general . The function nearest to acts first.
- 1
Input x = 1
start here
- 2
Apply f first
f(1) = 2(1) + 3 = 5
- 3
Apply g to the result
g(5) = 25 − 1 = 24
Worked example
With and , find and .
- 1
.
- 2
.
With and , what is ?
Domain and range of composites
fg is defined only when the range of g lies within the domain of f.
With () and we need , so , giving .
Also must exclude , so its domain is .
For to exist, what must be true?
Try an exam question
The functions f and g are defined by , , and , . (a) Find the range of f. (b) Find , giving your answer in the form .
[5 marks]
- [1]Completes the square: .
- [1]Range: .
- [1]Substitutes into : .
- [1]Expands both brackets correctly.
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which statement about is correct?
1 mark, marked against the mark scheme
Which statement about is correct?
1 mark, marked against the mark scheme