Skip to main content

Section 3.19 IM1: Line Integrals of Scalar-Valued Functions

Handout IM1: Lecture Scaffold

Motivation: Line Integrals.

Definition 3.19.1.

If \(f\) is defined on a curve \(C\) given parametrically by \(\vec{r}(t)=g(t)\vec{i}+h(t)\vec{j}+k(t)\vec{k}\text{,}\) then the line integral of \(f\) over \(C\) is:
\begin{equation*} \int_Cf(x,y,z)ds=\lim_{n\to\infty}\Sum f(x_k,y_k,z_k)\Delta s_k, \end{equation*}
provided the limit exists.
Assuming that the curve is differentiable, then we have the following relationship between the arc-length function and derivatives:
\begin{align*} s(t)= \amp \int_a^t|\vec{r}'(t)|d\tau \\ ds= \amp |\vec{r}'(t)|dt \end{align*}
so this integral is computed via:
\begin{equation*} \int_Cf(x,y,z)ds=\int_a^bf(g(t),h(t),k(t))|\vec{r}'(t)|\ dt \end{equation*}

Example 3.19.2.

Integrate \(f(x,y,z)=x-3y^2+z\) over the line segment \(C\) joining the origin to the point \((1,1,1)\text{.}\)

Additivity.

Often, our curve can be broken up into smaller curves and it makes sense to evaluate the integrals separately. This property is referred to as additivity.

Example 3.19.3.

Let \(C_1\) and \(C_2\) be the parametric curves described by:
\begin{align*} \vec{r}_1(t)= \amp \langle t,t,0\rangle ,\ 0\leq t\leq 1\\ \vec{r}_2(t)= \amp \langle 1,1,t\rangle ,\ 0\leq t\leq 1 \end{align*}
Integrate \(f=x-3y^2+z\) over \(C_1\cup C_2\text{.}\)

Problem 3.19.4 IM1 Representative Assessment.

Let \(f(x,y,z)=x+\sqrt{y}-z^2\) and \(C_1,C_2\) be the parametric curves given by:
\begin{align*} \vec{r}_1(t)= \amp \langle t,t^2,0\rangle ,\ 0\leq t\leq 1\\ \vec{r}_2(t)= \amp \langle 1,1,t\rangle ,\ 0\leq t\leq 1 \end{align*}

(a)

Explain and demonstrate how to evaluate \(\int_Cfds\) where \(C\) traverses \(C_1\) and then \(C_2\text{.}\)
Solution.
To evaluate \(\int_C f \, ds\) over \(C = C_1 \cup C_2\text{,}\) we compute the line integrals along \(C_1\) and \(C_2\) separately and add the results together:
\begin{gather*} \int_C f \, ds = \int_{C_1} f \, ds + \int_{C_2} f \, ds \end{gather*}
Start by integrating over \(C_1\text{.}\)
On \(C_1\text{,}\) we have \(\vec{r}_1(t) = \langle t, t^2, 0 \rangle\) for \(0 \leq t \leq 1\text{.}\) Thus, \(x = t\text{,}\) \(y = t^2\text{,}\) and \(z = 0\text{.}\)
Evaluating the function along \(C_1\text{:}\)
\begin{gather*} f(\vec{r}_1(t)) = t + \sqrt{t^2} - 0^2 = t + t = 2t \end{gather*}
The velocity vector is \(\vec{r}_1'(t) = \langle 1, 2t, 0 \rangle\text{,}\) so:
\begin{gather*} ds = |\vec{r}_1'(t)| \, dt = \sqrt{1^2 + (2t)^2 + 0^2} \, dt = \sqrt{1 + 4t^2} \, dt \end{gather*}
Setting up and evaluating the integral using \(u\)-substitution with \(u = 1 + 4t^2\) (\(du = 8t \, dt\)):
\begin{align*} \int_{C_1} f \, ds \amp = \int_0^1 2t \sqrt{1 + 4t^2} \, dt\\ \amp = \frac{1}{4} \int_0^1 \sqrt{1 + 4t^2} \, (8t \, dt)\\ \amp = \left[ \frac{1}{4} \cdot \frac{2}{3} (1 + 4t^2)^{3/2} \right]_0^1\\ \amp = \frac{1}{6} \left( 5^{3/2} - 1 \right) = \frac{5\sqrt{5} - 1}{6} \end{align*}
On \(C_2\text{,}\) we have \(\vec{r}_2(t) = \langle 1, 1, t \rangle\) for \(0 \leq t \leq 1\text{.}\) Thus, \(x = 1\text{,}\) \(y = 1\text{,}\) and \(z = t\text{.}\)
Evaluating the function along \(C_2\text{:}\)
\begin{gather*} f(\vec{r}_2(t)) = 1 + \sqrt{1} - t^2 = 2 - t^2 \end{gather*}
The velocity vector is \(\vec{r}_2'(t) = \langle 0, 0, 1 \rangle\text{,}\) so:
\begin{gather*} ds = |\vec{r}_2'(t)| \, dt = \sqrt{0^2 + 0^2 + 1^2} \, dt = dt \end{gather*}
Evaluating the integral:
\begin{align*} \int_{C_2} f \, ds \amp = \int_0^1 (2 - t^2) \, dt\\ \amp = \left[ 2t - \frac{t^3}{3} \right]_0^1 = 2 - \frac{1}{3} = \frac{5}{3} \end{align*}
Combining both parts gives:
\begin{gather*} \int_C f \, ds = \frac{5\sqrt{5} - 1}{6} + \frac{5}{3} = \frac{5\sqrt{5} + 9}{6} \end{gather*}