Example 1

If f : xx + 5 and g : xx2 +2x + 3, find

  1. the value of gf (2),
  2. the value of fg (2 ),
  3. the composite functions fg,
  4. the composite functions gf,
  5. the composite functions g2 ,
  6. 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