Line integral of a spherical vector field over cartesian path

Click For Summary

Homework Help Overview

The problem involves computing the line integral of a vector field defined in spherical coordinates over a specified path in Cartesian coordinates. The vector field is given in terms of spherical unit vectors, and the path is described from the point (0,1,0) to (0,1,2).

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants discuss the parameterization of the path and whether using a different parameter, such as z, would simplify the computation. There are questions about the consistency of results when switching between spherical and Cartesian coordinates.

Discussion Status

Some participants have provided guidance on the potential simplification of the problem by using Cartesian coordinates. There is an ongoing exploration of the differences in results obtained from different coordinate systems, with a focus on the implications of the line element in spherical coordinates.

Contextual Notes

There is mention of a coordinate singularity along the z-axis in standard spherical coordinates, which may affect the calculations. Participants are also considering the accuracy of their arithmetic and the appropriateness of their parameterization.

PeteyCoco
Messages
37
Reaction score
1

Homework Statement



Compute the line integral of

[itex]\vec{v} = (rcos^{2}\theta)\widehat{r} - (rcos\theta sin\theta)\widehat{\theta} + 3r\widehat{\phi}[/itex]

over the line from (0,1,0) to (0,1,2) (in Cartesian coordinates)

The Attempt at a Solution



Well, I expressed the path as a parametrized vector

[itex]\vec{r}(t) = \frac{1}{sint} \widehat{r} + t\widehat{\theta} + \frac{\pi}{2}[/itex], t:(arctan(1/2), pi/2)

the derivative of which is

[itex]\vec{r}'(t) = -\frac{cost}{sin^{2}t} \widehat{r} + \widehat{\theta}[/itex]

I'm looking for the integral to be equal to 2, but whenever I work it out I get a mess of logarithms and square roots. Have I parameterized this the wrong way?
 
Physics news on Phys.org
Hi PeteyCoco! :smile:
PeteyCoco said:
… over the line from (0,1,0) to (0,1,2) (in Cartesian coordinates)

Wouldn't it be massively easier to use the parameter z ? :confused:

(and convert v to Cartesian)
 
tiny-tim said:
Hi PeteyCoco! :smile:


Wouldn't it be massively easier to use the parameter z ? :confused:

(and convert v to Cartesian)

Yeah, it was much simpler. Should I be able to get exactly the same answer if I work it out in terms of spherical coordinates though? When I did the arithmetic on the answer from that process I got something around 1.975 instead of 2. Is that due to poor math on my part or is the result off because of the unnatural fit of a line in spherical coordinates?
 
Hi PeteyCoco! :smile:

(just got up :zzz:)
PeteyCoco said:
Should I be able to get exactly the same answer if I work it out in terms of spherical coordinates though?

Yes, but you have to be very careful about the line element in spherical coordinates (I expect that's where you went wrong) …

in Cartesian corordinates, it's just dz, with no factors ! :wink:

If you want us to find your mistake (the answer should have been exactly the same), you'll have to type it out for us. :smile:
 
The [itex]z[/itex]-axis is a coordinate singularity in standard spherical coordinates!
 

Similar threads

Replies
5
Views
1K
Replies
1
Views
1K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
1
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
1
Views
1K