Skip to main content

Thomas’ Calculus · Chapter 16 · Section 16.1

By Muhammad Abdullah Athar · SymPy Verified

Line Integrals

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 16.1: Line Integrals

Scalar line integrals accumulate quantities along curves in the plane and space.


1. Computational Formula

For a smooth curve CC parametrized by r(t)=⟨x(t),y(t),z(t)⟩\mathbf{r}(t) = \langle x(t), y(t), z(t) \rangle for a≤t≤ba \le t \le b: ∫Cf(x,y,z) ds=∫abf(x(t),y(t),z(t))x′(t)2+y′(t)2+z′(t)2 dt\int_C f(x, y, z) \, ds = \int_a^b f(x(t), y(t), z(t)) \sqrt{x'(t)^2 + y'(t)^2 + z'(t)^2} \, dt


2. Piecewise Smooth Curves

If CC is composed of smooth segments C1,C2,…,CkC_1, C_2, \dots, C_k joined end-to-end: ∫Cf ds=∫C1f ds+∫C2f ds+⋯+∫Ckf ds\int_C f \, ds = \int_{C_1} f \, ds + \int_{C_2} f \, ds + \dots + \int_{C_k} f \, ds

Part Two

Key Ideas to Remember

2 essential statements for this section, each with a plain-words explanation.

Definition #1Sec 16.1

Scalar Line Integral with Respect to Arc Length

∫Cf(x,y,z) ds=∫abf(x(t),y(t),z(t))∣r′(t)∣ dt\int_C f(x, y, z) \, ds = \int_a^b f(x(t), y(t), z(t)) |\mathbf{r}'(t)| \, dt

The line integral of a continuous scalar function f along a smooth space curve C parametrized by r(t) on [a, b] is the limit of Riemann sums weighted by arc length subsegments ds = |r'(t)| dt.

Conditions: C is smooth: r'(t) is continuous and non-zero; f is continuous along C

In plain words: If f = 1, computes the arc length of C; if f is mass density delta, computes total mass of thin wire C.

Remember — Integrates scalar distributions along one-dimensional curved paths in space.

Formula #2Sec 16.1

Center of Mass of a Curved Wire

M=∫Cδ ds,xˉ=1M∫Cxδ ds,yˉ=1M∫Cyδ ds,zˉ=1M∫Czδ dsM = \int_C \delta \, ds, \quad \bar{x} = \frac{1}{M}\int_C x\delta \, ds, \quad \bar{y} = \frac{1}{M}\int_C y\delta \, ds, \quad \bar{z} = \frac{1}{M}\int_C z\delta \, ds

The center of mass of a physical wire shaped along curve C with linear mass density delta is determined by normalized first moments with respect to arc length.

Conditions: delta >= 0; Total mass M > 0

In plain words: Computes physical balance coordinates for curved geometric filaments.

Remember — Directly extends planar and solid mass formulas to space curves.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 16.1, Exercise 1)

Warm-up

Problem. Evaluate int_C (x + y) ds where C is the upper semicircle x = cos(t), y = sin(t) for 0 <= t <= pi.

Step-by-Step Derivation (2 steps)

1

Compute Arc Length Differential ds

x′(t)=−sin⁡t,y′(t)=cos⁡t  ⟹  ds=(−sin⁡t)2+(cos⁡t)2 dt=1 dtx'(t) = -\sin t, \quad y'(t) = \cos t \implies ds = \sqrt{(-\sin t)^2 + (\cos t)^2} \, dt = 1 \, dt

Compute the speed along the unit circle.

Why this works: Finding the arc length differential.
2

Substitute Parametrization into Integrand

∫0π(cos⁡t+sin⁡t)(1 dt)=[sin⁡t−cos⁡t]0π=(sin⁡π−cos⁡π)−(sin⁡0−cos⁡0)=(0−(−1))−(0−1)=2\int_0^\pi (\cos t + \sin t)(1 \, dt) = [\sin t - \cos t]_0^\pi = (\sin\pi - \cos\pi) - (\sin 0 - \cos 0) = (0 - (-1)) - (0 - 1) = 2

Evaluate trigonometric antiderivative at pi and 0.

Why this works: Evaluating the definite integral.

Answer: 22

✓ Verified by SymPy CAS

Example 02(Section 16.1, Exercise 2)

Warm-up

Problem. Evaluate int_C xy ds where C is the line segment from (0, 0) to (3, 4).

Step-by-Step Derivation (2 steps)

1

Parametrize Line Segment

r(t)=⟨3t,4t⟩,0≤t≤1;ds=32+42 dt=5 dt\mathbf{r}(t) = \langle 3t, 4t \rangle, \quad 0 \le t \le 1; \quad ds = \sqrt{3^2 + 4^2} \, dt = 5 \, dt

Linear parametrization connecting origin to (3, 4).

Why this works: Parametrizing integration path.
2

Evaluate Definite Integral

∫01(3t)(4t)(5 dt)=60∫01t2 dt=60[t33]01=603=20\int_0^1 (3t)(4t)(5 \, dt) = 60 \int_0^1 t^2 \, dt = 60 \left[ \frac{t^3}{3} \right]_0^1 = \frac{60}{3} = 20

Substitute and integrate with respect to t.

Why this works: Evaluating total accumulated product.

Answer: 2020

✓ Verified by SymPy CAS

Example 03(Section 16.1, Exercise 3)

Core practice

Problem. Find the mass of a thin wire shaped like the circular helix r(t) = <cos(t), sin(t), t> for 0 <= t <= 2*pi with linear density delta(x, y, z) = z.

Step-by-Step Derivation (2 steps)

1

Compute Speed and Arc Length Differential

∣r′(t)∣=(−sin⁡t)2+(cos⁡t)2+12=1+1=2  ⟹  ds=2 dt|\mathbf{r}'(t)| = \sqrt{(-\sin t)^2 + (\cos t)^2 + 1^2} = \sqrt{1 + 1} = \sqrt{2} \implies ds = \sqrt{2} \, dt

Compute the norm of the velocity vector.

Why this works: Finding arc length scale factor.
2

Integrate Density Along the Helix

M=∫02πz ds=∫02πt(2 dt)=2[t22]02π=2(4π22)=22π2M = \int_0^{2\pi} z \, ds = \int_0^{2\pi} t (\sqrt{2} \, dt) = \sqrt{2} \left[ \frac{t^2}{2} \right]_0^{2\pi} = \sqrt{2} \left( \frac{4\pi^2}{2} \right) = 2\sqrt{2}\pi^2

Substitute z(t) = t and evaluate polynomial integral.

Why this works: Evaluating wire mass.

Answer: 22π22\sqrt{2}\pi^2

✓ Verified by SymPy CAS

Example 04(Section 16.1, Exercise 4)

Warm-up

Problem. Evaluate int_C (2x + y) ds where C consists of C_1 from (0, 0) to (1, 0) followed by C_2 from (1, 0) to (1, 2).

Step-by-Step Derivation (3 steps)

1

Evaluate Integral on Segment C_1

C1:y=0,  0≤x≤1,  ds=dx  ⟹  ∫C1(2x+0) dx=[x2]01=1C_1: y = 0, \; 0 \le x \le 1, \; ds = dx \implies \int_{C_1} (2x + 0) \, dx = \left[ x^2 \right]_0^1 = 1

Parametrize horizontal segment along x-axis.

Why this works: Integrating along first path segment.
2

Evaluate Integral on Segment C_2

C2:x=1,  0≤y≤2,  ds=dy  ⟹  ∫C2(2(1)+y) dy=[2y+y22]02=4+2=6C_2: x = 1, \; 0 \le y \le 2, \; ds = dy \implies \int_{C_2} (2(1) + y) \, dy = \left[ 2y + \frac{y^2}{2} \right]_0^2 = 4 + 2 = 6

Parametrize vertical segment.

Why this works: Integrating along second path segment.
3

Sum Segment Integrals

∫C(2x+y) ds=1+6=7\int_C (2x + y) \, ds = 1 + 6 = 7

Add contributions from both subpaths.

Why this works: Evaluating total piecewise line integral.

Answer: 77

✓ Verified by SymPy CAS

Example 05(Section 16.1, Exercise 5)

Core practice

Problem. Find the center of mass of a uniform semicircular wire of radius a = pi in the upper half-plane.

Step-by-Step Derivation (3 steps)

1

Compute Total Mass with Uniform Density delta = 1

M=∫C1 ds=πa=π(π)=π2M = \int_C 1 \, ds = \pi a = \pi(\pi) = \pi^2

The mass is the arc length of the semicircle.

Why this works: Finding total mass of wire.
2

Evaluate First Moment M_x and y_bar

Mx=∫0π(asin⁡t)(a dt)=a2[−cos⁡t]0π=2a2;yˉ=MxM=2a2πa=2aπM_x = \int_0^\pi (a\sin t)(a \, dt) = a^2 [-\cos t]_0^\pi = 2a^2; \quad \bar{y} = \frac{M_x}{M} = \frac{2a^2}{\pi a} = \frac{2a}{\pi}

Integrate y ds = a sin(t) a dt.

Why this works: Evaluating first moment and vertical balance point.
3

Substitute Numerical Radius a = pi

yˉ=2ππ=2;xˉ=0 by symmetry  ⟹  (0,2)\bar{y} = \frac{2\pi}{\pi} = 2; \quad \bar{x} = 0 \text{ by symmetry} \implies (0, 2)

Substitute a = pi to obtain center of mass (0, 2).

Why this works: Finalizing coordinates.

Answer: (0,2)(0, 2)

✓ Verified by SymPy CAS