Course contentsShow
← Mathematics
Lesson 1974 of 3,12142. Vector CalculusFree lesson

Computing Line Integrals of Scalar Functions

Evaluate line integrals of scalar functions over parametrized curves using substitution and arc length element.

Computing Line Integrals of Scalar Functions

You'll learn how to evaluate line integrals of scalar functions along curves by converting them into single-variable integrals using parametrization.

The Core Idea

A line integral of a scalar function measures the "accumulated effect" of a function along a curve—imagine summing up temperature values along a winding mountain path, weighted by distance traveled. Unlike ordinary integrals over intervals, line integrals follow curves in 2D or 3D space.

To compute a line integral of a scalar function f along a curve C, you need three ingredients:

  1. A parametrization of the curve: r(t) = (x(t), y(t)) or r(t) = (x(t), y(t), z(t)) for some interval a ≤ t ≤ b
  2. The scalar function f evaluated along the curve
  3. The arc length element ds, which measures tiny distances along the curve

The Formula

The line integral of f along curve C is:

∫Cf ds=∫abf(r(t))⋅∣∣r′(t)∣∣ dt\int_C f \, ds = \int_a^b f(r(t)) \cdot ||r'(t)|| \, dt

Here, ||r'(t)|| is the magnitude of the velocity vector (the arc length element), and f(r(t)) substitutes the parametric equations into f.

How It Works

Think of walking along a path: at each instant t, you multiply the function's value at that location by the speed you're moving (||r'(t)||), then sum over time. This converts a path integral into a familiar single-variable integral.

Example: To integrate f(x,y) = x + y along the line from (0,0) to (1,1), parametrize as r(t) = (t, t) for 0 ≤ t ≤ 1. Then r'(t) = (1,1), so ||r'(t)|| = √2, and the integral becomes ∫₀¹ (t + t)√2 dt = 2√2.

Key Takeaway: To compute a line integral of a scalar function, parametrize the curve, substitute into the function, multiply by the speed ||r'(t)||, and integrate over the parameter interval.