Thomas’ Calculus · Chapter 08 · Section 8.9
By Muhammad Abdullah Athar · SymPy Verified
Probability
Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.
Part One
Section Notes
Section 8.9: Probability
Continuous probability models use definite and improper integrals to measure probabilities, expected values, and variances.
1. Core Properties of a PDF
- for all .
- .
- .
2. Exponential Distribution
Part Two
Key Ideas to Remember
2 essential statements for this section, each with a plain-words explanation.
Probability Density Function (PDF)
A probability density function f(x) models a continuous random variable X. The probability that X falls in [a, b] is the definite integral of f(x) over [a, b].
Conditions: f(x) is non-negative; Total integral over real line equals 1
Remember — Total area under any valid PDF must equal 1.
Expected Value (Mean) of a Random Variable
The mean or expected value of a continuous random variable X is the first moment of the probability density function with respect to the origin.
Conditions: Integral converges absolutely
Remember — The expected value is the probability-weighted average of all possible outcomes.
Part Three
Worked Examples
5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.
Example 01(Section 8.9, Exercise 1)
Warm-upProblem. Find the constant C such that f(x) = C x on [0, 4] (and 0 elsewhere) is a valid probability density function.
Step-by-Step Derivation (3 steps)
Set Total Probability Integral to 1
The total area under any PDF must equal 1.
Evaluate Definite Integral
Compute antiderivative of x.
Solve for C
Divide by 8.
Answer:
✓ Verified by SymPy CAS
Example 02(Section 8.9, Exercise 2)
Warm-upProblem. Given PDF f(x) = (1/8) x on [0, 4], find the probability P(1 <= X <= 3).
Step-by-Step Derivation (2 steps)
Set Up Probability Integral
Integrate PDF over interval [1, 3].
Evaluate Integral
Evaluate power antiderivative at boundaries.
Answer:
✓ Verified by SymPy CAS
Example 03(Section 8.9, Exercise 3)
Warm-upProblem. Find the mean (expected value) E[X] for f(x) = (1/8) x on [0, 4].
Step-by-Step Derivation (2 steps)
State Expected Value Integral
Multiply x by f(x) and integrate.
Evaluate Integral
Simplify the fraction 64/24 by dividing by 8.
Answer:
✓ Verified by SymPy CAS
Example 04(Section 8.9, Exercise 4)
Core practiceProblem. The waiting time T (in minutes) at a customer service line is exponentially distributed with PDF f(t) = 0.2 e^(-0.2t) for t >= 0. Find the probability that a customer waits more than 5 minutes.
Step-by-Step Derivation (3 steps)
Formulate Improper Probability Integral
Integrate from 5 to infinity.
Evaluate Antiderivative
Antiderivative of c e^(-ct) is -e^(-ct).
Evaluate Limit
e^(-0.2 * 5) = e^(-1).
Answer:
✓ Verified by SymPy CAS
Example 05(Section 8.9, Exercise 5)
Core practiceProblem. Verify that the mean of the exponential distribution f(t) = c e^(-ct) on [0, oo) is 1/c.
Step-by-Step Derivation (3 steps)
Set Up Expected Value Integral
Integrate t times PDF.
Apply Integration by Parts
Parts setup.
Evaluate Boundary Terms and Remaining Integral
Boundary terms vanish; remaining integral yields 1/c.
Answer:
✓ Verified by SymPy CAS