For fx1x and gx2x2x2 find the following functions fogx gofx
     For f(x)=1-x and g(x)=2x^2+x+2, find the following functions.  (fog(x); (gof(x); (gof)(3); gof(3)  (fog)(x)=  (gof)(x)=  (fog)(3)=  (gof)(3)=   
  
  Solution
given f(x)=1-x ,g(x)=2x2+x+2
a)(fog)(x)
(fog)(x)=f(g(x))
(fog)(x)=f(2x2+x+2)
(fog)(x)=1-(2x2+x+2)
(fog)(x)=-2x2-x-1
b)(gof)(x)
(gof)(x)=g(f(x))
(gof)(x)=g(1-x)
(gof)(x)=2(1-x)2+(1-x) +2
(gof)(x)=2(1-2x+x2)+(1-x) +2
(gof)(x)=2-4x+2x2+1-x +2
(gof)(x)=5-5x+2x2
c)(fog)(x)=-2x2-x-1
(fog)(3)=-2(3)2-(3)-1
(fog)(3)=-2(9)-(3)-1
(fog)(3)=-18-3-1
(fog)(3)=-22
d)(gof)(x)=5-5x+2x2
(gof)(3)=5-5*3+2*32
(gof)(3)=5-15+2*9
(gof)(3)=5-15+18
(gof)(3)=8

