Confused about the intergral over a sphere

  • Context: Graduate 
  • Thread starter Thread starter khkwang
  • Start date Start date
  • Tags Tags
    Confused Sphere
Click For Summary

Discussion Overview

The discussion centers around the integration of a function over a sphere using spherical coordinates, specifically addressing the integration limits for the angles involved and the implications of different conventions used in mathematics and engineering.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant notes that integrating the function \intsin\varthetad\varthetad\phi from 0 to pi for \vartheta and from 0 to 2pi for \phi yields the expected result of 4pi, while reversing the limits leads to an incorrect result of 0.
  • Another participant explains that the presence of sin(\vartheta) in the integration measure is crucial, as it relates to the definition of angular coordinates and ensures that the area calculated remains positive.
  • A participant highlights the confusion arising from differing conventions in mathematics and engineering regarding the definitions of the angles \theta and \phi, with mathematics using \theta for longitude and \phi for co-latitude, while engineering reverses these meanings.
  • One participant introduces alternative notation, using \zeta for the zenith angle and \alpha for the azimuth angle, to avoid confusion stemming from these conventions.
  • A later reply humorously suggests that only engineers design things, implying a light-hearted view on the implications of these conventions.

Areas of Agreement / Disagreement

Participants express differing views on the conventions used in spherical coordinates, with no consensus on a single approach. The discussion remains unresolved regarding the implications of these conventions on integration results.

Contextual Notes

The discussion highlights the importance of clearly defining angular coordinates in spherical systems and the potential for confusion due to varying conventions in different fields.

khkwang
Messages
57
Reaction score
0
I don't know the beginning part of the question is relevant, so I'll leave it out unless requested.

At the point of:

\intsin\varthetad\varthetad\phi

Which is to be integrated over a sphere, when integrating from 0 to pi for \vartheta and then from 0 to 2pi for \phi, we get 4pi, which is the answer I'm looking for.

But if I integrate \vartheta from 0 to 2pi first, then \phi from 0 to pi, I get 0, which is definitely not the answer I'm looking for.

Can someone tell me why this is? And how I know which to integrate over pi and which to integrate over 2pi generally?
 
Physics news on Phys.org
Hi! The sin(theta) comes from the way the angular coordinates are defined. So you cannot simply say that you will integrate theta from 0 to 2pi. You can check out spherical cooordinates on wikipedia and the derivation of the integral measure.

Here is a way to remember: The coordinate the goes from 0 til pi is the one in the sin() function in the integration measure, because otherwise sin() would become negative. This integral measures the area on the sphere, and it should not be possible to get a negative answer, since area is positive.

Of course, each time someone uses a spherical coordite system, they should say how it is defined.

Torquil
 
Ah, I'm not sure I understand all that (the first part), but I understand the part about the area not being possible to be negative. Thanks.
 
khkwang said:
I don't know the beginning part of the question is relevant, so I'll leave it out unless requested.

At the point of:

\intsin\varthetad\varthetad\phi

Which is to be integrated over a sphere, when integrating from 0 to pi for \vartheta and then from 0 to 2pi for \phi, we get 4pi, which is the answer I'm looking for.

But if I integrate \vartheta from 0 to 2pi first, then \phi from 0 to pi, I get 0, which is definitely not the answer I'm looking for.

Can someone tell me why this is? And how I know which to integrate over pi and which to integrate over 2pi generally?
Unfortunately, to confuse the situation further, mathematics and engineering use opposite conventiions. Mathematics uses \theta as the "longitude" and \phi as the "co-latitude". Engineering reverses those meanings.

khkwang is using "engineering" notation, but either way, longitude goes from "180 degrees east to 180 degrees west" or a full 360 degree, 2\pi radian, circle while latitude only goes from "90 degrees south to 90 degrees west", only a difference of 180 degrees or \pi radians.
 
Also see the discussion at Wolfram about spherical coordinates.
 
HallsofIvy said:
Unfortunately, to confuse the situation further, mathematics and engineering use opposite conventiions. Mathematics uses \theta as the "longitude" and \phi as the "co-latitude". Engineering reverses those meanings

Because of that, I use \zeta for "zenith angle" (co-latitude, the angle from the Cartesian z-axis, [0,\pi]) and \alpha for "azimuth angle" (longitude, the angle from the Cartesian x-axis, [0,2\pi)).

Have any notable disasters been attributed to this difference in convention?
 
Since, fortunately, it is only engineers who design things, not mathematicians, no!
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K