Line Integral: A from (1,0,0) to (3,0,0) on Semi-Circular Path

Click For Summary

Homework Help Overview

The problem involves calculating the line integral of a vector field A defined as A = kx in the x hat direction, along a semicircular path from the point (1,0,0) to (3,0,0) with a center at x=2. The challenge appears to be converting the vector field into cylindrical coordinates to facilitate the dot product with the differential length element dl.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the conversion of the vector field A into cylindrical coordinates and the implications for performing the line integral. Questions arise regarding the treatment of differentials in the integral and the relevance of the volume element in this context.

Discussion Status

The discussion is ongoing, with participants exploring the conversion process and the associated mathematical implications. Some guidance has been provided regarding the nature of the differentials involved, but confusion remains about the integration process and the expected outcomes of the integral.

Contextual Notes

There is mention of path independence in the context of the line integral, with participants questioning whether the integrals along different paths should yield the same result. The specific bounds for the integral along the semicircular path are also under consideration.

msd213
Messages
24
Reaction score
0

Homework Statement



Calculate the line integral of A between to points x=1 and x=3 along the semicircular path with a center at x=2

Homework Equations



A=kx in the x hat direction.

[tex]\int A \bullet dl[/tex]

dl = ds s hat +s d[tex]\phi[/tex] [tex]\phi[/tex] hat +dz z hat


The Attempt at a Solution



My biggest problem seems to be getting that A into cylindrical coordinates so I can take the dot product with the dl.
 
Last edited:
Physics news on Phys.org
HI msd213, welcome to PF!:smile:

msd213 said:

Homework Equations



A=kx in the x hat direction.

[tex]\int A \bullet dl[/tex]

dl = ds s hat +s d[tex]\phi[/tex] [tex]\phi[/tex] hat +dz z hat

You can write this more clearly as follows (click on the [itex]\LaTeX[/itex] images to see the code used to generate them!):

[tex]\textbf{A}=kx\mathbf{\hat{x}}[/tex]

[tex]\int \textbf{A}\cdot d\textbf{l}[/tex]

[tex]d\textbf{l}=ds\mathbf{\hat{s}}+s d\phi\mathbf{\hat{\phi}}+dz\mathbf{\hat{z}}[/tex]

My biggest problem seems to be getting that A into cylindrical coordinates so I can take the dot product with the dl.

In cylindrical coordinates, centered at [itex]x=2[/itex] (since that is the center of your curve, you might as well choose the origin of your cylindrical coordinates to be there) [itex]x-2=s\cos\phi[/itex] and [itex]\mathbf{\hat{x}}=\cos\phi\mathbf{\hat{s}}-\sin\phi\mathbf{\hat{\phi}}[/itex]
 
gabbagabbahey said:
HI msd213, welcome to PF!:smile:



You can write this more clearly as follows (click on the [itex]\LaTeX[/itex] images to see the code used to generate them!):

[tex]\textbf{A}=kx\mathbf{\hat{x}}[/tex]

[tex]\int \textbf{A}\cdot d\textbf{l}[/tex]

[tex]d\textbf{l}=ds\mathbf{\hat{s}}+s d\phi\mathbf{\hat{\phi}}+dz\mathbf{\hat{z}}[/tex]



In cylindrical coordinates, centered at [itex]x=2[/itex] (since that is the center of your curve, you might as well choose the origin of your cylindrical coordinates to be there) [itex]x-2=s\cos\phi[/itex] and [itex]\mathbf{\hat{x}}=\cos\phi\mathbf{\hat{s}}-\sin\phi\mathbf{\hat{\phi}}[/itex]

Thanks for your response but I'm still confused. How did you derive that [itex]\mathbf{\hat{x}}[/itex]?
 
I didn't derive it...I looked it up!:smile:

The derivation is done in most Multi-variable calculus texts, and I think is done in an Appendix in Griffiths' Introduction to Electrodynamics as-well. But it is really just a matter of drawing a picture and doing some very basic trig.
 
gabbagabbahey said:
I didn't derive it...I looked it up!:smile:

The derivation is done in most Multi-variable calculus texts, and I think is done in an Appendix in Griffiths' Introduction to Electrodynamics as-well. But it is really just a matter of drawing a picture and doing some very basic trig.

