PYQ Vault

JEE Mains Maths · Indefinite Integration

Integration by Parts and Reverse Differentiation

Integration by parts, the eˣ(f + f′) pattern, and integrands that are already the derivative of a product or a quotient.

Why this matters

Twelve PYQs, eleven of them multiple choice, and three from 2026. Three integrate by parts, repeatedly or as a reduction formula; four are eˣ(f + f′) in disguise, one of them after putting t = eᵘ; five are the derivative of a product or a quotient, found by guessing its shape and differentiating the guess. Three ideas cover the page.

Concept 1 of 3: Integration by parts

Parts trades one integral for another: differentiate one factor and integrate the other. Choose to differentiate the factor that gets simpler, such as a power of xx or a log. For a polynomial times sin⁡x\sin x or exe^x, repeat until the polynomial is gone. For high powers of sec⁡x\sec x or csc⁡x\csc x, the original integral comes back, and you solve for it.

Definition

  • ∫u dv=uv−∫v du\int u\,dv=uv-\int v\,du. Take uu in the order: inverse trig, log, algebraic, trig, exponential.
  • A polynomial times sin⁡x\sin x, cos⁡x\cos x or exe^x: repeat; the signs alternate.
  • ∫sec⁡nx dx\int\sec^nx\,dx or ∫csc⁡nx dx\int\csc^nx\,dx: take out sec⁡2x\sec^2x (or csc⁡2x\csc^2x), use parts, and solve for the integral that returns.
  • ∫csc⁡x dx=ln⁡∣tan⁡x2∣\int\csc x\,dx=\ln\left|\tan\frac x2\right| and ∫sec⁡x dx=ln⁡∣sec⁡x+tan⁡x∣\int\sec x\,dx=\ln|\sec x+\tan x|.

Integration by parts

∫u dv=uv−∫v du\int u\,dv=uv-\int v\,du

Worked example

Find ∫x2ex dx\int x^2e^x\,dx.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

JEE Mains · 2025 · 23 Jan 2025 · Q129Moderate

Example 1 · Indefinite Integration · Integration by Parts and Reverse Differentiation

Let ∫x3sin⁡x dx=g(x)+C\int x^{3}\sin x\,dx = g(x)+C, where CC is the constant of integration. If 8(g(π2)+g′(π2))=απ3+βπ2+γ, α,β,γ∈Z8\left(g\left(\frac{\pi}{2}\right)+g'\left(\frac{\pi}{2}\right)\right)=\alpha\pi^{3}+\beta\pi^{2}+\gamma,\ \alpha,\beta,\gamma\in Z, then α+β−γ\alpha+\beta-\gamma equals:

Signs alternate

Repeated parts alternates the signs: ∫x2cos⁡x dx=x2sin⁡x+2xcos⁡x−2sin⁡x\int x^2\cos x\,dx=x^2\sin x+2x\cos x-2\sin x. One wrong sign changes every value computed from the answer.

Concept 2 of 3: The pattern eˣ(f + f′)

The derivative of exf(x)e^xf(x) is ex(f+f′)e^x(f+f'). So when exe^x multiplies a bracket, look for a function and its derivative inside it. Fractions often hide the pattern: rewrite the top in terms of the bottom, and the two pieces appear. If the variable sits inside a log, put t=eut=e^u first to bring out the eue^u.

Definition

  • ∫ex(f(x)+f′(x))dx=exf(x)+C\int e^x\left(f(x)+f'(x)\right)dx=e^xf(x)+C.
  • Split a fraction so one piece is the derivative of the other.
  • A function of ln⁡t\ln t: put t=eut=e^u, dt=eu dudt=e^u\,du.
  • More generally, ∫ekx(kf+f′)dx=ekxf+C\int e^{kx}\left(kf+f'\right)dx=e^{kx}f+C.

The eˣ pattern

∫ex(f(x)+f′(x)) dx=exf(x)+C\int e^{x}\big(f(x)+f'(x)\big)\,dx=e^{x}f(x)+C

Worked example

Find ∫ex(1x−1x2)dx\int e^x\left(\frac1x-\frac1{x^2}\right)dx.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

JEE Mains · 2026 · 24 Jan 2026 Shift 1 · Q61Moderate

Example 2 · Indefinite Integration · Integration by Parts and Reverse Differentiation

Let f(t)=∫(1−sin⁡(log⁡et)1−cos⁡(log⁡et))dt,t>1f(t) = \int\left( \frac{1 - \sin\left( \log_{e}t \right)}{1 - \cos\left( \log_{e}t \right)} \right)dt,t > 1. If f(eπ/2)=−eπ/2f\left( e^{\pi/2} \right)= -e^{\pi/2} and f(eπ/4)=αeπ/4f\left( e^{\pi/4} \right)= \alpha e^{\pi/4}, then α\alpha equals

Which piece is f

In ex(1x−1x2)e^x\left(\frac1x-\frac1{x^2}\right), f=1xf=\frac1x, because its derivative is the other piece. Taking f=−1x2f=-\frac1{x^2} needs f′=2x3f'=\frac2{x^3}, which is not there.

Concept 3 of 3: Spotting a product or quotient derivative

Some integrands are already a derivative, and the fastest route is to guess the answer and check it. A squared denominator suggests a quotient; a high power of sin⁡x\sin x below the line suggests a reciprocal power one lower. Guess the shape, differentiate it, and compare every term. A guess is right only if the derivative matches the integrand exactly.

Definition

  • (uv)′=u′v+uv′(uv)'=u'v+uv' and (uv)′=u′v−uv′v2\left(\frac uv\right)'=\frac{u'v-uv'}{v^2}.
  • …sin⁡nxcos⁡mx\frac{\ldots}{\sin^nx\cos^mx}: try 1sin⁡n−1xcos⁡m−1x\frac{1}{\sin^{n-1}x\cos^{m-1}x} or tan⁡xsin⁡nx\frac{\tan x}{\sin^nx}.
  • eg(x)e^{g(x)} times a bracket: try eghe^{g}h, whose derivative is eg(g′h+h′)e^{g}(g'h+h').
  • (xa)x\left(\frac xa\right)^x has derivative (xa)x(1+ln⁡xa)\left(\frac xa\right)^x\left(1+\ln\frac xa\right).

Quotient in reverse

∫u′v−uv′v2 dx=uv+C\int\frac{u'v-uv'}{v^2}\,dx=\frac{u}{v}+C

Worked example

Find ∫xcos⁡x−sin⁡xx2 dx\int\frac{x\cos x-\sin x}{x^2}\,dx.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

JEE Mains · 2026 · 28 Jan 2026 Shift 1 · Q61Moderate

Example 3 · Indefinite Integration · Integration by Parts and Reverse Differentiation

If ∫ (1−5cos⁡2xsin⁡5xcos⁡2x)dx=f(x)+C\int_{}^{}\ \left( \frac{1 - 5\cos^{2}x}{\sin^{5}x\cos^{2}x} \right)dx=f(x) +C where CC is the constant of integration, then f(π6)−f(π4)f\left( \frac{\pi}{6} \right)- f\left( \frac{\pi}{4} \right) is equal to

Differentiate the guess

A guess that is close is not an antiderivative. Differentiate it and compare term by term: ln⁡x\ln x and x−1x-1 agree at x=1x=1 and nowhere else, so one cannot stand in for the other.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

Watch out for (3)

Test yourself on Indefinite Integration

15 past JEE Mains questions from this chapter, timed at 36 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.