Skip to content

Random Variables

Mathematics Grade 11 Difficulty 2/5

Beginning of the lesson

Random Variables

A random variable is a bridge between the world of probability experiments and the world of numbers — it assigns a numerical value to every outcome of a random experiment.

Formal Definition

A random variable is a function $X: S \to \mathbb{R}$ that assigns a real number to each outcome in the sample space $S$ of a random experiment.

We typically denote random variables with capital letters ($X$, $Y$, $Z$) and their specific values with lowercase letters ($x$, $y$, $z$).

Key Insight: A random variable is NOT a traditional algebraic variable. It's a function that maps outcomes to numbers. The word "random" reflects that the outcome of the experiment is uncertain.
Discrete Random Variables

A random variable is discrete if it can take on a countable number of distinct values (finite or countably infinite).

Examples:

  • Number of heads in 10 coin flips: $X \in \{0, 1, 2, \ldots, 10\}$
  • Number of customers arriving per hour
  • Number of defective items in a batch

Probability Mass Function (PMF):

$$P(X = x_i) = p_i$$

where $\sum_{i} p_i = 1$ and $0 \leq p_i \leq 1$ for all $i$.

Continuous Random Variables

A random variable is continuous if it can take on any value within an interval (uncountably many values).

Examples:

  • Height of a randomly selected student
  • Time to complete a test
  • Temperature at noon tomorrow

Probability Density Function (PDF):

$$P(a \leq X \leq b) = \int_a^b f(x)\, dx$$

where $\int_{-\infty}^{\infty} f(x)\, dx = 1$ and $f(x) \geq 0$.

Continue this lesson on YourAIZone

The full lesson has the complete explanation, worked examples, common mistakes, tests with instant checking and an AI tutor. Start right away as a guest, or create an account to keep your progress.

In the full lesson

  • The complete explanation
  • Worked examples
  • Common mistakes and how to avoid them
  • Test questions: 130
  • AI tutor that answers questions about the topic
  • Progress tracking for students, parents and teachers