Chapter 4 Mathematical Expectation - Part 1 0
Chapter 4 Mathematical Expectation - Part 1 0
(AGE 1150)
Chapter 4: Mathematical Expectation
Part 1
Mean of a Random Variable
• Definition:
Let X be a random variable with a probability distribution f(x). The
mean (or expected value) of X is denoted by μX (or E(X)) and is defined
by:
Example: A lot containing 7 components is sampled by a quality
inspector; the lot contains 4 good components and 3 defective
components. A sample of 3 is taken by the inspector. Find the expected
value of the number of good components in this sample.
Sol.:
• Let X represent the number of good components in the sample. The
probability distribution of X is
• Simple calculations yield f(0) = 1/35, f(1) = 12/35, f(2) = 18/35, and
f(3) = 4/35.
• It is a discrete, therefore
Thus, if a sample of size 3 is selected at random over and over again from a lot of 4 good components and 3
defective components, it will contain, on average, 1.7 good components.
Example: (Return to example in Ch 3)
A shipment of 8 similar microcomputers to a retail outlet contains 3 that
are defective and 5 are non-defective. If a school makes a random purchase
of 2 of these computers, find the expected number of defective computers
purchased
Sol. :
Let X = the number of defective computers purchased.
We found previously (in Ch 3) that the probability distribution of X is:
Thus, if a sample of size 2 is selected at random over and over again from a lot of 3 defective computers and 5 non-
defective computers, it will contain, on average, 0.75 defective computers.
Example: Let X be a continuous random variable
that represents the life (in hours) of a certain
electronic device. The pdf of X is given by:
• Definition:
• The positive square root of the variance of X, , is called the
standard deviation of X.
Note:
Var(X)=E[g(X)], where g(X)=(X −μ)2
• Theorem:
The variance of the random variable X is given by:
• Example:
• Let X be a discrete random variable with the following probability
distribution. Find Var(X)=
• Example: Let X be a continuous random variable with the following
pdf, Find the mean and the variance of X.