I think I see now. But when you take the dot product between the A (now converted into cylindrical coordinates, and dl, aren't you going to have terms multiplied by differentials such as (some term)*[tex]ds[/tex] +(another term)*[tex]d\phi[/tex]...etc. How can you take the integrals with that? Where does the volume element fit in?
 
Last edited:
msd213 said:
I think I see now. But when you take the dot product between the A (now converted into cylindrical coordinates, and dl, aren't you going to have terms multiplied by differentials such as (some term)*[tex]ds[/tex] +(another term)*[tex]d\phi[/tex]...etc. How can you take the integrals with that? Where does the volume element fit in?

Well, for your particular curve (the semicircle), [itex]s=1[/itex] and [itex]z[/itex] are both constant, so [itex]ds=dz=0[/itex] and hence [itex]d\textbf{l}=d\phi\mathbf{\hat{\phi}}[/itex]

In general, any 3D curve can be described by a single parameter. So, in cylindrical coordinates, for example, you would have something like [itex]s=s(u)[/itex], [itex]\phi=\phi(u)[/itex] and [itex]z=z(u)[/itex] and so all the differentials ([itex]ds[/itex], [itex]d\phi[/itex] and [itex]dz[/itex]) can be written in terms of a single differential [itex]du[/itex]. (For your particular curve, the easiest way is just to use [itex]\phi[/itex] as your parameter)

If instead you wanted to integrate over a surface, you would express each coordinate in terms of two independent parameters, and your surface area element in terms of their differentials.
 
gabbagabbahey said:
Well, for your particular curve (the semicircle), [itex]s=1[/itex] and [itex]z[/itex] are both constant, so [itex]ds=dz=0[/itex] and hence [itex]d\textbf{l}=d\phi\mathbf{\hat{\phi}}[/itex]

In general, any 3D curve can be described by a single parameter. So, in cylindrical coordinates, for example, you would have something like [itex]s=s(u)[/itex], [itex]\phi=\phi(u)[/itex] and [itex]z=z(u)[/itex] and so all the differentials ([itex]ds[/itex], [itex]d\phi[/itex] and [itex]dz[/itex]) can be written in terms of a single differential [itex]du[/itex]. (For your particular curve, the easiest way is just to use [itex]\phi[/itex] as your parameter)

If instead you wanted to integrate over a surface, you would express each coordinate in terms of two independent parameters, and your surface area element in terms of their differentials.

I'm still a little confused about how this clears up the problem with the repeated differentials. For example, in my problem, isn't the integral going to look like.

[tex]\int -k s^2\\\ cos\phi\\ sin\phi\\ d\phi\\\ s\\ ds\\ d\phi\\ dz[/tex]

Using [itex]\mathbf{\hat{x}}=\cos\phi\mathbf{\hat{s}}-\sin\phi\mathbf{\hat{\phi}}[/itex]
and [tex]kx=kscos\phi[/tex]

I'm not sure how I can write these in terms of one parameter.
 
msd213 said:
I'm still a little confused about how this clears up the problem with the repeated differentials. For example, in my problem, isn't the integral going to look like.

[tex]\int -k s^2\\\ cos\phi\\ sin\phi\\ d\phi\\\ s\\ ds\\ d\phi\\ dz[/tex]

No,

[tex]\begin{aligned} \textbf{A} & = kx\mathbf{\hat{x}} \\ & = k(s\cos\phi+2)\left(\cos\phi\mathbf{\hat{s}}-\sin\phi\mathbf{\hat{\phi}}\right) \\ & = k(\cos^2\phi+2\cos\phi)\mathbf{\hat{s}}-k(\sin\phi\cos\phi+2\sin\phi)\mathbf{\hat{\phi}} \end{aligned}[/tex]

(Since [itex]s=1[/itex] along your curve)

And [itex]d\textbf{l}=d\phi\mathbf{\hat{\phi}}[/itex], so

[tex]\begin{aligned} \textbf{A}\cdot d\textbf{l} & = \left(k(\cos^2\phi+2\cos\phi)\mathbf{\hat{s}}-k(\sin\phi\cos\phi+2\sin\phi)\mathbf{\hat{\phi}}\right)\cdot(d\phi\mathbf{\hat{\phi}}) \\ & = -k(\sin\phi\cos+2\sin\phi)\phi d\phi\end{aligned}[/tex]
 
Last edited:
gabbagabbahey said:
No,

[tex]\begin{aligned} \textbf{A} & = kx\mathbf{\hat{x}} \\ & = k(s-2)\cos\phi\left(\cos\phi\mathbf{\hat{s}}-\sin\phi\mathbf{\hat{\phi}}\right) \\ & = -k\cos^2\phi\mathbf{\hat{s}}+k\sin\phi\cos\phi\mathbf{\hat{\phi}} \end{aligned}[/tex]

(Since [itex]s=1[/itex] along your curve)

And [itex]d\textbf{l}=d\phi\mathbf{\hat{\phi}}[/itex], so

[tex]\begin{aligned} \textbf{A}\cdot d\textbf{l} & = \left(-kcos^2\phi\mathbf{\hat{s}}+k\sin\phi\cos\phi\mathbf{\hat{\phi}}\right)\cdot(d\phi\mathbf{\hat{\phi}}) \\ & = k\sin\phi\cos\phi d\phi\end{aligned}[/tex]

Thanks for your patience and prompt responses.

Whenver I use cylindrical coordinates, I suppose I just reflexively put in that [tex]s\\ ds\\ d\phi\\ dz[/tex] whenever I convert to cylindrical coordinates and integrate. Why exactly isn't it needed here?
 
  • #10
[itex]d\tau=s ds d\phi dz[/itex] is the differential volume element...you're not performing a volume integral here, so [itex]d\tau[/itex] is pretty useless to you.
 
  • #11
gabbagabbahey said:
No,

[tex]\begin{aligned} \textbf{A} & = kx\mathbf{\hat{x}} \\ & = k(s-2)\cos\phi\left(\cos\phi\mathbf{\hat{s}}-\sin\phi\mathbf{\hat{\phi}}\right) \\ & = -k\cos^2\phi\mathbf{\hat{s}}+k\sin\phi\cos\phi\mathbf{\hat{\phi}} \end{aligned}[/tex]

(Since [itex]s=1[/itex] along your curve)

And [itex]d\textbf{l}=d\phi\mathbf{\hat{\phi}}[/itex], so

[tex]\begin{aligned} \textbf{A}\cdot d\textbf{l} & = \left(-kcos^2\phi\mathbf{\hat{s}}+k\sin\phi\cos\phi\mathbf{\hat{\phi}}\right)\cdot(d\phi\mathbf{\hat{\phi}}) \\ & = k\sin\phi\cos\phi d\phi\end{aligned}[/tex]

Thanks, I guess I've just been conditioned from calc to put that there.

Also, I think the whole idea of this section is path independence.

So, when you just take the path just along the x-axis, you have

[tex]\int_1^3 k\\ x\\ dx[/tex]

This integral yields 4k. But the integral you derive yields zero, unless I'm way off. The bounds should be 0 to [tex]\pi[/tex] correct? Shouldn't the integrals yield the same answer?
 
  • #12
msd213 said:
Thanks, I guess I've just been conditioned from calc to put that there.

Also, I think the whole idea of this section is path independence.

So, when you just take the path just along the x-axis, you have

[tex]\int_1^3 k\\ x\\ dx[/tex]

This integral yields 4k. But the integral you derive yields zero, unless I'm way off. The bounds should be 0 to [tex]\pi[/tex] correct? Shouldn't the integrals yield the same answer?

Right, sorry my post contained an error (substituted [itex]x=(s-2)\cos\phi[/itex] instead of [itex]x-2=s\cos\phi[/itex])...i'll edit it to fix the error...
 
  • #13
gabbagabbahey said:
Right, sorry my post contained an error (substituted [itex]x=(s-2)\cos\phi[/itex] instead of [itex]x-2=s\cos\phi[/itex])...i'll edit it to fix the error...

Thank you, that should clear everything up. You've been a great help.:smile:
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 46 ·
2
Replies
46
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
11K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K