web analytics
Skip to main content

Section 7.3 Integrals of a Scalar Function

We may consider a curve as a deformed interval. We know how to integrate a function over an interval. In this section we want to learn how to integrate functions defined on a deformed interval, that is, on a curve. Denote the curve by \(C\text{,}\) and assume that a function, \(f\text{,}\) with values in \(\mathbb R\) is defined on \(C\text{.}\) If \(P\) is a point on the curve, denote by \(s=s(P)\) the distance measured along the curve from one end of the curve to \(P\text{.}\) Suppose that the total length of the curve is \(L\text{.}\) The function \(f\) is now only a function of \(s\text{.}\) Hence we may look at \(f\) as a function on the interval \([0,L]\) and define
\begin{equation*} \int_Cf\,ds:=\int_0^Lf(s)\,ds\text{.} \end{equation*}
Now suppose that \(C\) is a smooth curve, and that \(\vect\gamma(t)\text{,}\) \(t\in[a,b]\text{,}\) is a regular parametrisation of \(C\text{.}\) As \(\vect\gamma\) is a regular parametrisation, every point, \(P\in C\text{,}\) has a representation \(\gamma(t)\) for a unique \(t\in[a,b]\) (recall that a parametrisation is one-to-one by definition). According to Proposition 7.8 the length of the curve between \(\vect\gamma(a)\) and \(\vect\gamma(t)=P\) is given by
\begin{equation*} s(t)=\int_a^t\|\vect\gamma'(\tau)\|\,d\tau\text{.} \end{equation*}
By the fundamental theorem of calculus it follows that
\begin{equation*} s'(t)=\|\vect\gamma'(t)\|\text{,} \end{equation*}
and thus by the substitution formula (5.5) we see that
\begin{align*} \int_0^Lf(s)\,ds \amp=\int_a^bf(s(t))s'(t)\,dt\\ \amp=\int_a^bf(\vect\gamma(t))\|\vect\gamma'(t)\|\,dt\text{.} \end{align*}
Hence we make the following definition.

Definition 7.10. Line integral of a scalar function.

Suppose that \(C\) is a smooth positively oriented curve, and that \(\vect\gamma(t)\text{,}\) \(t\in[a,b]\text{,}\) a regular parametrisation of \(C\text{.}\) Then for every continuous scalar function on \(C\) we define
\begin{equation*} \int_Cf\,ds:=\int_a^bf(\vect\gamma(t))\|\vect\gamma'(t)\|\,dt\text{.} \end{equation*}
The integral over a piecewise smooth curve is defined to be the sum over the integrals over the smooth parts of the curve.
One can show that the above definition of line integral is independent of the particular parametrisation \(\vect\gamma\) choosen.

Example 7.11.

Compute \(\int_C(x^2-y)\,ds\) if \(C\) is given by \(\gamma_1(t)=t\) and \(\gamma_2(t)=\cosh t\) with \(t\in[0,1]\text{.}\)
Solution.
We first compute \(\|\vect\gamma(t)\|=\sqrt{\bigl(\gamma_1'(t)\bigr)^2+\bigl(\gamma_2'(t)\bigr)^2}\text{.}\) As \(\gamma_1'(t)=1\) and \(\gamma_2'(t)=\sinh t\) we get
\begin{equation*} \|\vect\gamma'(t)\| =\sqrt{1+\sinh^2 t}=\sqrt{\cosh^2 t}=\cosh t\text{.} \end{equation*}
Hence,
\begin{align*} \int_C(x^2-y)\,ds \amp=\int_0^1((\gamma_1(t))^2-\gamma_2(t)) \sqrt{(\gamma_1'(t))^2+(\gamma_2'(t))^2)}\,dt\\ \amp=\int_0^1(t^2-\cosh t)\cosh t\,dt\\ \amp=\int_0^1t^2\cosh t\,dt-\int_0^1\cosh^2 t\,dt \end{align*}
We now compute the last two integrals separately. For the first we integrate by parts twice:
\begin{align*} \int_0^1t^2\cosh t\,dt =\bigl[t^2\sinh t\bigl]_0^1-2\int_0^1t\sinh t\,dt \amp=\sinh 1-2\Bigl(\bigl[t\cosh t\bigl]_0^1-\int_0^1\cosh t\,dt\Bigr)\\ \amp=\sinh 1-2\cosh 1+2\bigl[\sinh t\bigl]_0^1\\ \amp=\sinh 1-2\cosh 1+2\sinh 1=3\sinh 1-2\cosh 1\text{.} \end{align*}
Using a well known identity and integration of parts we have
\begin{align*} \int\cosh^2 t\,dt \amp=\sinh t\cosh t-\int\sinh^2 t\,dt\\ \amp=\sinh t\cosh t-\int(\cosh^2t-1)\,dt\\ =\sinh t\cosh t+t-\int\cosh^2 t\,dt\text{.} \end{align*}
Hence,
\begin{equation*} \int_0^1\cosh^2 t\,dt =\frac{1}{2}\Bigl[t+\sinh t\cosh t\Bigr]_0^1 =\frac{1+\sinh 1\cosh 1}{2}, \end{equation*}
and therefore
\begin{equation*} \int_C(x^2-y)\,ds =3\sinh 1-2\cosh 1-\frac{1+\sinh 1\cosh 1}{2}\text{.} \end{equation*}
This is the required result.

Insight 7.12. Physical Interpretation of Line Integrals.

We finish this section by giving some physical interpretations of the line integral. First consider the case \(N=2\text{.}\) We think of the curve, \(C\text{,}\) in the plane to be the boundary of a block of land. We want to put up a fence along that boundary. Its height at a point \((x,y)\in\mathbb R^2\) is supposed to be \(h(x,y)\text{,}\) and may vary along different parts. (The fence to the bad neighbours is a bit higher than the fence to the good neighbours.) Before we go to the hardware store we want to know how much fencing we need to buy, so we want to compute the surface area of the fence. This is exactly what the line integral gives us, so the area is
\begin{equation*} \int_Ch\,ds\text{.} \end{equation*}
Another possible physical interpretation is the following. Suppose the curve \(C\) has the shape of a bent wire. The wire is made of different materials, or its thickness slightly varies. Fix a point, \(P\text{,}\) on \(C\) and let \(S\) be a piece of length \(\Delta s\) of \(C\) containing \(P\text{.}\) If \(\Delta m\) is the mass of \(S\) then \(\Delta m/\Delta s\) is the average mass density of \(S\text{.}\) Shrinking \(\Delta s\) to zero we get the mass density of the wire at \(P\text{,}\) that is, the mass per length. Denote that mass density at \((x,y,z)\in C\) by \(\varrho(x,y,z)\text{.}\) Then the total mass of the wire is given by
\begin{equation*} \int_C\varrho\,ds\text{.} \end{equation*}
In the next section we motivate and define line integrals of vector fields. The definition will be reduced to the one given here.