Skip to main content

Chapter 3: Integral Calculus – Master Integrals

Integrals are the inverse of derivatives, focusing on "accumulation"—they calculate total change, area under curves, volumes of solids, and more. This chapter connects indefinite integrals (antiderivatives) to definite integrals (accumulated change) and explores their wide-ranging applications.

3.1 Indefinite Integrals

An indefinite integral "reverses" differentiation: if F(x)=f(x)F'(x) = f(x), then F(x)F(x) is an antiderivative of f(x)f(x), and the indefinite integral of f(x)f(x) is the set of all such antiderivatives.

3.1.1 Definition of Indefinite Integrals

The indefinite integral of a function f(x)f(x), denoted f(x)dx\int f(x) dx, is defined as:

f(x)dx=F(x)+C\int f(x) dx = F(x) + C

where F(x)=f(x)F'(x) = f(x) (so F(x)F(x) is an antiderivative of f(x)f(x)) and CC is the constant of integration (since the derivative of a constant is 0, adding CC accounts for all possible antiderivatives).

Example: Find 2xdx\int 2x dx

We know that ddx[x2]=2x\frac{d}{dx}[x^2] = 2x, so F(x)=x2F(x) = x^2 is an antiderivative. Thus:

2xdx=x2+C\int 2x dx = x^2 + C

3.1.2 Basic Integral Formulas

These formulas are derived directly from derivative rules (memorize them to speed up calculations):

Function f(x)f(x)Indefinite Integral f(x)dx\int f(x) dx
cc (constant)cx+Ccx + C
xnx^n (n1n \neq -1)xn+1n+1+C\frac{x^{n+1}}{n+1} + C (Power Rule)
1x\frac{1}{x} (x>0x > 0)$\ln
exe^xex+Ce^x + C
axa^x (a>0,a1a > 0, a \neq 1)axlna+C\frac{a^x}{\ln a} + C
sinx\sin xcosx+C-\cos x + C
cosx\cos xsinx+C\sin x + C
sec2x\sec^2 xtanx+C\tan x + C

3.1.3 Integration Methods

Unlike differentiation, integration often requires creativity. Here are three core techniques:

1. Substitution Method (Reverse of the Chain Rule)

Use substitution to simplify integrals of composite functions. For f(g(x))g(x)dx\int f(g(x)) \cdot g'(x) dx:

  1. Let u=g(x)u = g(x), so du=g(x)dxdu = g'(x) dx
  2. Rewrite the integral in terms of uu: f(u)du\int f(u) du
  3. Integrate with respect to uu, then substitute back u=g(x)u = g(x)

Example 1: Simple substitution
Find xx2+1dx\int x\sqrt{x^2 + 1} dx

Step 1: Let u=x2+1u = x^2 + 1. Then du=2xdxdu = 2x dx, so 12du=xdx\frac{1}{2} du = x dx

Step 2: Rewrite the integral:

u12du=12u1/2du\int \sqrt{u} \cdot \frac{1}{2} du = \frac{1}{2} \int u^{1/2} du

Step 3: Integrate using the power rule:

12u3/23/2+C=13u3/2+C\frac{1}{2} \cdot \frac{u^{3/2}}{3/2} + C = \frac{1}{3} u^{3/2} + C

Step 4: Substitute back u=x2+1u = x^2 + 1:

xx2+1dx=13(x2+1)3/2+C\int x\sqrt{x^2 + 1} dx = \frac{1}{3} (x^2 + 1)^{3/2} + C

Example 2: Trigonometric substitution
For integrals involving a2x2\sqrt{a^2 - x^2}, use x=asinθx = a\sin\theta (since sin2θ+cos2θ=1\sin^2\theta + \cos^2\theta = 1 simplifies the square root).

Find 4x2dx\int \sqrt{4 - x^2} dx

Step 1: Let x=2sinθx = 2\sin\theta, so dx=2cosθdθdx = 2\cos\theta d\theta. Then 4x2=44sin2θ=2cosθ\sqrt{4 - x^2} = \sqrt{4 - 4\sin^2\theta} = 2\cos\theta (since cosθ0\cos\theta \geq 0 for π2θπ2-\frac{\pi}{2} \leq \theta \leq \frac{\pi}{2})

Step 2: Rewrite the integral:

2cosθ2cosθdθ=4cos2θdθ\int 2\cos\theta \cdot 2\cos\theta d\theta = 4 \int \cos^2\theta d\theta

Step 3: Use the identity cos2θ=1+cos2θ2\cos^2\theta = \frac{1 + \cos 2\theta}{2}:

