Average and variance of a unit sphere

Click For Summary

Homework Help Overview

The discussion revolves around calculating the mean and variance for a point chosen within a unit sphere defined by the equation x² + y² + z² = 1. Participants are exploring the implications of the problem statement regarding whether to consider points on the surface or throughout the volume of the sphere.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss the definition of variance in this context, questioning whether it refers to the moment of inertia or another concept. There is uncertainty about the probability distribution function (PDF) used, with some suggesting it should be constant within the sphere. Others propose calculating the center of mass for the mean and consider squared distances for variance.

Discussion Status

Participants are actively engaging with the problem, questioning assumptions and clarifying the requirements. Some have suggested potential approaches for calculating the mean and variance, while others are still determining the correct interpretation of the problem statement and the appropriate PDF.

Contextual Notes

There is ambiguity regarding whether the mean and variance should be calculated for points on the surface of the sphere or throughout its volume. The original poster's use of a specific probability distribution has been questioned, and participants are considering the implications of choosing different interpretations.

unscientific
Messages
1,728
Reaction score
13

Homework Statement



Consider the sphere x2 + y2 + z2 = 1

Find the mean and variance.

Homework Equations


The Attempt at a Solution



Mean = 0 (Symmetry)

Variance
Probability = \frac {dV}{\frac{4}{3} \pi R^3} = \frac {4 \pi r^2 dr}{\frac{4}{3} \pi R^3} = 3 \frac {r^2}{R^3} dr

Variance = \int_0^R r^2 * 3 \frac {r^2}{R^3} dr = \frac {3}{5R^3} = \frac {3}{5}

Not sure if this is right..
 
Last edited:
Physics news on Phys.org
'variance' is kinda strange given just the problem statement... I guess it means the moment of inertia about the centre of mass, when the total mass equals 1 ?

But then in your attempt, you use a probability distribution ##3/4\pi R^3## Where did this come from? This wasn't in the problem statement.
 
BruceW said:
'variance' is kinda strange given just the problem statement... I guess it means the moment of inertia about the centre of mass, when the total mass equals 1 ?

But then in your attempt, you use a probability distribution ##3/4\pi R^3## Where did this come from? This wasn't in the problem statement.

Ok, my answer is definitely wrong because μ = <x> = \int x P_{(x)} dx ≠ 0

This means that my pdf is wrong.
 
Last edited:
what is your pdf supposed to be? was it specified?
 
BruceW said:
what is your pdf supposed to be? was it specified?

Not at all...They wanted mean and variance of a point within a sphere.
 
hmm, interesting. what do you think they wanted? for the mean, you could calculate the centre of mass, where the density is only nonzero (and is constant) in the specified region. For the variance, it's not so simple. maybe use squared distance from the centre of mass? Also, for this problem, are you using all the points within the ball of some radius? Or all the points on the surface of this ball?
 
BruceW said:
hmm, interesting. what do you think they wanted? for the mean, you could calculate the centre of mass, where the density is only nonzero (and is constant) in the specified region. For the variance, it's not so simple. maybe use squared distance from the centre of mass? Also, for this problem, are you using all the points within the ball of some radius? Or all the points on the surface of this ball?

They want variance of a point at position r within the sphere.
 
In the first post, you wrote
unscientific said:
Consider the sphere x2 + y2 + z2 = 1

Find the mean and variance.
which implies to me that they want you to consider the points only on the surface of the sphere. But now you are saying they want you to consider all the points within the sphere? well, I guess you just need to choose which one you think is most likely. Also, for 'variance of a point' I know what equation I would guess this means. But I don't really know. You should try to figure out what equation they want you to use. What would the variance be in 1d ? and try to extend that to something that is a similar equation in 3d.
 
BruceW said:
In the first post, you wrote

which implies to me that they want you to consider the points only on the surface of the sphere. But now you are saying they want you to consider all the points within the sphere? well, I guess you just need to choose which one you think is most likely. Also, for 'variance of a point' I know what equation I would guess this means. But I don't really know. You should try to figure out what equation they want you to use. What would the variance be in 1d ? and try to extend that to something that is a similar equation in 3d.

