Calculating Average of COS2X over a Sphere

  • Thread starter Thread starter lepori
  • Start date Start date
  • Tags Tags
    Average
AI Thread Summary
To calculate the average of cos²(x) over a sphere, one must perform a surface integral rather than a simple integral over an interval. The average value of cos²(x) over the surface of a sphere is 1/3, as opposed to the 1/2 obtained from integrating over the interval [0, 2π]. This discrepancy arises because the integration should account for the spherical coordinates, specifically integrating over angles θ and φ. The correct approach involves using the surface area of the sphere and the appropriate area element in the integral. Understanding the distinction between averaging over a circle versus a sphere is crucial for obtaining the correct result.
lepori
Messages
11
Reaction score
0
hi,

how can I calculate average of cos2x ?
I want to take average over a sphere

I tried to do like this: <cos2X>= 1/2π ∫cos2xdx
and I get 1/2

but in my books, wrote that average of cos2x , taken over a sphere, is 1/3
 
Mathematics news on Phys.org
What sphere are you trying to average it over?

1/2 is the average of cos2(x) on the interval [0,2pi], which is something that nobody would call a sphere.
 
in fact, my question is - how can I take average over sphere?..
 
What's x, is it something "specific"? Because if it happens to be, for example, the polar angle in spherical coordinates, then my guess is that you're supposed to calculate a surface integral over a sphere, A^{-1} \iint_A \cos^2(\theta) \mathrm{d}A, where A is the surface area of a sphere and dA is the area element. The radius will cancel out. This gives you the correct answer, but it could obviously be something else as well. But, like Office_Shredder said, just integrating over the interval [0,2π] won't do, you're certainly not taking the average over a sphere that way.
 
Last edited:
lepori said:
in fact, my question is - how can I take average over sphere?..
By integrating over the sphere and dividing by the surface of the sphere- it looks like what you did was integrate over a circle and divide by 2\pi, the length of a circle.

To further confuse things, your function, cos(x) depends only on a single variable, x. Is that what you intended or did you mean to have a function of all three variables, x, y, and z- or in polar coordinates, \theta and \phi?

And do you mean the three dimensional ball or the surface of the sphere. The volume of a ball of radius R is (4/3)\pi R^3 while the surface area is 4\pi R^2.
 
we have a function:

G(t)=cos(x)^2+sin(x)^2*cos(wt)

X is angle between two vector, if the vectors direction is random, then averaging over all directions would be yield

G(t) = 1/3 +2/3*cos(wt)


///////////
I just do not understand, how to get it :)
 
lepori said:
hi,
how can I calculate average of cos2x ?
I want to take average over a sphere
I tried to do like this: <cos2X>= 1/2π ∫cos2xdx
and I get 1/2
but in my books, wrote that average of cos2x , taken over a sphere, is 1/3
maybe you can try this:

<cos2(x)>= 1/2 ∫cos2(x) sin(x) dx

and with appropriate limits...

===
and similar with sinus if necessary
====
edit;

I thought it was in the HW section
 
Last edited:
Back
Top