6.4 Injective, surjective and bijective functions — Practise
Work independently. The questions and answers are shown together at the end.
Decide injectivity before surjectivity, and say which codomain you are using. A function that fails one property cannot be bijective.
- H Explain what it means for a function to be injective.
- H Explain what it means for a function to be surjective.
- H Explain what it means for a function to be bijective.
- H State the horizontal line test for injectivity.
- H Show that is not injective on the real numbers by finding two different inputs with the same output.
- H Show that is injective by solving for .
- H Explain why the coffee function is injective on its domain .
- H Explain why a function has an inverse exactly when it is bijective.
Answers and concise solutions
1. Show the answer
1. The definition of injective
Answer: A function is injective when no two different inputs give the same output. In symbols, if then . On a graph, every horizontal line meets the curve at most once.
2. Show the answer
2. The definition of surjective
Answer: A function is surjective onto a codomain when every value in that codomain is reached. For every in the codomain there is an input with . The function is then called onto.
3. Show the answer
3. The definition of bijective
Answer: A function is bijective when it is both injective and surjective. Each input has its own output, and every value in the codomain is used. A bijection pairs the two sets perfectly, with nothing left over on either side.
4. Show the answer
4. The horizontal line test
Answer: If every horizontal line crosses the graph at most once, the function is injective. A horizontal line that crosses twice has found two inputs with the same output, so the function is not injective.
5. Show the answer
5. The two outputs
Answer: and . Two different inputs give the same output, so is not injective on the real numbers. On the domain it becomes injective.
6. Show the answer
6. The solution for
Answer: If then . Subtracting from each side gives , so . Equal outputs force equal inputs, so is injective.
7. Show the answer
7. Why it is injective
Answer: As grows, gets smaller, so gets smaller. The function never rises and never repeats a value. Two different times therefore give two different temperatures, so is injective on .
8. Show the answer
8. Why bijective is the condition
Answer: The inverse sends each output back to its input. That is a function only when each output came from one input, which is injectivity. It is defined on the whole codomain only when every codomain value is reached, which is surjectivity. Both together make the function bijective.