next up previous
Next: Vector Line Integrals Up: Vector Algebra and Vector Previous: Vector Calculus

Line Integrals

Consider a two-dimensional function $f(x,y)$ which is defined for all $x$ and $y$. What is meant by the integral of $f$ along a given curve joining the points $P$ and $Q$ in the $x$-$y$ plane? Well, we first draw out $f$ as a function of length $l$ along the path--see Figure A.107. The integral is then simply given by
\begin{displaymath}
\int_{P}^Q f(x,y)\,dl = {\rm Area~under~the~curve},
\end{displaymath} (1326)

where $dl=\sqrt{dx^2+dy^2}$.

Figure A.107: A line integral.
\begin{figure}
\epsfysize =2.in
\centerline{\epsffile{AppendixA/figA.10.eps}}
\end{figure}

As an example of this, consider the integral of $f(x,y)= x\,y^2$ between $P$ and $Q$ along the two routes indicated in Figure A.108. Along route 1 we have $x=y$, so $dl= \sqrt{2}\, dx$. Thus,

\begin{displaymath}
\int_P^Q x\,y^2\,dl = \int_0^1 x^3\,\sqrt{2} \,dx = \frac{\sqrt{2}}{4}.
\end{displaymath} (1327)

The integration along route 2 gives
$\displaystyle \int_P^Q x\,y^2\,dl$ $\textstyle =$ $\displaystyle \left.\int_0^1 x\,y^2\,dx\right\vert _{y=0}+\left.\int_0^1 x\,y^2 \,dy
\right\vert _{x=1}$  
  $\textstyle =$ $\displaystyle 0 + \int_0^1 y^2\,dy = \frac{1}{3}.$ (1328)

Note that the integral depends on the route taken between the initial and final points.

Figure A.108: An example line integral.
\begin{figure}
\epsfysize =1.75in
\centerline{\epsffile{AppendixA/figA.11.eps}}
\end{figure}

The most common type of line integral is that in which the contributions from $dx$ and $dy$ are evaluated separately, rather that through the path length $dl$: i.e.,

\begin{displaymath}
\int_P^Q \left[ f(x,y)\,dx + g(x,y)\,dy\right].
\end{displaymath} (1329)

As an example of this, consider the integral
\begin{displaymath}
\int_P^Q \left[ y\,dx + x^3\,dy\right]
\end{displaymath} (1330)

along the two routes indicated in Figure A.109. Along route 1 we have $x=y+1$ and $dx=dy$, so
\begin{displaymath}
\int_P^Q \left[ y\,dx + x^3\,dy\right]= \int_{0}^1\left[y\,dy + (y+1)^3\,dy\right] = \frac{17}{4}.
\end{displaymath} (1331)

Along route 2,
\begin{displaymath}
\int_P^Q \left[ y\,dx + x^3\,dy\right]= \left.\int_0^1 x^3\,...
..._{x=1} + \left.\int_1^2 y\,dx\right\vert _{y=1} = \frac{7}{4}.
\end{displaymath} (1332)

Again, the integral depends on the path of integration.

Figure A.109: An example line integral.
\begin{figure}
\epsfysize =1.75in
\centerline{\epsffile{AppendixA/figA.12.eps}}
\end{figure}

Suppose that we have a line integral which does not depend on the path of integration. It follows that

\begin{displaymath}
\int_P^Q \left(f\,dx + g\,dy\right) = F(Q) - F(P)
\end{displaymath} (1333)

for some function $F$. Given $F(P)$ for one point $P$ in the $x$-$y$ plane, then
\begin{displaymath}
F(Q) = F(P) + \int_P^Q \left(f\,dx + g\,dy\right)
\end{displaymath} (1334)

defines $F(Q)$ for all other points in the plane. We can then draw a contour map of $F(x,y)$. The line integral between points $P$ and $Q$ is simply the change in height in the contour map between these two points:
\begin{displaymath}
\int_P^Q \left(f\,dx + g\,dy\right) = \int_P^Q dF(x,y) = F(Q) - F(P).
\end{displaymath} (1335)

Thus,
\begin{displaymath}
dF(x,y) = f(x,y)\,dx + g(x,y)\,dy.
\end{displaymath} (1336)

For instance, if $F=x^3\,y$ then $dF= 3\,x^2\,y\,dx + x^3\,dy$ and
\begin{displaymath}
\int_P^Q \left(3\,x^2\,y\,dx + x^3\,dy\right) = \left[x^3\,y\right]_P^Q
\end{displaymath} (1337)

is independent of the path of integration.

It is clear that there are two distinct types of line integral. Those which depend only on their endpoints and not on the path of integration, and those which depend both on their endpoints and the integration path. Later on, we shall learn how to distinguish between these two types (see Section A.15).


next up previous
Next: Vector Line Integrals Up: Vector Algebra and Vector Previous: Vector Calculus
Richard Fitzpatrick 2011-03-31