41+cos2θ2dθ=2(1+cos2θ)dθ=2(θ+sin2θ2)+C=2θ+sin2θ+C4 \int \frac{1 + \cos 2\theta}{2} d\theta = 2 \int (1 + \cos 2\theta) d\theta = 2\left(\theta + \frac{\sin 2\theta}{2}\right) + C = 2\theta + \sin 2\theta + C

Step 4: Substitute back. Since x=2sinθx = 2\sin\theta, θ=arcsin(x2)\theta = \arcsin\left(\frac{x}{2}\right), and sin2θ=2sinθcosθ=2x24x22=x4x22\sin 2\theta = 2\sin\theta\cos\theta = 2 \cdot \frac{x}{2} \cdot \frac{\sqrt{4 - x^2}}{2} = \frac{x\sqrt{4 - x^2}}{2}

Final result:

4x2dx=2arcsin(x2)+x4x22+C\int \sqrt{4 - x^2} dx = 2\arcsin\left(\frac{x}{2}\right) + \frac{x\sqrt{4 - x^2}}{2} + C

2. Integration by Parts (Reverse of the Product Rule)

For integrals of the form udv\int u dv (products of functions), use:

udv=uvvdu\int u dv = uv - \int v du

Choose uu and dvdv such that vdu\int v du is simpler than the original integral. A common mnemonic: LIATE (Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential) – prioritize uu as the first type in this list.

Example: Find xsinxdx\int x\sin x dx

Step 1: Choose u=xu = x (Algebraic, higher in LIATE) and dv=sinxdxdv = \sin x dx

Step 2: Compute dudu and vv:

du=dx,v=sinxdx=cosxdu = dx, \quad v = \int \sin x dx = -\cos x

Step 3: Apply integration by parts:

xsinxdx=uvvdu=xcosx(cosx)dx=xcosx+cosxdx\int x\sin x dx = uv - \int v du = -x\cos x - \int (-\cos x) dx = -x\cos x + \int \cos x dx

Step 4: Integrate the remaining term:

=xcosx+sinx+C= -x\cos x + \sin x + C

3. Integration of Rational Functions (Partial Fractions)

Rational functions (P(x)Q(x)\frac{P(x)}{Q(x)}, where P,QP,Q are polynomials) can be simplified by decomposing them into "partial fractions"—simpler fractions that are easier to integrate.

Example: Integrate 2x+3(x+1)(x+2)dx\int \frac{2x + 3}{(x + 1)(x + 2)} dx

Step 1: Decompose into partial fractions. Assume:

2x+3(x+1)(x+2)=Ax+1+Bx+2\frac{2x + 3}{(x + 1)(x + 2)} = \frac{A}{x + 1} + \frac{B}{x + 2}

Step 2: Solve for AA and BB. Multiply both sides by (x+1)(x+2)(x + 1)(x + 2):

2x+3=A(x+2)+B(x+1)2x + 3 = A(x + 2) + B(x + 1)

Let x=2x = -2: 2(2)+3=B(2+1)1=BB=12(-2) + 3 = B(-2 + 1) \rightarrow -1 = -B \rightarrow B = 1

Let x=1x = -1: 2(1)+3=A(1+2)1=AA=12(-1) + 3 = A(-1 + 2) \rightarrow 1 = A \rightarrow A = 1

Thus:

2x+3(x+1)(x+2)=1x+1+1x+2\frac{2x + 3}{(x + 1)(x + 2)} = \frac{1}{x + 1} + \frac{1}{x + 2}

Step 3: Integrate term by term: (1x+1+1x+2)dx=lnx+1+lnx+2+C=ln(x+1)(x+2)+C\int \left(\frac{1}{x + 1} + \frac{1}{x + 2}\right) dx = \ln|x + 1| + \ln|x + 2| + C = \ln|(x + 1)(x + 2)| + C

3.2 Definite Integrals

Definite integrals calculate the "accumulated change" of a function over an interval [a,b][a,b]. They are defined using limits of sums and linked to indefinite integrals via the Fundamental Theorem of Calculus.

3.2.1 Definition: Riemann Sums

The definite integral of f(x)f(x) from aa to bb, denoted abf(x)dx\int_a^b f(x) dx, is defined as the limit of Riemann sums:

