Let f(x) and g(x) be two real polynomials of degree 2 and 1 respectively. If f(g(x))=8x2−2x, and g(f(x))=4x2+6x+1, then the value of f(2)+g(2) is ________.
Explanation
Solution
Let g(x)=ax+b.
From g(f(x))=af(x)+b=4x2+6x+1, we have:
Substitute f(x) into f(g(x))=8x2−2x:
a4(ax+b)2+6(ax+b)+1−b=8x2−2x
Comparing the coefficient of x2:
Now compare the coefficient of x:
a8ab+6a=−2⟹8b+6=−2⟹8b=−8⟹b=−1
So, g(x)=2x−1.
Using a=2,b=−1 in the f(x) formula:
f(x)=24x2+6x+1−(−1)=2x2+3x+1
Final Calculation:
Explanation
Solution
Let g(x)=ax+b.
From g(f(x))=af(x)+b=4x2+6x+1, we have:
Substitute f(x) into f(g(x))=8x2−2x:
a4(ax+b)2+6(ax+b)+1−b=8x2−2x
Comparing the coefficient of x2:
Now compare the coefficient of x:
a8ab+6a=−2⟹8b+6=−2⟹8b=−8⟹b=−1
So, g(x)=2x−1.
Using a=2,b=−1 in the f(x) formula:
f(x)=24x2+6x+1−(−1)=2x2+3x+1
Final Calculation: