Expectation Value

The expectation value of a function f(x) in a variable x is denoted <f(x)> or E{f(x)}. For a single discrete variable, it is defined by

 <f(x)>=sum_(x)f(x)P(x),
(1)

where P(x) is the probability density function.

For a single continuous variable it is defined by,

 <f(x)>=intf(x)P(x)dx.
(2)

The expectation value satisfies

<ax+by>=a<x>+b<y>
(3)
<a>=a
(4)
<sumx>=sum<x>.
(5)

For multiple discrete variables

 <f(x_1,...,x_n)>=sum_(x_1,...,x_n)f(x_1,...,x_n)P(x_1,...,x_n).
(6)

For multiple continuous variables

 <f(x_1,...,x_n)>=intf(x_1,...,x_n)P(x_1,...,x_n)dx_1...dx_n.
(7)

The (multiple) expectation value satisfies

<(x-mu_x)(y-mu_y)>=<xy-mu_xy-mu_yx+mu_xmu_y>
(8)
=<xy>-mu_xmu_y-mu_ymu_x+mu_xmu_y
(9)
=<xy>-<x><y>,
(10)

where mu_i is the mean for the variable i.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.