Introduction
Everyone memorizes the integration-by-parts formula.
$$ \int u\,dv = uv - \int v\,du $$Three things never clicked for me here.
- What on earth are \(du\) and \(dv\)? Are they just decorative symbols?
- Why does \(uv\) suddenly pop out?
- Why do we need both steps — differentiating and integrating?
The bottom line first — this formula is not some new piece of magic. It is the product rule (differentiation) integrated backward and then rearranged, and the picture behind it is splitting the area of a rectangle into two pieces.
1. Where the formula comes from — integrating the product rule
We start from the product rule you learned in differentiation.
$$ (uv)' = u'v + uv' $$If we integrate both sides with respect to \(x\), the left side is the reverse of differentiation, so it just becomes \(uv\).
$$ uv = \int u'v\,dx + \int uv'\,dx $$Now all we have to do is move one term across.
$$ \int u\,v'\,dx = uv - \int u'\,v\,dx $$Abbreviating with \(v',dx = dv\) and \(u',dx = du\) gives exactly that formula.
$$ \int u\,dv = uv - \int v\,du $$→ Second question solved: \(uv\) showed up on its own as the "reverse of differentiation" when we integrated the product rule.
2. What du and dv really are — "tiny changes" coming from the slope
\(du\) is a very small change in \(u\) (one step to the right →), and \(dv\) is a very small change in \(v\) (one step up ↑). It is exactly the same \(d\) you saw in differentiation when you read the slope as \(\dfrac{dv}{du}\) (vertical change ÷ horizontal change). These are not decorations — they are "the amounts by which something has changed a little."
3. As a picture — the area of a rectangle as two strips
Think of a rectangle whose two sides are \(u\) and \(v\). Its area is \(uv\). If \(u\) and \(v\) each change a little, how much does the area grow? The geometric version of the product rule is the answer.
$$ d(uv) = v\,du + u\,dv $$- If \(u\) grows by \(du\) → a vertical strip is added on the right (height \(v\), width \(du\)) → area \(v,du\)
- If \(v\) grows by \(dv\) → a horizontal strip is added on top (width \(u\), height \(dv\)) → area \(u,dv\)
If we accumulate (integrate) this from start to finish, the total change in the rectangle's area splits precisely into two integrals.
$$ \big[uv\big] = \int v\,du + \int u\,dv $$→ Third question (why does the same \(dv\) sometimes mean vertical and sometimes horizontal?) solved: the direction depends on whether it is \(du\) or \(dv\). A \(du\) (horizontal change) creates a vertical strip, and a \(dv\) (vertical change) creates a horizontal strip.
Try it yourself
Move the point \(B\) on the curve with the slider, and you can watch the change in the large rectangle's area \([uv]\) split exactly into two pieces — the bottom region \(\int v,du\) and the left region \(\int u,dv\). Use the 'du strip / dv strip' buttons to check the directions of the strips, too.
4. So why do we need "two steps"?
Since the formula itself is the product rule (differentiation) integrated, when we use it we differentiate one side (\(u \to du\)) and integrate the other (\(dv \to v\)). The goal is a single one — to turn a hard integral \(\int u,dv\) into an easier integral \(\int v,du\).
For example, \(\displaystyle\int x\cos x,dx\) looks hopeless head-on. But if we set \(u = x\) (differentiating it simplifies it to \(1\)) and \(dv = \cos x,dx\) (easy to integrate, \(v = \sin x\)), then:
$$ \int x\cos x\,dx = x\sin x - \int \sin x\,dx = x\sin x + \cos x + C $$The complicated \(\int x\cos x,dx\) has been swapped for the \(\int \sin x,dx\) that everyone knows. This is the real usefulness of integration by parts.
Wrapping up
- Integration by parts = the product rule integrated backward and rearranged (which is why \(uv\) appears).
- \(du, dv\) = tiny changes, the very same \(d\) you saw in the slope.
- Geometrically, it is splitting the rectangle's area into \(\int v,du\) (vertical strip) + \(\int u,dv\) (horizontal strip).
- The purpose of using it is to swap a hard integral for an easy one.
Once you derive it yourself from the product rule, neither \(du\) nor \(dv\) is a mystery anymore.
Related reading — Why Does the Arctangent Show Up? · Why Does Cramer's Rule Have That Shape? · Computation check: Wolfram Alpha