QlarIITy

MathematicsJEE Main 2026 · 28 JanuaryInteger

Let ff be a differentiable function satisfyingf(x)=1−2x+∫0xe(x−t)f(t) dtf(x) = 1 - 2x + \int_0^x e^{(x-t)}f(t)\ dt, x∈Rx \in \mathbb{R} and letg(x)=∫0x(f(t)+2)15⋅(t−4)6(t+12)17 dt\begin{aligned} &g(x) = \int_0^x (f(t) + 2)^{15} \\[4pt] &\cdot (t - 4)^6(t + 12)^{17}\ dt \end{aligned}, x∈Rx \in \mathbb{R}.If pp and qq are respectively the points of local minima and local maxima of gg, then the value of ∣p+q∣|p + q| 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. An integral equation with ex−te^{x-t} becomes a linear differential equation after one differentiation.

Concept refresher. For a continuous hh, ddx∫0xh(t) dt=h(x)\frac{d}{dx}\int_0^x h(t)\ dt = h(x) (fundamental theorem of calculus), and ddx(exF(x))=exF(x)+exF′(x)\frac{d}{dx}\left(e^x F(x)\right) = e^x F(x) + e^x F'(x). A differentiable gg has a local minimum at cc when g′g' changes sign from negative to positive there, and a local maximum when it changes from positive to negative. A factor

(x−c)k(x - c)^k

changes sign at cc only when kk is odd.

Approach. Differentiate the integral equation to get a linear differential equation for ff, solve it, then read the sign changes of g′g'.

  1. Step 1: Remove the integral

    Since e(x−t)=exe−te^{(x-t)} = e^x e^{-t}, write f(x)=1−2x+exF(x)f(x) = 1 - 2x + e^x F(x) with F(x)=∫0xe−tf(t) dtF(x) = \int_0^x e^{-t}f(t)\ dt, so F′(x)=e−xf(x)F'(x) = e^{-x}f(x) and f(0)=1f(0) = 1. Differentiating, and using exF(x)=f(x)−1+2xe^xF(x) = f(x) - 1 + 2x:

    f′(x)=−2+exF(x)+f(x)=2f(x)+2x−3\begin{aligned} f'(x) &= -2 + e^xF(x) + f(x) \\[4pt] &= 2f(x) + 2x - 3 \end{aligned}
  2. Step 2: Solve for f

    This is linear: f′−2f=2x−3f' - 2f = 2x - 3. Trying f=ax+bf = ax + b gives a−2ax−2b=2x−3a - 2ax - 2b = 2x - 3, so a=−1a = -1 and b=1b = 1. The general solution adds Ce2xCe^{2x}, and f(0)=1f(0) = 1 forces C=0C = 0:

    f(x)=1−xf(x) = 1 - x
  3. Step 3: Derivative of g

    By the fundamental theorem of calculus, with f(x)+2=3−xf(x) + 2 = 3 - x:

    g′(x)=(3−x)15(x−4)6(x+12)17g'(x) = (3 - x)^{15}(x - 4)^6(x + 12)^{17}
  4. Step 4: Read the sign changes

    Only the odd powers change sign, at x=3x = 3 and x=−12x = -12; the factor (x−4)6(x - 4)^6 never does. For x<−12x < -12, g′<0g' < 0; for −12<x<3-12 < x < 3, g′>0g' > 0; for x>3x > 3 (also past 44), g′<0g' < 0. So gg has a local minimum at p=−12p = -12 and a local maximum at q=3q = 3, and

    ∣p+q∣=∣−12+3∣=9|p + q| = |-12 + 3| = 9

Answer. 9

Sanity check. Substituting back: with f(t)=1−tf(t) = 1 - t, ∫0xex−t(1−t) dt=ex⋅xe−x=x\int_0^x e^{x-t}(1 - t)\ dt = e^x \cdot xe^{-x} = x, so 1−2x+x=1−x1 - 2x + x = 1 - x, as required. A test value: at x=0x = 0, g′(0)=315⋅46⋅1217>0g'(0) = 3^{15} \cdot 4^6 \cdot 12^{17} > 0, matching the sign between −12-12 and 33.

Common wrong answers

  • 7: Taking x=4x = 4 as the local minimum gives ∣4+3∣=7|4 + 3| = 7; but (x−4)6(x - 4)^6 is never negative, so g′g' keeps its sign through 44 and there is no extremum there.
  • 8: Taking x=4x = 4 as the local maximum and −12-12 as the minimum gives ∣−12+4∣=8|-12 + 4| = 8; the maximum is at 33, where (3−x)15(3 - x)^{15} changes sign.
  • 15: Computing ∣p−q∣=∣−12−3∣=15|p - q| = |-12 - 3| = 15 uses the difference; the question asks for ∣p+q∣=∣−12+3∣=9|p + q| = |-12 + 3| = 9.

Key takeaway

The trap. Treating the root of an even power, x=4x = 4, as an extremum.

How toppers think. They mark the roots of g′g' on a number line and note the parity of each power before testing signs.

Remember. gg has a local extremum at a root cc of g′g' only if g′g' changes sign at cc, which needs an odd power of (x−c)(x - c).

More on Fundamental Theorem of Calculus