Many experiments produce numerical outcomes. A random variable (RV) assigns a real number to each outcome of a random experiment. Random variables allow us to:
- Model uncertainty numerically
- Apply algebra and calculus to probability problems
- Analyze signals and noise mathematically
A random variable is a function that maps outcomes in the sample space Ω to real numbers.
Examples
- Coin toss: ( X = 1 ) for Head, ( X = 0 ) for Tail
- Dice roll:
Types of Random Variables
(a) Discrete Random Variables
- Take countable values
- Examples: number of heads, number of bit errors
(b) Continuous Random Variables
- Take values over a continuous range
- Examples: temperature, noise amplitude, signal voltage
Probability Mass Function (PMF)
Used for discrete random variables.
Properties
Example
Fair die:
Cumulative Distribution Function (CDF)
Applies to both discrete and continuous RVs.
Properties
- Non-decreasing function
,
Interpretation
- Gives the probability that the RV is less than or equal to a value
- Fundamental description of a random variable
Probability Density Function (PDF)
Used for continuous random variables.
Probability Calculation
It is to be noted that
Relationship Between PDF and CDF
Expectation (Mean Value)
- Discrete RV:
- Continuous RV:
Interpretation
- Long-run average value
- Center of mass of the distribution
Expected Value of a Function
For a function :
- Discrete:
- Continuous:
This avoids finding the PDF of ( g(X) ).
Variance and Standard Deviation
Variance
Equivalent form:
Standard Deviation
Interpretation
- Measures spread or uncertainty
- Larger variance → more randomness
Important Properties of Expectation
- Linearity
- Constants
- Expectation does not require independence
Common Discrete Random Variables
Bernoulli Random Variable
- Values: 0 or 1
- Parameter: (
)
Mean:
Variance:
Engineering Intuition
- Random variables model uncertain signals
- Expectation → average signal level
- Variance → noise power
- PDFs describe how likely signal values are
Key Takeaways
- Random variables convert randomness into numbers
- CDF is the most fundamental description
- PDF and PMF describe probability distribution
- Expectation and variance summarize behavior
- These concepts are essential for:
- Random processes
- Noise analysis
- Detection and estimation