Proof of the total probability rule for expected value?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
theone
Messages
81
Reaction score
0

Homework Statement


Does anyone know of a simple proof for this: https://s30.postimg.org/tw9cjym9t/expect.png

E(X) = E(X|S)P(S) + E(X|S_c)P(S_c)

X is a random variable,
S is an a scenario that affects the likelihood of X. So P(S) is the probability of the scenario occurring and and P(S_c) is the probability of the scenario not occurring

Homework Equations

The Attempt at a Solution

 
Physics news on Phys.org
PeroK said:
How do you define ##E(X)##?

the expected value of the random variable X; the probability weighted average of the possible outcomes of X
 
PeroK said:
You can't prove anything with just words. You need a mathematical definition.

Do you mean this:
##E(X) = \sum_{i} X_i P(X_i)##
 
Not sure about a mathematical proof, but doesn't that formula just state the obvious? Perhaps putting it into words makes it clearer.

The expected value of X is the sum of the expected value of X when S happens multiplied by the probability that S happens plus the expected value of X when S doesn't happen times the probability of S not happening.

Because S happening and S not happening are mutually exclusive you can just add the two values together.

For a mathematical proof, you'd probably want to include your definition of E(X), the fact that P(S) + P(S') = 1, and the basic conditional probability formula (https://en.wikipedia.org/wiki/Conditional_probability)

Then go from there.