Fundamental Theorem for Line Integrals – Theorem and Examples

The fundamental theorem of line integrals shows us how we can extend the fundamental theorem of calculus when evaluating line integrals.  By generalizing the fundamental theorem of calculus to include line integrals, we can also establish interesting properties about a line integral’s paths. Line integrals are essential in finding potential functions and have extensive applications in physics in engineering, so it’s important that we know easier ways to evaluate line integrals.

The fundamental theorem of line integrals tells us that we can integrate the gradient of a function by evaluating the function at the curves’ endpoints.

In this article, we’ll establish and prove the fundamental theorem of line integrals. We’ll also show you how to apply this in evaluating line integrals. By the end of this discussion, we’ll let you try our different problems so you can further solidify your understanding of this theorem.

What Is the Fundamental Theorem of Line Integrals?

According to the fundamental theorem of line integrals, when we have a curve,C, defined by the vector function, r(t), we have the following relationship.

Cfdr=f(b)f(a)

Keep in mind that the theorem applies when a=r(a) and b=r(b).           

The expression, f, represents the gradient of the function, f, and this is why the other name for the fundamental theorem of line integral is the gradient theorem. The graph shows that r(a) and r(b) are the endpoints of the curve.

applying the fundamental theorem for line integrals

Before we explore the gradient theorem, let’s do a quick recall of the fundamental theorem for single variable calculus – particularly, the part of the theorem that expounds on definite integrals. Suppose that F(x)=f(x) and F(x) is differentiable throughout the interval, [a,b], we can define the definite integral as shown below.

abf(x)xdx=F(b)F(a)  

Now, let’s extend this with gradients, f(x,y) or f(x,y,z), to establish the rules for the fundamental theorem of line integrals. We’ll focus on f(x,y,z) in proving the theorem. Suppose that r(t)=<x(t),y(t),z(t)>, we can write f(x,y,z)dr as shown below.

fdr=fx,fy,fzdxdt,dydt,dzdt=(fxdxdt+fydydt+fzdzdt)xdt

Applying the chain rule will lead to our simplified expression for f(x,y,z)dr.

fdr=ddtf(r(t))

Take the line integral of both sides of the equation so that the line integral is evaluated at the smooth curve, C, where atb.

Cfdr=abddtf(r(t))=f(r(a)r(b))

This confirms the fundamental theorem or gradient theorem for line integrals. From the equation, we can see that the line integral of a f represents the change of $$ from its endpoints, r(a) and r(b). Now that we’ve established its equation, it’s important that we know when and how to apply this essential theorem.

How To Use the Fundamental Theorem of Line Integrals?

Apply the fundamental theorem of line integrals to shorten the process of evaluating the line integrals along a path. We can do so by doing the following steps:

  1. Identify the expression for, f(x,y) or f(x,y,z).If it’s not yet given, use the fact that F=f.
  2. If the endpoints are given and the path is not specified, evaluate the line integral by taking the difference between endpoints: r(b) and r(a).
  3. When given f(x,y) or f(x,y,z), use this and evaluate the function at r(a) and r(b).
  4. Find the difference between the two evaluated endpoints.

This simplifies our process of evaluating line integrals. Let’s evaluate the line integral, CFdr, using two methods: 1) using the traditional method of evaluating line integrals and 2) by applying the fundamental theorem of line integrals.

F(x,y)=f(x,y)f(x,y)=2cosxx2y

We’re evaluating the line integral over the curve, C parametrized by the vector function, r(t)=<t,t2>, from 0tπ.

Traditionally, we’ll find f first and evaluate them at the endpoints using r(t). We use the definition of line integrals as shown below.

CFdr=0πF(r(t))r(t)xdt

Now, recall that f(x,y)=fx,fy, so apply this definition if we want to find F(x,y).

F(x,y)=fx,fy=2sinx2xy,x2

Let’s evaluate the gradient of f(x,y) at r(t)=<t,t2>.

F(r(t))=F(<t,t2>)=2sin(t)2(t)(t2),(t)2=2sint+2t3,t2

Find the dot product of F(r(t)) and r(t) then evaluate the resulting integral.

