JEE Main 2020 Mathematics question — Composite functions
If g(x)=x2+x−1 and (g∘f)(x)=4x2−10x+5, then f(45) is equal to
SOLUTION
We have g(x)=x2+x−1 and the composition (g∘f)(x)=g(f(x))=4x2−10x+5.
Writing y=f(x), the definition of composition gives us
g(f(x))=g(y)=y2+y−1.
But by the statement of the problem the same quantity also equals 4x2−10x+5. Hence we must have
y2+y−1=4x2−10x+5.
Substituting back y=f(x) we get a quadratic equation in f(x):
(f(x))2+f(x)−1=4x2−10x+5.
Now we bring every term to the left‐hand side:
(f(x))2+f(x)−1−4x2+10x−5=0,
so
(f(x))2+f(x)−4x2+10x−6=0.
This is a quadratic in the unknown f(x). For a quadratic at2+bt+c=0 the roots are given by the quadratic formula
t=2a−b±b2−4ac.
Here a=1,b=1,c=−4x2+10x−6, so
f(x)=2−1±1−4(−4x2+10x−6).
Inside the square root we simplify step by step:
1−4(−4x2+10x−6)=1+16x2−40x+24.
Combining like terms gives
16x2−40x+25.
Recognising a perfect square, we note
16x2−40x+25=(4x−5)2. Hence
f(x)=2−1±∣4x−5∣.
The two possible expressions that come out are obtained very easily:
If ∣4x−5∣=4x−5 we get
f(x)=2−1+(4x−5)=2x−3,
and if ∣4x−5∣=5−4x we get
f(x)=2−1+(5−4x)=2−2x.
Thus for every x the value of f(x) is either 2x−3 or 2−2x. Both of these, when put back into g(x), reproduce 4x2−10x+5, so the composition condition is satisfied in either case.
Now we specifically need f(45). Substituting x=45 in either expression:
Using f(x)=2x−3, we get
f(45)=2(45)−3=410−3=25−3=−21.
Using f(x)=2−2x, we get
f(45)=2−2(45)=2−410=2−25=−21.
Both routes give the same numerical answer, so unambiguously
f(45)=−21.
Hence, the correct answer is Option B.
Tagged Composite functions. Machine-assigned, so read it as a strong shortlist rather than a verdict.