1 Line integrals

HELM booklet  28 was concerned with evaluating an integral over all points within a rectangle or other shape (or over a cuboid or other volume). In a related manner, an integral can take place over a line or curve running through a two-dimensional (or three-dimensional) shape. Line integrals may involve scalar or vector fields. Those involving scalar fields are dealt with first.

1.1 Line integrals in two dimensions

A line integral in two dimensions may be written as

C F ( x , y ) d w

There are three main features determining this integral:

F ( x , y ) This is the scalar function to be integrated   e.g.   F ( x , y ) = x 2 + 4 y 2 .

C  This is the curve along which integration takes place.  e.g.  y = x 2  or x = sin y

   or x = t 1 ;   y = t 2 (where x and y are expressed in terms of a parameter t ).

d w This states the variable of the integration. Three main cases are d x , d y and d s .

   Here ‘ s ’ is arc length and so indicates position along the curve C .

    d s   may be written as d s = d x 2 + d y 2 or   d s = 1 + d y d x 2 d x .

   A fourth case is when F ( x , y ) d w has the form: F 1 d x + F 2 d y . This is a combination

   of the cases d x and d y .

The integral C F ( x , y ) d s represents the area beneath the surface z = F ( x , y ) but above the line C .

The integrals C F ( x , y ) d x and C F ( x , y ) d y represent the projections of this area onto the x z and y z planes respectively.

A particular case of the integral C F ( x , y ) d s is the integral C 1 d s . This is a means of calculating the length along a curve i.e. an arc length.

Figure 1:

{ Representation of a line integral and its projections onto the xz and yz planes}

The technique with a line integral is to express all quantities in an integral in terms of a single variable.  Often,  if  the  integral  is  with  respect  to  ’ x ’  or  ’ y ’,  the  curve  ’ C ’  and  the  function  ’ F ’  may  be  expressed  in  terms  of  the  relevant  variable. If the integral is carried out with respect to d s , normally everything is expressed in terms of x . If x and y are given in terms of a parameter t , normally everything is expressed in terms of t .

Example 1

Find   c x 1 + 4 y d x  where   C  is  the  curve   y = x 2 ,  starting  from   x = 0 , y = 0  and  ending  at   x = 1 , y = 1 .

Solution

As this integral concerns only points along C and the integration is carried out with respect to x , y may be replaced by x 2 . The limits on   x  will  be  0  to  1.  So the  integral  becomes

C x ( 1 + 4 y ) d x = x = 0 1 x 1 + 4 x 2 d x = x = 0 1 x + 4 x 3 d x = x 2 2 + x 4 0 1 = 1 2 + 1 0 = 3 2
Example 2

Find   c x 1 + 4 y d y  where   C  is  the  curve   y = x 2 ,  starting  from   x = 0 , y = 0  and  ending  at   x = 1 , y = 1 . This is the same as Example 1 other than d x being replaced by d y .

Solution

As this integral concerns only points along C and the integration is carried out with respect to y , everything may be expressed in terms of y , i.e. x may be replaced by y 1 2 . The limits on   y  will  be  0  to  1.  So the  integral  becomes

C x ( 1 + 4 y ) d y = y = 0 1 y 1 2 1 + 4 y d x = y = 0 1 y 1 2 + 4 y 3 2 d x = 2 3 y 3 2 + 8 5 x 5 2 0 1 = 2 3 + 8 5 0 = 34 15
Example 3

Find   c x 1 + 4 y d s  where   C  is  the  curve   y = x 2 ,  starting  from   x = 0 , y = 0  and  ending  at   x = 1 , y = 1 . Once again, this is the same as the previous two examples other than the integration being carried out with respect to s , the coordinate along the curve C .

Solution

As this integral is with respect to x , all parts of the integral can be expressed in terms of x , Along y = x 2 , d s = 1 + d y d x 2 d x = 1 + 2 x 2 d x = 1 + 4 x 2 d x

So, the integral is

c x 1 + 4 y d s = x = 0 1 x 1 + 4 x 2 1 + 4 x 2 d x = x = 0 1 x 1 + 4 x 2 3 2 d x

This can be evaluated using the transformation U = 1 + 4 x 2  so   d U = 8 x d x  i.e.   x d x = d U 8 .  When   x = 0 ,   U = 1  and  when   x = 1 ,   U = 5 .

The integral therefore equals

x = 0 1 x 1 + 4 x 2 3 2 d x = 1 8 U = 1 5 U 3 2 d U = 1 8 × 2 5 U 5 2 1 5 = 1 20 5 5 2 1 2.745

Note that the results for Examples 1,2 and 3 are all different: Example 3 is the area between a curve and a surface above; Examples 1 and 2 give projections of this area onto other planes.

Example 4

Find C x y d x where, on C , x and y are given by x = 3 t 2 , y = t 3 1 for t starting at t = 0 and progressing to t = 1 .

Solution

Everything can be expressed in terms of t , the parameter. Here x = 3 t 2 so d x = 6 t d t . The limits on t are t = 0 and t = 1 . The integral becomes

C x y d x = t = 0 1 3 t 2 ( t 3 1 ) 6 t d t = t = 0 1 ( 18 t 6 18 t 3 ) d t = 18 7 t 7 18 4 t 4 0 1 = 18 7 9 2 0 = 27 14

 

Key Point 1

A line integral is normally evaluated by expressing all variables in terms of one variable.

In general

C f ( x , y ) d s C f ( x , y ) d y C f ( x , y ) d x
Task!

For F ( x , y ) = 2 x + y 2 , find C F ( x , y ) d x , C F ( x , y ) d y and C F ( x , y ) d s where C is the line y = 2 x from ( 0 , 0 ) to ( 1 , 2 ) .

Express each integral as a simple integral with respect to a single variable and hence evaluate each integral:

x = 0 1 ( 2 x + 4 x 2 ) d x , 7 3 , y = 0 2 ( y + y 2 ) d y , 14 3 , x = 0 1 ( 2 x + 4 x 2 ) 5 d x , 7 3 5

Task!

Find C F ( x , y ) d x , C F ( x , y ) d y and C F ( x , y ) d s where F ( x , y ) = 1 and C is the curve y = 1 2 x 2 1 4 ln x from ( 1 , 1 2 ) to ( 2 , 2 1 4 ln 2 ) .

1 2 1 d x = 1 , 1 2 2 1 4 ln 2 1 d y = 3 2 1 4 ln 2 ,

1 2 ( x + 1 4 x ) d x = 3 2 + 1 4 ln 2 .

Task!

Find C F ( x , y ) d x , C F ( x , y ) d y and C F ( x , y ) d s where F ( x , y ) = sin 2 x and C is the curve y = sin x from ( 0 , 0 ) to ( π 2 , 1 ) .

0 π 2 sin 2 x d x = 1 , 0 π 2 2 sin x cos 2 x d x = 2 3

0 π 2 sin 2 x 1 + cos 2 x d x   Using the substitution u = 1 + cos 2 x gives  2 3 ( 2 2 1 ) .