I How do I find the expected value and median of a probability density function?

Click For Summary
To find the expected value and median of the probability density function f(x) = 1/2e^-x/2 for x > 0, one must first ensure that the function is normalized, meaning its integral equals 1. The expected value for a continuous random variable is calculated using the integral of x multiplied by the probability density function over its range. The median is the value that divides the probability distribution into two equal halves, typically found by solving the cumulative distribution function for 0.5. Understanding these definitions is crucial for accurately determining the expected value and median. Proper normalization and integration techniques are essential in this process.
khansen9
Messages
1
Reaction score
0
TL;DR
TL;Integral
Hey everyone, I have been struggling to find the expected value and median of f(x) = 1/2e^-x/2, for x greater than 0. I am just wondering how I do so? Thank you.
 
Physics news on Phys.org
What are the definitions of the expectation and the median for a continuous random variable? :smile:
 
If f(x) is supposed to be a probability density, then it has to be normalized so its integral = 1.