In
Preview Activity 13.5.1, you approximated the distance traveled for various paths and multiplied by the density of the copium on each piece of the path. In contrast to the line integral of a vector field, the calculations of the ore mined does not depend on what direction the path was traveled. We will now use these same ideas to give precise meaning to the measurement of the acculumation of a scalar function’s output over a path in space.
Let
\(f\) be a contiunuous function of
\(x\text{,}\) \(y\text{,}\) and
\(z\) for some open set around
\(C\text{,}\) a curve from a point
\(P\) to a point
\(Q\text{.}\) We will begin to approximate the acculumlation of the output of
\(f\) over
\(C\) by breaking
\(C\) into pieces with boundary points
\(P=\vr_0, \vr_1, \dots, \vr_n-1, \vr_n=Q\text{.}\) The curve
\(C_i\) is the part of
\(C\) that goes from
\(\vr_{i-1}\) to
\(\vr_i\) and
\(\Delta \vr_i\) is the displacement vector from
\(\vr_{i-1}\) to
\(\vr_i\)
We can approximate the accumulation of \(f\) over \(C\) with the following sum
\begin{equation*}
\sum_{i=1}^{n} f(\vr_i^*) |{\vr_{i}-\vr_{i-1}}|\text{,}
\end{equation*}
where \(f(r_i^{*})\) is the output of \(f\) for some \(\vr_i^{*} \in C_i\text{.}\) As this sum uses more pieces and all of the lengths of the pieces goes to zero (i.e. \(|{\Delta \vr_i}| \rightarrow 0\)), we would expect that the sum will approach the actual acculumation of \(f\) over \(C\text{.}\) Notice that it won’t matter how we select the point \(\vr_i^*\) that is used in each piece to evaluate the output of \(f\) since evaluating the limit as the length of \(C_i\) gets smaller will ensure that the output value choosen will be within a shrinking error from the average value on each piece. Evaluating the limit of the sum above as the size of all of the pieces goes to zero will transform our Riemann sum into an integral that will measure the accumulation of the output of \(f\) over \(C\text{.}\)
Definition 13.5.5. The Line Integral of a Scalar Function.
Let \(C\) be a curve from a point \(P\) to a point \(Q\) in space. Let \(f\) be a contiunuous function of \(x\text{,}\) \(y\text{,}\) and \(z\) for some open set around \(C\text{.}\) The line integral of \(f\) over \(C\) is defined as
\begin{equation*}
\int_C f ds =\lim_{n\rightarrow \infty} \sum_{i=1}^{n} f(\vr_i^{*}) |{\vr_{i}-\vr_{i-1}}|
\end{equation*}
where \(\vr_i\) are points such that \(P=\vr_0, \vr_1, \dots, \vr_n-1, \vr_n=Q\) and as \(n\rightarrow \infty\) the distance between \(\vr_{i-1}\) and \(\vr_i\) goes to zero.
The integral
\begin{equation*}
\int_C f \, ds
\end{equation*}
is called the scalar line integral of \(f\) over the curve \(C\).
The notation for a scalar line integral (
\(\int_C f \, ds \)) may not immediately make sense. As with the other types of integration we have done (single variable integration, double integrals, line integrals of vector fields, etc.), the subscript of the integral symbol denotes the region of integration. In the case of a scalar line integral, the region of integration is a collection of points given by a curve in space. The function we are integrating is
\(f\text{,}\) a scalar-valued functiton of multiple variables. The differential
\(ds\) may seem unusual to you. If you remember from
Section 10.3,
\(s\) is the arc length of a curve in space. So the differential
\(ds\) in the scalar line integral notation means that we are adding up the output of
\(f\) over steps in arc length. This should make sense in terms of how we set up our Riemann sums. We did not set up the pieces of our curve as steps in
\(x\text{,}\) \(y\text{,}\) or
\(z\text{,}\) but rather as steps in arc length (estimated by
\(|{\vr_{i+1}-\vr_{i}}|\)). This may feel similar to situations such as double integrals, where we generically used
\(dA\) for the differential, but the different contexts called for different values of
\(dA\text{.}\) For instance, in polar coordinates, we use
\(dA = r\, dr\, d\theta\)