0% found this document useful (0 votes)
82 views8 pages

Distribution Function of A Random Variable: X If X If

1. The document discusses the distribution function and probability density function of both discrete and continuous random variables. The distribution function specifies the probability that a random variable is less than each value x. 2. For a discrete random variable, the distribution function is a discontinuous step function with jumps at each possible value. For a continuous variable, the distribution function is continuous and its derivative is the probability density function. 3. An example calculates the distribution function of a discrete random variable and illustrates its properties. The distribution function of a continuous variable and its probability density function are also defined.

Uploaded by

Nomad Soul Music
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views8 pages

Distribution Function of A Random Variable: X If X If

1. The document discusses the distribution function and probability density function of both discrete and continuous random variables. The distribution function specifies the probability that a random variable is less than each value x. 2. For a discrete random variable, the distribution function is a discontinuous step function with jumps at each possible value. For a continuous variable, the distribution function is continuous and its derivative is the probability density function. 3. An example calculates the distribution function of a discrete random variable and illustrates its properties. The distribution function of a continuous variable and its probability density function are also defined.

Uploaded by

Nomad Soul Music
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

LECTURE 8

Distribution function of a random variable


For a random variable X, the function F defined by
F(x) = P(X < x), -<x<
is called the cumulative distribution function or, more simply, the distribution function of X. Thus
the distribution function specifies, for all real values x, the probability that the random variable is
less than x.
Sometimes the distribution function F(x) is said to be the integral function of distribution or the
integral law of distribution.
Geometrically the distribution function is interpreted as the probability that a random variable X
will hit to the left from a given point x.
Example 1. Let a series of distribution of a random variable be given:
 1 4 5 7 
X   
 0,4 0,1 0,3 0,2 
Find and represent graphically its distribution function.
Solution: Let’s take different values x and find for them F(x) = P(X < x).
1. If x  1 then obviously F(x) = 0 (and for x = 1, F(1) = P(X < 1) = 0).
2. Let 1 < x  4 (for example, x = 2); F(x) = P(X = 1) = 0,4. Obviously, F(4) = P(X < 4) = 0,4.
3. Let 4 < x  5 (for example, x = 4,2); F(x) = P(X < x) = P(X = 1)+ P(X = 4) = 0,4 + 0,1 = 0,5.
Obviously, F(5) = 0,5.
4. Let 5 < x  7. F(x) = [P(X = 1) + P(X = 4)] + P(X = 5) = 0,5 + 0,3 = 0,8. Obviously, F(7) = 0,8.
5. Let x > 7. F(x) = [P(X = 1) + P(X = 4) + P(X = 5)] + P(X = 7) = 0,8 + 0,2 = 1.
Thus,
 0 if x  1,
 0,4 if 1  x  4,

F ( x)  0,5 if 4  x  5,
 0,8 if 5  x  7,

 1,0 if x  7.

This example allows making the following claim: the distribution function of any discrete random
variable is a discontinuous step function of which jumps take place in points corresponding to the
possible values of the random variable and are equal to the probabilities of these values.
The sum of all jumps is equal to 1.

Properties of a distribution function


1. The distribution function of a random variable is a non-negative function taking on values
between 0 and 1: 0  F(x)  1.
2. The distribution function of a random variable is a non-decreasing function for the entire
numerical axis, i.e. if x1 < x2 then F(x1)  F(x2).
3. F ()  lim F ( x)  0, F ()  lim F ( x)  1.
x   x  
4. The probability of hit of a random variable in an interval [x1, x2) (including x1) is equal to the
increment of its distribution function on this interval, i.e.
P(x1  X < x2) = F(x2) – F(x1).
Example 2. The distribution function of a random variable X has the following form:
 0 if x  0,

F ( x)   x / 2 if 0  x  2,
 1 if x  2.

Find the probability that the random variable will take on a value in the interval [1; 3).
Solution: P(1  X < 3) = F(3) – F(1) = 1 – 1/2 =1/2.

Continuous random variables. Probability density


A random variable X is continuous if its function of distribution is continuous at each point and
differentiable everywhere but possibly finitely many points.

The distribution function of a continuous random variable X which is differentiable everywhere


but three points of break is shown at the picture.

Theorem. The probability of a separately taken value of a continuous random variable X is equal
to zero, i.e. P(X = x1) = 0 for each value x1 of the continuous random variable X.

Corollary. If X is a continuous random variable then probability of hit of the random variable in
an interval (x1, x2) doesn’t depend on whether the interval is open or closed, i.e.
P( x1  X  x 2 )  P( x1  X  x 2 )  P( x1  X  x 2 )  P( x1  X  x 2 )

