Why does the expectation of a continuous random variable use integration instead of summation?
Integration is used because a continuous random variable can take any value in an interval, resulting in uncountably many possible values. Summation applies to discrete sets of values. The integral effectively sums the product of values and their infinitesimal probabilities () over the entire range, generalizing the discrete weighted sum.
Conditions
- X is a continuous random variable
- is the probability density function
- The integral converges absolutely
Reasoning, step by step
- Contrast discrete variables (countable values) with continuous variables (uncountable values).
- Recognize that summation works for discrete cases.
- Understand that for continuous cases, probability is distributed over intervals, described by density .
- Replace the discrete probability with the infinitesimal probability .
- Replace the summation symbol with the integral symbol to accumulate over the continuum.
Example
The video shows the transition from for discrete variables to for continuous variables, explaining the latter as an improper integral.
Common misconceptions
- Believing that continuous variables have a countable list of values with non-zero probabilities.
- Thinking that integration is just a different notation for summation without conceptual difference in the nature of the variable.
- Confusing probability density with probability .
Watch the explanation
Connected concepts
Explore next
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.