MULTIVARIABLE CALCULUS 10
Line Integrals
A line integral accumulates a quantity along a curve rather than across an interval, area or volume.
The main idea
An ordinary integral accumulates along a straight interval:
\[ \int_a^b f(x)\,dx. \]A line integral allows the path itself to be curved.
Here \(C\) represents the curve and \(ds\) represents a small distance along that curve.
1. From an interval to a curve
In one-variable integration, a small contribution has the form
\[ f(x)\,dx. \]Along a curve, the corresponding contribution is
\[ f\,ds. \]So the total accumulation is obtained by adding contributions along the entire path.
2. Parameterising a curve
A curve can be described using a parameter \(t\):
\[ \mathbf{r}(t) = \begin{pmatrix} x(t)\\ y(t) \end{pmatrix}, \qquad a\le t\le b. \]As \(t\) changes, the point
\[ (x(t),y(t)) \]moves along the curve.
3. Arc-length element
A small displacement along the curve is
\[ d\mathbf{r} = \begin{pmatrix} dx\\ dy \end{pmatrix}. \]Its length is
\[ ds = \sqrt{dx^2+dy^2}. \]If the curve is parameterised by \(t\), then
4. Scalar line integral
For a scalar field
\[ f(x,y), \]the line integral along \(C\) is
5. Simple example
Let \(C\) be the straight line
\[ \mathbf{r}(t) = \begin{pmatrix} t\\ t \end{pmatrix}, \qquad 0\le t\le1. \]Suppose
\[ f(x,y)=x+y. \]Along the curve,
\[ f(t,t)=2t. \]6. Find \(ds\)
We have
\[ \mathbf{r}'(t) = \begin{pmatrix} 1\\ 1 \end{pmatrix}. \]Therefore,
\[ \|\mathbf{r}'(t)\| = \sqrt{1^2+1^2} = \sqrt2. \]So
\[ ds=\sqrt2\,dt. \]7. Evaluate the integral
Therefore,
\[ \int_C f\,ds = \int_0^1 2t\sqrt2\,dt. \]So
\[ = \sqrt2[t^2]_0^1. \]Hence,
8. Physical interpretation: mass of a wire
Suppose a thin wire follows a curve \(C\) and has linear density
\[ \rho(x,y). \]A small piece of length \(ds\) has approximate mass
\[ dm=\rho\,ds. \]Therefore, the total mass is
9. Vector line integrals
Line integrals can also involve vector fields.
Let
\[ \mathbf{F}(x,y) = \begin{pmatrix} P(x,y)\\ Q(x,y) \end{pmatrix}. \]Then the line integral
measures how strongly the vector field acts along the direction of the path.
10. Parameter form
Since
\[ d\mathbf{r} = \mathbf{r}'(t)\,dt, \]we have
11. Why the dot product appears
The vector field may not point in exactly the same direction as the path.
The dot product extracts the component of the field acting along the direction of movement.
12. Work done by a force field
Suppose \(\mathbf{F}\) represents a force and an object moves along a path \(C\).
Then the work done is
Only the component of the force in the direction of movement contributes to work.
13. Simple vector-field example
Let
\[ \mathbf{F}(x,y) = \begin{pmatrix} x\\ y \end{pmatrix} \]and let
\[ \mathbf{r}(t) = \begin{pmatrix} t\\ t \end{pmatrix}, \qquad 0\le t\le1. \]Along the path,
\[ \mathbf{F}(\mathbf{r}(t)) = \begin{pmatrix} t\\ t \end{pmatrix}. \]Also,
\[ \mathbf{r}'(t) = \begin{pmatrix} 1\\ 1 \end{pmatrix}. \]14. Calculate the dot product
Then
\[ \mathbf{F}\cdot\mathbf{r}' = t+t = 2t. \]Therefore,
\[ \int_C \mathbf{F}\cdot d\mathbf{r} = \int_0^1 2t\,dt. \]So
\[ \boxed{ \int_C \mathbf{F}\cdot d\mathbf{r} = 1 } \]15. Diagram
16. Direction matters for vector line integrals
For
\[ \int_C \mathbf{F}\cdot d\mathbf{r}, \]reversing the direction of the path changes the sign:
This is because the displacement vector \(d\mathbf{r}\) reverses direction.
17. Scalar line integrals behave differently
For a scalar line integral
\[ \int_C f\,ds, \]the element \(ds\) represents distance and is nonnegative.
So reversing the path does not change the value:
\[ \boxed{ \int_{-C}f\,ds = \int_Cf\,ds } \]18. Conservative vector fields
Suppose
\[ \mathbf{F}=\nabla\phi. \]Then \(\mathbf{F}\) is a conservative vector field.
For such a field,
where \(A\) and \(B\) are the starting and ending points of the path.
19. Why this is important
For a conservative field, the line integral depends only on the endpoints, not on the particular path taken between them.
20. Closed curves
If the path begins and ends at the same point, it is called a closed curve.
The notation
\[ \oint_C \]is often used for an integral around a closed curve.
For a conservative field,
\[ \boxed{ \oint_C \mathbf{F}\cdot d\mathbf{r} = 0 } \]21. The fundamental theorem for line integrals
If
\[ \mathbf{F}=\nabla\phi, \]then
This is the multivariable analogue of
\[ \int_a^b F'(x)\,dx = F(b)-F(a). \]So the Fundamental Theorem of Calculus extends naturally to curves and gradient fields.
22. Scalar and vector line integrals
23. The central idea
Line integrals extend integration from straight intervals to curved paths.
They connect geometry, vector fields, motion and accumulation in a single calculus framework.