Distribution Function of A Random Variable: X If X If
Distribution Function of A Random Variable: X If X If
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.
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.
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).
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)
A 1 A
lim 1 3 1.
3 b b 3
We have A = 3.
x x
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.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 x0
f ( x)
0 if x0
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.
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.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 x0
f ( x)
0 if x0
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 x2
f ( x)
0 otherwise
(a) What is the value of C?
(b) Find P(X > 1).
The answer: a) 3/8; b) 1/2.