QlarIITy

MathematicsJEE Main 2024 · 30 JanuarySingle correct

Let aa and bb be real constants such that the function ff defined byf(x)={x2+3x+a,x≤1bx+2,x>1f(x) = \begin{cases} x^2 + 3x + a, & x \leq 1 \\ bx + 2, & x > 1 \end{cases}be differentiable on RR. Then, the value of ∫−22f(x)dx\int_{-2}^{2}f(x)dx equals

  1. Option A: 156\frac{15}{6}
  2. Option B: 196\frac{19}{6}
  3. Option C: 21
  4. Option D: 17
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. An integral of a piecewise function is split at the point where the formula changes.

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. The slope of x2+3x+ax^2 + 3x + a is 2x+32x + 3 and the slope of bx+2bx + 2 is bb. Each formula is smooth on its own side, so differentiability on RR needs only a smooth join at x=1x = 1.

Approach. Find the constants from the join, then integrate each formula over its part of the interval.

  1. Step 1: The constants

    Equal slopes at 1 give b=2+3=5b = 2 + 3 = 5. Equal values give 1+3+a=5+21 + 3 + a = 5 + 2, so a=3a = 3.

  2. Step 2: The left part

    From −2-2 to 1 the integral of x2+3x+3x^2 + 3x + 3 is [x33+3x22+3x]−21\left[\dfrac{x^3}{3} + \dfrac{3x^2}{2} + 3x\right]_{-2}^{1}, which is 296+83=152\dfrac{29}{6} + \dfrac{8}{3} = \dfrac{15}{2}.

  3. Step 3: The right part

    From 1 to 2 the integral of 5x+25x + 2 is [5x22+2x]12=14−92=192\left[\dfrac{5x^2}{2} + 2x\right]_1^2 = 14 - \dfrac{9}{2} = \dfrac{19}{2}. The total is 152+192=17\dfrac{15}{2} + \dfrac{19}{2} = 17.

Answer. (D) 17

Sanity check. The function is positive on most of the interval, with values up to f(2)=12f(2) = 12, so a total near 17 is reasonable.

Why the other options are wrong

  • (A) The value 156\dfrac{15}{6} has the numerator of the left part, 152\dfrac{15}{2}, over the wrong denominator, and leaves out the right part.
  • (B) The value 196\dfrac{19}{6} has the numerator of the right part, 192\dfrac{19}{2}, over the wrong denominator, and leaves out the left part.
  • (C) The value 21 would need the two parts to add to 21; they are 152\dfrac{15}{2} and 192\dfrac{19}{2}, which add to 17.

Key takeaway

The trap. The constants must be found from both the slope and the value at the join.

How toppers think. They get the slope condition first, because it involves a single constant.

Remember. 152+192=17\dfrac{15}{2} + \dfrac{19}{2} = 17

More on Differentiability