Integration

Pure Mathematics

Integration is the reverse process of differentiation. Every technique you learn here — from reading off a standard result to setting up a volume of revolution — ultimately rests on one question: what function, when differentiated, gives the integrand?

What you need to know

Worked example 1 — Integration by parts

Find xexdx\displaystyle\int x e^x\,dx.

Set up. Let u=xu = x and dvdx=ex\dfrac{dv}{dx} = e^x, so dudx=1\dfrac{du}{dx} = 1 and v=exv = e^x.

Applying the formula:

xexdx=xexex1dx=xexex+C.\int x e^x\,dx = x e^x - \int e^x \cdot 1\,dx = x e^x - e^x + C.

Check by differentiating: ddx(xexex)=ex+xexex=xex\dfrac{d}{dx}(x e^x - e^x) = e^x + x e^x - e^x = x e^x. Confirmed.

xexdx=(x1)ex+C\boxed{\int x e^x\,dx = (x-1)e^x + C}

Worked example 2 — Area between two curves

Find the area enclosed between y=x2y = x^2 and y=x+2y = x + 2.

Step 1 — intersections. Set x2=x+2x^2 = x + 2, so x2x2=0x^2 - x - 2 = 0, giving (x2)(x+1)=0(x-2)(x+1) = 0, i.e. x=1x = -1 and x=2x = 2.

Step 2 — which is on top? At x=0x = 0: y=x+2y = x + 2 gives 22, y=x2y = x^2 gives 00, so the line is above the parabola on [1,2][-1, 2].

Step 3 — integrate.

A=12[(x+2)x2]dxA = \int_{-1}^{2} \bigl[(x+2) - x^2\bigr]\,dx =[x22+2xx33]12= \left[\frac{x^2}{2} + 2x - \frac{x^3}{3}\right]_{-1}^{2}

At x=2x = 2: 42+483=683=103\dfrac{4}{2} + 4 - \dfrac{8}{3} = 6 - \dfrac{8}{3} = \dfrac{10}{3}.

At x=1x = -1: 122+13=76\dfrac{1}{2} - 2 + \dfrac{1}{3} = -\dfrac{7}{6}.

A=103(76)=206+76=276=92.A = \frac{10}{3} - \left(-\frac{7}{6}\right) = \frac{20}{6} + \frac{7}{6} = \frac{27}{6} = \frac{9}{2}. A=92 square units\boxed{A = \tfrac{9}{2} \text{ square units}}

Worked example 3 — Integration by substitution

Find 2xx2+1dx\displaystyle\int 2x\sqrt{x^2+1}\,dx.

Let u=x2+1u = x^2 + 1, so dudx=2x\dfrac{du}{dx} = 2x, i.e. 2xdx=du2x\,dx = du.

2xx2+1dx=udu=u1/2du=23u3/2+C.\int 2x\sqrt{x^2+1}\,dx = \int \sqrt{u}\,du = \int u^{1/2}\,du = \frac{2}{3}u^{3/2} + C.

Substituting back:

2xx2+1dx=23(x2+1)3/2+C\boxed{\int 2x\sqrt{x^2+1}\,dx = \tfrac{2}{3}(x^2+1)^{3/2} + C}

Check: ddx ⁣[23(x2+1)3/2]=2332(x2+1)1/22x=2xx2+1\dfrac{d}{dx}\!\left[\tfrac{2}{3}(x^2+1)^{3/2}\right] = \tfrac{2}{3} \cdot \tfrac{3}{2}(x^2+1)^{1/2} \cdot 2x = 2x\sqrt{x^2+1}. Confirmed.

Common mistakes

Ask MathChat about Integration →