MathematicsStatisticsMedium

Expected Value

Also known as:meanexpectationpopulation meanfirst moment

The expected value (or expectation) of a random variable is the probability-weighted average of all possible values it can take. It represents the long-run average outcome if the experiment were repeated many times. Expected value is central to decision theory, gambling, insurance, and financial risk analysis.

Key Formula

E(X) = Σ [x × P(X = x)] for all values x (discrete case)

LaTeX: E(X) = \sum_{x} x \cdot P(X = x) \quad \text{(discrete)}

SymbolMeaningUnit
E(X)expected value of the random variable Xsame as X
xa possible value of Xsame as X
P(X = x)probability that X equals xunitless

Worked Example

Problem

A lottery ticket costs ₹10. The prize structure is: ₹100 with probability 0.05, ₹20 with probability 0.15, ₹0 with probability 0.80. What is the expected monetary gain (net of ticket cost)?

Solution

Step 1: Calculate expected prize: E(prize) = 100×0.05 + 20×0.15 + 0×0.80 = 5 + 3 + 0 = ₹8. Step 2: Subtract ticket cost: E(gain) = 8 − 10 = −₹2.

Answer

Expected net gain = −₹2 per ticket; the lottery is unfavorable on average.

Properties of Expected Value

PropertyFormulaMeaning
LinearityE(aX + b) = aE(X) + bScales and shifts apply directly
Sum RuleE(X + Y) = E(X) + E(Y)Always holds (any variables)
IndependenceE(XY) = E(X)E(Y)Only when X and Y are independent
ConstantE(c) = cExpected value of a constant is itself
Non-negative XE(X) ≥ 0If X ≥ 0 always, then E(X) ≥ 0

Interactive Tools

Wolfram Alpha — Expected Value

Open Tool

Khan Academy — Expected Value

Open Tool

Brilliant.org — Expected Value

Open Tool
Illustration of expected value as the centre of mass of a probability distribution

Wikimedia Commons, CC BY-SA

Related Terms

Derived from the Latin expectatio (anticipation, hope). The concept was formalised by Christiaan Huygens in De Ratiociniis in Ludo Aleae (1657) and later by Blaise Pascal and Pierre de Fermat in their correspondence on games of chance.

expected valuestatisticsprobabilitydecision theoryrandom variable