Intuition The one-line idea
Differentiation has a product rule . Integration is just differentiation run backwards, so the product rule, when integrated, must give us a rule for integrals too. That rule is integration by parts . It lets us trade a hard integral ∫ u d v \int u\,dv ∫ u d v for an (hopefully easier) integral ∫ v d u \int v\,du ∫ v d u .
When you integrate a product of two different "types" of functions (like x ⋅ e x x\cdot e^x x ⋅ e x or x ln x x\ln x x ln x ), no single substitution untangles them. But we already know how to differentiate a product. So instead of inventing something new, we reverse the product rule . The genius move: integrating both sides of an identity we already trust.
Definition Integration by parts
For differentiable functions u ( x ) u(x) u ( x ) and v ( x ) v(x) v ( x ) ,
∫ u d v = u v − ∫ v d u \int u\,dv = uv - \int v\,du ∫ u d v = uv − ∫ v d u
Here we choose one factor to be u u u (which we will differentiate, d u du d u ) and the other to be d v dv d v (which we will integrate to get v v v ).
That's it — nothing memorized, everything built .
Intuition WHY we need a guide
The rule replaces ∫ u d v \int u\,dv ∫ u d v with ∫ v d u \int v\,du ∫ v d u . This only helps if ∫ v d u \int v\,du ∫ v d u is easier . The key: pick u u u to be the factor that gets simpler when differentiated (ideally vanishing), and d v dv d v to be something you can integrate.
Mnemonic LIATE — order of preference for
u u u
Choose u u u as the function that appears first in this list:
L — Logarithmic (ln x \ln x ln x , log x \log x log x )
I — Inverse trig (arctan x \arctan x arctan x , arcsin x \arcsin x arcsin x )
A — Algebraic (x x x , x 2 x^2 x 2 , polynomials)
T — Trigonometric (sin x \sin x sin x , cos x \cos x cos x )
E — Exponential (e x e^x e x , a x a^x a x )
Whatever is earlier = u u u . Whatever is later = d v dv d v .
Why it works: Logs and inverse-trig are awful to integrate but lovely to differentiate, so they go first as u u u . Exponentials integrate trivially, so they go last as d v dv d v .
Worked example Example 1 —
∫ x e x d x \int x\,e^x\,dx ∫ x e x d x
Identify types: x x x is Algebraic, e x e^x e x is Exponential. LIATE: A before E, so u = x u=x u = x .
u = x ⇒ d u = d x u = x \Rightarrow du = dx u = x ⇒ d u = d x . Why? Differentiating x x x simplifies it to a constant.
d v = e x d x ⇒ v = e x dv = e^x dx \Rightarrow v = e^x d v = e x d x ⇒ v = e x . Why? e x e^x e x integrates to itself — easy.
Apply ∫ u d v = u v − ∫ v d u \int u\,dv = uv - \int v\,du ∫ u d v = uv − ∫ v d u :
∫ x e x d x = x e x − ∫ e x d x = x e x − e x + C = e x ( x − 1 ) + C \int x e^x dx = x e^x - \int e^x\,dx = x e^x - e^x + C = e^x(x-1)+C ∫ x e x d x = x e x − ∫ e x d x = x e x − e x + C = e x ( x − 1 ) + C
Why this works: the new integral ∫ e x d x \int e^x dx ∫ e x d x is trivial — the x x x "disappeared."
Check (Forecast-then-Verify): differentiate e x ( x − 1 ) e^x(x-1) e x ( x − 1 ) : e x ( x − 1 ) + e x = x e x e^x(x-1)+e^x = xe^x e x ( x − 1 ) + e x = x e x . ✓
Worked example Example 2 —
∫ ln x d x \int \ln x\,dx ∫ ln x d x (the "hidden product" trick)
Looks like one function, but write ln x = ln x ⋅ 1 \ln x = \ln x \cdot 1 ln x = ln x ⋅ 1 .
u = ln x ⇒ d u = 1 x d x u = \ln x \Rightarrow du = \frac{1}{x}dx u = ln x ⇒ d u = x 1 d x . Why? L is first in LIATE; also ln x \ln x ln x has no elementary "obvious" integral but a clean derivative.
d v = 1 d x ⇒ v = x dv = 1\,dx \Rightarrow v = x d v = 1 d x ⇒ v = x . Why? The leftover factor is 1 1 1 , which integrates to x x x .
∫ ln x d x = x ln x − ∫ x ⋅ 1 x d x = x ln x − ∫ 1 d x = x ln x − x + C \int \ln x\,dx = x\ln x - \int x\cdot\frac{1}{x}\,dx = x\ln x - \int 1\,dx = x\ln x - x + C ∫ ln x d x = x ln x − ∫ x ⋅ x 1 d x = x ln x − ∫ 1 d x = x ln x − x + C
Verify: d d x ( x ln x − x ) = ln x + 1 − 1 = ln x \frac{d}{dx}(x\ln x - x) = \ln x + 1 - 1 = \ln x d x d ( x ln x − x ) = ln x + 1 − 1 = ln x . ✓
Worked example Example 3 — Applying it twice:
∫ x 2 cos x d x \int x^2 \cos x\,dx ∫ x 2 cos x d x
u = x 2 u = x^2 u = x 2 (A), d v = cos x d x dv = \cos x\,dx d v = cos x d x , so d u = 2 x d x du = 2x\,dx d u = 2 x d x , v = sin x v = \sin x v = sin x .
∫ x 2 cos x d x = x 2 sin x − ∫ 2 x sin x d x \int x^2\cos x\,dx = x^2\sin x - \int 2x\sin x\,dx ∫ x 2 cos x d x = x 2 sin x − ∫ 2 x sin x d x
The new integral ∫ 2 x sin x d x \int 2x\sin x\,dx ∫ 2 x sin x d x still has a product — do parts again (u = 2 x u=2x u = 2 x , d v = sin x d x dv=\sin x\,dx d v = sin x d x ):
∫ 2 x sin x d x = − 2 x cos x + ∫ 2 cos x d x = − 2 x cos x + 2 sin x \int 2x\sin x\,dx = -2x\cos x + \int 2\cos x\,dx = -2x\cos x + 2\sin x ∫ 2 x sin x d x = − 2 x cos x + ∫ 2 cos x d x = − 2 x cos x + 2 sin x
Combine:
∫ x 2 cos x d x = x 2 sin x + 2 x cos x − 2 sin x + C \int x^2\cos x\,dx = x^2\sin x + 2x\cos x - 2\sin x + C ∫ x 2 cos x d x = x 2 sin x + 2 x cos x − 2 sin x + C
Why repeat? Each pass drops the polynomial degree by one until it vanishes.
Worked example Example 4 — The "loop" trick:
∫ e x sin x d x \int e^x\sin x\,dx ∫ e x sin x d x
u = sin x u=\sin x u = sin x , d v = e x d x ⇒ d u = cos x d x , v = e x dv=e^x dx \Rightarrow du=\cos x\,dx,\ v=e^x d v = e x d x ⇒ d u = cos x d x , v = e x :
I = e x sin x − ∫ e x cos x d x I = e^x\sin x - \int e^x\cos x\,dx I = e x sin x − ∫ e x cos x d x
Do parts again on the new integral (u = cos x , d v = e x d x u=\cos x,\ dv=e^x dx u = cos x , d v = e x d x ):
∫ e x cos x d x = e x cos x + ∫ e x sin x d x = e x cos x + I \int e^x\cos x\,dx = e^x\cos x + \int e^x\sin x\,dx = e^x\cos x + I ∫ e x cos x d x = e x cos x + ∫ e x sin x d x = e x cos x + I
Substitute back:
I = e x sin x − ( e x cos x + I ) ⇒ 2 I = e x ( sin x − cos x ) I = e^x\sin x - (e^x\cos x + I) \Rightarrow 2I = e^x(\sin x - \cos x) I = e x sin x − ( e x cos x + I ) ⇒ 2 I = e x ( sin x − cos x )
I = 1 2 e x ( sin x − cos x ) + C I = \tfrac{1}{2}e^x(\sin x - \cos x) + C I = 2 1 e x ( sin x − cos x ) + C
Why this trick: the integral reappears, so we solve for it algebraically instead of forever.
u = e x u = e^x u = e x in ∫ x e x d x \int xe^x dx ∫ x e x d x — it integrates so nicely!"
Why it feels right: e x e^x e x is the friendliest thing to integrate, so making it d v dv d v ... wait, that's the opposite . Students reverse it because "easy to integrate = make it u u u ."
The fix: u u u is what you differentiate . You want u u u to get simpler . With u = e x u=e^x u = e x , d u = e x d x du=e^x dx d u = e x d x never simplifies — and the new integral ∫ e x ⋅ x 2 2 d x \int e^x\cdot\frac{x^2}{2}dx ∫ e x ⋅ 2 x 2 d x is worse . LIATE saves you: A before E ⇒ u = x u=x u = x .
Common mistake Forgetting that
d v dv d v must include the d x dx d x .
Why it feels right: people split "x x x " and "e x e^x e x " as the two pieces and forget where d x dx d x goes.
The fix: Always d v = ( factor ) d x dv = (\text{factor})\,dx d v = ( factor ) d x . The d x dx d x rides with whatever you integrate.
Common mistake Dropping the
+ C +C + C , or sign-flipping the − ∫ v d u -\int v\,du − ∫ v d u .
Why it feels right: the formula has a minus and it's easy to lose it after two passes.
The fix: write the boxed formula fresh each time; track the leading − - − carefully; always check by differentiating.
Recall Feynman: explain to a 12-year-old
Imagine you have to clean a really messy multiplication of two things stuck together, like a sticky candy made of caramel (x x x ) and chocolate (e x e^x e x ). You can't pull them apart by normal melting (substitution). But you do know how to build such a candy by gluing (that's the product rule). So you run the gluing machine backwards : you trade your messy candy for a slightly cleaner one, do that trade as many times as needed, and eventually you're left with a candy so simple it's just a plain piece you already know how to eat (integrate). LIATE is just the "which piece do I peel first" instructions so you always peel the right side.
Integration by parts formula ∫ u d v = u v − ∫ v d u \int u\,dv = uv - \int v\,du ∫ u d v = uv − ∫ v d u What identity is integration by parts derived from? The product rule
d d x ( u v ) = u v ′ + v u ′ \frac{d}{dx}(uv)=u\,v'+v\,u' d x d ( uv ) = u v ′ + v u ′ , integrated on both sides.
What does LIATE stand for? Logarithmic, Inverse-trig, Algebraic, Trigonometric, Exponential — order for choosing
u u u .
In LIATE, which function becomes u u u ? The one appearing earlier in the list (gets differentiated).
Why pick u u u as the function that simplifies on differentiation? Because the rule replaces
∫ u d v \int u\,dv ∫ u d v with
∫ v d u \int v\,du ∫ v d u ; that's only helpful if
d u du d u makes the integral easier.
How do you integrate ∫ ln x d x \int \ln x\,dx ∫ ln x d x ? Write
ln x ⋅ 1 \ln x\cdot 1 ln x ⋅ 1 , take
u = ln x , d v = d x u=\ln x,\ dv=dx u = ln x , d v = d x →
x ln x − x + C x\ln x - x + C x ln x − x + C .
∫ x e x d x = ? \int xe^x dx = ? ∫ x e x d x = ? e x ( x − 1 ) + C e^x(x-1)+C e x ( x − 1 ) + C .
When do you use the "loop"/algebraic trick? When the original integral reappears after repeated parts (e.g.
∫ e x sin x d x \int e^x\sin x\,dx ∫ e x sin x d x ); solve algebraically.
∫ e x sin x d x = ? \int e^x\sin x\,dx = ? ∫ e x sin x d x = ? 1 2 e x ( sin x − cos x ) + C \tfrac12 e^x(\sin x-\cos x)+C 2 1 e x ( sin x − cos x ) + C .
Why must d v dv d v include d x dx d x ? Because
v = ∫ d v v=\int dv v = ∫ d v ; the
d x dx d x marks what's being integrated.
Product rule (differentiation) — the source identity.
Fundamental Theorem of Calculus — justifies ∫ d d x ( u v ) d x = u v \int \frac{d}{dx}(uv)dx = uv ∫ d x d ( uv ) d x = uv .
Integration by substitution — the other main technique; try it first.
Reduction formulae — built by applying parts repeatedly.
Tabular integration (DI method) — shortcut for polynomial × (exp/trig).
Definite integrals — parts with limits: [ u v ] a b − ∫ a b v d u [uv]_a^b - \int_a^b v\,du [ uv ] a b − ∫ a b v d u .
Fundamental Theorem of Calculus
Solve for wanted integral
Integration by Parts formula
Choice problem: which is u?
Pick u: simpler when differentiated
Pick dv: easy to integrate
Intuition Hinglish mein samjho
Dekho, integration by parts ka asli secret yeh hai: hum koi naya magic formula nahi rat-te. Hume product rule pehle se aata hai — d d x ( u v ) = u v ′ + v u ′ \frac{d}{dx}(uv) = u\,v' + v\,u' d x d ( uv ) = u v ′ + v u ′ . Bas iske dono sides ko integrate kar do, aur thoda rearrange karo, toh seedha mil jaata hai ∫ u d v = u v − ∫ v d u \int u\,dv = uv - \int v\,du ∫ u d v = uv − ∫ v d u . Matlab ek mushkil integral ko hum doosre (umeed se aasaan) integral se swap kar rahe hain.
Ab sabse bada confusion: u u u kaun banega? Yahin LIATE kaam aata hai — Logarithmic, Inverse-trig, Algebraic, Trigonometric, Exponential. Jo function is list mein pehle aaye, usko u u u bana do (kyunki usko hum differentiate karenge, aur woh simple ho jaata hai). Jo baad mein aaye usko d v dv d v (usko integrate karenge). Jaise ∫ x e x d x \int x e^x dx ∫ x e x d x mein x x x Algebraic hai aur e x e^x e x Exponential — A pehle aata hai, toh u = x u=x u = x . Differentiate karne par x x x to 1 1 1 ban jaata hai aur integral easy ho jaata hai.
Ek classic trick: ∫ ln x d x \int \ln x\,dx ∫ ln x d x . Lagta hai single function hai, par usko ln x × 1 \ln x \times 1 ln x × 1 likho, u = ln x u=\ln x u = ln x , d v = d x dv=dx d v = d x le lo — answer x ln x − x + C x\ln x - x + C x ln x − x + C . Aur ek aur powerful jugaad: ∫ e x sin x d x \int e^x \sin x\,dx ∫ e x sin x d x jaise integrals mein, do baar parts karne ke baad wahi original integral wapas aa jaata hai — toh usko ek variable maan kar algebra se solve kar do.
Yaad rakhna: u u u woh hota hai jo differentiate karne par simple ho, d v dv d v ke saath hamesha d x dx d x jaata hai, aur − ∫ v d u -\int v\,du − ∫ v d u ka minus sign mat bhoolna. Har baar answer ko differentiate karke check kar lo — yeh Forecast-then-Verify habit tumhe exam mein bachayegi.