Functions: One-One, Inverses and Restricted Domains
Tell one-one from many-one, restrict a domain so an inverse exists, find inverses and composites with their domains and ranges, and sketch f with its inverse.
In the exam for IGCSE Additional Maths 0606 · 16 real past-paper questions below
اقرأ هذا الدرس مشروحاً بالعربي ←
Function, domain, range
Press one button on a vending machine and you get one snack. Never two, never a surprise. A function works the same way: each input gives exactly one output.
Rule
A function gives exactly one output for each input. The domain is the set of inputs you are allowed to use. The range is the set of outputs you get.
You will see two ways to write the same function. Both say “double x and add 1, for x of 0 or more”:
Formula
— the output when the input is x.
— the domain. The range here is .
Formula
— read “maps to”: x goes to 2x + 1. It is the same function, written as an arrow.
Worked example
- 1
Explain why the graph of (a circle) does not represent a function.
- 2
— Pick one input and look for its outputs.
- 3
— One input gives two outputs.
- 4
— A vertical line at x = 3 meets the graph twice. A function allows at most once.
Rule
Write a range with the function's letter, not with x: , or , or . Writing for a range loses the mark.
Key idea
The Swiss mathematician Leonhard Euler first wrote f(x) for a function in 1734. Almost three hundred years later, every exam paper still uses his notation.
Key idea
Domain is what goes in. Range is what comes out. A function never gives two outputs for one input.
One-one or many-one
Some functions send two different inputs to the same output. For , both 3 and −3 give 9.
Rule
A one-one function: every output comes from exactly one input.
A many-one function: at least one output comes from two or more inputs.
To check from a graph, draw horizontal lines. If any horizontal line meets the graph more than once, the function is many-one.
Only a one-one function has an inverse. The inverse must take the output back to the input. If 9 came from both 3 and −3, the inverse would not know which one to give back.
Worked example
- 1
The function has domain . Explain why does not exist.
- 2
— Complete the square. The turning point is at x = 3.
- 3
— The turning point is inside the domain, so the curve goes down and then back up.
- 4
— Two inputs give the same output.
- 5
— So f has no inverse: would need two answers.
Common mistake
Writing only “because it is a quadratic”. Say the function is many-one (not one-one), and back it up with two inputs that give the same output.
Key idea
No inverse means two inputs share an output. Name the function as many-one and show the pair.
Restricting the domain
A many-one function can be made one-one by cutting its domain. For a quadratic, cut at the turning point and keep one side.
Worked example
- 1
for . Find the least value of k for which exists, and the range of f.
- 2
— Complete the square. Take out the 2 first.
- 3
— The bracket is 0 when x = −2, and then f is −5.
- 4
— From x = −2 onwards the curve only goes up, so f is one-one.
- 5
— The range. The smallest output is at the turning point.
Notice: if k were smaller than −2, the domain would include both sides of the turning point and f would be many-one again.
Common mistake
Writing the range as . The range is about outputs, so write .
Common mistake
Taking the x-coordinate of the turning point for the range. The range uses the y-coordinate, −5.
Key idea
To make a quadratic one-one, start the domain at the turning point. Its y-value starts the range.
Finding the inverse
To find an inverse, swap x and y, then make y the subject. Two facts tell you the domain and range at once.
Rule
Domain of = range of f.
Range of = domain of f.
Worked example
- 1
for . Find and state its domain.
- 2
— Write y = f(x), then swap x and y.
- 3
— Add 5, then divide by 2.
- 4
— Square root both sides. There are two signs for now.
- 5
— The range of the inverse is the domain of f, x ≥ −2. Only the plus sign gives values of −2 or more.
- 6
— The domain of the inverse is the range of f.
Exponential functions come up often. You need one fact: ln undoes e. If , then .
Worked example
- 1
for all real x. Find and its domain.
- 2
— Swap x and y.
- 3
— Add 1, then divide by 4.
- 4
— Take ln of both sides.
- 5
— is always positive, so the range of g is . That is the domain of the inverse.
Common mistake
Thinking means . The −1 is a label for the inverse, not a power.
Common mistake
Leaving the answer as “y = …”. Write it with the correct notation, , and give its domain.
Key idea
Swap, solve, then swap the domain and range. They tell you which sign to keep.
Composite functions
A composite function feeds the output of one function into another. means : do f first, then g. Read it from the inside out.
Worked example
- 1
and . Find and .
- 2
— f first: add 3. Then g squares the result.
- 3
— g first: square. Then f adds 3. A different answer, so order matters.
Worked example
- 1
. Find .
- 2
— means h twice, not h squared.
- 3
— Put 3x − 2 in place of x, then expand.
Rule
exists only if every output of f is allowed into g: the range of f must fit inside the domain of g. Then the domain of gf is the domain of f.
Worked example
- 1
for and for . Show gf exists, find its range, and solve .
- 2
— The range of f. Every output is 1 or more.
- 3
— The outputs of f all fit, so gf exists. Its domain is x ≥ 0.
- 4
— f first, then g.
- 5
— Feed the range of f, 1 or more, into g: the outputs start at .
- 6
— Square both sides. 8 is in the domain, so it is valid.
If the domain of f were instead, f could output −1. Then g would need , which is impossible, so gf would not exist.
Common mistake
Doing g first for gf. The function next to the x acts first.
Key idea
Inside out: the function nearest x acts first. Check that its range fits into the next function's domain.
Graphs of f and its inverse
An inverse swaps every input with its output. So the point (a, b) on becomes (b, a) on . Swapping x and y is a reflection in the line .
Rule
The graph of is the reflection of in the line .
Worked example
- 1
Sketch and for , .
- 2
— Draw this line first, as a dashed guide.
- 3
— The end point of f swaps to the end point of the inverse.
- 4
— The y-intercept of f becomes the x-intercept of the inverse.
- 5
— Check with the formula from before: it agrees.
Asymptotes swap too. has asymptote , so its inverse has asymptote .
Some functions are their own inverse, such as or . Their graphs are symmetrical about .
Common mistake
Reflecting in the x-axis or the y-axis. The mirror line for an inverse is always .
Key idea
Draw first. Then swap the coordinates of each key point and mirror the curve across the line.
Which method? Read the question
Function questions come in parts that build on each other. Match the words to the method.
| You see | You do |
| “Explain why this is not a function” | Find one input with two outputs |
| “Explain why does not exist” | Show f is many-one: two inputs, same output |
| “Least value of k so exists” | Complete the square; k is the x of the turning point |
| “Find the range of f” | Smallest (or largest) output; write |
| “Find ” | Swap x and y, make y the subject, choose the sign |
| “Domain / range of ” | Swap the range and domain of f |
| “Explain why gf exists” | Range of f lies inside the domain of g |
| “Sketch f and ” | Reflect in ; swap the coordinates of key points |
Common mistake
Losing the domain. An inverse or a composite is not finished until its domain is stated whenever the question asks for it.
Key idea
Find the range of f first. It becomes the domain of the inverse, and it must fit inside the domain of any function applied after f.
Practise functions: one-one, inverses and restricted domains now
Interactive visual aids, then real past-paper questions marked on your working like the exam. Free to start.
Practise free on LemmaraReal past-paper questions on functions: one-one, inverses and restricted domains
Each with a full worked solution.
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.