Fernando Garcia

Home     Research     Blog     Other     About me


PHYS405 - Electricity & Magnetism I

Spring 2024

Problem 1.56

Compute the line integral of

v=6x^+yz2y^+(3y+z)z^

Along the triangular path from Figure 1.49. Then check your answer using Stokes' theorem.

Answer 8/3

Here's a 3D render of the path from Figure 1.49. (Feel free to zoom out and drag around to see it from different points of view).

Let's recall The Fundamental Theorem for curls, also known as Stokes' theorem:

(Eq. 1.57, page 33)S(×v)da=Pvdl

Problem 1.56 first asks us to do the right hand side of the equality above, and then check it using the surface integral corresponding to Stokes' theorem.

The line integral is straight forward. It consists of 3 paths on which we can deconstruct the closed path over:

Pvdl=L1vdr1+L2vdr2+L3vdr3

Where L1 is the straight path on the y-axis, L2 the diagonal path on the yzplane, and L3 is the straigt path on the z-axis. To properly express these paths, we introduce the following 3 curves

r1=(0,t,0)r2=(0,1t,2t)r3=(0,0,22t)

All of which will go from ti=0 to tf=1: (notice that this is the yz-plane)

For which we have the differentials:

dr1=(0,1,0)dtdr2=(0,1,2)dtdr3=(0,0,2)dt

Before computing the integral, we must write the field v in terms of the curve parameter t.

For the first curve, we have

x=0y=tz=0

Thus

vCurve 1=(6,yz2,3y+z)(6,0,3t)

For the second curve, we have

x=0y=1tz=2t

Thus

vCurve 2=(6,yz2,3y+z)(6,(1t)(2t)2,3(1t)+2t)=(6,4t24t3,3t)

For the third curve, we have

x=0y=0z=22t

Thus

vCurve 3=(6,yz2,3y+z)(6,0,22t)

Thus, the closed line integral is:

Pvdl=L1vCurve 1dr1+L2vCurve 2dr2+L3vCurve 3dr3=010dt+01(4t24t3)+2(3t)dt+012(22t)dt=83

Let's now use Stokes' theorem and compute the surface integral of the curl of v. At the end we should find that the surface integral is equal to 83. It is clear that:

×v=(32yz,0,0)

And we have

da=(dydz,0,0)

Using the diagonal path, we see that y and z are related by:

z=2y+2

So the limits of integration with respect to z are going to be

zi=0zf=2y+2

And for y we simply have yi=0 and yf=1. The surface integral is:

S(×v)da=y=01z=02y+232yzdzdy=y=013(22y)(22y)2ydy=83

As expected.


Back to PHYS405 site