Integration Techniques

When an integral isn't in the table, reshape it until it is.

Differentiating is a machine: feed it any formula, turn the crank on the rules, and the answer comes out. Integrating has no crank. Here are three integrals built from the same two parts:

∫xcos⁡(x2) dx∫xcos⁡x dx∫cos⁡(x2) dx\int x\cos(x^2)\,dx \qquad \int x\cos x\,dx \qquad \int \cos(x^2)\,dx

The first takes two lines. The second takes a different trick altogether. The third has no formula you can write with ordinary functions, though your calculator will still give you a number for it. They look like near-twins, and telling them apart is most of the job.

Reading the table

Every integral formula is a derivative read backward, and the Handbook's Indefinite Integrals list collects the useful ones. Four of its lines cover the exponential, trig, and 1/x1/x integrals the exam asks about. Spot the standard form, then copy the line with the right constants.

Four lines of the Handbook's integral table
IntegrandIntegral (add C)
eaxe^{ax}1aeax\tfrac{1}{a}e^{ax}
sin⁡x\sin x−cos⁡x-\cos x
cos⁡x\cos xsin⁡x\sin x
1ax+b\dfrac{1}{ax + b}1aln⁡∣ax+b∣\tfrac{1}{a}\ln|ax + b|

Adapted from the FE Reference Handbook, Indefinite Integrals

The 1/a1/a. Differentiating e3xe^{3x} brings a 3 down by the chain rule, so integrating has to divide one back out. There's a picture behind this, too: sin⁡2x\sin 2x is the sine wave squeezed to half its width. Its arch is just as tall and half as wide, so it holds half the area.

0 π/2 π 0 1 x y y = sin x area = 2 0 π/2 π 0 1 x y y = sin 2x area = 1
The sine arch and the same arch squeezed to half its width

The Handbook writes its sine and cosine lines for plain xx, so the aa is yours to supply, as in ∫sin⁡ax dx=−1acos⁡ax\int \sin ax\,dx = -\tfrac{1}{a}\cos ax.

The minus sign on −cos⁡x-\cos x. The sine arch sits above the axis, so its area has to come out positive, and it does: [−cos⁡x]0π=1−(−1)=2[-\cos x]_0^{\pi} = 1 - (-1) = 2. Lose the minus and you'd get −2-2.

Radians. The trig lines reverse derivatives that hold only in radians, so a limit of 1 means 1 radian. This is the angle-mode habit: keep the calculator in radians for calculus and in degrees for geometry. In degree mode, sin⁡1\sin 1 reads 0.0175 instead of 0.841, with no warning.

The 1/x1/x line. In Integrals and Area, x−1x^{-1} was the one power the rule couldn't touch, since it would divide by 0. But you've since met the function whose slope is 1/x1/x, the natural log. With a=1a = 1 and b=0b = 0, the table's last line gives:

∫dxx=ln⁡∣x∣+C\int \frac{dx}{x} = \ln|x| + C

The bars are there because 1/x1/x exists for negative xx too.

Worked Example A flow that fades
1 of 4

A tank's outflow fades as Q=20e−0.5tQ = 20e^{-0.5t} gal/min. How much water leaves in the first 4 minutes? That's the area under the flow curve, ∫0420e−0.5t dt\displaystyle\int_0^4 20e^{-0.5t}\,dt.

Substitution: the chain rule run backward

Most integrands don't arrive looking like a table line, so you reshape them. Take a derivative you know, and read it backward:

ddxsin⁡(x2)=cos⁡(x2)⋅2x⇒∫cos⁡(x2)⋅2x dx=sin⁡(x2)+C\frac{d}{dx}\sin(x^2) = \cos(x^2) \cdot 2x \quad\Rightarrow\quad \int \cos(x^2) \cdot 2x\,dx = \sin(x^2) + C

That 2x2x is the fingerprint the chain rule leaves behind. When an integrand holds an inner function and that function's derivative as a factor, it's a chain rule result, and you can undo it. The Handbook's Integral Calculus section names this method, Integration by Substitution, and prints no procedure for it, but the bookkeeping is just a change of name. Call the inside u=x2u = x^2. Then du=2x dxdu = 2x\,dx, and the integrand collapses into a table line:

∫cos⁡(x2⏟u) 2x dx⏟du=∫cos⁡u du=sin⁡u+C\int \cos(\underbrace{x^2}_{u})\,\underbrace{2x\,dx}_{du} = \int \cos u\,du = \sin u + C

Now the Hook's first integral, xcos⁡(x2)x\cos(x^2). It's short a factor of 2, but a constant can slide through the integral sign, so x dx=12 dux\,dx = \tfrac12\,du and the answer is 12sin⁡(x2)+C\tfrac12\sin(x^2) + C. The third integral, cos⁡(x2)\cos(x^2), is another story. It's short a factor of xx, and xx isn't a constant, so it can't slide anywhere. A missing constant can be fixed. A missing variable can't.

The limits move too

With limits, uu runs along its own axis, so the limits have to move there with it. In ∫0π/22xcos⁡(x2) dx\int_0^{\sqrt{\pi/2}} 2x\cos(x^2)\,dx, the upper limit x=π/2x = \sqrt{\pi/2} becomes u=π/2u = \pi/2. Every thin slice on the xx graph has a partner on the uu graph, with its height divided by 2x2x and its width multiplied by 2x2x. The slices hold the same area, so the whole regions do too.

0 0.5 1 1.5 0 0.5 1 1.5 x y y = 2x cos(x²) area = 1 x = 0 x = √(π/2) ≈ 1.25 0.10 wide × 1.28 tall u = x² 0 0.5 1 1.5 0 0.5 1 1.5 u y y = cos u area = 1 u = 0 u = π/2 ≈ 1.57 0.16 wide × 0.80 tall same slice, same area ≈ 0.128
The same area, drawn against x and against u
At x=0.8x = 0.8, the factor 2x2x is 1.6, so the slice's height drops from 1.28 to 0.80 and its width grows from 0.10 to 0.16.

