Question
Question: If $g(x) = x^2 + x - 1$ and $(gof)(x) = 4x^2 - 10x + 5$, then $f(\frac{5}{4})$ is equal to:...
If g(x)=x2+x−1 and (gof)(x)=4x2−10x+5, then f(45) is equal to:

A
23
B
−23
C
21
D
−21
Answer
The correct answer is −21.
Explanation
Solution
We are given g(x)=x2+x−1 and (g∘f)(x)=4x2−10x+5. We need to find f(45).
Since (g∘f)(x)=g(f(x)), we have g(f(x))=(f(x))2+f(x)−1. Thus, (f(x))2+f(x)−1=4x2−10x+5.
Substituting x=45, we get (f(45))2+f(45)−1=4(45)2−10(45)+5.
Simplifying the right side: 4(1625)−450+5=425−450+420=4−5.
Let k=f(45). Then k2+k−1=−45, which gives k2+k+41=0.
This factors as (k+21)2=0, so k=−21.
Therefore, f(45)=−21.