# Give examples of two functions f: N → Z and g: Z → Z such that g o f is injective but g is not injective.(Hint: Consider f (x) = x and g(x) = |x|).

Define f: N Z as f(x) = x and g: Z Z as g(x) = |x|

Now, we can see that

g(-1) = |-1| = 1

g(1) = |1| = 1

g(-1) = g(1) , but -1 ≠ 1

g is not injective.

Now, gof: N Z is defined as gof(x) = g(f(x)) = g(x) = |x|

Let x, y ϵ N such that gof(x) = gof(y).

|x| = |y|

x = y

Therefore, gof is injective.

Rate this question :

How useful is this solution?
We strive to provide quality solutions. Please rate us to serve you better.
Related Videos  Functions - 0152 mins  Different kind of mappings58 mins  Range of Functions58 mins  Quick Revision of Types of Relations59 mins  Functions - 0947 mins  Quick Recap lecture of important graphs & functions58 mins  Range of Quadratic/quadratic & linear/Linear functions45 mins  Understand Fractional part and Mod Function in 1 hour61 mins  Some standard real functions61 mins  Battle of Graphs | various functions & their Graphs48 mins
Try our Mini CourseMaster Important Topics in 7 DaysLearn from IITians, NITians, Doctors & Academic Experts
Dedicated counsellor for each student
24X7 Doubt Resolution
Daily Report Card
Detailed Performance Evaluation view all courses 