The probability density (distribution density or simply density) (x) (or f (x) ) of a continuous
random variable X is the derivative of its distribution function, i.e.

f ( x)   ( x)  F ( x)

Sometimes the probability density is said to be the differential function or the differential law of
distribution.
The graph of probability density (x) is said to be distribution curve.

Example. Let X be a random variable as in Example 2. Find the probability density of the random
variable X.
Solution: The probability density  ( x)  F ( x), i.e.
0 if x  0 or x  2,
 ( x)  
 1 / 2 if 0  x  2.

Properties of probability density


1. The probability density is a non-negative function, i.e. (x) 0.
2. The probability of hit of a continuous random variable in an interval [a, b] is equal to the definite
integral of its density in limits from a to b, i.e.

b
P (a  X  b)    ( x)dx
a

3. The distribution function of a continuous random variable can be expressed by the probability
density:
x
F ( x)    (t )dt


4. The improper integral in infinite limits of the probability density of a continuous random
variable is equal to 1:



  ( x)dx  1


Formulas of mathematical expectation and dispersion of a continuous random variable X have the
following form:


a  M (X )   x ( x)dx

(if the integral converges absolutely)


D( X )   ( x  a)  ( x)dx
2
(if the integral converges).


Using D(X) = M(X2) – [M(X)] 2, we have D(X) = M(X2) – a2 or


D( X )   x  ( x)dx  a
2 2



0 if x  1,
Example. Let a function (x) be given:  ( x)  
 A / x if x  1.
4

Find: a) the value of the constant A for which the function is the probability density of some random
variable X; b) the expression of the distribution function F(x); c) the probability that the random
variable X will take on values in the segment [2; 3]; d) the mathematical expectation and the
dispersion of the random variable X.
Solution: a) (x) will be the probability density if (x)  0, i.e. A/x4  0 (and consequently, A  0)


and it satisfies the condition   ( x)dx  1. Consequently,



 1 
A
b
A A  1 b

 
 ( x ) dx  0  dx  1 x 4 dx  0 
b  x 4
lim dx 
3
lim
b 3 
1  x 1 

A  1  A
 lim 1  3    1.
3 b b  3
We have A = 3.
x x

b) Find F(x): If x  1 then F ( x)    (t )dt   0  dt  0.


 
x x
3 1 1
If x > 1 then F ( x )  0  1 t 4 dt  
t3 1
 1
x3
. Thus,

0 if x  1,
F ( x)  
1  1 / x if x  1.
3

3 3
3 1 1 1 19
c) P ( 2  X  3)  
2
x4
dx  
x3 2
  
2 3 33 216
.

The probability P(2  X  3) can also be found as the increment of the distribution function, i.e.
 1  1  19
P (2  X  3)  F (3)  F (2)  1  3   1  3   .
 3   2  216
 1  b
3 dx
d) a  M ( X )   x ( x)dx   0  dx   x  4 dx 0  3 blim
  x 3

  1
x 1

 1 b
 3
 3 lim   2  .
b   2
 2x 1 

 1 
3
Since D(X) = M(X2) – a2, M ( X )   x  ( x)dx   x  0 dx  x  dx 
2 2 2 2

  1 x4
 3  b
 3 3
2
3
 lim    lim  3    3. Then D( X )  3     .
b   b b
 x1 2 4

Glossary
distribution function – функция распределения
jump of a function – скачок функции
step discontinuous function – ступенчатая разрывная функция
increment – приращение; distribution curve – кривая распределения
probability density – плотность вероятности
Exercises for Seminar 8
8.1. Let the law of distribution of a discrete random variable be given:

X 1 4 6 8
P 0,1 0,3 0,4 0,2

Find the integral function of the random variable X and construct its graph.

8.2. Find the integral function of distribution of the random variable X – the number of hits in a
target if three shots were made with the probability of hit in the target equal 0,8 for each shot.

8.3. A continuous random variable X is given by the integral function:


 0 if x  0,
 x 3
F ( x)   if 0  x  5,
125
 1 if x  5.
Determine:
a) the probability of hit of the random variable into the interval (2; 3);
b) the mathematical expectation, dispersion and mean square deviation of the random variable
X.

8.4. A random variable X is given by the integral function:


 0 if x  2,
x 1
F ( x)    if  2  x  2,
4 2
 1 if x  2.
