In this section we are going to cover the integration of a line over a 3-D scalar field. When you learned on dimensional integrals, we integrated functions of \(y\) with respect to \(x\) and assumed that \(z\), the third dimension, does not change. If, however, the third dimension does change, the line is not linear and there is there is no way to integrate with respect to one variable. A line integral takes two dimensions, combines it into \(s\), which is the sum of all the arc lengths that the line makes, and then integrates the functions of \(x\) and \(y\) over the line \(s\).
By this time you should be used to the construction of an integral. We break a geometrical figure into tiny pieces, multiply the size of the piece by the function value on that piece and add up all the products. For one variable integration the geometrical figure is a line segment, for double integration the figure is a region, and for triple integration the figure is a solid. The geometrical figure of the day will be a curve. If we have a function defined on a curve we can break up the curve into tiny line segments, multiply the length of the line segments by the function value on the segment and add up all the products. As always, we will take a limit as the length of the line segments approaches zero. This new quantity is called the line integral and can be defined in two, three, or higher dimensions. Suppose that a wire has as density \(f(x,y,z)\) at the point \((x,y,z)\) on the wire. Then the line integral will equal the total mass of the wire. Below is the definition in symbols.
Definition: Line Integrals Let \(f\) be a function defined on a curve \(C\) of finite length. Then the line integral of \(f\) along \(C\) is \[\int_C \; f(x,y) ds= \lim_ \sum_^ f(x_i,y_i)\Delta s_i\nonumber \] (for two dimensions) \[\int_C \; f(x,y,z) ds= \lim_ \sum_^ f(x_i,y_i,z_i)\Delta s_i\nonumber \] (for three dimensions)
A scalar field has a value associated to each point in space. Examples of scalar fields are height, temperature or pressure maps. In a two-dimensional field, the value at each point can be thought of as a height of a surface embedded in three dimensions. The line integral of a curve along this scalar field is equivalent to the area under a curve traced over the surface defined by the field.
requirement | simple integrals | For line integrals |
---|---|---|
1 | an equation of the function \(f(x)\) AKA \(y=\) | an equation of the function \(f(x,y)\) AKA \(z=\) |
2 | the equation of the path in parametric form \(( x(t),y(t) )\) | |
3 | bounds in terms of \(x=a\) and \(x=b\) | the bounds in terms of \(t=a\) and \(t=b\) |
The length of the line can be determined by the sum of its arclengths \[\lim_
This definition is not very useful by itself for finding exact line integrals. If data is provided, then we can use it as a guide for an approximate answer. Fortunately, there is an easier way to find the line integral when the curve is given parametrically or as a vector valued function. We will explain how this is done for curves in \( \mathbb^2\); the case for \( \mathbb^3 \) is similar.
be a differentiable vector valued function. Then
We are now ready to state the theorem that shows us how to compute a line integral.
Theorem: Line Integrals of Vector Valued Functions
\[\textbf(t) = x(t) \hat> + y(t) \hat> \; \; \; \; a \leq t \leq b \nonumber \]
be a differentiable vector valued function that defines a smooth curve \(C\). Then
\[\int_C \; f(x,y) \; ds= \int_a^b f(x(t),y(t)) \sqrt \; dt \nonumber \]
and for three dimensions, if
Find the line integral
\[ \int_c (1+ x^2y) ds \nonumber \nonumber \]
where \(C\) is the ellipse
\[r(t) = (2\cos \,t) \hat> + (3\sin\, t) \hat> \nonumber \nonumber \]
for \( 0 \le t \le 2\pi\).
You may use a calculator or computer to evaluate the final integral.
Solution
We have the integral
\[\int_0^ <2\pi>(1+(2 \cos t)^2)(3 \sin t ))\sqrt \; dt. \nonumber \nonumber \]
With the help of a machine, we get 15.87.
The main application of line integrals is finding the work done on an object in a force field. If an object is moving along a curve through a force field \(F\), then we can calculate the total work done by the force field by cutting the curve up into tiny pieces. The work done \(W\) along each piece will be approximately equal to
\[dW = \vec \cdot T\vec.\nonumber \]
Now recall that
\[dW = \vec \cdot \vec'(t) dt.\nonumber \]
As usual, we add up all the small pieces of work and take the limit as the pieces get small to end up with an integral.
Let \(F\) be a vector field and \(C\) be a curve defined by the vector valued function \(\textbf\). Then the work done by \(F\) on an object moving along \(C\) is given by
\[\text = \int_C F \cdot dr = \int_a^b F(x(t),y(t), z(t)) \cdot \textbf'(t) \; dt. \nonumber \]
Example \(\PageIndex\): Work
Find the work done by the vector field
on a particle moving along the line segment that goes from \((1,4,2)\) to \((0,5,1)\)
Solution
We first have to parameterize the curve. We have
\[\textbf(t) = \langle1,4,2\rangle + [\langle0,5,1\rangle - \langle1,4,2\rangle ]t = \langle1-t,4+t, 2-t\rangle \nonumber\nonumber \]
Taking the dot product, we get
\[ \begin F \cdot \textbf'(t) &= -x + 3xy + x + z \\ &= 3xy + z \\ &= 3(1-t)(4+t) + (2-t) \\ &= -3t^2 - 10t +14. \end \nonumber \]
Now we just integrate
\[\int_0^1 (-3t^2 -10t +14)\; dt = \big[-t^3 - 5t^2 + 14t \big]_0^1 = 8. \nonumber \nonumber \]
Notice that work done by a force field on an object moving along a curve depends on the direction that the object goes. In fact the opposite direction will produce the negative of the work done in the original direction. This is clear from the fact that everything is the same except the order which we write a and b.
We can rewrite \(\textbf'(t) \; dt \) as
\[F \cdot \textbf'(t) \; dt = M \; dx + N \; dy + P \; dz. \nonumber \]
This is called the differential form of the line integral.
\[ \int_c y\, dx + z\, dy \nonumber \nonumber \]
where \(C\) is the part of the helix
\[ \textbf(t) = \sin t \, \hat> + \cos t\, \hat> + t \, \hat> \nonumber \nonumber \]
from \( 0 \leq t \leq 2\pi \).
Solution
\[\textbf'(t) = \cos t \hat> - \sin t \hat> + \hat> \nonumber \nonumber \]
\[y \; dx + z \; dz = (\cos^2 t - t\sin t ) dt). \nonumber \nonumber \]
This leads us to the integral
\[ \int_0^ <2\pi>\left( \cos^2 t - t\, \sin t\right) \, dt \nonumber\nonumber \]
with a little bit of effort (using integration by parts) we solve this integral to get \( 3\pi \)
Integrate \( f(x,y,z)= -\sqrt \; \) over \(s(t)=(a\: \cos(t))j+(a\, \sin(t))k \: \) with \( 0\leq t \leq 2\pi \).
Solution
First we separate the equation for the line into two parametric equations
\[x=0\; \; \; y=a\: \cos (t)\; \; \; z=a\: \sin (t). \nonumber\nonumber \]
Next we find \(ds\) (Note: if dealing with 3 variables we can take the arc length the same way as with two variables)
\[\sqrt <\left ( \dfrac
Then we substitute our parametric equations into \(f(x,y,z)\) to get the function into terms of \(t\)
\[f(x,y,z)=-\sqrt\: \rightarrow\: -\sqrt<(0)^2+(a\: \sin (t))^2>\: \rightarrow \: \: -(\pm a\: \sin(t)) \nonumber \nonumber \]
note that from \( 0 \rightarrow \pi \;\) only \(\; -(a\: \sin(t)) \;\) exists. Likewise from \( \pi \rightarrow 2\pi \;\) only \( -(-a\: \sin(t)) \) exists.
Now we can use our equation for the line integral to solve
\[\begin \int_a^b f(x,y,z)ds &= \int_0^\pi -a^2\: \sin(t)dt\ + \int_\pi^ <2\pi>a^2\: \sin(t)dt \\ &= \left [ a^2\cos(t) \right ]_0^\pi - \left [ a^2\cos(t) \right ]_\pi^ <2\pi>\\ &= \left [ a^2(-1) - a^2(1) \right ] -\left [a^2(1)-a^2(-1) \right] \\ &=-4a^2. \end\nonumber \]
Integrate over the curve
Solution
Since all of the equations contain \(x\), there is no need to convert to parametric and solve for \(t\), rather we can just solve for \(x\).
both \(x\) and \(y\) is given so there is no need to convert. The next step would be to find \(d(s)\) in terms of \(x\).
\[x=x, \; y=\dfrac \nonumber\nonumber \]
\[d(x)=1 \; \; \; d(y)=x \nonumber\nonumber \]
\[d(s)=\sqrt <\left ( \dfrac \right )^2+\left ( \dfrac \right )^2>dx \nonumber\nonumber \]
Next we convert the function into a function of \(x\) by substituting in \(y\)
\[ f(x,y)=\dfrac \; \rightarrow \; f(x)=\dfrac> \; \rightarrow \; f(x)= 2x. \nonumber\nonumber \]
Now that we have all the individual parts, the next step is to put it into the equation
\[\int_0^2 2x(\sqrt)dx \nonumber\nonumber \]
we can solve using u substitution
\[u=x^2+1 \: \: \: du=2x\;dx \nonumber\nonumber \]
Find the area of one side of the "wall" standing orthogonally on the curve \(2x+3y =6\;,0\leq\;x\;\leq 6 \) and beneath the curve on the surface \(f(x,y) = 4+3x+2y.\)
Solution
First, convert \(2x+3y=6\) into parametric form:
Next, take the rate of change of the arc length (\(ds\)):
Solve \(f(x,y)\) in terms of \(t\):
Then plug all this information into the equation
4.3: Line Integrals is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.