Okay here is what they say: A point, randomly chosen within the sphere is at distance c from the origin. Find the mean and variance of c.
 
  • #10
ah, that's much clearer! OK, since they say 'randomly chosen within the sphere', this implicitly tells us what the PDF is. As another example, if I said I will randomly choose a number between 0 and a given number ##L##, then what is the PDF in this case? That is the 1d case, so then it is straightforward to go to the 3d case.
 
  • #11
BruceW said:
ah, that's much clearer! OK, since they say 'randomly chosen within the sphere', this implicitly tells us what the PDF is. As another example, if I said I will randomly choose a number between 0 and a given number ##L##, then what is the PDF in this case? That is the 1d case, so then it is straightforward to go to the 3d case.

So are you saying that the pdf is ##\frac{R}{2}## ? I've just been wondering why the pdf between any two numbers is the average? Like pdf of numbers distributed from 0 to 10 is 5, 0 to 1 is 1/2 etc.?
 
  • #12
almost right. The pdf should be a constant within the specified area or length or volume or whatever. But also, when you integrate the pdf over that total area, or length or volume, you should get 1 (since you will certainly choose a point, out of the possible options). So this means the pdf of numbers distributed from 0 to 10 is definitely not 5. and from 0 to 1 is not 1/2.
 
  • #13
BruceW said:
almost right. The pdf should be a constant within the specified area or length or volume or whatever. But also, when you integrate the pdf over that total area, or length or volume, you should get 1 (since you will certainly choose a point, out of the possible options). So this means the pdf of numbers distributed from 0 to 10 is definitely not 5. and from 0 to 1 is not 1/2.

How do I figure out the pdf then? Is it a constant? So the pdf for length should be a function of R, the pdf for area and vol.?
 
Last edited:
  • #14
hmm. your teacher should have explained stuff like this before giving this kind of problem. Yes, the pdf is constant within the specified volume, and zero outside. And by the definition of a pdf, you know the volume integral of the pdf must equal 1. So le'ts call the constant ##C##. Then:
##\int_{volume} C \ dV = 1##
where the volume integral is only over the specified volume, since the pdf is zero outside of the volume. And now, you know ##C## is a constant, so what is the next step?
 
  • #15
BruceW said:
hmm. your teacher should have explained stuff like this before giving this kind of problem. Yes, the pdf is constant within the specified volume, and zero outside. And by the definition of a pdf, you know the volume integral of the pdf must equal 1. So le'ts call the constant ##C##. Then:
##\int_{volume} C \ dV = 1##
where the volume integral is only over the specified volume, since the pdf is zero outside of the volume. And now, you know ##C## is a constant, so what is the next step?

Then the pdf for r, area and volume is simply 1/r, \frac{1}{4\pi r^2}, \frac{1}{4/3 \pi r^3}.
 
  • #16
yep, that's it! And be sure to keep in mind that ##r## in those equations is a constant, not a variable. i.e. for the volume, ##r## is the total radius of the sphere (a constant). Looking at your first post, I think you got it partly correct. They are asking for the mean distance from the origin. Not the mean position from the origin. So the mean will not be zero. Now you have the pdf, you can find the mean of the distance from the origin in the usual way.
 
  • #17
BruceW said:
yep, that's it! And be sure to keep in mind that ##r## in those equations is a constant, not a variable. i.e. for the volume, ##r## is the total radius of the sphere (a constant). Looking at your first post, I think you got it partly correct. They are asking for the mean distance from the origin. Not the mean position from the origin. So the mean will not be zero. Now you have the pdf, you can find the mean of the distance from the origin in the usual way.

Mean distance:

\int_0^R r\frac{1}{R} dr = \frac{1}{2}R

Variance:

\int_0^R (x-\frac{R}{2})^2 \frac{1}{R} dr = \frac{1}{36}R^2
 
  • #18
that's roughly the right idea for 1d. although, I don't think the variance is quite right. Anyway, next you should try it for 3d.
 

Similar threads

Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
6
Views
5K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K