Line Integrals
Vector Fields
Learn how to compute the work done by a vector field along a curve using line integrals: the bridge between calculus and physics.
What Is a Line Integral?
A line integral extends ordinary integration from intervals on the number line to curves in space. Instead of integrating over \([a,b]\), you integrate along a path \(C\).
Quick Recap: Vector Fields
A vector field assigns a vector to every point in space. In 2D:
Physical Intuition: Work
In physics, work done by a constant force \(\mathbf{F}\) over a displacement \(\mathbf{d}\) is \(W = \mathbf{F} \cdot \mathbf{d}\). But what if the force varies and the path curves?
The Definition
Equivalent Notations
You will see the same integral written in several ways. They all mean the same thing:
Scalar vs. Vector Line Integrals
| Scalar: \(\int_C f\,ds\) | Vector: \(\int_C \mathbf{F}\cdot d\mathbf{r}\) | |
|---|---|---|
| Integrand | Scalar function \(f(x,y)\) | Vector field \(\mathbf{F}(x,y)\) |
| Differential | \(ds = \|\mathbf{r}'(t)\|\,dt\) | \(d\mathbf{r} = \mathbf{r}'(t)\,dt\) |
| Orientation | Does not depend on direction | Depends on direction: reversing \(C\) flips sign |
| Result | Total "mass" or "arc-length weight" | Work done by the field |
Orientation Matters
How to Compute the Integral
Example 1: Line Segment
Compute \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r}\) where \(\mathbf{F}(x,y)=\langle y,\, x\rangle\) and \(C\) is the segment from \((0,0)\) to \((1,2)\).
Example 1: Visualised
Example 2: Circular Path
Compute \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r}\) where \(\mathbf{F}(x,y)=\langle -y,\, x\rangle\) and \(C\) is the unit circle traversed counter-clockwise.
Example 2: Visualised
Example 3: Piecewise Path
Compute \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r}\) for \(\mathbf{F}=\langle x^2, xy\rangle\) along the path from \((0,0)\) to \((1,0)\) to \((1,1)\).
\(\mathbf{F}=\langle t^2,0\rangle\), \(\mathbf{r}'=\langle 1,0\rangle\).
Integral: \(\displaystyle\int_0^1 t^2\,dt = \frac{1}{3}\).
\(\mathbf{F}=\langle 1, t\rangle\), \(\mathbf{r}'=\langle 0,1\rangle\).
Integral: \(\displaystyle\int_0^1 t\,dt = \frac{1}{2}\).
Common Mistakes
Quick-Reference Summary
| Concept | Key Formula / Fact |
|---|---|
| Definition | \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r} = \int_a^b \mathbf{F}(\mathbf{r}(t))\cdot\mathbf{r}'(t)\,dt\) |
| Component form | \(\displaystyle\int_C P\,dx + Q\,dy\) |
| Orientation | \(\displaystyle\int_{-C}\mathbf{F}\cdot d\mathbf{r} = -\int_C \mathbf{F}\cdot d\mathbf{r}\) |
| Piecewise paths | \(\displaystyle\int_{C_1+C_2} = \int_{C_1} + \int_{C_2}\) |
| Physical meaning | Work done by \(\mathbf{F}\) along \(C\) |
Question 1 of 5
Let \(\mathbf{F}(x,y)=\langle 2x,\, 3y\rangle\) and \(C\) be the line segment from \((0,0)\) to \((1,1)\), parameterised as \(\mathbf{r}(t)=\langle t,t\rangle\). What is \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r}\)?
Question 2 of 5
If \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r} = 7\), what is \(\displaystyle\int_{-C} \mathbf{F}\cdot d\mathbf{r}\)?
Question 3 of 5
Which differential do you use in a vector field line integral?
Question 4 of 5
Let \(\mathbf{F}=\langle y,\, 0\rangle\) and \(C\) be the upper half of the unit circle from \((1,0)\) to \((-1,0)\). Parameterise as \(\mathbf{r}(t)=\langle \cos t, \sin t\rangle\), \(0\leq t\leq \pi\). What is \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r}\)?
Question 5 of 5
You need to evaluate \(\displaystyle\int_C \mathbf{F}\cdot d\mathbf{r}\) where \(C = C_1 + C_2\). If \(\displaystyle\int_{C_1}\mathbf{F}\cdot d\mathbf{r}=3\) and \(\displaystyle\int_{C_2}\mathbf{F}\cdot d\mathbf{r}=-1\), what is the total?