Reversing the Chain Rule
Many integrals hide a chain rule inside them. Substitution renames the inner function as u, turning a tangled integral into a simple one.
Indefinite integrals
The indefinite integral \(\int f(x)\,dx\) means the family of all antiderivatives of \(f\), written with a constant \(+ C\). So \(\int 3x^2\,dx = x^3 + C\). A definite integral is a number; an indefinite integral is a family of functions. The \(+C\) matters: in physics problems it holds information like a starting position.
\int f(x)\,dx = F(x) + CSpotting a chain rule in reverse
The chain rule says \(\frac{d}{dx}F(g(x)) = F'(g(x))g'(x)\). So any integrand that looks like 'a function of \(g(x)\), times \(g'(x)\)' can be integrated by undoing the chain rule. For example, \(2x\cos(x^2)\) is \(\cos(\text{inside})\) times the inside's derivative \(2x\), so its antiderivative is \(\sin(x^2) + C\).
The substitution method
1. Choose \(u\) to be the inner function, often the expression inside a power, root, exponential, or trig function. 2. Compute \(du = g'(x)\,dx\). 3. Rewrite the whole integral in terms of \(u\) and \(du\); no \(x\) should remain. 4. Integrate in \(u\). 5. Substitute back \(u = g(x)\). If \(x\)'s remain after step 3, try a different \(u\).
\int f(g(x))g'(x)\,dx = \int f(u)\,duWorked example: a power
\(\int 2x(x^2 + 1)^5\,dx\). Let \(u = x^2 + 1\), so \(du = 2x\,dx\). The integral becomes \(\int u^5\,du = \frac{u^6}{6} + C = \frac{(x^2 + 1)^6}{6} + C\). Check by differentiating: the chain rule gives \(\frac{6(x^2+1)^5 \cdot 2x}{6} = 2x(x^2 + 1)^5\). Correct.
\int 2x(x^2+1)^5\,dx = \frac{(x^2+1)^6}{6} + CAdjusting constants
Often \(du\) matches the integrand up to a constant factor. \(\int x\,e^{x^2}\,dx\): let \(u = x^2\), \(du = 2x\,dx\), so \(x\,dx = \frac{1}{2}du\). Then the integral is \(\frac{1}{2}\int e^u\,du = \frac{1}{2}e^{x^2} + C\). You may move constants freely, but never variables: if the integrand were \(e^{x^2}\) alone, substitution would not work.
Worked example: trig and logs
\(\int \tan x\,dx = \int \frac{\sin x}{\cos x}\,dx\). Let \(u = \cos x\), \(du = -\sin x\,dx\). Then the integral is \(-\int \frac{1}{u}\,du = -\ln|\cos x| + C\). In general, whenever the numerator is the derivative of the denominator, the integral is a logarithm: \(\int \frac{g'(x)}{g(x)}\,dx = \ln|g(x)| + C\).
Linear substitutions
When the inside is linear, like \(3x + 2\), the substitution is quick: \(\int \cos(3x + 2)\,dx = \frac{1}{3}\sin(3x + 2) + C\) and \(\int e^{5x}\,dx = \frac{1}{5}e^{5x} + C\). Divide by the coefficient of \(x\) to undo the chain rule factor.
\int f(ax+b)\,dx = \frac{1}{a}F(ax+b) + CSubstitution in definite integrals
For a definite integral you can change the limits along with the variable. \(\int_0^2 x(x^2 + 1)^3\,dx\): with \(u = x^2 + 1\), when \(x = 0\), \(u = 1\); when \(x = 2\), \(u = 5\). Then the integral is \(\frac{1}{2}\int_1^5 u^3\,du = \frac{1}{2}\left[\frac{u^4}{4}\right]_1^5 = \frac{625 - 1}{8} = 78\). With new limits, you never need to substitute back.
\int_a^b f(g(x))g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,duSymmetry shortcuts
If \(f\) is even (\(f(-x) = f(x)\), like \(x^2\) or \(\cos x\)), then \(\int_{-a}^{a} f = 2\int_0^a f\). If \(f\) is odd (\(f(-x) = -f(x)\), like \(x^3\) or \(\sin x\)), then \(\int_{-a}^{a} f = 0\), because the areas on each side cancel. Spotting symmetry can save a whole calculation.
Common mistakes
Forgetting \(+C\) on indefinite integrals. Leaving some \(x\)'s in the integral after substituting. Forgetting to convert \(dx\) to \(du\). Changing the variable but keeping the old limits in a definite integral. Moving a variable factor outside the integral as if it were a constant.
Try it yourself
Find \(\int \frac{3x^2}{x^3 + 4}\,dx\). Answer: the numerator is the derivative of the denominator, so it is \(\ln|x^3 + 4| + C\). Then evaluate \(\int_0^{\pi/2}\sin^2 x\cos x\,dx\). Answer: with \(u = \sin x\), limits \(0\) to \(1\), it is \(\int_0^1 u^2\,du = \frac{1}{3}\).
Key takeaways
Indefinite integrals need \(+C\). Substitution reverses the chain rule: choose \(u\) as the inner function, convert \(dx\) to \(du\), and make sure no \(x\) remains. Constants can be adjusted; variables cannot. For definite integrals, change the limits too. Use even and odd symmetry when the interval is symmetric.
Flashcard
Indefinite integral
Check your understanding
Find the integral of cos(4x) dx.
