Consider f : N → N, g : N → N and h : N → R defined as f (x) = 2 x, g(y) = 3 y + 4 and h(z) = sin z ∀ x, y and z in N. Show that h o (g o f) = (h o g) o f.
Let f, g and h be function from R to R. Show that (f + g) o h = f o h + g o h
(f . g) o h = (f o h) . (g o h)
Here f : A → B and g : B → C are one-to-one functions ∴ g o f is a function from A to C.
Let x1, x2 ∈ A
Now (g o f) (x1) = (g o f) (x2)
⇒ g (f (x1)) = g (f(x2))
⇒ f(x1) = f(x2) [∵ g is one-to-one]
⇒ x1 = x2 [∵ f is one-to-one]
⇒ (g o f) (x1) = (g o f) (x2) ⇒ x1 = x2 , ∀ x1,x2 x1,x2 ∈ A
∴ gof is one-to-one.