0πF(r(t))r(t)xdt=0π2sint+2t3,t2<1,2t>xdt=0π(2sint+2t3)(1)+(t2)(2t)xdt=0π2sint4t3xdt=[2costt4]0π=(2cosππ4)(2cos00)=4π4

Now, let us show you how to evaluate the line integral CFdr using the gradient theorem. This time, we’ll evaluate f(x,y) for r(0) and r(π) then find their difference to find the line integral’s value.

CFdr=f(r(π))f(r(0))=f(<π,π2>)f(<0,0>)=[(2cos(π)(π)2(π2))(2cos0(0)2(0))]=(2π4)2=4π4

This returns the same value from the one where we applied the traditional approach. As you can see, the steps needed to get to our value are much simpler if we use the fundamental theorem of line integrals.

When To Use Fundamental Theorem of Line Integrals?

We can use the fundamental theorem of line integrals to evaluate integrals faster – we’ve shown to in the past sections. It’s time for us to highlight some important applications of this theorem. We can use the fundamental theorem of line integrals to establish other theorems.

example of a closed path and independent path

For example, we have the two graphs shown above: the left graph shows a curve with a closed path, and the right graph shows. Suppose that F is a vector field that has components that have partial derivatives. When our line integral is going through a smooth piecewise curve, C, we have the following statements:

  1. The vector field, F, can be shown to be conservative.
  2. The line integral, CFdr, is independent of path.
  3. When we have a line integral, CFdr, of independent, the curve, C is a closed path when CFdr=0.

Let’s try to prove that CFdr=0 when C is a closed path.  Recall that we can evaluate line integral of a smooth curve by evaluating the function, f(x), where F=f, where the endpoints are identical.

CFdr=f(P1)f(Po)=f(Po)f(Po)=0Closed curve

This confirms the third statement – showing how the fundamental theorem for line integrals opens a wide range of properties that involve line integrals of vector fields. Now that we’ve learned how to apply the fundamental theorem for line integrals, it’s time for us to explore other examples to better master this topic!

Example 1

The vector fields shown below are known to represent gradient fields, so calculate Cfdr.

a. F=<3x,2> and C represents a quarter circle from (3,0) to (0,3)
b. F=cosyx,lnxsiny and C represents a line segment from (1,1) to (2,4)
c. F=<6x2+2y2,4xy3y2> and C represents a curve passing through (0,4) to (4,0)

Solution

Thanks to the fundamental theorem for line integrals, we can easily evaluate the three line integrals without going through the process of parametrizing the functions. Since F=f, we can find CFdr=Cfdr by evaluating f at the endpoints of the curve.

For the first item, we have F=f=<3x,2>, so for this possible, f(x,y)=32x22y. Let’s evaluate f(r(t)) at the following endpoints: (3,0) and (0,3). Subtract the resulting expressions to find the value of the line integral.

CFdr=Cfdr=f(0,3)f(3,0)=[32(0)22(3)][32(3)22(0)]=6+272=152

a. This means that Cfdr=152.

We’ll apply a similar process for the second item – let’s first determine the expression for f(x,y) given that F=cosyx,lnxsiny. Since ddxlnx=1x and ddycosy=siny, we have f(x,y)=lnxcosy. Evaluate f(x,y) at the following endpoints: (1,1) and (2,4).

CFdr=Cfdr=f(2,4)f(1,1)=[ln(2)cos(4)][ln(1)cos(1)]=ln2cos40.45

b. Hence, we’ve shown that CFdr=ln2cos4.

Let’s now work on the third item and begin by finding the expression for f(x,y) so that f=<6x2+2y2,4xy3y2>. Hence, we have f(x,y)=2x3+2xy2y3. Now, let’s evaluate this function at the endpoints to find the value of the line integral over the curve, C.

CFdr=Cfdr=f(4,0)f(0,4)=[2(4)3+2(4)(0)2(0)3][2(0)3+2(0)(4)2(4)3]=128+64=192

c. This shows that CFdr=192.

Example 2

Evaluate the line integral, Cfdr, where f(x,y)=x4(2y)+2y, and C is a curve that is represented by the vector function, r(t)=2t2,6+t, where 1t1.

Solution

