Composite functions and one-one onto
Composite functions and one-one onto
Last updated at August 2, 2026 by Teachoo
Transcript
Question 4 Give examples of two functions f: N ā Z and g: Z ā Z such that gof is injective but g is not injective. (Hint : Consider f(x) = x and g(x) = |x|). Let f(x) = x and g(x) = |x| where f: N ā Z and g: Z ā Z g(x) = š„ļ·Æ = š„ , š„ā„0 ļ·®āš„ , š„<0ļ·Æļ·Æ Checking g(x) injective(one-one) For example: g(1) = 1ļ·Æ = 1 g(ā 1) = 1ļ·Æ = 1 Checking gof(x) injective(one-one) f: N ā Z & g: Z ā Z f(x) = x and g(x) = |x| gof(x) = g(f(x)) = š(š„)ļ·Æ = š„ļ·Æ = š„ , š„ā„0 ļ·®āš„ , š„<0ļ·Æļ·Æ Here, gof(x) : N ā Z So, x is always natural number Hence š„ļ·Æ will always be a natural number So, gof(x) has a unique image ā“ gof(x) is injective