Example 1
If f:x↦x+5 , and g:x↦x2+2x+3 , find
(a) the value of gf(2),
(b) the value of fg(2)
(c) the composite functions fg
(d) the composite functions gf
(e) the composite functions g2
(f) the composite functions f2

correction for part (c)
fg(x)=f(x2+2x+3) =(x2+2x+3)+5 =x2+2x+3+5 =x2+2x+8

correction for part (e)
g2(x)=gg(x)=g(x2+2x+3)=(x2+2x+3)2+2(x2+2x+3)+3=x4+2x3+3x2+2x3+4x2+6x+3x2+6x+9=x4+4x3+10x2+12x+9
If f:x↦x+5 , and g:x↦x2+2x+3 , find
(a) the value of gf(2),
(b) the value of fg(2)
(c) the composite functions fg
(d) the composite functions gf
(e) the composite functions g2
(f) the composite functions f2

correction for part (c)
fg(x)=f(x2+2x+3) =(x2+2x+3)+5 =x2+2x+3+5 =x2+2x+8

correction for part (e)
g2(x)=gg(x)=g(x2+2x+3)=(x2+2x+3)2+2(x2+2x+3)+3=x4+2x3+3x2+2x3+4x2+6x+3x2+6x+9=x4+4x3+10x2+12x+9
hiii sorry i dont understand where the 5 came for question C for composite functions
Thanks for pointing out our mistake, correction had been made accordingly.
i dont understand calculation in (e).. is it the final answer or has extra calculation.. i get x^4 + 4x^3+12x^2+16x+15