Pure Mathematics Year 2, chapter 2 (Functions and graphs), section 2.2
Functions
A function is a mapping in which each input gives exactly one output. It is written or .
- A one-one function gives each output from exactly one input, such as .
- A many-one function can give the same output from several inputs, such as .
- A one-many mapping (one input, several outputs) is not a function.
Domain and range
The domain is the set of allowed inputs and the range is the set of outputs. A question may restrict the domain, for example for .
Unless told otherwise, exclude values that break the rule: zero denominators and negative numbers inside square roots.
Worked example 1: range
for . The smallest value is and the function increases from there, so the range is .
Worked example 2: range using completing the square
for all real .
, so the range is .
Piecewise functions
A function can be defined by different rules on different parts of the domain.
and . The first piece gives values below 3, and the second gives values up to 3, so the range is .
Sketching
Draw each piece on its own part of the domain, using an open circle where a value is excluded and a filled circle where it is included.
Common mistake: confusing domain with range, or forgetting that restricting the domain changes the range. For with the range is , but with it is .
Exam tip: for the range of a quadratic, complete the square and note whether the turning point is inside the domain. Use the end points of the domain when it is not.
Check yourself
Is a function?
No, because one input gives two outputs.
Find the range of .
.
Find the range of for .
.