InterviewSolution
Saved Bookmarks
| 1. |
Give examples of two functions f : N → Z and g : Z → Z such that g : Z → Z is injective but £ is not injective. (Hint: Consider f(x) = x and g (x) = |x|). |
|
Answer» As g (x) = g (-x) = |x| for all x ∈ Z , ∴ g is not one-one i.e. y is not injective As f : N → Z and g : Z → Z gof : N → Z let x1, x2, ∈ N such that gof (x1) = gof (x2) ⇒ g (x1) = g (x2) ⇒ | x1 | = | x2 | ⇒ x1= X2 (both x1 ,x2 >0) Hence g o f is injective. |
|