Find the probability that in result of a trial the random variable X will take on the value:
(a) less than 0;
(b) less than 1;
(c) no less than 1;
(d) being in the interval (0; 2).

8.5. The amount of time, in hours, that a computer functions before breaking down is a continuous
random variable with probability density function given by
e  x / 100 if x0
f ( x)  
0 if x0
What is the probability that
(a) a computer will function between 50 and 150 hours before breaking down;
(b) it will function less than 100 hours?
Direction: Take e equal 2,718281.
The answer: a) 0,3834; b) 0,632.

8.6. The lifetime in hours of a certain kind of radio tube is a random variable having a probability
density function given by
0 if x  100

f ( x)  100
if x  100
 x 2
What is the probability that exactly 2 of 5 such tubes in a radio set will have to be replaced within
the first 150 hours of operation? Assume that the events Ei, i = 1, 2, 3, 4, 5, that the ith such tube
will have to be replaced within this time, are independent.
The answer: 80/243.

8.7. Let X be a random variable with probability density function


C (1  x 2 ) if 1  x  1
f ( x)  
 0 otherwise
(a) What is the value of C?
(b) What is the cumulative distribution function of X?
The answer: a) 3/4.

8.8. Compute M(X) if X has a density function given by


 1  x / 2
xe if x0
f ( x)   4
0 otherwise
The answer: 4.

8.9. A random variable X is given by the differential function:


 0 if x  0,
 4a  2 x
f ( x)   2
if 0  x  a,
 3 a
 0 if x  a.
Find:
(a) the integral function;
(b) the probability of hit of the random variable into the interval (a/6; a/3).
The answer: b) 7/36.

8.10. A random variable X is given by the integral function:


 0 if x  2,
 x  8
3
F ( x)   if 2  x  3,
 19
 1 if x  3.
Find:
(a) the differential function;
(b) the probability of hit of the random variable X into the interval (2,5; 3);
(c) the mathematical expectation, dispersion and mean square deviation of the random variable
X.
The answer: b) 0,599; c) M(X) = 2,566; D(X) = 0,079.

Exercises for Homework 8


8.11. Let the law of distribution of a discrete random variable be given:

X –2 5 7 9
p 0,4 0,3 0,2 0,1

Find the integral function of the random variable X and construct its graph.
8.12. The probability of passing the first exam by a student is 0,7, the second exam – 0,6 and the
third exam – 0,8. Find the integral function of the random variable X – the number of exams passed
by the student. Determine M(X).
The answer: M(X) = 2,1.

8.13. The density function of X is given by


a  bx 2 if 0  x 1
f ( x)  
 0 otherwise
If M(X) = 3/5, find a and b.
The answer: a = 3/5; b = 6/5.

8.14. A system consisting of one original unit and a spare can function for a random amount of
time X. If the density of X is given (in units of months) by
 Cxe  x / 2 if x0
f ( x)  
0 if x0
what is the probability that the system functions for at least 5 months (a spare – запасной
элемент)?
The answer: 0,616.

8.15. Suppose that X is a continuous random variable whose probability density function is given
by
C (4 x  2 x 2 ) if 0 x2
f ( x)  
 0 otherwise
(a) What is the value of C?
(b) Find P(X > 1).
The answer: a) 3/8; b) 1/2.

8.16. Find M(X) and D(X) when the density function of X is


 2x if 0  x 1
f ( x)  
0 otherwise
The answer: M(X) = 2/3; D(X) = 1/18.

8.17. Let X be a random variable with probability density function


 5
C (2 x  x 3 ) if 0 x
f ( x)   2
 0 otherwise
(a) What is the value of C?
(b) What is the cumulative distribution function of X?
The answer: a) – 64/225.

8.18. Compute M(X) if X has a density function given by


 50
 if x5
f ( x)   x 3
0 otherwise
The answer: 10.

8.19. A random variable X is given by the differential function:


 0 if x  0,
 3
f ( x)   x  x if 0  x  5  1,
 0 x 5  1.
 if
Find:
(a) the integral function;
(b) the probability of hit of the random variable into the interval (1; 1,1).
The answer: b) 0,221.

8.20. A random variable X is given by the integral function:


 0 if x  1,
 x 2
x
F ( x)    if 1  x  2,
 2 2
 1 if x  2.
Find:
(a) the differential function;
(b) the probability of hit of the random variable X into the interval (1; 1,5);
(c) the mathematical expectation, dispersion and mean square deviation of the random variable
X.
The answer: b) 0,375; c) M(X) = 19/12; D(X) = 11/144.

You might also like