Line integral of a spherical vector field over cartesian path

In summary, the conversation discusses the computation of a line integral using spherical and Cartesian coordinates and the use of parametrized vector equations. The result in spherical coordinates was slightly off due to a mistake in the line element, which is simplified in Cartesian coordinates.
  • #1
PeteyCoco
38
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
  • #2
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)
 
  • #3
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?
 
  • #4
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:
 
  • #5
The [itex]z[/itex]-axis is a coordinate singularity in standard spherical coordinates!
 

FAQ: Line integral of a spherical vector field over cartesian path

What is a line integral of a spherical vector field over cartesian path?

A line integral of a spherical vector field over cartesian path is a mathematical concept used to calculate the total value of a vector field along a specific path on a spherical surface. It takes into account both the direction and magnitude of the vector field at each point along the path.

How is a line integral of a spherical vector field over cartesian path different from a regular line integral?

A line integral of a spherical vector field over cartesian path is different from a regular line integral in that it is performed on a spherical surface rather than a flat, Cartesian surface. This means that the path must be described using spherical coordinates and the vector field must be defined in terms of these coordinates as well.

What is the formula for calculating a line integral of a spherical vector field over cartesian path?

The formula for calculating a line integral of a spherical vector field over cartesian path is ∫C F(r(t)) • r'(t) dt, where C is the path described in terms of spherical coordinates, F is the vector field, and r(t) is the position vector along the path.

What are some applications of line integrals of spherical vector fields over cartesian paths?

Line integrals of spherical vector fields over cartesian paths are commonly used in physics and engineering to calculate work done by a force on an object moving along a curved path, as well as to calculate flux through a closed surface. They are also used in vector calculus and differential geometry.

What are some techniques for solving a line integral of a spherical vector field over cartesian path?

There are several techniques for solving a line integral of a spherical vector field over cartesian path, including using Green's theorem, Stokes' theorem, or converting the integral into a double or triple integral in terms of spherical coordinates. It is also helpful to draw a diagram of the path and vector field to visualize the problem.

Back
Top