Antiderivatives and u-Substitution

AP Calculus AB · Unit 6 — Integration and Accumulation of Change

The basic antiderivatives

$$\int x^n dx=\frac{x^{n+1}}{n+1}+C\ (n\neq-1),\qquad \int\frac1x dx=\ln|x|+C$$$$\int e^x dx=e^x+C,\quad \int\sin x\,dx=-\cos x+C,\quad \int\sec^2x\,dx=\tan x+C$$

u-substitution

Choose $u$ to be the inside function whose derivative is present (up to a constant). Then $du=u'(x)\,dx$ and the integral becomes one in $u$ alone.

For a definite integral, change the limits too — that avoids converting back and is what AP rubrics expect:

$$\int_{x=a}^{x=b}f\big(u(x)\big)u'(x)\,dx=\int_{u(a)}^{u(b)}f(u)\,du$$

Worked example: substitution with change of limits

Tính $\displaystyle\int_0^2 x\,e^{x^2}\,dx$.

Solution

Let $u=x^2$ ⇒ $du=2x\,dx$ ⇒ $x\,dx=\frac12du$.

Change the limits: $x=0\Rightarrow u=0$; $x=2\Rightarrow u=4$.

$$\int_0^2 xe^{x^2}dx=\frac12\int_0^4 e^u\,du=\frac12\left[e^u\right]_0^4=\frac{e^4-1}{2}$$

If you keep the old limits and forget to substitute $u$ back to $x^2$, you will compute $\frac12(e^2-1)$ — wrong, and that is the standard distractor.

Common mistake

$\int\frac{1}{x^2+1}dx=\arctan x+C$ but $\int\frac{1}{x^2}dx=-\frac1x+C$ — two expressions that look alike, two unrelated results. And do not forget $+C$ in an indefinite integral: the AP rubric deducts for omitting it.

Key takeaway

Choose $u$ as the inner function whose derivative is already present outside. For a definite integral, change the limits right away. $\ln$ needs absolute value, and an indefinite integral needs $+C$.

← The Fundamental Theorem of Calculus · All AP Calculus AB lessons · Practice AP Calculus AB questions (free, instant scoring) · Properties of Definite Integrals and Accumulation Functions from a Graph →