We’re now given f(x,y)’s expression, so we can evaluate the function’s endpoints to find the line integral of F=f over the curve, C. Find the value of r(t) at t=1 and t=1.

t=1

t=1

r(1)=2(1)2,6+(1)=1,5

r(1)=2(1)2,6+(1)=1,7

This means that we can evaluate f(x,y) from (1,5) to (1,7) then take their difference to find the value of Cfdr.

Cfdr=f(1,7)f(1,5)=[(1)4(27)+2(7)][(1)4(25)+2(5)]=97=2

Hence, we have Cfdr is equal to 2. This item is another example showing how the fundamental theorem for line integrals has simplified the process of evaluating line integrals.

Example 3

Suppose that CFdr is independent of its path, find the value of the line integral if C is a circle represented by the equation, (x4)2+(y2)2=4 in a clockwise direction.

Solution

line integral of a closed path

The graph of the curve is a circle centered at (4,2) and a radius of 2 units. At a first glance, evaluating the line integral seems like a tedious process, but remember that: 1) CFdr is independent of the path and 2) C is a closed curve representing the entire circle.

CFdr=0

Recall that when the line integral is independent of path and defined by a closed curve, its line integral is equal to zero. This also applies to our line integral, hence, it is also equal to zero.

Example 4

Evaluate the line integral, Cfdr, where f(x,y)=e2xy2x3+y4, and C is a curve defined by the graph shown below.

evaluating the line integral using a curve

Solution

It may be tempting for us to evaluate the line integral by breaking down the expressions into three line integrals. Since the curve, C, is a smooth curve, we can evaluate the line integral by evaluating f(x,y) at the curve’s endpoints.

CFdr=f(final point)f(initial point)

We have (0,3) as the initial point and (3,0) as the final point. Evaluate these values then take their difference to find the line integral’s value.

f(0,3)

f(3,0)

f(0,3)=e2(0)(3)2(0)3+(3)4=1+81=82

f(3,0)=e2(3)(0)2(3)3+(0)4=1+54=55

CFdr=f(3,0)f(0,3)=5582=27

This means that CFdr is equal to 27.

Example 5

Suppose that the force field is represented by the vector function, F=<6yz,6xz,6xy>. What is the amount of work done by an object that moves from (2,1,1) to (4,4,2)?

Solution

To find the amount of work done given F, we evaluate the line integral, CFdr. Since F=f, let’s go ahead and find the expression for f(x,y,z) first.

f(x,y,z)=<6yz,6xz,6xy>f(x,y,z)=6xyz

Now, that we have the expression for f(x,y,z), let’s go ahead and evaluate the function at the starting and ending point moved by the object.

Work=CFdr=f(4,4,2)f(2,1,1)=6(4)(4)(2)6(2)(1)(1)=192

Hence, the amount of work done by the object is equal to 192 units.

Practice Questions

1. The vector fields shown below are known to represent gradient fields, so calculate Cfdr.
a. F=<6x,4y> and C represents a quarter circle from (1,0) to (0,1)
b. F=exy22xy,2exyx2 and C represents a line segment from (0,0) to (3,3)
c. F=<6x2y+4y,2x3+4x2y> and C represents a curve passing through (0,2) to (2,0)
2. Evaluate the line integral, Cfdr, where f(x,y)=x3(6y)+4y, and C is a curve that is represented by the vector function, r(t)=4t2,2t, where 2t2.
3. Suppose that CFdr is independent of its path, find the value of the line integral if C is an ellipse represented by the equation, (x3)24+(y1)29=1 in a clockwise direction.
4. Evaluate the line integral, Cfdr, where f(x,y)=exy4x3+y2, and C is a curve defined by the graph shown below.
5. Suppose that the force field is represented by the vector function, F=<eycosz,xcoszey,eyxsinz>. What is the amount of work done by an object that moves from (0,1,0) to (2,4,2π)?

finding the line integral using a curve

Answer Key

1.
a. CFdr=5
b. CFdr=9e327
c. CFdr=4
2. CFdr=f(0,0)f(0,4)=16
3. CFdr=0
4. Cfdr=f(4,0)f(0,4)=271
5. Work=f(2,4,2π)f(0,1,0)=2e4

Images/mathematical drawings are created with GeoGebra.