Probabilities from a continuous density
For a continuous variable, an interval probability is the area under its density. Split an integral when the density rule changes, and use the intersection over the conditioning event for a conditional probability. The conditional formula requires Pr(B) > 0.
- Integrate the density An interval probability is the area under f(x) across the event interval \(\displaystyle \Pr(a<X<b)=\int_a^b f(x)\,dx\)
- Split at a density junction If the rule changes inside the event interval, integrate each branch over its own part \(\displaystyle \int_0^3f(x)\,dx=\int_0^1f_1(x)\,dx+\int_1^3f_2(x)\,dx\)
- Subtract lower from upper For an antiderivative, evaluate the upper terminal first and subtract the lower terminal \(\displaystyle \int_1^3 2x\,dx=[x^2]_1^3=9-1=8\)
- Use the intersection for a condition A conditional probability divides the probability of both events by the probability of the conditioning event. This requires Pr(B) > 0. \(\displaystyle \Pr(A\mid B)=\frac{\Pr(A\cap B)}{\Pr(B)},\quad\Pr(B)>0\)
Worked example
A continuous random variable X has a constant density of one quarter from zero to four inclusive, and zero elsewhere. Let A contain values greater than one and less than three, and B contain values greater than zero and less than two. Find the probability of A given B
- \(\displaystyle A\cap B=\{1<X<2\}\)The intersection contains the values satisfying both interval conditions
- \(\displaystyle \Pr(A\cap B)=\int_1^2\frac{1}{4}\,dx=\frac{1}{4}\)Integrate the density over the intersection interval
- \(\displaystyle \Pr(B)=\int_0^2\frac{1}{4}\,dx=\frac{1}{2}\)Integrate the same density over the conditioning interval
- \(\displaystyle \Pr(A\mid B)=\frac{1/4}{1/2}=\frac{1}{2}\)Divide the intersection probability by the conditioning probability
Common mistakes
Difficulty levels
Questions about this topic
Why is x multiplied by the density for a mean but not for a probability?+
A probability is the area under f(x). A mean weights each value by x, so its integrand is x f(x)
When must an interval integral be split?+
Split it whenever a density rule changes inside the interval. Integrate each branch over the part where that rule applies, then add the areas
What does the condition B do in Pr(A given B)?+
Provided Pr(B) > 0, restrict attention to B. Integrate the density over A intersect B, then divide by the probability of B
Can I use a calculator?+
A calculator is allowed unless a question is marked no calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, Mathematical Methods, chapter 12: Continuous probability distributions