


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Definition If f : A ā B and g : B ā C are functions the we define the composite function, g ⦠f : A ā C by (g ⦠f )(a) = g(f (a)) for each a ā A.
Example 78 (1)
A^ B 1
2 3
4
a
b
c
f
C a
b
g
g
So
g ⦠f (1) = g (f (1)) = g (b) = γ, g ⦠f (2) = g (f (2)) = g (b) = γ, g ⦠f (3) = g (f (3)) = g (a) = β, g ⦠f (4) = g (f (4)) = g (c) = α.
(2) Define f : R ā R, x 7 ā x^2 ā 1 and g : R ā R, x 7 ā x + 1. Then
(g ⦠f )(x) = g(f (x)) = g(x^2 ā 1) = (x^2 ā 1) + 1 = x^2
and
(f ⦠g)(x) = f (g(x)) = f (x + 1) = (x + 1)^2 ā 1 = x^2 + 2x.
Note that g ⦠f (1) = 1^2 = 1 while f ⦠g(1) = 1^2 + 2 = 3 and so g ⦠f (1) 6 = f ⦠g(1) and thus g ⦠f 6 = f ⦠g. Hence composition of functions need not be commutative.
Definition The identity function, 1A, on a set A satisfies 1A(a) = a for all a ā A.
Definition A function f : A ā B has an inverse function if, and only if, there exists a function g : B ā A such that both g ⦠f, which maps from A ā B ā A, i.e. from A ā A, is the identity function on A and f ⦠g, which maps from B ā A ā B, i.e. from B ā B, is the identity function on B. That is g ⦠f = 1A and f ⦠g = 1B. If the inverse function exists we label it as f ā^1.
Result: If f has an inverse then f is a bijection.
*Proof (not for examination) Assume f : A ā B has an inverse.
(i) Given b ā B, take a = f ā^1 (b) then
f (a) = f (f ā^1 (b)) = (f ⦠f ā^1 )(b) = 1B (b) = b.
Thus f maps onto b. This is true for all b ā B, so f maps onto B, i.e. f is an onto function.
(ii) By definition of f ā^1 we have
(f ā^1 ⦠f )(a) = 1A(a) = a āa ā A. Assume
f (a 1 ) = f (a 2 ).
Apply f ā^1 to both sides. Then
f ā^1 (f (a 1 )) = f ā^1 (f (a 2 )) i.e (f ā^1 ⦠f )(a 1 ) = (f ā^1 ⦠f )(a 2 ) i.e. (^1) A(a 1 ) = 1A(a 2 ) hence a 1 = a 2.
Thus f (a 1 ) = f (a 2 ) ā a 1 = a 2.
Therefore f is 1ā1.
So, if f : A ā B has an inverse we can conclude that f is a bijection. In other words, only bijections have inverses.
To check that f ⦠g = 1Z we again have two cases though this time they are n ℠0 and n < 0. In the first case
f ⦠g(n) = f (g(n)) = f (2n + 1), since n ā„ 0 , = (2n^ + 1)^ ā^1 2
, since 2n + 1 is odd, = n.
In the second case, when n < 0 we get
f ⦠g(n) = f (g(n)) = f (ā 2 n), since n < 0 , = ā (ā^2 n) 2
, since ā 2 n is even, = n.
Thus f ⦠g(n) = n for all n ā Z and so f ⦠g = 1Z.
Example 80 (c.f. Example 77(5)) The function
f : R ā R, x 7 ā 2 x^ ā^1 3 has inverse
g : R ā R, x 7 ā
3 x + 1
Check:
(g ⦠f )(x) = g(f (x)) = g
2 x ā 1 3
( (^2) xā 1 3
(2x ā 1) + 1 2 =^ x^ = 1R(x) and
(f ⦠g)(x) = f (g(x)) = f
3 x + 1 2
( (^3) x+ 2
= (3x^ + 1)^ ā^1 3
= x = 1R(x).