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

Line Integrals with Respect to x, y, or z

Compute line integrals of the form ∫f dx, ∫g dy, or ∫h dz over curves in space.

Line Integrals with Respect to x, y, or z

You'll learn how to integrate a scalar function along a curve, but now with respect to individual coordinate directions rather than arc length.

The Core Idea

In the previous lesson, you learned to compute line integrals of the form ∫_C f ds, where ds represents a tiny arc-length element. Now we break apart that motion into its coordinate components: ∫_C f dx, ∫_C g dy, or ∫_C h dz.

Think of it this way: when you walk along a winding path, your total distance traveled differs from your horizontal displacement. A line integral with respect to x measures only how your function accumulates in the x-direction as you move along the curve, ignoring vertical or other movements.

Setting Up the Integral

Given a parametric curve r(t) = ⟨x(t), y(t), z(t)⟩ for t ∈ [a, b]:

  • ∫_C f dx = ∫ₐᵇ f(x(t), y(t), z(t)) · (dx/dt) dt
  • ∫_C g dy = ∫ₐᵇ g(x(t), y(t), z(t)) · (dy/dt) dt
  • ∫_C h dz = ∫ₐᵇ h(x(t), y(t), z(t)) · (dz/dt) dt

The key: substitute the parametric equations into your function, then multiply by the derivative of the specific coordinate variable.

Example

Compute ∫_C y dx along the curve r(t) = ⟨t², t⟩ from t = 0 to t = 1.

Here f(x,y) = y, x(t) = t², y(t) = t, and dx/dt = 2t.

∫_C y dx = ∫₀¹ (t)(2t) dt = ∫₀¹ 2t² dt = [2t³/3]₀¹ = 2/3

Key Takeaway: Line integrals with respect to x, y, or z isolate the contribution along one coordinate direction by multiplying the function value by the rate of change of that coordinate (dx/dt, dy/dt, or dz/dt).