Let f(x)=-1+x-1,-1≤x≤3 and g(x)=2-x+1,-2≤x≤2. Then f∘g(x)=
x+1
-1-x
x-1
x+1if-2≤x≤-1-1-xif-1≤x≤0x-1if0≤x≤2
Explanation for the correct answer:
f(x)=−1+|x−1|g(x)=2−|x+1|f(g(x))=-1+|g(x)–1|,-1≤g(x)≤3=-1+|2–|x+1|-1|,-1≤2–|x+1|≤3,-2≤x≤2=-1+|1–|x+1|,-1≤2–|x+1|≤3,-2≤x≤2
Now,-1≤2–|x+1|≤3
⇒-3≤–|x+1|≤1⇒-1≤|x+1|≤3⇒0≤|x+1|≤3⇒-3≤x+1≤3⇒-4≤x≤2
f∘g(x)=-1+|1–|x+1||,-2≤x≤2
That is
Hence, the correct option is (D)
Use the factor theorem to determine whether g(x) is a factor of f(x)
f(x)=22x2+5x+2;g(x)=x+2