## You are here

Homeexpected value

## Primary tabs

# expected value

Let us first consider a discrete random variable $X$ with values in $\mathbb{R}$. Then $X$ has values in an at most countable set $\mathcal{X}$. For $x\in\mathcal{X}$ denote the probability that $X=x$ by $P_{x}$. If

$\sum_{{x\in\mathcal{X}}}|x|P_{x}$ |

$\sum_{{x\in\mathcal{X}}}xP_{x}$ |

is well-defined. Its value is called the *expected value*, *expectation* or *mean* of $X$. It is usually denoted by $E(X)$.

Taking this idea further, we can easily generalize to a continuous random variable $X$ with probability density $\varrho$ by setting

$E(X)=\int_{{-\infty}}^{\infty}x\varrho(x)dx,$ |

if this integral exists.

From the above definition it is clear that the expectation is a linear function, i.e. for two random variables $X,Y$ we have

$E(aX+bY)=aE(X)+bE(Y)$ |

for $a,b\in\mathbb{R}$.

Note that the expectation does not always exist (if the corresponding sum or integral does not converge, the expectation does not exist. One example of this situation is the Cauchy random variable).

Using the measure theoretical formulation of stochastics, we can give a more formal definition. Let $(\Omega,\mathcal{A},P)$ be a probability space and $X:\Omega\to\mathbb{R}$ a random variable. We now define

$E(X)=\int_{{\Omega}}XdP,$ |

where the integral is understood as the Lebesgue-integral with respect to the measure $P$.

## Mathematics Subject Classification

60-00*no label found*46L05

*no label found*82-00

*no label found*83-00

*no label found*81-00

*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff

## Recent Activity

new collection: On the Information-Theoretic Structure of Distributed Measurements by rspuzio

Apr 15

new question: Prove a formula is part of the Gentzen System by LadyAnne

Mar 30

new question: A problem about Euler's totient function by mbhatia

new problem: Problem: Show that phi(a^n-1), (where phi is the Euler totient function), is divisible by n for any natural number n and any natural number a >1. by mbhatia

new problem: MSC browser just displays "No articles found. Up to ." by jaimeglz

Mar 26

new correction: Misspelled name by DavidSteinsaltz

Mar 21

new correction: underline-typo by Filipe

Mar 19

new correction: cocycle pro cocyle by pahio

Mar 7

new image: plot W(t) = P(waiting time <= t) (2nd attempt) by robert_dodier

new image: expected waiting time by robert_dodier