ArticleslgStudy

mathematics

Law of total expectation

Law of total expectation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Law of total expectation rather than just read about it. In short: The proposition in probability theory known as the law of total expectation, the law of iterated expectations (LIE), Adam's law, the tower rule, and the smoothing property of conditional expectation, among other names, states that if X {\displaystyle X} is a random variable whose expected value E ⁡ [ X ] {\displaystyle \operatorname {E} [X]} is defined, and Y {\displaystyle Y} is any random variable on the same prob…

Key takeaways

  • Law of total expectation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Law of total expectation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Law of total expectation from memory before moving on to harder problems.

Reference excerpt

The proposition in probability theory known as the law of total expectation, the law of iterated expectations (LIE), Adam's law, the tower rule, and the smoothing property of conditional expectation, among other names, states that if X {\displaystyle X} is a random variable whose expected value E ⁡ [ X ] {\displaystyle \operatorname {E} [X]} is defined, and Y {\displaystyle Y} is any random variable on the same probability space, then

E ⁡ [ X ] = E ⁡ [ E ⁡ [ X ∣ Y ] ] , {\displaystyle \operatorname {E} [X]=\operatorname {E} [\operatorname {E} [X\mid Y]],}

i.e., the expected value of the conditional expected value of X {\displaystyle X} given Y {\displaystyle Y} is the same as the expected value of X {\displaystyle X} . The conditional expected value E ⁡ [ X ∣ Y ] {\displaystyle \operatorname {E} [X\mid Y]} , with Y {\displaystyle Y} a random variable, is not a simple number; it is a random variable whose value depends on the value of Y {\displaystyle Y} . That is, the conditional expected value of X {\displaystyle X} given the event Y = y {\displaystyle Y=y} is a number and it is a function of y {\displaystyle y} . If we write g ( y ) {\displaystyle g(y)} for the value of E ⁡ [ X ∣ Y = y ] {\displaystyle \operatorname {E} [X\mid Y=y]} then the random variable E ⁡ [ X ∣ Y ] {\displaystyle \operatorname {E} [X\mid Y]} is g ( Y ) {\displaystyle g(Y)} . One special case states that if { A i } {\displaystyle {\left\{A_{i}\right\}}} is a finite or countable partition of the sample space, then

E ⁡ [ X ] = ∑ i E ⁡ [ X ∣ A i ] Pr ( A i ) . {\displaystyle \operatorname {E} [X]=\sum _{i}{\operatorname {E} [X\mid A_{i}]\Pr(A_{i})}.}

Example Suppose that only two factories supply light bulbs to the market. Factory X's bulbs work for an average of 5000 hours, whereas factory Y's bulbs work for an average of 4000 hours. It is known that factory X supplies 60% of the total bulbs available. What is the expected length of time, L, that a purchased bulb will work for? Applying the law of total expectation, we have:

E ⁡ [ L ] = E ⁡ [ L ∣ X ] Pr ( X ) + E ⁡ [ L ∣ Y ] Pr ( Y ) = 5000 ( 0.6 ) + 4000 ( 0.4 ) = 4600 {\displaystyle {\begin{aligned}\operatorname {E} [L]&=\operatorname {E} [L\mid X]\Pr(X)+\operatorname {E} [L\mid Y]\Pr(Y)\\[3pt]&=5000(0.6)+4000(0.4)\\[2pt]&=4600\end{aligned}}}

where

E ⁡ [ L ] {\displaystyle \operatorname {E} [L]} is the expected life of the bulb;

Pr ( X ) = 6 10 {\displaystyle \Pr(X)={\frac {6}{10}}} is the probability that the purchased bulb was manufactured by factory X {\displaystyle X} ;

Pr ( Y ) = 4 10 {\displaystyle \Pr(Y)={\frac {4}{10}}} is the probability that the purchased bulb was manufactured by factory Y {\displaystyle Y} ;

E ⁡ [ L ∣ X ] = 5000 {\displaystyle \operatorname {E} [L\mid X]=5000} is the expected lifetime of a bulb manufactured by X {\displaystyle X} ;

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Law of total expectation

Start with the simplest possible case. Write down what Law of total expectation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Law of total expectation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Law of total expectation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Law of total expectation

In research
Law of total expectation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Law of total expectation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Law of total expectation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algebra of random variables, Statistical laws, Theory of probability distributions, so understanding it makes those chapters shorter.
In everyday life
Look for Law of total expectation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Law of total expectation” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Law of total expectation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Law of total expectation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Law of total expectation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Law of total expectation in simple terms?

The proposition in probability theory known as the law of total expectation, the law of iterated expectations (LIE), Adam's law, the tower rule, and the smoothing property of conditional expectation, among other names, states that if X {\displaystyle X} is a random variable whose expected value E ⁡…

Why does Law of total expectation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Law of total expectation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Law of total expectation.

Tags

  • Algebra of random variables
  • Statistical laws
  • Theory of probability distributions

Keep exploring