Ifg(x)=x2+x−2and21g∘f(x)=2x2−5x+2,thenf(x)is equal to:
Show Hint
When solving functional equations, assume a possible form for the function (e.g., linear) and substitute it into the equation. Compare the coefficients of like powers of x to solve for the unknowns.
We start with the equation for the composition of functions:
21g(f(x))=2x2−5x+2
This implies:
g(f(x))=4x2−10x+4
Assuming f(x) is quadratic, we get:
(f(x))2+f(x)−(4x2−10x+6)=0
Solving this quadratic equation for f(x):
f(x)=2−1±1+4(4x2−10x+6)f(x)=2−1±16x2−40x+25f(x)=2−1±(4x−5)
Breaking this into two cases, we take the positive root:
f(x)=2−1+4x−5=2x−3
Thus, we find that:
f(x)=2x−3
Thus, the correct answer is Option A.