2 Line integrals of scalar products
Integrals of the form , referred to at the end of the previous sub-section, occur in applications such as the following.
Figure 2:
Consider a cyclist riding along the road from to (Figure 2). Suppose it is necessary to find the total work the cyclist has to do in overcoming a wind of velocity .
On moving from to , the work done is given by ‘Force distance’ where , the force, is directly proportional to , but in the opposite direction, and is the component of the distance travelled in the direction of the wind.
So, the work done travelling is . Letting become infinitesimally small, the work done becomes and the total work is .
This is an example of the integral along a line of the scalar product of a vector field and a vector describing the line. The term scalar line integral is often used for integrals of this form. The vector may be considered to be .
Multiplying out the scalar product, in three dimensions, the ’scalar line integral’ of the vector along contour is given by and equals in three dimensions ( in two dimensions.)
If the contour has its start and end points in the same positions i.e. it represents a closed contour, the symbol rather than is used, i.e. .
As before, to evaluate the line integral, express the path and the function in terms of either , and , or in terms of a parameter . Note that in examples often represents time.
Example 5
Find where is the curve with varying from to .
[This is the integral where and .]
Solution
It is possible to split this integral into two different integrals and express the first term as a function of and the second term as a function of . However, it is also possible to express everything in terms of . Note that on , so and the integral becomes
Key Point 2
      An integral of the form
      
      may be expressed as
      
      . Knowing the expression for the path
      
      , every term in the integral can be further expressed in terms of one of the variables
      
      ,
      
      or
      
      or in terms of a parameter
      
      and hence integrated.
      
      If an integral is two-dimensional there are no terms involving
      
      .
      
      The integral
      
      evaluates to a scalar.
     
Example 6
Three paths from to are defined by
- from to and from to
 
Sketch each path and find , where , along each path.
Solution
- 
      . Along
      
      ,
      
      so
      
      . Then
      
Figure 3(a):
 - 
      . Along
      
      ,
      
      so
      
      . Then
      
Figure 3(b):
Note that the answer is different to part (a), i.e., the line integral depends upon the path taken.
 - 
      As the contour
      
      , has two distinct parts with different equations, it is necessary to break the full contour
      
      into the two parts, namely
      
      and
      
      where
      
      is the point
      
      . Hence
      
Along , so . Then
Along , so . Then
Hence
Figure 3(c):
Once again, the result is path dependent.
 
Key Point 3
In general, the value of the line integral depends on the path of integration as well as the end points.
Example 7
Find , where (as in Example 6) and the path from to is the straight line from to , that is the reverse of in Example 6(a).
Deduce , the integral around the closed path formed by the parabola from to and the line from to .
Solution
Reversing the path swaps the limits of integration, this results in a change of sign for the value of the integral.
The integral along the parabola (calculated in (iii) above) evaluates to , then
Example 8
Consider the vector field
Let and be the curves from to , given by
- Evaluate the scalar integral of the vector field along each path.
 - Find the value of where is the closed path along from to and back along from to .
 
Solution
- 
      The path
      
      is given in terms of the parameter
      
      by
      
      ,
      
      and
      
      . Hence
      
Now by substituting for in we have
Hence . The values of and correspond to the start and end point of and so these are the required limits of integration. Now
For the path the parameterisation is , and so .
Substituting , and in we have - 
      For the closed path
      
(Note that the line integral round a closed path is not necessarily zero - see Example 7.)
 
Further points on Example 8
The field is an example of a conservative vector field ; these are discussed in detail in the next subsection.
In , the vector field may be the gradient of a scalar field or the curl of a vector field.
Task!
Consider the vector field
Let and be the curves from to , given by
- Evaluate the scalar integral of each vector field along each path.
 - Find the value of where is the closed path along from to and back along from to .
 
- 
       The path
       
       is given in terms of the parameter
       
       by
       
       ,
       
       and
       
       . Hence
       
Substituting for in we have
The limits of integration are and , then
For the path the parameterisation is , and so .
Substituting , and in we have
 - 
       For the closed path
       
(Note that the integral around the closed path is non-zero, unlike Example 8.)
 
Example 9
Find where is the contour from to .
Solution
     Note that
     
     so the integral is
     
     .
     
     On
     
     ,
     
     so the integral becomes
     
Task!
Evaluate , where along each of the following paths
- : from to along the straight line :
 - : from to along the parabola :
 - : along the straight line from to then along the straight line from to .
 
- ,
 - , (this differs from 1. showing path dependence)
 
Task!
For the function and paths in the last Task, deduce for the closed paths
- followed by the reverse of .
 - followed by the reverse of .
 - followed by the reverse of .
 
- ,
 - ,
 - . (note that all these are non-zero.)
 
Exercises
- 
      Consider
      
      , where
      
      . Find the value of the line integral along each of the paths from
      
      to
      
      .
      
 - 
      Consider the vector field
      
      and the two curves between
      
      and
      
      defined by
      
: , , for .
: , , for .
- Find ,
 - Find where is the closed path from to along and back to along .
 
 - 
      Consider the vector field
      
      and the two curves between
      
      and
      
      defined by
      
: , , for .
: , , for .
- Find ,
 - Find where is the closed path from to along and back to along .
 
 - 
      Find
      
      along
      
      from
      
      to
      
      for
      
 
- All are , and in fact the integral would be 12 for any path from (0,0) to (1,4).
 - 
- , ,
 - .
 
 - 
- , ,
 - .
 
 - , .