You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson introduces continuous random variables — variables that can take any value in an interval (or the whole real line). Unlike discrete random variables, probabilities are not assigned to individual values. Instead, probabilities are calculated using probability density functions (PDFs) and integration.
For a discrete random variable, P(X=x) can be positive. For a continuous random variable:
P(X=x)=0for any single value x
This is because a single point has zero width, so the area under the density curve at a single point is zero. Probabilities are defined over intervals:
P(a≤X≤b)=∫abf(x)dx
where f(x) is the probability density function (PDF).
Exam Tip: Because P(X=a)=0 for a continuous random variable, P(a≤X≤b)=P(a<X<b)=P(a≤X<b)=P(a<X≤b). The inclusion or exclusion of endpoints does not matter for continuous distributions.
A function f(x) is a valid PDF if and only if:
| Property | Requirement |
|---|---|
| Non-negativity | f(x)≥0 for all x |
| Total area is 1 | ∫−∞∞f(x)dx=1 |
Note that f(x) can be greater than 1 at some points — it is a density, not a probability. It is the area under the curve that represents probability.
Let f(x)=83x2 for 0≤x≤2, and f(x)=0 otherwise.
Step 1: Check non-negativity.
For 0≤x≤2, x2≥0 so f(x)≥0. Outside this interval, f(x)=0. Condition satisfied.
Step 2: Check total area.
∫0283x2dx=83[3x3]02=83×38=1✓
Step 3: Find P(1≤X≤2).
P(1≤X≤2)=∫1283x2dx=83[3x3]12=83(38−31)=83×37=87
A common exam question asks you to find a constant k such that f(x) is a valid PDF.
Example: f(x)=kx(2−x) for 0≤x≤2.
∫02kx(2−x)dx=1
k∫02(2x−x2)dx=k[x2−3x3]02=k(4−38)=k×34=1
k=43
Some PDFs are defined differently on different intervals.
Example:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.