Question #77239
1. If f is function from A to B and g is function B to C and both f and g are onto. Show that g∘f is also onto. Is g∘f one-to-one if both f and g are one-to-one.
Solution
Let choose an arbitrary c∈C, since g:B→C is onto map, then there exists b∈B such that g(b)=c. Since f:A→B is onto map, there exists a∈A such that f(a)=b. Therefore, c=g(b)=g(f(a)) and it shows that g∘f is onto map.
For every a1=a2 from one-to-one property of f we have f(a1)=f(a2) and from one-to-one property of g we have g(f(a1))=g(f(a2)). So, if both f and g are one-to-one maps the map g∘f is also one-to-one.
2. Let f,g and h:R→R be defined by (R is the set of real numbers) f(x)=x+2, g(x)=(1+x2)−1, h(x)=3. Compute f−1g(x) and hf(gf−1)(hf(x)).
Solution
If f(x)=x+2, then f−1=x−2 and f−1g(x)=f−1((1+x2)−1)=(1+x2)−1−2.
h(f(x))=h(x+2)=3
g(f−1)(3)=g(3−2)=g(1)=2−1=0.5
hf(0.5)=h(0.5+2)=h(2.5)=3, so
hf(gf−1)(hf(x))=3.