UNIHIVE

Study Hub UNIPORT MTH 224

MTH 224 · Mathematical Methods 1

Line integrals

Integrating along a curve, work done by a force, and path independence.

Our notes

2 min read

The idea

An ordinary integral adds along the x-axis. A line integral adds along a curve C.

Scalar line integral

With C given by x(t), y(t), for a ≤ t ≤ b:

∫_C f ds = ∫ₐᵇ f(x(t), y(t)) √[(dx/dt)² + (dy/dt)²] dt

Example: f = x + y along the straight line from (0, 0) to (3, 4). Let x = 3t, y = 4t, 0 ≤ t ≤ 1. Then ds = 5 dt.

∫₀¹ (3t + 4t)5 dt = 35∫₀¹ t dt = 17.5.

Check: the mean of f along the line is (0 + 7)/2 = 3.5, and the length is 5. So 3.5 × 5 = 17.5. Correct.

Line integrals in a field

For a force field F = (P, Q), the work along C is:

W = ∫_C P dx + Q dy

Example: F = (y, x), along y = x² from (0, 0) to (1, 1). Let x = t, y = t².

  • dx = dt, dy = 2t dt
  • W = ∫₀¹ (t² · 1 + t · 2t) dt = ∫₀¹ 3t² dt = 1

Along the straight line y = x, from (0, 0) to (1, 1): x = y = t, and W = ∫₀¹ (t + t) dt = 1. The same. This is no accident.

Direction matters

Reversing the direction changes the sign of ∫P dx + Q dy. It does not change ∫f ds.

Conservative fields and path independence

F = (P, Q) is conservative if F = ∇φ for some potential φ. Then:

∫_C F · dr = φ(end) − φ(start)

Test on a simple region: P_y = Qₓ.

In the example above, P = y and Q = x, so P_y = 1 = Qₓ. It is conservative, with φ = xy. The work = 1 × 1 − 0 = 1. That explains why both paths gave the same answer.

Non-conservative example

F = (−y, x), around the unit circle counterclockwise: x = cos t, y = sin t.

W = ∫₀^(2π) (sin²t + cos²t) dt = 2π.

The closed-path total is not zero, so the field is not conservative. Here, P_y = −1 and Qₓ = 1, which agrees.

Green's theorem

For a closed curve C around a region R, counterclockwise:

∮_C P dx + Q dy = ∬_R (Qₓ − P_y) dA

Check with the example above: Qₓ − P_y = 2, and the area is π. So 2π. Correct.

Where they appear

  • Physics: work by gravity and electric forces; gravity is conservative, so only height change matters.
  • Electricity: Ampère's law relates ∮B · dl to the current enclosed.
  • Fluids: flow around a closed loop.
  • Thermodynamics: heat and work depend on path, but internal energy does not.

Exams usually ask: evaluate a line integral along a given curve; test whether a field is conservative and find φ; use Green's theorem to check.

Common mistake: leaving ds out, or replacing ds with dt. Always include the factor √[(dx/dt)² + (dy/dt)²].

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 224 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.