Mean of a probability distribution

Snazzy
Messages
470
Reaction score
0
[SOLVED]Mean of a probability distribution

Homework Statement


von5s8.jpg



Homework Equations


\int^{b}_{a}p(x)dx=1

V=M_2-\bar{x}^2

\bar{x}^2=\int^{b}_{a}xp(x)dx

M_2=\int^{b}_{a} x^2p(x)dx

The Attempt at a Solution



I found that c=\frac{1}{b} which is a right answer.

What I did next was:

<br /> \bar{x}=\int^{b}_{-b}xp(x)dx

=\int^{0}_{-b}x(\frac{cx}{b}+c)dx\ + \int^{b}_{0}x(\frac{-cx}{b}+c)dx

= \int^{0}_{-b}\frac{cx^2}{b}\ +\ c\ dx\ + \int^{b}_{0}\frac{-cx^2}{b}\ +\ c\ dx

=\left[ \frac{cx^3}{3b}+cx \right]_{-b}^{0}+\left[ \frac{-cx^3}{3b}+cx \right]_{0}^{b}

=\frac{-2cb^3}{3b}+{2cb}

=\frac{-2b^2}{3b}+\frac{2b}{b}

=\frac{-2b}{3}+2<br />

But the answer says that \bar{x}=0

If I can manage to get x-bar, I can manage to get the variance and SD.
 
Last edited:
Physics news on Phys.org
i) you are integrating cx, that should give you an antiderivative of cx^2/2. ii) put in the top limit and subtract the bottom limit. You are making sign errors. The cx^3/3b terms also cancel.
 
What an amateur mistake. I feel foolish. Cheers, Dick.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top