QlarIITy

MathematicsJEE Main 2023 · 8 AprilInteger

Let kk and mm be positive real numbers such that the functionf(x)={3x2+kx+1,0<x<1mx2+k2,x≥1f(x) = \begin{cases} 3x^2 + k\sqrt{x + 1}, & 0 < x < 1 \\ mx^2 + k^2, & x \geq 1 \end{cases}is differentiable for all x>0x > 0. Then 8f′(8)f′(18)\frac{8f^{\prime}(8)}{f^{\prime}\left(\frac{1}{8}\right)} 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. A function given by two formulas is differentiable at the join when values and slopes both agree.

Concept refresher. A function given by two formulas gg and hh on either side of x=cx = c is differentiable there only if the formulas agree in value and in slope:

g(c)=h(c)g(c) = h(c)

and g′(c)=h′(c)g^{\prime}(c) = h^{\prime}(c).

Picture the situation. On 0<x<10 < x < 1 the slope is 6x+k2x+16x + \dfrac{k}{2\sqrt{x + 1}}, and on x>1x > 1 it is 2mx2mx. Each formula is smooth on its own interval, so the only point to check is the join x=1x = 1.

Approach. Equate values and slopes at 1, solve for the constants, and evaluate the two derivatives.

  1. Step 1: The conditions

    Equal values at 1 give 3+k2=m+k23 + k\sqrt{2} = m + k^2, and equal slopes give 6+k22=2m6 + \dfrac{k}{2\sqrt{2}} = 2m.

  2. Step 2: The constants

    The slope condition gives m=3+k42m = 3 + \dfrac{k}{4\sqrt{2}}. Putting this in the value condition leaves k2−k42=k2k\sqrt{2} - \dfrac{k}{4\sqrt{2}} = k^2, and since k>0k > 0, k=2−142=742k = \sqrt{2} - \dfrac{1}{4\sqrt{2}} = \dfrac{7}{4\sqrt{2}}. Then m=3+732=10332m = 3 + \dfrac{7}{32} = \dfrac{103}{32}.

  3. Step 3: The derivatives

    From the second formula, f′(8)=16m=1032f^{\prime}(8) = 16m = \dfrac{103}{2}. From the first, f′(18)=34+k29/8f^{\prime}\left(\dfrac{1}{8}\right) = \dfrac{3}{4} + \dfrac{k}{2\sqrt{9/8}}, which is 34+k23=34+712=43\dfrac{3}{4} + \dfrac{k\sqrt{2}}{3} = \dfrac{3}{4} + \dfrac{7}{12} = \dfrac{4}{3}.

  4. Step 4: The value

    Putting the two derivatives into the expression asked for gives 8×103/24/3=412×34=309\dfrac{8 \times 103/2}{4/3} = 412 \times \dfrac{3}{4} = 309.

Answer. 309

Sanity check. Check the value condition: 3+k2=3+74=1943 + k\sqrt{2} = 3 + \dfrac{7}{4} = \dfrac{19}{4}, and m+k2=10332+4932=194m + k^2 = \dfrac{103}{32} + \dfrac{49}{32} = \dfrac{19}{4}.

Common wrong answers

  • 512: Taking the root k=0k = 0 gives m=3m = 3 and the value 512, but kk must be positive.

Key takeaway

The trap. The value condition has a zero root that the positivity of the constant rules out.

How toppers think. They solve the slope condition first, since it is linear in both constants.

Remember. k=742k = \dfrac{7}{4\sqrt{2}}, m=10332m = \dfrac{103}{32}

More on Differentiability