CH1 — Part 2
Normalisation & Derivation
If is a random variable having the pdf of the form:
Find c
For to be a valid pdf, the total area must be 1:
So:
Deriving the Piecewise CDF
To find , we integrate the piecewise density function from to across all three mathematical regions.
Mathematical Derivation Engine
Use the slider to see how the integral accumulates over each mathematical region.
— f(x): linear ramp from 0 to 1 on [0, 2].
— F(x): parabola 1/4x² on [0, 2].
Area Calculation
Now that we have the PDF and CDF for Example 3, we can calculate the probability that falls between 1 and 2. This interactive visualization shows both the Integration Method (area under the PDF) and the Subtraction Method (CDF evaluation).
P(1 < X < 2)
We can solve this using either the integral of the PDF or the subtraction of the CDF:
Or using CDF subtraction:
Probability as Area
For a continuous random variable, the probability is exactly the area under the density curve between and .
Interval Equivalence
Because and for continuous variables, all the following probabilities are equal:
The Tent Function
This example demonstrates the Fundamental Theorem of Calculus in its piecewise form. Notice how the continuity of is preserved at the boundaries.
The "tent" function is a triangular density symmetric around :
Comprehensive Analysis
Final CDF
Building the Tent CDF
Integration Result
Exercises
(a) Find c.
(b) Find .
(c) Find .