Show that the function defined by
is a bijective function.
Confirming your payment
Sign up now and get 250 free tokens.
Functions · Question 10 of 51
Show that the function defined by
is a bijective function.
Solution:
Key idea: The rule sends each even number to the next odd number and each odd number to the previous even number, so it swaps and , and , and , and so on. A function that swaps elements in pairs like this is one-one and onto.
Step 1 — See the pattern on a few values. We work out the first few images to understand the rule.
Even numbers go to odd numbers, and odd numbers go to even numbers.
Step 2 — One-one when both inputs are even. Take even with ; both use the rule .
Step 3 — One-one when both inputs are odd. Now both use the rule .
Step 4 — One-one when one input is even and the other odd. If is even, is odd; if is odd, is even. An odd number can never equal an even number, so is impossible in this case.
So in every case equal images force equal inputs, and is one-one.
Step 5 — Onto: a pre-image for an odd . Take any odd . Then is an even whole number (it is at least 0), so the even rule applies to it.
Step 6 — Onto: a pre-image for an even . Take any even . Then is odd, so the odd rule applies.
So every whole number has a pre-image, and is onto.
Therefore, is one-one and onto, so it is a bijective function on .