← Math — Semester B midterm

appeared in 3/4

Integration by substitution

What it looks like on the exam

∫ln⁡(3x+1)3x+1dx\int\frac{\ln(3x+1)}{3x+1}dx — a function and its inner derivative.

📘 The lesson on this topic in the courseIntegrals and areas→

How to solve

Integration by substitution: spot an inner function uu whose derivative appears as a factor (up to a constant). Then du=u′dxdu=u'dx and the integral becomes simple. In a definite integral also change the limits to values of uu.

∫f(u(x))u(ˊx) dx=∫f(u) du\int f\big(u(x)\big)u\'(x)\,dx=\int f(u)\,du
  • ∫u′udx=ln⁡∣u∣\int\frac{u'}{u}dx=\ln|u|.
  • ∫u′eudx=eu\int u'e^udx=e^u.
  • ∫u′undx=un+1n+1\int u'u^ndx=\frac{u^{n+1}}{n+1}.
  • ∫ln⁡xxdx=ln⁡2x2\int\frac{\ln x}{x}dx=\frac{\ln^2x}{2}.

The method, step by step

  1. Look for an inner function whose derivative is a factor.

    Why: xx next to x2x^2, 1x\frac1x next to ln⁡x\ln x, cos⁡x\cos x next to sin⁡x\sin x.

  2. Define uu and compute dudu; fix a constant if needed.

    Why: For example x dx=12dux\,dx=\frac12du.

  3. Change the limits: u(a)u(a), u(b)u(b).

    Why: Then there is no going back to xx.

  4. Compute the simple integral.
  5. Check: differentiating the result gives back the integrand.

Cases you will meet

A fraction with the derivative on top

∫2xx2+1dx=ln⁡(x2+1)\int\frac{2x}{x^2+1}dx=\ln(x^2+1).

Exponential

∫xex2dx=12ex2\int xe^{x^2}dx=\frac12e^{x^2}.

Trigonometric

∫tan⁡x dx=−ln⁡∣cos⁡x∣\int\tan x\,dx=-\ln|\cos x|.

A log inside a log

∫dxxln⁡x=ln⁡∣ln⁡x∣\int\frac{dx}{x\ln x}=\ln|\ln x|.

Full topic in the course →
1

Fully worked example

Worked example

Compute: ∫01x(x2+1)2dx\int_0^1x(x^2+1)^2dx.

Solution

Ideau=x2+1u=x^2+1, du=2x dxdu=2x\,dx.
  1. Limits: u(0)=1u(0)=1, u(1)=2u(1)=2.
  2. 12∫12u2du=12⋅8−13=76≈1.167\frac12\int_1^2u^2du=\frac12\cdot\frac{8-1}{3}=\frac76\approx1.167.
CheckExpanding: ∫01(x5+2x3+x)dx=16+12+12=76\int_0^1(x^5+2x^3+x)dx=\frac16+\frac12+\frac12=\frac76 ✓.
Common mistakeForgetting the 12\frac12.

Practice