ABSTRACT

Conditional expectation is the expected value of a random variable given that a specific event has occurred. It allows for the calculation of average outcomes within a restricted subset of the sample space.


Formula and Definition

The conditional expectation of a random variable given an event is defined as the weighted average of the values of for all outcomes in :

This formula scales the probabilities of the outcomes within so that they sum to relative to the event itself.


Law of Total Expectation

The Law of Total Expectation (also known as the Law of Iterated Expectations) allows you to calculate the global expectation of a random variable by partitioning the sample space into disjoint cases.

For any event and its complement :

This is a powerful tool for solving problems where the outcome depends on an initial random condition or “stage”.


Examples

1. Dice Sum with a Constraint

Calculate the expected sum of two fair dice, given that the first die is greater than 4 (Event ).

  • Step 1: Identify . There are 12 outcomes where the first die is 5 or 6, so .
  • Step 2: Sum the values of for all outcomes in .
  • Step 3: Apply the formula:

2. Manufacturing Quality Control

A lightbulb has a chance of coming from Factory A ( hours) and a chance of coming from Factory B ( hours).

Using the Law of Total Expectation:


  • Case Analysis: The practical application of the Law of Total Expectation to break down complex probability problems.
  • Expected Value: The foundational concept of the “long-run average”.
  • Conditional Probabilities: The underlying rules governing how probabilities change given new information.