Joint PDFs and Multiple Random Variables
Joint PDF
For two continuous random variables X and Y, the joint PDF fX,Y(x,y) describes their combined distribution:
P((X,Y)∈A)=∬AfX,Y(x,y)dxdy
Properties
- fX,Y(x,y)≥0 for all x,y
- ∫−∞∞∫−∞∞fX,Y(x,y)dxdy=1
Marginal PDF
From the joint PDF, find the marginal PDF of each variable:
fX(x)=∫−∞∞fX,Y(x,y)dy
fY(y)=∫−∞∞fX,Y(x,y)dx
We “integrate out” the other variable.
Conditional PDF
The conditional PDF of X given Y=y:
fX∣Y(x∣y)=fY(y)fX,Y(x,y)
Interpretation
This describes the distribution of X when we know Y=y. It’s a “slice” of the joint PDF, normalized.
Independence
X and Y are independent if and only if:
fX,Y(x,y)=fX(x)⋅fY(y)for all x,y
Equivalently: fX∣Y(x∣y)=fX(x) (knowing Y doesn’t change the distribution of X).
Expected Values
Joint Expectation
For a function g(X,Y):
E[g(X,Y)]=∫−∞∞∫−∞∞g(x,y)⋅fX,Y(x,y)dxdy
Linearity
E[X+Y]=E[X]+E[Y]
Always holds, even for dependent variables.
Product (Independent Case)
If X and Y are independent:
E[XY]=E[X]⋅E[Y]
Derived Distributions
If Y=g(X), how do we find the PDF of Y?
Method 1: CDF Approach
- Find FY(y)=P(Y≤y)=P(g(X)≤y)
- Differentiate: fY(y)=dydFY(y)
Example: Y=aX+b
If X has PDF fX(x) and Y=aX+b with a>0:
fY(y)=a1fX(ay−b)
Convolution
For Z=X+Y where X and Y are independent:
fZ(z)=∫−∞∞fX(x)fY(z−x)dx
This is the convolution of the two PDFs.
Example: Sum of Two Uniforms
If X,Y∼Uniform(0,1) and independent, then Z=X+Y has a triangular PDF on [0,2].