Expected value of a continuous random variable

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
rayne1
Messages
32
Reaction score
0
Given the PDF:

f(x) = 1/12 , 0 < x <= 3
x/18, 3 < x <= 6
0, otherwise

find the expected value, E(x).

I know how to find the expected value if there was only one interval, but don't how to do it for two.
 
Physics news on Phys.org
rayne said:
Given the PDF:

f(x) = 1/12 , 0 < x <= 3
x/18, 3 < x <= 6
0, otherwise

find the expected value, E(x).

I know how to find the expected value if there was only one interval, but don't how to do it for two.

The integral can be devided in two integrals as follows...

$\displaystyle E \{X \} = \frac{1}{12}\ \int_{0}^{3} x\ d x + \frac{1}{18}\ \int_{3}^{6} x^{2}\ dx\ (1)$

Kind regards

$\chi$ $\sigma$
 
Last edited:
chisigma said:
The integral can be devided in two integrals as follows...

$\displaystyle E \{X \} = \frac{1}{12}\ \int_{0}^{3} x\ d x + \frac{1}{18}\ \int_{3}^{6} x^{2}\ dx\ (1)$

Kind regards

$\chi$ $\sigma$

Oh I did try that, so then I must have made a calculation error.