11 Facts On Mathematical Expectation & Random Variable

Mathematical Expectation and random variable    

     The mathematical expectation plays very important role in the probability theory, the basic definition and basic properties of mathematical expectation already we discussed in previous some articles now after discussing the various distributions and types of distributions, in the following article we will get familiar with some more advanced properties of mathematical expectation.

Expectation of sum of random variables | Expectation of function of random variables | Expectation of Joint probability distribution

     We know the mathematical expectation of random variable of discrete nature is

2 1
2.0 Copy

and for the continuous one is

3.0 Copy

now for the random variable X and Y if discrete then with the joint probability mass function p(x,y)

expectation of function of random variable X and Y will be

4.0

and if continuous then with the joint probability density function f(x, y) the expectation of function of random variable X and Y will be

5.0

if g is addition of these two random variables in continuous form the

6.0
7.0
8.0
9.0

and if for the random variables X and Y we have

X>Y

then the expectation also

10.0 1

Example

A Covid-19 hospital is uniformly distributed on the road of the length L at a point X, a vehicle carrying oxygen for the patients is at a location Y which is also uniformly distributed on the road, Find the expected distance between Covid-19 hospital and oxygen carrying vehicle if they are independent.

Solution:

To find the expected distance between X and Y we have to calculate E { | X-Y | }

Now the joint density function of X and Y will be

11.0 1

since

12.0 1

by following this we have

13.0 1

now the value of integral will be

14.0
15.0
16.0

Thus the expected distance between these two points will be

17.0

Expectation of Sample mean

  As the sample mean of the sequence of random variables X1, X2, ………, Xn with distribution function F and expected value of each as μ is

18.0

so the expectation of this sample mean will be

19.0
20.0
71.0
22.0

which shows the expected value of sample mean is also μ.

Boole’s Inequality

                Boole’s inequality can be obtained with the help of properties of expectations, suppose the random variable X defined as

23.0 1

where

24.0

here Ai ‘s are the random events, this means random variable X represents the occurrence of the number of events Ai and another random variable Y as

25.0

clearly

X>=Y

E[X] >= E[Y]

and so is

now if we take the value of random variable X and Y these expectation will be

28.0

and

29.0

substituting these expectation in the above inequality we will get Boole’s inequality as

30.0

Expectation of Binomial random variable | Mean of Binomial random variable

  We know that the binomial random variable is the random variable which shows number of successes in n independent trials with probability of success as p and failure as q=1-p, so if

X=X1 + X2+ …….+ Xn

Where

31.0

here these Xi ‘s are the Bernoulli and the expectation will be

32.0

so the expectation of X will be

33.0

Expectation of Negative binomial random variable | Mean of Negative binomial random variable

  Let a random variable X which represents the number of trials needed to collect r successes, then such a random variable is known as negative binomial random variable and it can be expressed as

34.0

here each Xi denote the number of trials required after the (i-1)st success  to obtain the total of i successes.

Since each of these Xi represent the geometric random variable and we know the expectation for the geometric random variable is

35.0

so

36.0

which is the expectation of negative binomial random variable.

Expectation of hypergeometric random variable | Mean of hypergeometric random variable

The expectation or mean of the hypergeometric random variable we will obtain with the help of a simple real life example, if n number of books are randomly selected from a shelf containing N books of which m are of mathematics, then to find the expected number of mathematics books let X denote the number of mathematics books selected then we can write X as

37.0

where

38.0

so

39.0
40.0

=n/N

which gives

41.0

which is the mean of such a hypergeometric random variable.

Expected number of matches

   This is very popular problem related to expectation, suppose that in a room there are N number of people who throw their hats in the middle of the room  and all the hats are mixed  after that each person randomly choose one hat then the expected number of people who select their own hat we can obtain by letting X to be the number of matches so

42.0

Where

43.0

since each person has equal opportunity to select any of the hat from N hats then

44.0

so

45.0

which means exactly one person on average choose his own hat.

The probability of a union of events

     Let us obtain the probability of the union of the events with the help of expectation so for the events Ai

46.0

with this we take

47.0

so the expectation of this will be

48.0

and expanding using expectation property as

49.0

since we have

Mathematical Expectation
Mathematical Expectation: The probability of a union of events

and

51.0

so

52.0

this implies the probability of union as

52.0 1

Bounds from Expectation using Probabilistic method

    Suppose S be a finite set and f is the function on the elements of S and

53.0

here we can obtain the lower bound for this m by expectation of f(s) where “s” is any random element of S whose expectation we can calculate so

54.0
55.0 1

here we get expectation as the lower bound for the maximum value

Maximum-Minimum identity

 Maximum Minimum identity is the maximum of the set of numbers to the minimums of the subsets of these numbers that is for any numbers xi

56.0 1

To show this let us restrict the xi within the interval [0,1], suppose a uniform random variable U on the interval (0,1) and the events Ai as the uniform variable U is less than xi that is

57.0

since at least one of the above event occur as U is less than one the value of xi

58.0

and

59.0

Clearly we know

60.0

and all the events will occur if U is less than all the variables and

62.0 1

the probability gives

62.0

we have the result of probability of union as

63.0

following this inclusion exclusion formula for the probability

64.0

consider

65.0

this gives

66.0

since

67.0

which means

68.0
  • hence we can write it as
69.0

taking expectation we can find expected values of maximum and partial minimums as

70.0

Conclusion:

The Expectation in terms of various distribution and correlation of expectation with some of the probability theory concepts were the focus of this article which shows the use of expectation as a tool to get expected values of different kind of random variables, if you require further reading go through below books.

For more articles on Mathematics, please see our Mathematics page.

https://en.wikipedia.org/wiki/Expectation

A first course in probability by Sheldon Ross

Schaum’s Outlines of Probability and Statistics

An introduction to probability and statistics by ROHATGI and SALEH