01 / 21

Fundamental Theorem
for Line Integrals

Learn how conservative vector fields let you evaluate line integrals using only the endpoints of a curve: no parameterization needed.

Calculus 3

What Is a Line Integral?

A line integral measures the accumulated effect of a vector field along a curve. If \(\mathbf{F}\) is a vector field and \(C\) is a smooth curve from point \(A\) to point \(B\), the line integral is:

In general, computing this requires parameterizing the curve and evaluating the integral. But when the field is conservative, there is a powerful shortcut.

Conservative Vector Fields

A vector field \(\mathbf{F}\) is called conservative if there exists a scalar function \(f\) such that:

Gravity
Gravitational force is conservative: potential energy is the potential function.
Path Independence
The integral depends only on endpoints, not which path you take.

Visual Intuition

f=1 f=2 f=3 f=4 Path 1 Path 2 A B Both paths give the same integral: f(B) − f(A)

The Fundamental Theorem

This is the multi-variable analogue of the single-variable Fundamental Theorem of Calculus: \(\int_a^b F'(x)\,dx = F(b) - F(a)\). Instead of antiderivatives, we use potential functions.

Three Key Consequences

1
Path independence: For a conservative field, the value of \(\int_C \mathbf{F}\cdot d\mathbf{r}\) is the same for every smooth curve \(C\) sharing the same endpoints.
2
Closed-loop integral is zero: If \(C\) is a closed curve (start = end), then \(\oint_C \nabla f \cdot d\mathbf{r} = 0\).
3
No parameterization needed: You only need the potential function \(f\) and the two endpoint coordinates to evaluate the integral.

FTC vs FTLI

Single-Variable FTC Line Integral FT
Setting \(\mathbb{R}^1\) \(\mathbb{R}^2\) or \(\mathbb{R}^3\)
Integrand \(F'(x)\) \(\nabla f \cdot d\mathbf{r}\)
Result \(F(b) - F(a)\) \(f(\mathbf{r}(b)) - f(\mathbf{r}(a))\)
Path Interval \([a,b]\) Any smooth curve \(C\)
Requirement \(F'\) continuous \(\mathbf{F} = \nabla f\) (conservative)

Is \(\mathbf{F}\) Conservative?

Before applying the theorem, verify that \(\mathbf{F} = \langle P, Q \rangle\) is conservative. In \(\mathbb{R}^2\) on a simply connected domain:

✓ Conservative
\(\langle 2x,\, 2y \rangle\): \(\frac{\partial}{\partial y}(2x) = 0 = \frac{\partial}{\partial x}(2y)\)
✕ Not Conservative
\(\langle -y,\, x \rangle\): \(\frac{\partial}{\partial y}(-y) = -1 \neq 1 = \frac{\partial}{\partial x}(x)\)

How to Apply the Theorem

1
Verify conservative: Check \(\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}\) (or \(\operatorname{curl}\,\mathbf{F} = \mathbf{0}\) in 3D).
2
Find the potential function \(f\): Integrate \(P\) with respect to \(x\), then determine the "constant" function of \(y\) by comparing with \(Q\).
3
Identify endpoints: Determine the starting point \(\mathbf{r}(a)\) and ending point \(\mathbf{r}(b)\) of the curve \(C\).
4
Evaluate: Compute \(f\bigl(\mathbf{r}(b)\bigr) - f\bigl(\mathbf{r}(a)\bigr)\). Done: no parameterization needed.

Example 1: Basic 2D

Evaluate \(\int_C \mathbf{F}\cdot d\mathbf{r}\) where \(\mathbf{F} = \langle 2xy,\, x^2 \rangle\) and \(C\) is any path from \((1, 0)\) to \((3, 2)\).

1
Check conservative: \(\frac{\partial}{\partial y}(2xy) = 2x\) and \(\frac{\partial}{\partial x}(x^2) = 2x\). ✓ Equal
2
Find \(f\): \(\int 2xy\, dx = x^2 y + g(y)\). Then \(\frac{\partial f}{\partial y} = x^2 + g'(y) = x^2\), so \(g'(y) = 0\) and \(f = x^2 y\).
3
Evaluate: \(f(3, 2) - f(1, 0) = (9)(2) - (1)(0) = \) 18

Example 1: Visualized

x y 1 2 3 4 1 2 3 C Alt path (1, 0) (3, 2) f(3,2) − f(1,0) = 18 − 0 = 18

Example 2: 3D Field

Evaluate \(\int_C \mathbf{F}\cdot d\mathbf{r}\) where \(\mathbf{F} = \langle yz,\, xz,\, xy \rangle\) and \(C\) goes from \((1,1,1)\) to \((2,3,4)\).

1
Verify: \(\operatorname{curl}\,\mathbf{F} = \langle x - x,\, y - y,\, z - z \rangle = \mathbf{0}\). ✓ Conservative
2
Find \(f\): \(\int yz\, dx = xyz + g(y,z)\). Check: \(\frac{\partial f}{\partial y} = xz + g_y = xz\), so \(g_y = 0\). Similarly \(g_z = 0\). Thus \(f = xyz\).
3
Evaluate: \(f(2,3,4) - f(1,1,1) = 24 - 1 = \) 23

Example 3: Finding \(f\) with \(g(y)\)

Let \(\mathbf{F} = \langle 2x + y,\, x + 3y^2 \rangle\). Find \(f\), then evaluate the integral from \((0,0)\) to \((1,2)\).

1
Check: \(\frac{\partial P}{\partial y} = 1\) and \(\frac{\partial Q}{\partial x} = 1\). ✓ Conservative
2
Integrate \(P\): \(f = \int (2x+y)\,dx = x^2 + xy + g(y)\).
3
Determine \(g(y)\): \(\frac{\partial f}{\partial y} = x + g'(y) = x + 3y^2\), so \(g'(y) = 3y^2\) and \(g(y) = y^3\).
4
Result: \(f = x^2 + xy + y^3\). Answer: \(f(1,2) - f(0,0) = 1 + 2 + 8 = \) 11

Closed Curves and Zero Integrals

A = B Start = End f(A) − f(A) = 0 C

Common Mistakes

✕ Forgetting to Check Conservative
Applying the theorem to a non-conservative field gives a wrong answer. Always verify \(\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}\) first.
✕ Wrong Endpoint Order
The result is \(f(\text{end}) - f(\text{start})\), not the reverse. Swapping endpoints flips the sign.
✕ Dropping \(g(y)\)
When finding \(f\), the "constant" of integration is a function of the other variable. Forgetting \(g(y)\) gives an incomplete potential function.

Summary at a Glance

Concept Key Fact
Conservative field \(\mathbf{F} = \nabla f\) for some scalar \(f\)
Test (2D) \(\frac{\partial P}{\partial y} = \frac{\partial Q}{\partial x}\)
Test (3D) \(\operatorname{curl}\,\mathbf{F} = \mathbf{0}\)
FTLI formula \(\int_C \nabla f \cdot d\mathbf{r} = f(B) - f(A)\)
Closed curve \(\oint_C \nabla f \cdot d\mathbf{r} = 0\)
Path independence All paths with same endpoints give same value

Question 1 of 5

If \(\mathbf{F} = \nabla f\) and \(C\) is a smooth curve from \(A\) to \(B\), then \(\int_C \mathbf{F}\cdot d\mathbf{r}\) equals:

Question 2 of 5

Which condition guarantees that \(\mathbf{F} = \langle P, Q \rangle\) is conservative on a simply connected domain in \(\mathbb{R}^2\)?

Question 3 of 5

Let \(\mathbf{F} = \langle 2xy + 1,\, x^2 \rangle\). If the potential function is \(f(x,y) = x^2y + x\), what is \(\int_C \mathbf{F}\cdot d\mathbf{r}\) from \((0,0)\) to \((2,3)\)?

Question 4 of 5

If \(C\) is a closed curve and \(\mathbf{F}\) is a conservative vector field, what is \(\oint_C \mathbf{F}\cdot d\mathbf{r}\)?

Question 5 of 5

Given \(\mathbf{F} = \langle yz,\, xz,\, xy \rangle\) and \(f = xyz\), what is \(\int_C \mathbf{F}\cdot d\mathbf{r}\) from \((0,0,0)\) to \((1,2,3)\)?