Date | May 2018 | Marks available | 2 | Reference code | 18M.3srg.hl.TZ0.5 |
Level | HL only | Paper | Paper 3 Sets, relations and groups | Time zone | TZ0 |
Command term | Show that | Question number | 5 | Adapted from | N/A |
Question
The function f: Z→Z is defined by f(n)=n+(−1)n.
Prove that f∘f is the identity function.
Show that f is injective.
Show that f is surjective.
Markscheme
METHOD 1
(f∘f)(n)=n+(−1)n+(−1)n+(−1)n M1A1
=n+(−1)n+(−1)n×(−1)(−1)n (A1)
considering (−1)n for even and odd n M1
if n is odd, (−1)n=−1 and if n is even, (−1)n=1 and so (−1)±1=−1 A1
=n+(−1)n−(−1)n A1
= n and so f∘f is the identity function AG
METHOD 2
(f∘f)(n)=n+(−1)n+(−1)n+(−1)n M1A1
=n+(−1)n+(−1)n×(−1)(−1)n (A1)
=n+(−1)n×(1+(−1)(−1)n) M1
(−1)±1=−1 R1
1+(−1)(−1)n=0 A1
(f∘f)(n)=n and so f∘f is the identity function AG
METHOD 3
(f∘f)(n)=f(n+(−1)n) M1
considering even and odd n M1
if n is even, f(n)=n+1 which is odd A1
so (f∘f)(n)=f(n+1)=(n+1)−1=n A1
if n is odd, f(n)=n−1 which is even A1
so (f∘f)(n)=f(n−1)=(n−1)+1=n A1
(f∘f)(n)=n in both cases
hence f∘f is the identity function AG
[6 marks]
suppose f(n)=f(m) M1
applying f to both sides ⇒n=m R1
hence f is injective AG
[2 marks]
m=f(n) has solution n=f(m) R1
hence surjective AG
[1 mark]