abf(x)dx=limni=1nf(xi)Δx\int_a^b f(x) dx = \lim_{n \to \infty} \sum_{i=1}^n f(x_i^*) \Delta x
  • Δx=ban\Delta x = \frac{b - a}{n}: Width of each subinterval when [a,b][a,b] is divided into nn equal parts
  • xix_i^*: A sample point in the ii-th subinterval
  • The sum approximates the area under the curve y=f(x)y = f(x) from aa to bb; the limit gives the exact area (if f(x)0f(x) \geq 0)

Example: Approximate 01x2dx\int_0^1 x^2 dx with a Riemann sum (n=4n = 4)

Step 1: Δx=104=0.25\Delta x = \frac{1 - 0}{4} = 0.25. Subintervals: [0,0.25],[0.25,0.5],[0.5,0.75],[0.75,1][0,0.25], [0.25,0.5], [0.5,0.75], [0.75,1]

Step 2: Use right endpoints as sample points: x1=0.25,x2=0.5,x3=0.75,x4=1x_1^* = 0.25, x_2^* = 0.5, x_3^* = 0.75, x_4^* = 1

Step 3: Compute the sum:

i=14f(xi)Δx=[(0.25)2+(0.5)2+(0.75)2+(1)2]0.25=[0.0625+0.25+0.5625+1]0.25=1.8750.25=0.46875\begin{align*} \sum_{i=1}^4 f(x_i^*) \Delta x &= [(0.25)^2 + (0.5)^2 + (0.75)^2 + (1)^2] \cdot 0.25 \\ &= [0.0625 + 0.25 + 0.5625 + 1] \cdot 0.25 \\ &= 1.875 \cdot 0.25 = 0.46875 \end{align*}

The exact value (from later methods) is 130.333\frac{1}{3} \approx 0.333; as nn increases, the sum approaches this.

3.2.2 Fundamental Theorem of Calculus (FTC)

The FTC is the bridge between indefinite and definite integrals, making definite integrals computable without limits.

Part 1: If ff is continuous on [a,b][a,b] and F(x)=axf(t)dtF(x) = \int_a^x f(t) dt, then F(x)=f(x)F'(x) = f(x). (The integral function is an antiderivative of ff.)

Part 2: If ff is continuous on [a,b][a,b] and FF is any antiderivative of ff, then:

abf(x)dx=F(b)F(a)\int_a^b f(x) dx = F(b) - F(a)

We write F(b)F(a)F(b) - F(a) as F(x)abF(x) \big|_a^b.

Example: Compute 01x2dx\int_0^1 x^2 dx using FTC Part 2

Step 1: Find an antiderivative of f(x)=x2f(x) = x^2. From the power rule: F(x)=x33F(x) = \frac{x^3}{3}

Step 2: Apply FTC Part 2:

01x2dx=x3301=133033=13\int_0^1 x^2 dx = \frac{x^3}{3} \Big|_0^1 = \frac{1^3}{3} - \frac{0^3}{3} = \frac{1}{3}

3.2.3 Calculation of Definite Integrals

  • Use FTC Part 2: Find an antiderivative, evaluate at bounds, subtract
  • For substitution in definite integrals, adjust the limits of integration to match the substitution variable (avoids substituting back)

Example: Compute 02xex2dx\int_0^2 xe^{x^2} dx with substitution

Step 1: Let u=x2u = x^2, so du=2xdx12du=xdxdu = 2x dx \rightarrow \frac{1}{2} du = x dx

Step 2: Adjust limits: When x=0x = 0, u=02=0u = 0^2 = 0; when x=2x = 2, u=22=4u = 2^2 = 4

Step 3: Rewrite the integral with new limits:

04eu12du=1204eudu\int_0^4 e^u \cdot \frac{1}{2} du = \frac{1}{2} \int_0^4 e^u du

Step 4: Integrate and evaluate:

12eu04=12(e4e0)=12(e41)\frac{1}{2} e^u \Big|_0^4 = \frac{1}{2} (e^4 - e^0) = \frac{1}{2} (e^4 - 1)

3.2.4 Improper Integrals

These involve infinite intervals (e.g., af(x)dx\int_a^\infty f(x) dx) or discontinuities in [a,b][a,b]. They are defined as limits:

  • For infinite intervals: af(x)dx=limbabf(x)dx\int_a^\infty f(x) dx = \lim_{b \to \infty} \int_a^b f(x) dx (converges if the limit exists)

Example: Evaluate 11x2dx\int_1^\infty \frac{1}{x^2} dx

