Need help with Line Integrals

SLAM: debunk creationism, pseudoscience, and superstitions. Discuss logic and morality.

Moderator: Alyrium Denryle

Post Reply
Aranfan
Padawan Learner
Posts: 288
Joined: 2008-02-01 12:01pm
Location: Center of the Universe (General Relativity)

Need help with Line Integrals

Post by Aranfan »

I need to do the following for webwork:

Find the work done by the force field F(x,y,z) = 4xi + 4yj + 3k on the particle that moves along the helix r(t) = cos(t)i + sin(t)j + 5tk where t is between 0 and π

When I set up and do the problem I get: 75*2*π2
Which the computer says is wrong. I can't figure out where I messed up.

I set it up as:
S02π -4cos(t)sin(t) + 2sin(t)cos(t) + 75t dt


Where did I mess up?
User avatar
Fingolfin_Noldor
Emperor's Hand
Posts: 11834
Joined: 2006-05-15 10:36am
Location: At the Helm of the HAB Star Dreadnaught Star Fist

Re: Need help with Line Integrals

Post by Fingolfin_Noldor »

Why are you integrating from 0 to 2 pi?

And I think you got your dot product wrong. Check your working.
Image
STGOD: Byzantine Empire
Your spirit, diseased as it is, refuses to allow you to give up, no matter what threats you face... and whatever wreckage you leave behind you.
Kreia
Aranfan
Padawan Learner
Posts: 288
Joined: 2008-02-01 12:01pm
Location: Center of the Universe (General Relativity)

Re: Need help with Line Integrals

Post by Aranfan »

Gah! :banghead: Yeah, I transcribed that wrong, here's how I actually set it up:

S02π -4cos(t)sin(t) + 4sin(t)cos(t) + 75t dt

As to integrating from 0 to 2π, those are the endpoints of t. Where else am I supposed to integrate from? :?
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Re: Need help with Line Integrals

Post by Kuroneko »

Use the fundamental theorem of line integrals with F = ∇(2x²+2y²+3z). If you want to do it the long way, dW = F·dr = F·v dt, where v is the velocity vector. If you set up the dot product correctly, the x and y contributions should cancel.
Edit: The problem explicitly defined the path from 0 to pi.
"The fool saith in his heart that there is no empty set. But if that were so, then the set of all such sets would be empty, and hence it would be the empty set." -- Wesley Salmon
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Re: Need help with Line Integrals

Post by Kuroneko »

How did you get 75 under that integral?
"The fool saith in his heart that there is no empty set. But if that were so, then the set of all such sets would be empty, and hence it would be the empty set." -- Wesley Salmon
Aranfan
Padawan Learner
Posts: 288
Joined: 2008-02-01 12:01pm
Location: Center of the Universe (General Relativity)

Re: Need help with Line Integrals

Post by Aranfan »

:banghead: :banghead: :banghead:
I messed that up too. It was from 0 to 2π

Edit:
Kuroneko wrote:How did you get 75 under that integral?
F(r(t)) = < 4cos(t), 4sin(t), 15t>
r'(t) = < -sin(t), cos(t), 5>

F(r(t)) * r'(t) = -4sin(t)cos(t) + 4sin(t)cos(t) + 75t

:?:

I really need help with line integrals.
User avatar
Surlethe
HATES GRADING
Posts: 12267
Joined: 2004-12-29 03:41pm

Re: Need help with Line Integrals

Post by Surlethe »

Let's try to make this intuitive from the perspective of work. If you have a force pushing in or against the direction of an object's motion, the work done will be Fd, where F is the force and d is the displacement (adjust the sign of F to indicate direction). If the object is constrained to move along a straight path, then work done will be Image, where d is the displacement vector and F is the work vector.

Now, for a smooth curve Image, locally at r(t) it is straight and well-approximated by the differential dr = r'(t)dt. Moreover, at r(t) the vector field F is nearly constant and well-approximated by F(r(t)). Therefore, we can approximate the work done in a very small interval of time (t,t+dt) by Image. Slapping on integral signs and globalizing, we have
Image.

How does this apply to your problem? Well, Spoiler
Image
and
Image,
so
Image.
The cheap way Kuroneko suggests is because in this case, Image so Stokes' Theorem applies.
Spoiler
Stokes' Theorem, applied to line integrals, says that for a conservative vector field (i.e., the gradient of some scalar function) the integral is merely the scalar function evaluated between the endpoints. It's the line integral form of the fundamental theorem of calculus. To wit:
Image
If you want the vector field to have a z-component of 15t instead of 3t, adjust all of the above calculations accordingly.
A Government founded upon justice, and recognizing the equal rights of all men; claiming higher authority for existence, or sanction for its laws, that nature, reason, and the regularly ascertained will of the people; steadily refusing to put its sword and purse in the service of any religious creed or family is a standing offense to most of the Governments of the world, and to some narrow and bigoted people among ourselves.
F. Douglass
User avatar
Darth Mordius
Youngling
Posts: 144
Joined: 2006-12-07 12:28am

Re: Need help with Line Integrals

Post by Darth Mordius »

