QlarIITy

MathematicsJEE Main 2023 · 1 FebruaryInteger

Iff(x)=x2+g′(1)x+g′′(2)f(x) = x^2 + g^{\prime}(1)x + g^{\prime\prime}(2)and g(x)=f(1)x2+xf′(x)+f′′(x)g(x) = f(1)x^2 + xf^{\prime}(x) + f^{\prime\prime}(x), then the value of f(4)−g(4)f(4) - g(4) is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. Constants defined through derivatives of another function are named first and solved for afterwards.

Concept refresher. For a quadratic f(x)=x2+px+qf(x) = x^2 + px + q,

f′(x)=2x+pf^{\prime}(x) = 2x + p

and f′′(x)=2f^{\prime\prime}(x) = 2.

Picture the situation. Write p=g′(1)p = g^{\prime}(1) and q=g′′(2)q = g^{\prime\prime}(2), so f(x)=x2+px+qf(x) = x^2 + px + q, f(1)=1+p+qf(1) = 1 + p + q, f′(x)=2x+pf^{\prime}(x) = 2x + p and f′′(x)=2f^{\prime\prime}(x) = 2. Then g(x)=(1+p+q)x2+x(2x+p)+2g(x) = (1 + p + q)x^2 + x(2x + p) + 2, which is (3+p+q)x2+px+2(3 + p + q)x^2 + px + 2.

Approach. Use the definitions of the two constants, then evaluate both functions.

  1. Step 1: The constants

    Here g′(x)=2(3+p+q)x+pg^{\prime}(x) = 2(3 + p + q)x + p, so p=g′(1)p = g^{\prime}(1) gives 2(3+p+q)+p=p2(3 + p + q) + p = p, that is 3+p+q=03 + p + q = 0. Then q=g′′(2)=2(3+p+q)=0q = g^{\prime\prime}(2) = 2(3 + p + q) = 0, so p=−3p = -3.

  2. Step 2: The value

    So f(x)=x2−3xf(x) = x^2 - 3x and g(x)=−3x+2g(x) = -3x + 2. Then f(4)=4f(4) = 4 and g(4)=−10g(4) = -10, and f(4)−g(4)=14f(4) - g(4) = 14.

Answer. 14

Sanity check. Check: g′(1)=−3=pg^{\prime}(1) = -3 = p and g′′(2)=0=qg^{\prime\prime}(2) = 0 = q, as assumed.

Common wrong answers

  • -6: A sign slip giving g(4)=10g(4) = 10 in place of −10-10 leads to 4−10=−64 - 10 = -6.
  • 4: Giving f(4)f(4) alone, without subtracting g(4)=−10g(4) = -10, gives 4.

Key takeaway

The trap. The second function loses its square term once the constants are found.

How toppers think. They notice that both conditions contain the same bracket.

Remember. f(x)=x2−3xf(x) = x^2 - 3x, g(x)=−3x+2g(x) = -3x + 2

More on Methods of Differentiation