11x2dx=limb1bx2dx=limb(1x)1b=limb(1b+1)=0+1=1\begin{align*} \int_1^\infty \frac{1}{x^2} dx &= \lim_{b \to \infty} \int_1^b x^{-2} dx \\ &= \lim_{b \to \infty} \left(-\frac{1}{x}\right) \Big|_1^b \\ &= \lim_{b \to \infty} \left(-\frac{1}{b} + 1\right) = 0 + 1 = 1 \end{align*}

The integral converges to 1.

3.3 Applications of Definite Integrals

Definite integrals model accumulation, making them useful for calculating area, volume, work, and more.

3.3.1 Area Between Two Curves

For two curves y=f(x)y = f(x) and y=g(x)y = g(x) with f(x)g(x)f(x) \geq g(x) on [a,b][a,b], the area between them is:

Area=ab[f(x)g(x)]dx\text{Area} = \int_a^b [f(x) - g(x)] dx

Example: Find the area between y=xy = x and y=x2y = x^2 from x=0x = 0 to x=1x = 1

Step 1: Identify which function is on top. For 0x10 \leq x \leq 1, xx2x \geq x^2 (e.g., x=0.5x = 0.5: 0.50.250.5 \geq 0.25)

Step 2: Set up the integral:

Area=01(xx2)dx\text{Area} = \int_0^1 (x - x^2) dx

Step 3: Evaluate:

=(x22x33)01=(1213)0=16= \left(\frac{x^2}{2} - \frac{x^3}{3}\right) \Big|_0^1 = \left(\frac{1}{2} - \frac{1}{3}\right) - 0 = \frac{1}{6}

3.3.2 Volume of Solids of Revolution

When a region under a curve is rotated around an axis, the volume can be calculated with:

  • Disk Method (rotating y=f(x)y = f(x) around the x-axis, axba \leq x \leq b):

    V=πab[f(x)]2dxV = \pi \int_a^b [f(x)]^2 dx
  • Washer Method (rotating the region between y=f(x)y = f(x) and y=g(x)y = g(x) around the x-axis, f(x)g(x)0f(x) \geq g(x) \geq 0):

    V=πab([f(x)]2[g(x)]2)dxV = \pi \int_a^b ([f(x)]^2 - [g(x)]^2) dx

Example: Volume of a cone (disk method)

A cone is formed by rotating y=2xy = 2x (from x=0x = 0 to x=3x = 3) around the x-axis. Find its volume.

Step 1: Apply the disk method. f(x)=2xf(x) = 2x, so [f(x)]2=4x2[f(x)]^2 = 4x^2

Step 2: Set up the integral:

V=π034x2dx=4π03x2dxV = \pi \int_0^3 4x^2 dx = 4\pi \int_0^3 x^2 dx

Step 3: Evaluate:

=4πx3303=4π(2730)=4π9=36π= 4\pi \cdot \frac{x^3}{3} \Big|_0^3 = 4\pi \left(\frac{27}{3} - 0\right) = 4\pi \cdot 9 = 36\pi

3.3.3 Other Applications

  • Arc Length: Length of a curve y=f(x)y = f(x) from aa to bb:

    L=ab1+[f(x)]2dxL = \int_a^b \sqrt{1 + [f'(x)]^2} dx
  • Work: Work done by a variable force F(x)F(x) moving an object from aa to bb:

    W=abF(x)dxW = \int_a^b F(x) dx
  • Average Value of a Function: The average value of f(x)f(x) on [a,b][a,b] is:

    favg=1baabf(x)dxf_{\text{avg}} = \frac{1}{b - a} \int_a^b f(x) dx

3.4 Practice Problems (with Answer Hints)

  1. Find cos(3x)dx\int \cos(3x) dx using substitution
    Hint: Let u=3xu = 3x, so du=3dxdu = 3dx

  2. Evaluate 0πxcosxdx\int_0^\pi x\cos x dx using integration by parts

  3. Find the area between y=x3y = x^3 and y=xy = x for x0x \geq 0
    Hint: Find where they intersect first (x=0x = 0 and x=1x = 1)

  4. Use the disk method to find the volume of a sphere with radius rr (rotate y=r2x2y = \sqrt{r^2 - x^2} around the x-axis from r-r to rr)

Answer Hints

  1. 13sin(3x)+C\frac{1}{3} \sin(3x) + C
  2. 2-2 (use u=xu = x, dv=cosxdxdv = \cos x dx; results in xsinx+cosxx\sin x + \cos x evaluated from 00 to π\pi)
  3. 14\frac{1}{4} (area = 01(xx3)dx\int_0^1 (x - x^3) dx)
  4. 43πr3\frac{4}{3} \pi r^3 (standard sphere volume formula)