So the integral is ∫0π/2cos⁡u du=1\int_0^{\pi/2} \cos u\,du = 1, and you never need to go back to xx. Or go back, putting x2x^2 in for uu, and use the original limits. Either route works. A mix, with the formula in uu and the limits in xx, gives a wrong answer that's probably among the options.

Worked Example A substitution that lands on the 1/x line
1 of 3

Evaluate ∫03xx2+1 dx\displaystyle\int_0^3 \frac{x}{x^2 + 1}\,dx.

Integration by parts: the product rule run backward

Now the Hook's second integral, xcos⁡xx\cos x. Substitution has nothing to grab here, because there's no inner function, only two unrelated factors. Products come from the product rule, so run that one backward.

In Differentiation Rules, a growing rectangle with width uu and height vv gained two strips with every nudge, u dvu\,dv and v duv\,du. Add up all the strips as it grows, and they fill the final rectangle: uv=∫u dv+∫v duuv = \int u\,dv + \int v\,du. Move one integral across, and you have the Handbook's line for integration by parts:

∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du

Here's that trade for xcos⁡xx\cos x, out to x=π/2x = \pi/2. Take u=xu = x and dv=cos⁡x dxdv = \cos x\,dx, which makes v=sin⁡xv = \sin x. The curve runs corner to corner and divides the rectangle in two.

0 π/2 0 1 u = x v = sin x whole rectangle: uv = (π/2)(1) = π/2 ∫ u dv = ∫ x cos x dx = ? u dv ∫ v du = ∫ sin x dx = 1 v du
The curve v = sin x divides a rectangle into two integrals

Below the curve is ∫0π/2sin⁡x dx=1\int_0^{\pi/2} \sin x\,dx = 1, which you can do. Above it is ∫0π/2xcos⁡x dx\int_0^{\pi/2} x\cos x\,dx, which you want, and it's whatever the rectangle has left: π/2−1=0.571\pi/2 - 1 = 0.571. You never integrate the hard thing. You swap it for an easier one, and all the skill is in choosing uu. Here's the same integral without limits:

u=x,dv=cos⁡x dx,du=dx,v=sin⁡xu = x,\quad dv = \cos x\,dx,\quad du = dx,\quad v = \sin x
∫xcos⁡x dx=xsin⁡x−∫sin⁡x dx=xsin⁡x+cos⁡x+C\int x\cos x\,dx = x\sin x - \int \sin x\,dx = x\sin x + \cos x + C

It works because xx turned into 1 and cos⁡x\cos x got no worse. Choose the other way, u=cos⁡xu = \cos x and dv=x dxdv = x\,dx, and the formula is just as true but hands you ∫x22sin⁡x dx\int \tfrac{x^2}{2}\sin x\,dx, a higher power than you started with. So make uu the factor that gets simpler when you differentiate it, and dvdv a factor you can integrate. If the new integral looks worse than the old one, swap them.

That rule also cracks ∫ln⁡x dx\int \ln x\,dx, which seems to have only one factor. You can't integrate ln⁡x\ln x, since that's the question, but its derivative is a simple 1/x1/x. So take u=ln⁡xu = \ln x, and dvdv is what's left, plain dxdx:

∫ln⁡x dx=xln⁡x−∫x⋅1x dx=xln⁡x−x+C\int \ln x\,dx = x\ln x - \int x \cdot \frac{1}{x}\,dx = x\ln x - x + C

The Handbook prints the finished answers for xsin⁡xx\sin x, xcos⁡xx\cos x, xeaxxe^{ax}, and ln⁡x\ln x, so when an integrand matches one exactly, read the line. Parts is for when the form shifts, as in xsin⁡2xx\sin 2x or xln⁡xx\ln x.

Worked Example A polynomial times an exponential
1 of 4

Evaluate ∫01xe2x dx\displaystyle\int_0^1 xe^{2x}\,dx.

Which tool, and when to skip them all

The exam won't name the technique, so ask, in this order:

  1. Is it a table line, maybe with a constant? Read it off.
  2. Is there an inner function with its derivative beside it, give or take a constant? Substitute.
  3. Is it a product of unrelated factors, like xsin⁡2xx\sin 2x or xln⁡xx\ln x? Use parts.

For a definite integral, there's a shortcut past all three: your calculator's numerical integration. It adds up thin slices and never needs a formula, so it handles even the Hook's third integral: ∫01cos⁡(x2) dx=0.905\int_0^1 \cos(x^2)\,dx = 0.905 in radian mode. On the exam, that's often the fastest route to a number, and a good check on one you worked by hand.

It can't hand you a formula, though. To choose an indefinite integral, differentiate the options, and take the one that returns the integrand.

Checkpoint

Which of these would you do by simple substitution?

A.
xex2xe^{x^2}
B.
xexxe^{x}
C.
2x+3x2+3x+1\dfrac{2x + 3}{x^2 + 3x + 1}
D.
ex2e^{x^2}
E.
ln⁡x\ln x

Recap

  • Spot the standard form in the Handbook's table, then mind the details: divide by aa, sin⁡x\sin x goes to −cos⁡x-\cos x, and trig limits are in radians.
  • Substitution is the chain rule run backward: uu is the inside, and its derivative has to be in the integrand, give or take a constant. Move the limits along with it.
  • Parts is the product rule run backward, ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du. Make uu the factor that gets simpler and dvdv one you can integrate.
  • Numerical integration in radian mode evaluates or checks any definite integral. To choose an indefinite integral, differentiate the options.