Quibble: Stoke's theorem is the one with the line integral around a closed loop being the surface integral of the curl. I think the applicable theorem in this case is just called the fundamental theorem for line integrals.
Aranfan
Padawan Learner
Posts: 288
Joined: 2008-02-01 12:01pm
Location: Center of the Universe (General Relativity)

Re: Need help with Line Integrals

Post by Aranfan »

Oh. I get it now. Duh. Thanks Surlethe. I was messing up F(r(t)).
User avatar
Surlethe
HATES GRADING
Posts: 12267
Joined: 2004-12-29 03:41pm

Re: Need help with Line Integrals

Post by Surlethe »

Darth Mordius wrote:Quibble: Stoke's theorem is the one with the line integral around a closed loop being the surface integral of the curl. I think the applicable theorem in this case is just called the fundamental theorem for line integrals.
In my understanding, when it's presented in higher generality, Stokes' theorem says that the integral of a derivative on a region is the integral of the function around the boundary. In this case, the region is the curve, the derivative is the field, the function is the potential, and the boundary is the endpoints of the curve.
A Government founded upon justice, and recognizing the equal rights of all men; claiming higher authority for existence, or sanction for its laws, that nature, reason, and the regularly ascertained will of the people; steadily refusing to put its sword and purse in the service of any religious creed or family is a standing offense to most of the Governments of the world, and to some narrow and bigoted people among ourselves.
F. Douglass
User avatar
Darth Mordius
Youngling
Posts: 144
Joined: 2006-12-07 12:28am

Re: Need help with Line Integrals

Post by Darth Mordius »

Surlethe wrote:
Darth Mordius wrote:Quibble: Stoke's theorem is the one with the line integral around a closed loop being the surface integral of the curl. I think the applicable theorem in this case is just called the fundamental theorem for line integrals.
In my understanding, when it's presented in higher generality, Stokes' theorem says that the integral of a derivative on a region is the integral of the function around the boundary. In this case, the region is the curve, the derivative is the field, the function is the potential, and the boundary is the endpoints of the curve.
Quite possibly; I don't speak math, I just use it. :D
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Re: Need help with Line Integrals

Post by Kuroneko »

A physicist might also observe that the projection of the path to the xy plane is clearly circular, and hence the xy velocity components must be orthogonal to the (radial) xy components of the field. Hence, only the z components can contribute to work. But as some point it's better to just get some practice with the general method.

In differential geometry, Stokes' theorem is the general result that the integral of an n-form over a manifold with boundary being equal to the integral of the corresponding (n+1)-form over the boundary. A smooth function is by definition a 0-form and its gradient is the differential (or rather, its dual): df = (∂f/∂xi) dxi = f,i dxi. In R³, the curl of a vector field corresponds to a certain 1-form (giving the Stokes' theorem from elementary calculus), and the divergence to a 2-form (giving Gauss' theorem).
"The fool saith in his heart that there is no empty set. But if that were so, then the set of all such sets would be empty, and hence it would be the empty set." -- Wesley Salmon
User avatar
starslayer
Jedi Knight
Posts: 731
Joined: 2008-04-04 08:40pm
Location: Columbus, OH

Re: Need help with Line Integrals

Post by starslayer »

Surlethe wrote:In my understanding, when it's presented in higher generality, Stokes' theorem says that the integral of a derivative on a region is the integral of the function around the boundary. In this case, the region is the curve, the derivative is the field, the function is the potential, and the boundary is the endpoints of the curve.
You have it backwards. The integral of the derivative over the boundary equals the integral of the function over the region.
User avatar
Kuroneko
Jedi Council Member
Posts: 2469
Joined: 2003-03-13 03:10am
Location: Fréchet space
Contact:

Re: Need help with Line Integrals

Post by Kuroneko »

No, I'm the one who mistyped n+1 instead of n-1. Surlethe is correct. IntA dF = Int∂A F. The most trivial example is in the reals, with the manifold being an interval I = [a,b], in which case we get the fundamental theorem of calculus
Int[a,b] dF = Int{a,b} F = F(b) - F(a),
with the two-point boundary {a,b}.
"The fool saith in his heart that there is no empty set. But if that were so, then the set of all such sets would be empty, and hence it would be the empty set." -- Wesley Salmon
User avatar
Surlethe
HATES GRADING
Posts: 12267
Joined: 2004-12-29 03:41pm

Re: Need help with Line Integrals

Post by Surlethe »

Cheap answer: the ∂ goes from the integrand to the region of integration.
A Government founded upon justice, and recognizing the equal rights of all men; claiming higher authority for existence, or sanction for its laws, that nature, reason, and the regularly ascertained will of the people; steadily refusing to put its sword and purse in the service of any religious creed or family is a standing offense to most of the Governments of the world, and to some narrow and bigoted people among ourselves.
F. Douglass
User avatar
starslayer
Jedi Knight
Posts: 731
Joined: 2008-04-04 08:40pm
Location: Columbus, OH

Re: Need help with Line Integrals

Post by starslayer »

Oh, son of a bitch. I misread my calculus book. :banghead: Yes, of course you're right. You'd think I would remember this stuff...
Post Reply