PDF and CDF Relationship
For continuous random variables, the PDF is the derivative of the CDF, and the CDF is the integral of the PDF.
Interactive: PDF ↔ CDF Visualization
PDF: f(x)
CDF: F(x)
Area Under PDF = Probability
The probability that \(X\) falls in an interval \([a, b]\) is the area under the PDF curve: $$ P(a \leq X \leq b) = \int_a^b f_X(x) \, dx $$
Interactive: Area Calculator
P(0.25 ≤ X ≤ 0.75) = 0.500
Method of Transformation
If \(Y = g(X)\) where \(g\) is monotonic and differentiable, the PDF of \(Y\) is:
Interactive: Transformation Demo
Original: X ~ Uniform(0, 1)
Transformed: Y = g(X)
$$ f_Y(y) = \frac{1}{2} \text{ for } y \in [1, 3] $$
Expectation and Variance
Expected Value
$$ E[X] = \int_{-\infty}^{\infty} x f_X(x) \, dx $$
The "center of mass" of the distribution.
Variance
$$ \text{Var}(X) = \int_{-\infty}^{\infty} (x - E[X])^2 f_X(x) \, dx $$
Or equivalently: \(\text{Var}(X) = E[X^2] - (E[X])^2\)