## Mathematical Expectation

Mathematical expectation, also known as the expected value, which is the summation of all possible values from a random variable.

It is also known as the product of the probability of an event occurring, denoted by P(x), and the value corresponding with the actually observed occurrence of the event.

For a random variable expected value is a useful property. E(X) is the expected value and can be computed by the summation of the overall distinct values that is the random variable. The mathematical expectation is denoted by the formula:

E(X)= Σ (x1p1, x2p2, …, xnpn),

where, x is a random variable with the probability function, f(x),

p is the probability of the occurrence,

and n is the number of all possible values.

The mathematical expectation of an indicator variable can be 0 if there is no occurrence of an event A, and the mathematical expectation of an indicator variable can be 1 if there is an occurrence of an event A.

For example, a dice is thrown, the set of possible outcomes is { 1,2,3,4,5,6} and each of this outcome has the same probability 1/6. Thus, the expected value of the experiment will be 1/6*(1+2+3+4+5+6) = 21/6 = 3.5. It is important to know that “expected value” is not the same as “most probable value” and, it is not necessary that it will be one of the probable values.

### Properties of Expectation

1. If X and Y are the two variables, then the mathematical expectation of the sum of the two variables is equal to the sum of the mathematical expectation of X and the mathematical expectation of Y.

Or

E(X+Y)=E(X)+E(Y)

1. The mathematical expectation of the product of the two random variables will be the product of the mathematical expectation of those two variables, but the condition is that the two variables are independent in nature. In other words, the mathematical expectation of the product of the n number of independent random variables is equal to the product of the mathematical expectation of the independent random variables

Or

E(XY)=E(X)E(Y)

1. The mathematical expectation of the sum of a constant and the function of a random variable is equal to the sum of the constant and the mathematical expectation of the function of that random variable.

Or,

E(a+f(X))=a+E(f(X)),

where, a is a constant and f(X) is the function.

1. The mathematical expectation of the sum of product between a constant and function of a random variable and the other constant is equal to the sum of the product of the constant and the mathematical expectation of the function of that random variable and the other constant.

Or,

E(aX+b)=aE(X)+b,

where, a and b are constants.

1. The mathematical expectation of a linear combination of the random variables and constant is equal to the sum of the product of  ‘n’ constant and the mathematical expectation of the ‘n’ number of variables.

Or

E(∑aiXi)=∑ aE(Xi)

Where, ai, (i=1…n) are constants