Spherical co-ordinates conversion

  • MHB
  • Thread starter Fermat1
  • Start date
  • Tags
    Spherical
In summary: That problem statement states explicitly: "in the first octant".It restricts both angles to $[0,\frac \pi 2]$.
  • #1
Fermat1
187
0
Consider the region above the $z=-\sqrt{2-x^2-y^2}$ and below $z=-\sqrt{x^2+y^2}$.

Let $x=r\sin\phi\cos\theta$, $y=r\sin\phi\sin\theta$, $z=r\cos\phi$

I want the range of the variables. I get $0\leq r\leq\sqrt{2}$.

How do I work out the range of $\phi$ and $\theta$ ?
 
Physics news on Phys.org
  • #2
Fermat said:
Consider the region above the $z=-\sqrt{2-x^2-y^2}$ and below $z=-\sqrt{x^2+y^2}$.

Let $x=r\sin\phi\cos\theta$, $y=r\sin\phi\sin\theta$, $z=r\cos\phi$

I want the range of the variables. I get $0\leq r\leq\sqrt{2}$.

How do I work out the range of $\phi$ and $\theta$ ?

Simplest is by drawing those surfaces.
The first is a demi-sphere below the $z=0$ plane.
The second is a cone, also below the $z=0$ plane.

In polar coordinates you will have the full range for the longutide $0 \le \theta < 2\pi$.

Edited:
And the colatitude begins at the cone.
That is, $\frac{3\pi}{4} \le \phi \le \pi$.
 
  • #3
I like Serena said:
Simplest is by drawing those surfaces.
The first is a demi-sphere below the $z=0$ plane.
The second is a cone, also below the $z=0$ plane.

In polar coordinates you will have the full range for the longutide $0 \le \theta < 2\pi$.
And the colatitude begins at the $z=0$ plane and ends at the cone.
That is, $\frac \pi 2 \le \phi \le \frac{3\pi}{4}$.

Hi can you explain how you found those angles-how do they relate to the equations for z?Thanks
 
  • #4
Fermat said:
Hi can you explain how you found those angles-how do they relate to the equations for z?Thanks

Let's take a look at the cone $z=-\sqrt{x^2+y^2}$.

Substituting the definitions of the polar coordinates, we get:
$$r\cos\phi = -\sqrt{(r\sin\phi\cos\theta)^2 + (r\sin\phi\sin\theta)^2} = -r\sin\phi$$
Since $\theta$ is not present in this equation, we need its full range.
Solving it for $\phi$ in the domain $[0,\pi]$ gives $\phi=\frac{3\pi}{4}$.

So to integrate above the cone, we need $0 \le \theta < 2\pi$ and $\phi \le \frac{3\pi}{4}$.
 
  • #5
I like Serena said:
Let's take a look at the cone $z=-\sqrt{x^2+y^2}$.

Substituting the definitions of the polar coordinates, we get:
$$r\cos\phi = -\sqrt{(r\sin\phi\cos\theta)^2 + (r\sin\phi\sin\theta)^2} = -r\sin\phi$$
Since $\theta$ is not present in this equation, we need its full range.
Solving it for $\phi$ in the domain $[0,\pi]$ gives $\phi=\frac{3\pi}{4}$.

So to integrate above the cone, we need $0 \le \theta < 2\pi$ and $\phi \le \frac{3\pi}{4}$.

thanks, do you mean integrate below the cone?
 
  • #6
Fermat said:
thanks, do you mean integrate below the cone?

Ah. To integrate below the cone it should be $\phi \ge \frac{3\pi}{4}$.
 
  • #7
I like Serena said:
Ah. To integrate below the cone it should be $\phi \ge \frac{3\pi}{4}$.

How do you get the upper limit? When I use the other equation I 'lose' ${\phi}$. Does that signify there is no upper restriction (apart from ${\pi}$)?
 
  • #8
Fermat said:
How do you get the upper limit? When I use the other equation I 'lose' ${\phi}$. Does that signify there is no upper restriction (apart from ${\pi}$)?

Yes.
 
  • #9
I like Serena said:
Yes.

How about this. Calculate the outward flux through the surface $x^2+y^2+z^2=1$ of a fluid with velocity field $F$.

When I convert to spherical, the range of both anges should be [0,${\pi}$/2] Why is there this restriction?

Thanks
 
  • #10
Fermat said:
How about this. Calculate the outward flux through the surface $x^2+y^2+z^2=1$ of a fluid with velocity field $F$.

When I convert to spherical, the range of both anges should be [0,${\pi}$/2] Why is there this restriction?

Thanks

There is no implicit reason for such a restriction.
The text must have explicitly stated any restrictions.
 

FAQ: Spherical co-ordinates conversion

What are spherical coordinates?

Spherical coordinates are a system of representing points in three-dimensional space using a distance from the origin, an azimuth angle, and an inclination angle.

What is the purpose of converting to spherical coordinates?

Converting to spherical coordinates can be useful for solving certain mathematical and physical problems, such as calculating distances between points on a sphere or finding the direction and distance of an object from a fixed point.

What is the formula for converting from Cartesian coordinates to spherical coordinates?

The formula for converting from Cartesian coordinates (x, y, z) to spherical coordinates (r, θ, φ) is:
r = √(x² + y² + z²)
θ = arctan(y/x)
φ = arctan(√(x² + y²)/z)

What are some real-world applications of spherical coordinates?

Spherical coordinates are used in various fields such as astronomy, navigation, and physics. They can be used to locate objects in space, map out the Earth's surface, and calculate the position of an object in relation to a fixed point.

What are the advantages and disadvantages of using spherical coordinates?

One advantage of using spherical coordinates is that they can simplify complex problems involving spherical objects. However, they can be more difficult to visualize and work with compared to Cartesian coordinates, and may not be suitable for all types of calculations.

Similar threads

Replies
3
Views
2K
Replies
29
Views
2K
Replies
8
Views
1K
Replies
7
Views
2K
Replies
1
Views
387
Back
Top