Math 2
Math 2
UNIVERSITY
LECTURES IN HIGHER
MATHEMATICS FOR ENGINEERS
(PART II)
TEXTBOOK
BAKU -2017
1
AZERBAIJAN STATE OIL AND INDUSTRY
UNIVERSITY
AZIMOVA G.M
LECTURES IN HIGHER
MATHEMATICS FOR ENGINEERS
(PART II)
TEXTBOOK
BAKU-2017
2
CONTENTS
Introduction……………………………………………… 4
Lecture 1. Indefinite Integral…………………………. 5
Lecture 2. Integration of Rational Functions………… 19
Lecture 3. Integration of Trigonometric Functions….. 38
Lecture 4. Definite Integral…………………………… 50
Lecture 5. Applications of Definite Integral…………. 71
Lecture 6. Improper Integrals……………………….... 87
Lecture 7. Numerical Series………………………….. 101
Lecture 8. Alternating Series…………………………. 117
Lecture 9. Functional Series………………………….. 126
Lecture 10. Differential Equations……………………. 139
Lecture 11. Differential Equations of Second-Order…. 156
Lecture 12. Nonhomogeneous Linear Differential
Equations…………………………………. 171
Lecture 13. Probability……………………………….... 188
Lecture 14. Bernoulli’s Formula. The Most Probable
Number of Occurrences of an Even……… 216
Lecture 15. Random Variable and the Law of its
Distribution…………………..................... 229
Bibliography……………………………………………… 254
3
Introduction
This book is the second part of the book based on
Lectures given by the author over a number of years to
engineering students at Azerbaijan State Oil and Industry
University.
The content of the present book covers the following
topics: indefinite, definite and improper integrals; numerical
and functional series; differential equations; elements of
probability theory.
The study of these sections of mathematics will help
future engineers to expand the scope of application of their
knowledge.
When preparing the book the author tried to select the
most important mathematical facts and present them so that the
student could acquire the necessary mathematical conception
and apply mathematics to other branches of science.
Much attention is paid to the solution of problems by
methods based on presented theory. The solving problems is
very useful for active learning of the material being studied.
As in the part I of the book, here at the end of each
lecture students are also offered tests for independent work.
4
Lecture 1
Indefinite Integral
Antiderivative
When differentiating a function we solve the problem of
finding of the derivative of a given function. Now we want to
solve the inverse problem: given the derivative of a function, to
find this function.
Definition. The function F (x) is called an antiderivative or a
primitive of the given function f (x) in a given interval if
F / ( x) f ( x) or dF ( x) f ( x)dx .
Let us consider some examples.
x5
1. The function F ( x) is an antiderivative of the function
5
f ( x) x 4 in the interval (, ) , since
/
x5 1 5 / 1
F ( x) x 5 x 4 x 4 f ( x) .
/
5 5 5
2. The function F ( x) sin 2 x is a antiderivative of the function
f ( x) sin 2 x in the interval (, ) , since
/
F / ( x) sin 2 x 2 sin x (sin x) / 2 sin x cos x sin 2 x f ( x).
.
It is easy to see, from these two examples, that the
x5
derivatives of C and sin 2 x C , where C is an arbitrary
5
constant, are also equal respectively to x 4 and sin 2 x . These
examples indicate that a given function has infinitely many
antiderivatives because the constant C can take on arbitrary
values.
Thus we see that the problem of finding an antiderivative
has infinitely many solutions.
5
Properties of an antiderivative
1. If the function f (x) possesses an antiderivative F (x) , then
it possesses infinitely many antiderivatives, all the
antiderivatives being contained in the expression F ( x) C ,
where C is an arbitrary constant.
2. Any two primitives differ by a constant.
Proof. Let F1 and F2 be two antiderivatives of f. It means that
F1/ f and F2/ f . Let us consider the difference F1 F2
and find its derivative. We have
( F1 F2 ) / F1/ F2/ f f 0 .
It follows that F1 F2 C , where C is a constant.
3. If the function f possesses an antiderivatives F and the
function g possesses an antiderivatives G, then the sum
f g possesses an antiderivative F G .
Proof. Indeed since F / f and G / g we have
( F G) / F / G / f g .
4. If the function f possesses an antiderivatives F, then the
function kf , where k is a constant, possesses an antiderivative
kF .
Proof. Indeed we have
(kF ) / k ( F ) / k f .
5. If the function f (x) possesses a primitive F (x) , then the
function f (t ) possesses a primitive F (t ) .
6. If the function f (x) possesses a primitive F (x) , then the
1
function f (ax b) possesses a primitive F (ax b) , where a
a
and b are constant and also a 0 .
Proof. According to the rule for finding the derivative of a
composite function we have
6
/
1 1 /
F (ax b) F (ax b) a f (ax b) .
a a
7
y
o x
Fig.1.1
1. f ( x)dx
/
f ( x) .
Proof. By the definition of the indefinite integral we have
( f ( x)dx) / ( F ( x) C ) / F / ( x) C / F / ( x) f ( x) .
2. d ( f ( x)dx ) f ( x)dx .
Proof. According to the definitions of the differential and the
indefinite integral we have
d ( f ( x)dx) ( f ( x)dx) / dx f ( x)dx
3. f / ( x)dx f ( x) C or df ( x) f ( x) C .
Thus, the signs of integration and differentiation mutually
cancel out. The result of computing an indefinite integral can
always be verified by finding the derivative of the result.
4. A constant factor in the integrand can be taken outside the
sign of the integral:
Cf ( x)dx C f ( x)dx , C=constant .
5. The integral of a sum of a finite number of functions is equal
to the sum of the integrals of these functions:
8
f ( x) f ( x)dx f ( x)dx f ( x)dx ,
1 2 1 2
dx
14. 1 x 2
arctan x C
dx 1 x
15. arctan C
a x
2 2
a a
dx 1 xa
16. 2 ln C
x a 2
2a x a
dx
17. ln x x 2 a 2 C
x a
2 2
10
1. a 0
a1 x a 2 x 2 ... a n x n dx
a 0 dx a1 xdx a 2 x 2 dx ... a n x n dx
1 1 1
a0 x a1 x 2 a 2 x 3 ... a n x n 1 C
2 3 n 1
2. 3x 2 sin x 5e dx 3x dx 2 sin xdx 5e x dx
2 x 2
x3
3 x 2 dx 2 sin xdx 5 e x dx 3 2 ( cos x) 5e x C
3
x 3 2 cos x 5e x C
sin 2 x 1 cos 2 x
3. tan 2 xdx dx cos 2 x dx
cos 2 x
1 1
1dx dx dx tan x x C .
cos x
2
cos 2 x
Integration by parts
The method of integration by parts is implied by formula
for differentiating a product of two functions. Let
u u (x) and v v(x) be functions of x possessing continuous
derivatives. We have
d (uv) udv vdu
whence
udv d (uv) vdu
Integrating both sides of the latter equality, we get
udv d (uv) vdu
that is,
u dv uv vd u (*)
This is the formula of integration by parts which can be
rewritten as follows
11
u ( x)v ( x)dx u( x)v( x) v( x)u ( x)dx
/ /
x n 1 1 x n 1 x n 1
n 1
ln x x n
dx ln x C.
n 1 n 1 (n 1) 2
13
On transposing the integral from the right-hand side to the left
we find
1 x
e cos xdx 2 e (cos x sin x) C .
x
5 5 9 45
2. Find the integral cos(4 x 1)dx .
1
Solution. We put 4 x 1 t whence 4dx dt , i.e. dx dt .
4
Therefore
1 1 1
cos(4 x 1)dx 4 cos tdt 4 sin t C 4 sin( 4 x 1) C .
3. Find the integral sin x cos xdx .
3
14
Solution. Putting sin x u we get du d (sin x) cos xdx and
hence
u4 1
C sin 4 x C .
3 3
sin x cos xdx u du
4 4
4. Find the integral e cos xdx .
sin x
arctan x
5. Find the integral 1 x2
dx .
1
Solution. Putting arctan x u we get du and hence
1 x2
arctan x u2 1
1 x 2 dx udu 2 C 2 arctan x C .
2
4
3 4
1u 1 1
C u 3 C ( 4 3 x 3 )3 4 3 x 3 C.
9 4 12 12
3
Recurrence Formula for Finding the Integral
dx
In 2
(x a 2 )n
The desired formula is obtained by means of integration by
parts. We have
15
dx 1 a2 x2 x2 1 a2 x2
In 2 ( x 2 a 2 ) n dx a 2 ( x 2 a 2 ) n dx
(x a )
2 2 n
a
1 x2 1 1 x
a2 ( x 2 a 2 ) n dx a 2 I n1 a 2 x ( x 2 a 2 ) n dx .
x
Let us put u x, dv dx ; then du dx and
(x a 2 )n
2
xdx 1
v ( x 2 a 2 ) n d ( x 2 a 2 )
(x a )
2 2 n
2
1 1
2
2(n 1) ( x a 2 ) n1
Consequently
1 1 x 1 dx
I n 2 I n 1 2
a a 2(n 1)( x a )
2 2 n 1
2 n 1
2(n 1) ( x a )
2
,
or
1 x 1
In I 2
2 n 1 2 n 1
2 I n 1
a 2a (n 1)( x a )
2
2a (n 1)
that is
x 1 2n 3
In 2 2 n 1
2 I n 1 .
2a (n 1)( x a )
2
a 2n 2
dx 1 x
For n 1 we have I 1 2 arctan C .
x a 2
a a
Putting n 2 , we obtain an expression for the integral I n in
terms of the elementary functions:
1 x 1
I2 2 2 2 I1
2a x a 2
2a
1 x 1 1 x
2 2 2 arctan C .
2a x a 2
2a a a
16
Assuming now n 3 , we find the integral I 3 (the integral
I 2 having been found). In this way we can find I n for any
positive integer n .
TEST
(1 x)2
1. Find x x
dx
2 x 2 12 x 6
A) C B) 2 x 2 12 x C C) 3 x 5x 2 C
3 x
2x 6
D) C E) x 3 x 2 C
3 x
x
2. Find dx
x4
A) ln x 4 C B) x 4 ln x 4 C C) x C
D) ln x ln x 4 C E) x 4 C
3. Find x sin 2 xdx
A) 2 x sin x cos 2 x C B) x sin 2 x C
1 1
C) sin 2 x x cos 2 x C D) x cos 2 x C E) x sin x C
4 2
4. Find xe dx
x
A) C e x ( x 1) B) e x x C C) x e x C
D) x C E) e x C
5. Find x arctan xdx
x2 1 x2 1 x
A) C B) arctan x C
2 2 2
x2 x
C) arctan C D) x arctan x C E) arccos C
2 2
17
dx
6. Find 1 x 1
A) x 1 C B) ln 1 x 1 C C) ln x 1 C
1
D) 2 x 1 2 ln(1 x 1) C E) C
x 1
x
7. Find x( x 1)dx .
x
A) ln x 1 C B) ln x C C) ln C
x 1
D) ( x 1) C E) 2 arctan x C
dx
8. Find e x
1 e 2 x
.
A) C arcsin e x B) arccos e 2 x C C) e x C
D) arctan e x C E) e 2 x C
9. Find x cos x 2 dx
1
A) cos x C B) sin x C C) sin x 2 C
2
1
D) cos x 2 C E) arccos x C
5
dx
10. Find x .
e (3 e x )
1
A) ln e x C B) e x e x C C) ln 3x C
3
D) C ln(3 e x ) E) 3 e x C
Answers:
1.A 2.B 3.C 4.A 5.B 6.D 7.E 8.A 9.C 10.D
18
Lecture 2
Integration of Rational Functions (Rational Fractions)
p2
q 0.
4
In all the four cases it is assumed that A, B, p, q, a are real
numbers. The fractions we have enumerated will be called,
respectively, partial fractions of types I, II, III and IV.
M ( x)
It turns out that the proper rational fraction can be
Q( x )
represented as a decomposition into partial fractions.
Thus we need to know how to find the integrals of the partial
fractions.
Let us consider the integrals of the partial fractions of the first
three types. We have
A
I. dx A ln x a C
xa
Indeed, putting x a t we find dx dt and hence
A A 1
x a dx t dt A t dt A ln t C A ln x a C
A A 1
II. dx C
( x a) n
n 1 ( x a) n 1
Here we do the same: x a t dx dt and we get
20
A A n
( x a) n dx t n dt A t dt
A 1 A 1
n1 C C
n 1 t n 1 ( x a) n1
dx 2 2x p
III. 2 arctan C
x px q 4q p 2
4q p 2
Indeed, for this special case of the partial fraction of type III we
obtain
2
p p2
x px q x q
2
or x 2 px q t 2 a 2 ,
2 4
p 4q p 2 p2
where t x , a (here q 0 ), whence
2 2 4
dx dt 1 t
x 2 px q t 2 a 2 a arctan a C
2 2x p
arctan .
4q p 2
4q p 2
dx
Example. Find the integral 2 .
x 8 x 32
Solution. We have
dx dx
x 2 8 x 32 ( x 4) 2 16
d ( x 4) 1 x4
arctan C
( x 4) 16 4
2
4
We will show now how to integrate, in a general form, partial
fractions of type III.
Ax B p2
It is required to find 2 dx , where q 0 . Let
x px q 4
us isolate the derivative of the denominator from the numerator
21
of the fraction. To do that, we will represent the numerator in
the form
A Ap
Ax B (2 x p) B
2 2
Then
A Ap
(2 x p) B
Ax B 2 2 dx
x 2 px q dx x px q
2
A 2x p Ap dx
dx B 2
2 x px q
2
2 x px q
In the first integral the numerator is the derivative of the
denominator; therefore,
2x p d ( x 2 px q)
x 2 px q dx x 2 px q
du
ln u C ln( x 2 px q) C
u
(here x 2 px q 0 )
The second integral, as has been indicated, can be found by the
formula
dx 2 2x p
x 2 px q 4q p 2 arctan 4q p 2 C
Thus, finally we have
Ax B A
x 2 px q dx 2 ln(x px q)
2
2 B Ap 2x p
arctan C .
4q p 2 4q p 2
(3x 1)dx
Example. Find the integral 2 .
4 x 4 x 17
Solution. We have
22
3 3
(8 x 4) 1
(3x 1)dx 8 2
4 x 2 4 x 17 4 x 2 4 x 17 dx
3 8x 4 1 dx
2 dx 2
8 4 x 4 x 17 2 4 x 4 x 17
3 d (4 x 2 4 x 17) 1 1 dx
8 4 x 4 x 17
2
2 4 2 17
x x
4
3 du 1 dx 3 1 dt
ln u 2
8 u 8 1
2
8 8 t 22
x 4
2
3 1 1 t
ln( 4 x 2 4 x 17) arctan C
8 8 2 2
3 1 2x 1
ln( 4 x 2 4 x 17) arctan C .
8 16 4
23
The first integral on the right-hand side is easily found with the
aid of the substitution x 2 px q t whence
(2 x p)dx dt . We have
2x p dt 1
( x 2 px q) n dx t n (n 1)t n1 C
1
C
(n 1)( x px q) n 1
2
24
2x 3 2x 2 1
( x 2 2 x 5) 2 dx ( x 2 2 x 5) 2 dx
.
2x 2 1
2 dx dx
( x 2 x 5) 2 [( x 1) 2 4] 2
We perform the change of variable
x 2 2 x 5 t , (2 x 2)dx dt
in the first integral and put x 1 z, dx dz in the second
integral. We get
2x 3 dt dz
(x 2
2 x 5) 2
dx 2 2
t ( z 4) 2
1 1 z 1 1 z
arctan C
t 24 z 4 24 2
2
2
Returning now to the old variable, we get
2x 3 1 1 x 1
( x 2 2 x 5) 2 dx x 2 2 x 5 8 x 2 2 x 5
1 x 1 x7 1 x 1
arctan C arctan C
16 2 8( x 2 x 5) 16
2
2
In the conclusion we formulate the main stages of integration
the rational fractions.
P( x)
Before integrating the rational fraction , we must perform
Q( x)
the following algebraic transformations and calculations:
I. If we are given an improper rational fraction, we have to
isolate its entire rational function (a polynomial), that is,
represent in the form
P( x) M ( x)
L( x)
Q( x) Q( x)
M ( x)
where L(x) is a polynomial and is a proper rational
Q( x )
fraction.
25
II. Factor the denominator of the fraction into linear and
quadratic multipliers:
p2
Q( x) ( x a) n ...(x 2 px q) k ... , where q 0.
4
III. Decompose the proper rational fraction into partial
fractions:
M ( x) A1 A1 A
n 1
... n ...
Q( x) ( x a ) n
( x a) xa
B1 x C1 B x C2 B x Ck
... 2 2 k 1
... 2 k ...
( x px q)
2 k
( x px q) x px q
IV. Compute the undetermined coefficients
A1 , A2 ,..., An , B1 , C1 , B2 , C2 ,...Bk , Ck ,... for which purpose it is
necessary to reduce the latter equality to the common
denominator, equate the coefficients in the same degrees of x
on the right-hand and left-hand sides of the identity obtained
and solve the system of linear equations with respect to the
sought-for coefficients.
Thus, as a result, integration of a rational fraction will reduce
to finding integrals of a polynomial and of partial rational
fractions.
Let us consider several examples.
x3
1. Find the integral 3 dx .
x x
Solution. The given proper rational fraction can be represented
as a sum of partial fractions of type I:
x3 x3 A B C
.
x x x( x 1)( x 1) x x 1 x 1
3
and therefore
x3 dx dx dx
x 3 x dx 3 x x 1 2 x 1
x3
3 ln x ln x 1 2 ln x 1 C ln C
( x 1)( x 1) 2
x2 1
2. Find the integral ( x 1) 3 ( x 3)dx .
27
Solution. The factor ( x 1) 3 is associated with the sum of three
A B C
partial fractions , and the factor
( x 1) 3 ( x 1) 2 x 1
D
x 3 , with the partial fraction . Therefore
x3
x2 1 A B C D
.
( x 1) ( x 3) ( x 1)
3 3
( x 1) 2
x 1 x 3
Clearing the equation of fractions, we get
x 2 1 A( x 3) B( x 1)( x 3) C ( x 1) 2 ( x 3) D( x 1) 3
.
Consequently,
x 2 1 A( x 3) B( x 2 2 x 3)
C ( x 3 x 2 5 x 3) D( x 3 3x 2 3x 1)
Combining the terms of like degrees, we get
x 2 1 (C D) x 3 ( B C 3D) x 2
( A 2 B 5C 3D) x 3 A 3B 3C D
Comparing the coefficients in like powers of x, we get the
system of equations
C D
C D 0 B 4 D 1
B C 3D 1
A 16D 2
A 2 B 5C 3D 0
3 A 3B 3C D 1 D 5
32
1 3 5 5
from which we find A , B , C , D .
2 8 32 32
The unknowns A, B, C and D in the decomposition could have
been determined in another way. The real roots of the
denominator are the numbers 1 and -3. Putting x=1 we get
28
1
2=4A, i.e. A= . For x 3 , we have 10 64D , i.e.
2
5 5 3
D , whence C and B .
32 32 8
Thus, finally decomposition of a rational fraction into partial
fractions has the form
x2 1 1 3 5 5
( x 1) ( x 3) 2( x 1)
3 3
8( x 1) 2
32( x 1) 32( x 3)
Thus, we get
x2 1 1 dx 3 dx 5 dx
( x 1) 3 ( x 3) dx 2 ( x 1) 3 8 ( x 1) 2 32 x 1
5 dx 1 3 5 x 1
ln C
32 x 3 4( x 1) 2
8( x 1) 32 x 3
x3 2x
3. Find the integral ( x 2 1) 2 dx .
Solution. The given proper rational fraction can be represented
as a sum of partial fractions of types III and IV:
x 3 2x Ax B Cx D
2 2
( x 1)
2 2
( x 1) 2 x 1
Clearing the equation of fractions, we obtain
x 3 2 x Ax B (Cx D)( x 2 1)
or
x 3 2 x Ax B Cx 3 Dx 2 Cx D .
Combining the terms of like degrees, we get
x 3 2 x Cx 3 Dx 2 ( A C ) x B D .
Comparing the coefficients in like powers of x, we get the
system of equations
29
C 1
D 0
A C 2
B D 0
from which we find A 3, B 0, C 1, D 0 .
Consequently, decomposition of a rational fraction into partial
fraction has the form
x 3 2x 3x x
2 2 .
( x 1)
2 2
( x 1) 2
x 1
Therefore, we get
x3 2x 3xdx xdx 3 d ( x 2 1)
( x 2 1) 2 dx ( x 2 1) 2 x 2 1 2 ( x 2 1) 2
1 d ( x 2 1) 3 1
2 ln( x 2 1) C.
2 x 1 2( x 1) 2
2
x 3 3x 2 5 x 7
4. Find the integral x2 2
dx .
Solution. Since the integrand is an improper rational fraction,
first of all we have to isolate its entire rational function i.e. a
polynomial:
x 3 3x 2 5 x 7 x2 2
- 3
x 2x x3
3 x 2 3x 7
-
3x 2 6
3x 1
Thus, we have
x 3 3x 2 5 x 7 3x 1
x 3 2 .
x 2
2
x 2
It follows that
30
x 3 3x 2 5 x 7 3x 1
dx x 3 2 dx
x 2
2
x 2
3x 1
xdx 3 dx 2 dx
x 2
1 xdx dx
x 2 3x 3 2 2
2 x 2 x 2
1 3 d ( x 2 2) dx
x 2 3x 2 2
2 2 x 2 x 2
1 3 1 x
x 2 3x ln( x 2 2) arctan C .
2 2 2 2
Integration of Irrational Functions
I. Integrals of the form R x, m x , n x ,... dx, where R is
rational function with respect to the variable of integration x
and the radicals of x entering into it. Let us denote by k the
least common multiple of all the exponents m, n,...
LCM( m, n,... )=k; then
1 r1 1 r2
, , ...
m k n k
and therefore all the quotients
k k
r1 , r2 , ...
m n
are integers.
By means of the change of variable x t k , dx kt k 1dt.
1 1 k
m
x xm tk m t m t r1 ,
t
1 1 k
n
xx n k n
t t r2 ,
n
.........................................
the indicated integral can be transformed into an integral of a
rational function
31
Rx,
x , n x ,... dx R t k , t r1 , t r2 kt k 1 dt R1 (t )dt
m
ax b n ax b
II. Integrals of the form R x, m , , ...dx .
cx d cx d
In this case the integral is rationalized by the substitution
ax b
t k , where k is the least common multiple of all the
cx d
exponents m, n,... , LCM( m, n,... )=k; then all the quotients
k k
r1 , r2 , ... are integers and
m n
dt k b
x R1 (t ), dx R1/ (t )dt ,
a ct k
ax b ax b m
t t t 1 ,
1 1 k
m k m m r
cx d cx d
ax b ax b n
t t n t 2 ,... .
1 1 k
n k n r
cx d cx d
32
Thus, as a result, the indicated integral can be transformed into
an integral of a rational function
ax b ax b
R x, m
cx d
,
cx d
, ...dx
n
R R1 t , t , t ,... R1 t dt R 2 t dt
r1 r2
t 2 1 1 1
2 dt dt 2 (t 1)dt dt
t 1 t 1 t 1
t 2 2t 2 ln t 1 C .
Now returning to the original variable by means of the
substitution t 4 1 2 x we get
dx
1 2 x 4 1 2 x 1 2 x 2 1 2 x 2 ln 1 2 x 1 C
4 4
.
dx
III. Integrals of the form .
ax 2 bx c
By isolating a complete square from a quadratic trinominal,
such integrals reduce to the tabular integrals, of the form (13)
or (17) (see the table).
33
dx
Example. Find the integral x 2 4 x 13
.
ln t t 2 9 C ln x 2 x 2 4 x 13 C
Ax B
IV. Integrals of the form ax 2 bx c
dx .
This integral can be split into two by separating the part of the
numerator proportional to the derivative of the radicand. In
other words, let us expand the integral into a sum of two
integrals as follows
A Ab
(2ax b) B
Ax B
ax 2 bx c dx
2a 2a dx
ax bx c
2
A (2ax b)dx Ab dx
2a B
ax 2 bx c
2a ax 2 bx c
A d (ax 2 bx c) Ab dx
2a B
ax 2 bx c
2a ax 2 bx c
.
34
3x 5
Example. Find the integral
4 x 2 8x 5
dx
TEST
dx
1.Find x(x 1) .
x 1
A) ln x C B) ln x 1 C C) ln C
x
1
D) x C E) ln x 5 C
5
dx
2.Find ( x 1)(2 x 3) .
1 2x 3
A) ln C B) ln 2 x ln x C C) ln 2 x 3 C
5 x 1
D) ln (2 x 3)( x 1) C E) 2 x 3 C
dx
3. Find x 2
2x 3
.
35
1 2 1 x 1
A) x 3C B) arctan C
2 2 2
1
C) arccos x 2 C D) arcsin x C E) 2 x 3 C .
2
dx
4. Find 4x 3 x2
.
1
A) 4x 3 C B)arctan x 2 C
4
C) arccos x 2 C D) arcsin( x 2) C E) arccos4 x C
xdx
5. Find 2x 2
3x 2
.
A)
1
5
ln ( x 2) 2 2 x 1 C 1
B) ln 2 x 1 C
5
C) ln x 2 C D) ln x C E) 2 x 3x C
2
( x 2) 2 dx
6. x( x 1) 2 .
9 1 x
A) 4 ln x 3 ln x 1 C ln C
B)
x 1 4 x 1
1 x
C) ( x 1) 2 C D) x C E) arctan C
5 x 1
dx
7. Find x( x 2
1)
.
A) ln x 2 1 C B) arctan x C
x
C) arccos x C D) ln C E) ln x C
x 2 1
dx
8. Find x 4
x2
.
36
x4 1 1 x 1
A) ln C B) ln C
5 x 2 x 1
1 x 1
C) ln C D) x 4 x 2 C E) arctan x C
2 x 1
dx
9. Find .
8 6x 9x 2
1
A) arctan x C B) 8 6 x 9 x 2 C
8
x 1 1 3x 1
C) arccos x C D) arcsin C E) arcsin C
3 3 3
dx
10. Find x4 x
.
A) x C B) 2 x 44 x 4 ln(1 4 x ) C
x
C) 1 x 4 C D) ln C E) 4
x C
x 1
Answers:
1.C 2.A 3.B 4.D 5.A 6.A 7.D 8.B 9.E 10.B.
37
Lecture 3
Integration of Trigonometric Functions
38
Solution. The integrand depends rationally on sin x . Using the
x
substitution t tan , we get
2
1 1 2dt dt
1 sin x dx
2t 1 t 2
2
(1 t ) 2
1
1 t2
2 2
C C .
1 t x
1 tan
2
dx
Example. Find the integral .
sin x
Solution. We have
2dt
dx 1 t 2 dt ln t C ln tan x C .
sin x 2t t
2
1 t 2
dx
Example. Find the integral .
3 sin x 4 cos x 5
Solution. Here the integrand depends rationally on sin x and
x
cos x . Therefore, we apply the substitution t tan ; then
2
2dt
dx 1 t2
3 sin x 4 cos x 5 2t 1 t2
3 4 5
1 t2 1 t2
dt dt 2
2 2 2 C .
t 6t 9 (t 3) 2
t 3
Returning to the old variable, we get
39
dx 2
3 sin x 4 cos x 5 x
C.
tan 3
2
x
The universal substitution t tan often leads to very
2
complicated expressions containing rational fractions. In
certain particular cases it is better to use some other
substitutions such as t sin x , t cos x or t tan x , which we
are going to consider here.
I. If R(sin x, cos x) is an even function with respect to sin x and
cos x , that is, if R( sin x, cos x) = R(sin x, cos x) , then the
integral can be rationalized by means of the substitution
t tan x .
1
Example. Find the integral dx .
cos 4 x
Solution. Using the substitution t tan x , we get
dx tan 2 x 1d tan x
1 1 1
cos 4
x
dx 2
2
cos x cos x
t3 1
(t 1)dt t C tan 3 x tan x C.
2
3 3
sin 2 x
Example. Find the integral cos6 x dx .
Solution. We have
sin 2 x sin 2 x 1 1
cos 6 x cos 2 x cos 2 x cos 2 x dx
dx
3 5
1 1
tan 3 x tan 5 x C .
3 5
40
dx
Example. Find the integral sin
x 2 sin x cos x cos 2 x
2
.
Solution. The integrand is even with respect to sin x and cos x .
Setting t tan x , we obtain
tan x tan x t
sin x tan x cos x ;
1 1 tan 2 x 1 t 2
cos 2 x
1 1
cos x ;
1 tan 2 x 1 t2
dt
x arctan t ; dx .
1 t 2
It follows that
dx
sin
x 2 sin x cos x cos 2 x
2
dt
2 1 t2
t 2t 1 1
1 t2 1 t2 1 t2 1 t
2
dt d (t 1)
t 2t 1
2
(t 1) 2 ( 2 ) 2
1 t 1 2 1 tan x 1 2
ln C ln C .
2 2 t 1 2 2 2 tan x 1 2
41
Solution. Since the integrand is odd with respect to the sin x ,
we put t cos x . If follows that
sin 2 x 1 cos 2 x 1 t 2 ,
cos 2 x 2 cos 2 x 1 2t 2 1, .
dt d cos x sin xdx .
Thus we have
(sin x sin 3 x)dx (1 sin 2 x) sin xdx (2 t 2 )(dt )
cos 2 x
cos 2 x
2t 2 1
t2 2 1 2t 2 4 1 2t 2 1 3
2 dt 2
2 2t 1 2 2t 2 1
dt
2t 1
1 3 dt t 3 d ( 2t )
dt 2
2 2 2t 1 2 2 2 ( 2t ) 2 1
t 3 2t 1 1 3 2 cos x 1
ln C cos x ln C .
2 2 2 2t 1 2 2 2 2 cos x 1
2
(1 cos x) cos x sin xdx (1 t ) t dt
2 2 6 2 6
(1 2t t )t dt (t 2t t )dt
2 4 6 6 8 10
t7 t 9 t 11 1 2 1
2 C cos 7 x cos 9 x cos11 x C.
7 9 11 7 9 11
4 4 2
1 1 1
(1 cos 4 x)dx x sin 4 x C
8 8 32
Example. Find the integral sin 4 x cos 4 xdx .
Solution. We have
44
2
1 2
sin x cos xdx (sin x cos x) dx 4 sin 2 x dx
4 4 2 2 2
1 1 cos 4 x
2
1
dx (1 2 cos 4 x cos 2 4 x)dx
16 2 64
1 1 1 1 cos 8 x
64 dx cos 4 xdx
32 64 2
dx
1 1 1 1
x sin 4 x x sin 8 x C
64 128 128 1024
3 1 1
x sin 4 x sin 8 x C .
128 128 1024
Example. Find the integral sin x cos xdx .
2 4
Solution. We have
sin x cos xdx (sin x cos x) cos xdx
2 4 2 2 2
1 1 cos 2 x
sin 2 2 x dx
4 2
1 1
sin 2 2 xdx sin 2 2 x cos 2 xdx
8 8
1 1 cos 4 x 1 1
dx sin 2 2 x d (sin 2 x)
8 2 8 2
1 1 1
dx cos 4 xdx sin 2 2 xd (sin 2 x)
16 16 16
1 1 1
x sin 4 x sin 3 2 x C .
16 64 48
cos x
2
1
4
tan x tan 4 x tan 2 x
tan x 1dx ln cos x C.
cos x
2
4 4 2
sin x
1
7
cot x cot 7 x
cot 4 x 2 1dx cot 4 xd cot x
7 sin x 7
cot 7 x cot 5 x 1
cot 4 xdx cot 2 x 2 1dx
7 5 sin x
7 5
cot x cot x
cot 2 xd cot x cot 2 xdx
7 5
cot x cot 5 x cot 3 x 1
7
2 1dx
7 5 3 sin x
7 5 3
cot x cot x cot x
cot x x C .
7 5 3
46
1
sin cos sin( ) sin( ),
2
cos cos cos( ) cos( ) ,
1
2
sin sin cos( ) cos( ) .
1
2
by means of which make it possible to represent a product of
trigonometric functions as their sum.
Example. Find the integral sin 3x cos 7 xdx .
Solution. We have
1 1 1
2 sin 4 xdx cos10x cos 4 x C .
20 8
Example. Find the integral cos x cos 3x cos 5 xdx .
Solution. We have
1 1
cos 4 x cos 5 xdx cos 2 x cos 5 xdx
2 2
cos 9 x cos x dx cos 7 x cos 3x dx
1 1
4 4
1 1 1 1
sin 9 x sin x sin 7 x sin 3x C.
36 4 28 12
47
TEST
dx
1.Find 1 sin x .
x 2 x
A) ln tan C B) C C) tan C
2 x 2
1 tan
2
x
D) arctan C E) arcsin x C
2
sin 3 x
2.Find dx .
cos4 x
1 1 1 1
A) 3
C B) 4
C C) C
3 cos x cos x cos x sin 3 x
1 1 1
D) C E) tan x C
x cos x sin x
dx
3. Find .
cos x sin 3 x
A) ln tan x C B) cos x C C) ln cos x C
1 1
D) ln tan x 2
C E) C
2 sin x 2 sin 3 x
4. Find sin 2 3 xdx .
1 1
A) sin x C B) sin 6 x C
6 12
1 1 1 1
C) x sin 6 x C D) cos 3x C E) cos 6 x C
2 12 2 12
5. Find sin 3 x cos 2 xdx .
1 1 1 1
A) cos 5 x x C B) sin 3 x C C) C
5 3 x sin x
1 1 1
D) sin 5 x sin 3 x C E) cos 5 x cos 3 x C
5 5 3
48
6. Find tan 3 xdx .
1 1
A) tan 2 x ln cos x C B) tan 3 x C
2 2
1 1
C) ln cos x C D) tan 3 x C E) cos 5 x C
3 2
7. Find cot xdx .
3
1
A) ln sin x C B) cot 2 x ln sin x C
2
1
C) tan 2 x C D) ln cos x C E) x cot x C
2
8. Find (1 2 cos x) 2 dx .
A) 2 cos x x C B) x sin x C C) 3x 4 sin x sin 2 x C
1
D) x cos x sin x C E) 3x sin 2 x C
2
9. Find cos 3 xdx .
1 1
A) sin x C B) cos 2 x C C) cos 2 x C
2 3
sin 3 x
D) sin x C E) cos x C
3
1 sin x
10. Find dx .
cos x
A) ln(1 sin x) C B) ln sin x C C) x sin x C
D) 1 sin x C E) cos x C
Answers:
1.B 2.A 3.D 4.C 5.E 6.A 7.B 8.C 9.D 10.A.
49
Lecture 4
Definite Integral
There are various problems of geometry and physics leading to
the notion of the definite integral: determining the area of a
plane figure, computing the work of a variable force, finding
the distance travelled by a body with a given velocity, and
many other problems.
Definition. Suppose a function f (x) is defined on a closed
interval [a,b]. Let us divide the interval [a,b] into n arbitrary
parts by points a x0 x1 x2 ... xn b , chose an arbitrary
point k in each subinterval xk 1 , xk and find the length of
every such subinterval: xk xk xk 1 .
The integral sum for the function f (x) on the closed interval
[a, b] is the sum of the form
n
f (
k 1
k )xk f (1 )x1 f ( 2 )x2 ... f ( n )xn
y f (x)
f (k )
a x0 x1 x2 xk 1 xk xn1 xn b
o x
Fig.4.1
50
The integral sum is the area of the entire step figure consisted
of these rectangles.
The definite integral of the function f (x) on the closed
interval [a, b] is the limit of the integral sum under the
condition that the length of the greatest subinterval tends to
zero:
b n
f ( x)dx lim
max xk 0
f (
k 1
k )xk .
a
The numbers a and b are called, respectively, the lower limit
and the upper limit of integration. As in the case of the
indefinite integral, the function f (x) is called the integrand,
the expression f ( x)dx is called the interval the element of
integration, the interval [a, b] is called the interval of
integration, and the variable x is the variable of integration.
Definition. A function f (x) for which the definite integral
exists is called integrable.
The process of forming the definite integral shows that the
b
symbol f ( x)dx is a certain number.
a
Its value only depends
51
y
y=f(x)
x=a x=b
o a y=0 b x
Fig.4.2
If f ( x) 0 on [a, b] , then, in geometrical interpretation, the
b
definite integral f ( x)dx
a
is the area of a curvilinear
trapezoid Fig.4.2:
b
A f ( x)dx .
a
a
f ( x)dx f (t )dt f (u )du ...
a a
b
2. dx b a .
a
f (
k 1
k )x k 1 x k x k x1 x 2 ... xn
k 1 k 1
x1 x0 x 2 x1 ... x n xn 1 x n x0 b a
3. If the upper and the lower limits of the definite integral are
interchanged the integral only changes its sign:
b a
a
f ( x)dx f ( x)dx .
b
4. If the limits of integration coincide then the integral is equal
to zero, i.e
a
f ( x)dx 0
a
5.For any a, b, c there holds the formula
b c b
a
f ( x)dx f ( x)dx f ( x)dx
a c
(*)
Proof. Let a c b .
Since the limit of the integral sum does not depend on the way
the interval [a, b] is divided into parts, we can divide the
interval so that the point C is always a point of division. Then
the integral sum can be represented in the form
n
f (
k 1
k )xk / f ( k )xk // f ( k )xk
k k
where the first sum on the right-hand side includes all the terms
corresponding to the points of division of the interval [a, c] and
the second sum includes all the terms corresponding to the
points of division of the interval [c, b] . The first and the second
sums are, respectively, integral sums for the function f (x)
corresponding to the intervals [a, c] and [c, b] .
If the number of the points of division increases indefinitely
and the length of the greatest subinterval tends to zero for the
53
whole interval [a, b] the same obviously takes place for the
intervals [a, c] and [c, b] ; therefore, passing to the limit as
max xk 0 , we get
n
lim
max xk 0
f (
k 1
k )x k
lim
max xk 0
k
/
f ( k )x k lim
max xk 0
k
//
f ( k )x k
a
f ( x)dx f ( x)dx f ( x)dx
a b
whence
b c c
a
f ( x)dx f ( x)dx f ( x)dx ,
a b
Now, interchanging the limits of integration in the second
integral on the right-hand side we obtain
b c b
f ( x) ... f
a
1 n ( x)dx f1 ( x)dx ... f n ( x)dx .
a a
Proof. According to the definition of the integral, we have
b n
f ( x) g ( x)dx maxlim
a
x 0
f ( k ) g ( k )x k
k
k 1
n n
lim f ( k )x k g ( k )x k
max xk 0
k 1 k 1
n n b b
lim
max x k 0
k 1
f ( k )x k lim
max xk 0
g ( k )x k f ( x)dx g ( x)dx .
k 1 a a
Cf ( x)dx C f ( x)dx
a a
where C is constant.
Proof. According to the definition of the integral, we have
b n
Cf ( x)dx lim
max x k 0
Cf (
k 1
k )x k
a
n b
C lim
max x k 0
k 1
f ( k )x k C f ( x)dx .
a
b
55
n
f (
k 1
k )xk 0 .
It follows that
b n
f ( x)dx lim
max xk 0
f (
k 1
k )xk 0
a
since the limit of a nonnegative quantity cannot be negative.
b b
9. If f ( x) g ( x) on [a, b] then f ( x)dx g ( x)dx .
a a
Proof. We have
b
f ( x) g ( x) f ( x) g ( x) 0 f ( x) g ( x)dx 0
a
b b b b
f ( x)dx g ( x)dx 0 f ( x)dx g ( x)dx .
a a a a
mdx f ( x)dx Md x
a a a
b b b
m dx f ( x)dx M d x
a a a
b
m(b a) f ( x)dx M (b a) .
a
The geometrical meaning of the inequalities we have just
proved is the following (Fig.4.3):
56
The area of a curvilinear trapezoid is greater than the area of
the rectangle with altitude equal to m and is less than the area
of the rectangle with altitude equal to M.
o a b x
Fig.4.3
57
Theorem. The absolute value of the definite integral does not
exceed the integral of the absolute value of the integrand
function
b b
f ( x)dx f x dx .
a a
f ( x)dx
a a
f ( x) dx.
f ( x)dx f ( )(b a) .
a
Cdx C dx C (b a) .
a a
58
b
1
b a a
m f ( x)dx M
and, hence,
b
1
b a a
f ( x)dx
o a b x
Fig.4.4
59
Integral with Variable Upper Limit
continuous at x.
a
In other words: an integral with variable upper limit is an
antiderivative of its integrand.
F
Proof. We have to prove that lim f ( x) .
x 0 x
We have
F F ( x x) F ( x) 1 x x
x
x
f t dt .
x x
F
Let us consider the difference f (x) .
x
61
x x
F 1
x
f ( x)
x f (t )dt f ( x)
x
1 1 x x
x x x x
x
1
f (t ) f ( x)dt .
x x
f (t ) dt f ( x ) dt
x x x
Since the function f (x) is continuous, it is clear that
x 0 t x f (t ) f ( x) f (t ) f ( x) 0 .
It follows that for any 0 f (t ) f ( x) and hence
x x
F
f (t ) f ( x)dt
1
f ( x)
x x x
x x
f t f x dt
1 1
x
x x
x
F
or f (x)
x
F
which means that lim f ( x), i.e. F / ( x) f ( x) .
x 0 x
62
This result is one of the most important theorem in
mathematics. It is called the Newton-Leibniz theorem, and
the equality
b
f (t )dt ( x) C
a
Here putting x a we obtain
a
f (t )dt (a) C
a
or 0 (a) C , C ( a )
and hence
x
f (t )dt ( x) (a) .
a
Now setting x b we finally get
b
1.Newton-Leibniz formula:
63
b
udv uv vdu ,
b
a
a a
where u u (x) , v v(x) are continuously differentiable
functions on the interval [a,b].
Proof. We have
d (uv) vdu udv
Integrating both sides of this equality from a to b we obtain
b b b
udv uv a vdu .
b
a a
3. Change of variable in the definite integral:
b
f ( x)dx f [ (t )]
/
(t )dt (1)
a
64
f ( x)dx F ( x) C , (2)
f [ (t )] (t )dt F[ (t )] C .
/
(3)
f ( x)dx 0 .
a
Proof. We have
a 0 a
a
f ( x)dx
a
f ( x)dx f ( x)dx .
0
Now, changing the variable of integration in the first integral
on the right-hand side by means of the substitution x t we
get
a a a a a
a
f ( x)dx f (t )dt f ( x)dx f (t )dt f ( x)dx 0 .
0 0 0 0
5. If f (x) is an even function, i.e. f ( x) f ( x) , then
a a
f ( x)dx 2 f ( x)dx
a 0
Proof. We do the same here
65
a 0 a a a
x
2
1. Evaluate the integral dx .
1
Solution. We have
2
2 3 (1) 3 8 1
2
x3
3.
2
x dx
1
3 1
3 3 3 3
2
2. Evaluate the integral cos xdx .
0
Solution. We have
2
cos xdx sin x
0
2
0
sin
2
sin 0 1 0 1 .
4
dx
3. Evaluate the integral cos
0
2
x
.
Solution. We have
4
dx
0 cos2 x tan x 04 tan 4 tan 0 1 0 0 .
1
xe
x
4. Calculate the integral dx .
0
Solution. We use here the method of integration by parts.
We put u x, dv e x dx , whence du dx, v e x .
Then
66
1 1
xe dx xe e dx
x x x 1
0
0 0
1 e2
e 1 e x 2e 1 1 .
0 e
2
e
x
5. Calculate the integral cos xdx .
0
Solution. We use here the method of integration by parts.
We set u e x , dv cos xdx , whence du e x dx, v sin x .
Then
2 2 2
0 0 0
0 0
.
2
e 2 1 e x cos xdx .
0
It follows that
2
e 2 1
0
x
e cos xdx .
2
e
ln 2 x .
6. Calculate the integral 1 x dx
Solution. We use here the method for change of variable.
dx
We put ln x t , then dt .
x
67
It is clear that if x 1, then t 0 ; if x e, then t 1 .
Consequently,
e 1 1
ln 2 x t3 1 1
0 x 0 0 .
2
dx t dt
3 0
3 3
8
xdx
7. Evaluate the integral
3 1 x
.
3 1 x 2 t 2
32
2 2 32 2
(27 8) 2(3 2) 19 2 10 .
3 3 3 3
sin
3
8. Calculate the integral x cos 2 dx .
Solution. Here the integrand is an odd function. Consequently
sin x cos2 dx 0 .
3
TEST
1.Evaluate each of the following integrals:
1
1.
0
1 x dx .
1 2( 8 1) 8 1 7
A) B) C) D) E)
8 3 3 27 72
1
dx
2. (11 5x)
2
3
.
5 7
A)3 B)4 C) 5 D) E)
72 72
68
y 1
9
3.
4
y 1
dy .
2 1 2
A) 7 B) 7 C)7 D)8 E) 9
3 3 3
1
4. (e x 1) 4 e x dx .
0
1
dx
5. x
0
2
4x 5
.
1 1 1
A) arctan B) arctan C) arctan D)1 E) 0
7 6 5
1
xe
x
6. dx .
0
2 1
A)1 B) 1 C)0 D) E) e 2
e e
e 1
7. ln(x 1)dx .
0
1
A) ln 2 B) ln 3 C) 1 D) ln 5 E) ln
2
2
8. x cos xdx .
0
A) B) 0 C) D) 1 E) 1
2 2 3
9
x
9.
4 x 1
dx .
69
A) ln 4 B) 6 ln 3 C) 2 ln 2 D) 7 2 ln 2 E) 7
8
xdx
10. .
3 1 x
1 35 32
A)8 B) 5 C) D)10 E)
3 3 3
Answers:
1.B 2.E 3.A 4.C 5.A 6.B 7.C 8.D 9.D 10.E
70
Lecture 5
Applications of Definite Integral
1. Computing the Area of a Plane Figure
y y=f(x)
o a b x
Fig.5.1
o a b x
Fig.5.2
f(x)<0
71
The area of the figure (Fig.5.3) bounded by the curves
y f (x) and y g ( x) ( f ( x) g ( x)) and by the straight lines
x a and x b can be found from the formula
b
A f ( x) g ( x)dx
a
y=f(x)
0
y=g(x) 0
0
o a x
0b
0
Fig.5.3
Let us consider some special cases of calculating the area
of plane figures:
b b
A f ( x)dx g ( x)dx (Fig.5.4)
a c
y
f
o a c b x
Fig.5.4
72
c b
A f ( x) g ( x)dx g ( x) f ( x)dx (Fig.5,5)
a c
f(x) g(x)
g(x) f(x)
o a c b x
Fig.5.5
c b
A f ( x) ( x)dx g ( x) ( x)dx (Fig.5.6)
a c
y
g(x)
f(x)
φ(x)
o a c b x
Fig.5.6
73
If the line y f (x) is specified by the parametric
equations x (t ), y (t ) , then the area of the plane figure
bounded by this line, the straight lines x a , x b and the
interval a, b of the x-axis is expressed by the formula
t2
A (t ) / (t )dt,
t1
o 4 x
Fig.5.7
0 3 0 3
74
2. Find the area of the figure (Fig 5.8) bounded by the curves
y x and y x 2 .
y
y=x2
y x
o 1 x
Fig.5.8
Solution. We have x x 2 x x 4 x 0, x 1
Consequently,
1
1
2 32 1 3 1
A ( x x )dx x x ( sq. units)
2
0 3 3
0
3
x2 y2
3. Find the area A bounded by the ellipse 2 2 1 .(Fig,5.9)
a b
y
b
-a o 1 a x
b
b
Fig.5.9 Solution.
b
75 b
It is known that the ellipse is specified by the parametric
equations
x a cos t , y b sin t
Since 1 cos t 1 then a x a ;
if x a cos t 1 t ;
if x a cos t 1 t 0.
Consequently,
0 0
0
2ab sin 2 tdt 2ab sin 2 tdt
0
1 cos 2t
2ab dt ab (1 cos 2t )dt
0 2 0
1
ab t sin 2t ab.
2 0
4. Find the area of the figure (Fig.5.10) bounded by the curve
y cos x and straight lines y 0, x 0 and x .
Solution. It is clear that
o
2
x
Fig.5.10
76
A cos x dx
0
where
cos x for 0 x 2
cos x
cos x for x .
2
Consequently,
2 2
A cos x dx cos x dx cos xdx cos xdx
0 0
2 2
sin x 02 sin x sin sin 0 sin sin
2 2 2
1 1 2.
2. Computing the Arc Length of a Plane Curve
If the curve y f (x) is smooth on the interval [a,b] (Fig.5.11)
y
M1 M2 Mi-1 Mi Mn-1
A B
o a x1 x2 xi-1 xi b x
Fig.5.11
77
(that is, the derivative y / f / ( x) is continuous), then the
length of the corresponding arc of the curve can be found by
the formula
b
L 1 [ y / ] 2 dx .
a
Proof. Let y f (x) be a smooth curve. We will find the
length of the arc contained between the vertical straight lines
x a and x b (Fig.5.11).
Let us take on the arc AB the points A, M 1 , M 2 ,..., M n1 , B,
and draw the chords AM1 , M 1 M 2 , ... , M n1 B. The lengths of
these chords we denote as l1 , l 2 ,..., l n . As a result we get
the broken line inscribed in the arc AB. The length of the
n
broken line is equal to Ln li .
i 1
The limit
n
L lim Ln
n
or L lim
max li 0
l
i 1
i
x i
i i
78
Therefore, the length of the broken line can be expressed by the
formula
n
Ln 1 f / ( i ) x i
2
i 1
Here, passing to the limit, we get
n b
1 f / ( i ) x i 1 [ f / ( x)] 2 dx
2
L lim
max li
i 1 a
or
b
L 1 [ y / ] 2 dx .
a
If the curve x (t ), y (t ) is represented parametrically
where (t ) and (t ) ( t ) are continuously
differentiable functions, the arc length of the curve
corresponding to monotonic variation of the parameter t from
to can be calculated by the formula
2
/ (t )
L 1 / (t )dt / (t ) / (t ) dt .
/ 2 2
(t )
Example. The curve described by a fixed point of a circle
rolling without sliding upon a straight line is called a cycloid
(Fig.5.12)
o 2 x
Fig.5.12
79
The cycloid is specified by the parametric equations
x a(t sin t ), y a(1 cos t ).
One arc of the cycloid connecting two consecutive points of
contact with Ox is traversed as t runs through the interval
[0; 2 ].
Let us take a cycloid
x a(t sin t ), y a(1 cos t ).
and find the length of its arc corresponding to the variation of t
from 0 to 2 .
Solution. We have
x / a(1 cos t ), y / a sin t.
2
L
0
a 2 (1 cos t ) 2 a 2 sin 2 t dt
2
a 1 2 cos t cos 2 t sin 2 t dt
0
2 2
t
a 2(1 cos t )dt a 2 2 sin 2 dt
0 0
2
2 2
t t
2a sin dt 2a 2cos
0
2 20
4a cos 4a cos 0 4a 4a 8a .
a x x b x
1 2
Fig.5.13
Thus the volume of the n-step body is expressed by the sum
n
Vn V1 V2 ... Vn Vi .
i 1
The volume of the layer is approximately equal to the volume
of a cylinder whose height is equal to xi xi xi1 , and the
base coincides with the cross-section of the body,
corresponding to some abscissa ci ( xi 1 ci xi ) and
81
consequently, has the area S(ci). The volume of a right cylinder
is equal to the product of the area of its base by the height.
Then we have
V1 S (ci )xi .
Therefore, replacing each layer by its corresponding right
cylinder, we get
n
Vn S (c1 )x1 S (c2 )x2 ... S (cn )xn S (ci )xi .
i 1
The limit of this sum (which is an integral sum for the function
S(x) on the interval [a,b]) as n and max xi 0 is the
desired volume:
n b
V lim V maxlim
n n x 0
S (ci )xi S ( x)dx .
i i 1 a
o a x b x
Fig5.14
If the curvilinear trapezoid is rotated around the x-axis then the
cross-section with abscissa x is a circle with radius equal to the
corresponding ordinate of the curve y f (x) .
82
In this case
S ( x) y 2 f 2 ( x) .
Therefore the volume of a body of revolution can be found by
the formula
b b
V y 2 dx f 2 ( x)dx .
a a
o h x
Fig.5.15
Example. The graph of y sin 2 x, 0 x is rotated
2
3600 around the x-axis. Find the volume of the body of
rotation.
Solution.
83
2 2 2
V y 2dx sin 2 x dx sin 2 xdx
2
0 0 0
1 2 1 1
cos 2 x (1) .
2 0 2 2
If the figure bounded by the curves y f (x) and
y g (x) ( 0 f ( x) g ( x) ) and straight lines x a, x b is
rotated around the x-axis, then the volume of a body of
revolution can be found by the formula
b
V g 2 ( x) f 2 ( x) dx .
a
Example. Find the volume of the solid formed by the rotation
of the figure bounded by the lines y 2 x and x 2 y around
the x-axis (Fig.5.16).
Solution. We have
y2 x x 4 x x( x 3 1) 0
x2 y x 0; x 1
84
y
y x
y=x2
o 1 x
y2=x
Fig.5.16
TEST
1.Find the area of the figure bounded by the curves
y 2 8x 16 and y 2 24x 48
2 32 10
A) 10 B) 6 C) 6 D) 2 6 E) 6
3 3 3
2. Find the area of the figure bounded by the parabola
y 3 2 x x 2 and the x axis .
2 2 1 4
A) 10 B)10 C) D) E)
3 3 3 5
3. Find the area of the figure bounded by the curves
y 2 2 x 4 and x 0 .
17 16
A) B)0,5 C) D)15 E) 0,2
3 3
4. Find the area of the figure bounded by the curves y x 2 and
x3
y .
3
1 1 1 1
A) 2 B) 2 C) 2 D) 2 E) 2
7 6 5 4
85
5. Find the area of the figure bounded by the parabola
y 6 x x 2 and the x-axis.
1 1 1
A) 4 B)4 C)5 D) 5 E) 1
2 2 2
0 x4
80 10 8 80 80 10
A) B) C) 10 D) 5 E)
27 27 27
Answers:
1.B 2.A 3C 4.D 5.D 6.A 7.B 8.E 9.C 10.A
86
Lecture 6
Improper Integrals
Up to now, when speaking of definite integrals we assumed
that the interval of integration was finite and closed and that
the integrand was continuous.
Improper integrals are:
(1) integrals with infinite limits of integration;
(2) integrals of unbounded functions.
f ( x)dx as b provided
a
that this limit exists:
b
f ( x)dx lim f ( x)dx
a
a
and
b
87
Examples.
e
x
1. Compute the improper integral dx .
0
Solution. We have
b b
1
lim (e b e0 ) lim 1 b 1 .
b b
e
e
x
Consequently, the improper integral dx is equal to 1 and
0
hence, it is convergent.
1
dx
2. Compute the improper integral x
2
.
Solution. We find
1
1
dx 1
dx 1 1
x 2 alim
a x
2
lim
a
lim1 1
x a a a
that is, the improper integral converges.
dx
3. Compute the improper integral .
1 x
2
Then we have
b
dx dx
0 1 x 2 b 0 1 x 2 blim
arctan x 0
b
lim
lim (arctan b arctan 0) lim arctan b .
b b 2
88
dx
Thus, finally we get 1 x
2
,
divergence).
Solution. We have
b b
lim cos xdx lim sin x lim (sin b sin 0) lim sin b .
b b 0 b b
0
The limit lim sin b does not exist since sin b oscillates
b
( x)dx ( x)dx M
a a
for any b
and, hence
b
( x)dx M
a
for any b.
b . But since
b b
( x)dx f ( x)dx ,
a a
90
b
the function ( x)dx also tends to
a
as b and hence,
the integral ( x)dx
a
is divergent, which is what we had to
prove.
dx
Example 1. Test the integral x
a
p
for convergence.
91
1
Assume now that p 1 , then p 1 0 and lim .
A A p 1
This means that at p 1 the integral diverges.
Therefore, finally we get
1 1
dx p 1 at p 1
a x p p 1 a
at p 1
Thus, we have
dx converges at p 1
a x p diverges at p 1.
dx
Example 2. Test the integral 1 x
1
8
for convergence.
92
1 1 1
1 x 1 x
3 2 1 2 7
x x
2 3
x6
dx
holds for all x 1, and the integral
1
7
is convergent since
6
x
7
p 1 . Consequently, applying the comparison test
6
(theorem 1), we get that the given integral is also convergent.
x
Example 4. Test the integral 1 xdx
1
for convergence.
1
p 1 . Therefore, according to the comparison test
2
(theorem 2), the given integral is also divergent.
Theorem 3. If the integral
a
f ( x) dx of the absolute value of
the function f (x) is convergent the integral f ( x)dx
a
is also
convergent.
In this case the integral f ( x)dx
a
is said to be absolutely
93
cos x sin x
Example 5. The integrals 0 1 x 2 dx and 0 1 x 2 dx are
absolutely convergent because the absolute values of the
1
integrands do not exceed the positive function and the
1 x2
dx
integral is convergent. Indeed, we have
0 1 x
2
cos x cos x 1
1 x 2
1 x 2
1 x2
and, similarly,
sin x 1
1 x 2
1 x2
By definition
dx
b
dx
0 1 x 2 b a 1 x 2 blim
arctan x 0 lim arctan b
b
lim
b 2
and hence, the integral is convergent.
Now, applying the comparison test (theorem 1), we get that the
integrals
cos x sin x
0 1 x 2 dx and 0 1 x 2 dx
are convergent, and it means that the integrals
cos x sin x
0 1 x 2 dx and 0 1 x 2 dx
are absolutely convergent.
It is easy to prove the following theorem.
94
Theorem 4. If the integral
f ( x) dx is convergent, the
integrals
f ( x) cos xdx and f ( x) sin xdx
are absolutely
convergent.
Proof. Indeed, it clear that the absolute values of the integrands
obviously do not exceed f (x)
f ( x) cos x f ( x) cos x f ( x)
f ( x) sin x f ( x) sin x f ( x) .
Therefore, according to the comparison test (theorem 1) we get
that both given integrals are absolutely convergent, which is
what we had to prove.
It should be noted, the fact that the integral a
f ( x) dx is
divergent does not enable us to judge upon the convergence of
the integral f ( x)dx
a
because it can be either divergent or
convergent.
Definition. The improper integral f ( x)dx
a
is said to be
a
f ( x)dx is convergent and the integral a
f ( x) dx is
divergent.
sin x
Example 6. Let us consider the Dirichlet integral
0
x
dx . It
can be shown that the Dirichlet integral is conditionally
convergent because this integral is convergent and its
numerical value is found by means of some special techniques:
95
sin x
0
x
dx
2
while the integral of the absolute value of the integrand is
divergent:
sin x
0 x dx .
Thus, the Dirichlet integral is conditionally divergent.
limit exists:
b b
f ( x)dx lim
a
f ( x)dx ,
0
a
0.
96
If the limit exists we say that the improper integral is
convergent. If this limit does not exist the equality becomes
meaningless, and the improper integral written on the left is
said to be divergent.
Similary, if the function f (x) has an infinite discontinuity only
at x a of the interval [a,b] and is continuous for all
x (a, b] (i.e., a x b ) then, we put by definition
b b
a
f ( x)dx lim
0 f ( x)dx,
a
where 0 .
f ( x)dx lim
a
f ( x)dx lim
0
a
f ( x)dx .
0
c
b
The improper integral f ( x)dx (where
a
f (c) , a c b ) is
97
Examples. Calculate the following improper integrals:
a a a
dx dx
1. lim lim 2 x lim(2 a 2 ) 2 a .
0 x 0 x 0 0
1 1
2.
dx
lim
dx
1 x lim ln(1 x) 1
0
1 x 0 0
0 0
lim ln ln 1 lim ln .
0 0
That is, the integral is divergent
1
dx
3. . In this example the integrand has infinite
1 1 x
2
arcsin 1 arcsin( 1) .
2 2
TEST
1. Compute the following improper integrals with infinite
limits (or establish their divergence)
dx
1. x
1
4
98
1 1 1 1
A) B) C) D) E) diverges
3 2 4 5
e
ax
2. dx (a 0)
0
1 1 1
A) 6 B) C) D) diverges E)
5 2a a
2 xdx
3. x
2
1
1
A) 2 B) diverges C) D)0,6 E) 7
2
dx
4. x
2
2x 2
A) B) 2 C) diverges D) 3 E) 4
xe
x2
5. dx
0
ln x
6.
2
x
dx
1 1 1 1
A)diverges B) C) D) E)
2 3 4 5
99
7.Compute the following improper integrals of unbounded
functions (or establish their divergence)
1
dx
0 1 x2
A) B) C) D) 2 E)0
2 3
2
dx
8. x
0
2
4x 3
A)0 B) 1 C) diverges D) 5 E) 6
2
xdx
9.
1 x 1
8 1
A) 1 B) C) 5 D) 2 E) 0
3 3
1
10. x ln xdx
0
1 1 1
A) 1 B) C)diverges D) E)
2 4 5
Answers:
1)A 2)E 3)B 4)A 5)C
100
Lecture 7
Numerical Series
Let us consider an infinite sequence of numbers u1 , u2 ,..., un ,... .
Definition. An expression
u1 u2 ... u n ...
is called a numerical series.
Here, the numbers u1 , u 2 ,... are called the terms of the series.
A series is briefly written as
u
n 1
n
and u n is called the n-th term or the general term of the series.
Let us introduce the following notations:
S1 u1
S 2 u1 u 2
S3 u1 u2 u3
.........................
S n u1 u2 ... un
The sum S n is the sum of the first n terms of the series. This
sum S n is called the nth partial sum of the series.
Definition. If the sequence of partial sums S n of the given
series has a finite limit as n , i.e.
lim S n S
n
101
If the sequence S n does not tend to any limit, the series is said
to be divergent.
It should be noted that a series can be divergent in the
following two case:
(1) when the sequence S n tends to infinity, i.e.
lim S n or lim S n or lim S n
n n n
(2) when the sequence S n has neither finite nor infinite limit.
In both cases the series is said to have no sum.
Definition. Let us consider a series
u
n 1
n u1 u 2 ... un ...
u
n 1
n is convergent lim un 0 .
n
Proof. We have
S n u1 u2 ... un1 un S n1 un
whence
un S n S n1 .
If the series is convergent we have
lim S n S and lim S n1 S .
n n
Since
102
lim u n lim ( S n S n 1 ) lim S n lim S n 1 S S 0
n n n n
we get
lim u n 0
n
which is what we had to prove.
The necessary condition we have proved implies the following
sufficient test for divergence of a series.
Theorem. If the general term u n does not tend to zero as
n the series is divergent.
lim u n 0 u n is divergent .
n
n 1
1 2 n
For example, the series ... ... is divergent
2 3 n 1
because its general term does not tend to zero:
n
lim u n lim 1 0 .
n n n 1
terms of the series by smaller numbers and then show that the
sum of the smaller summands tends to infinity.
We have
103
1 1 1 1 1 1 1 1 1
1 ... ...
2 3 4 5 6 7 8 9 16
1 1 1 1 1 1 1
1 ... ... ...
2 4 4 8 8 16 16
2 4 8
1 1 1 1
= 1 ...
2 2 2 2
n 0
We will prove that
is convergent if q 1
q
n 0
n
is di vergent if q 1 .
Indeed, the sum of the first n terms of the series is
n 1 1 qn 1 qn
S n 1 q q q ... q
2 3
.
1 q 1 q 1 q
If q 1 then lim q n 0 , and, consequently,
n
1 qn 1
lim S n lim .
n n 1 q 1 q 1 q
Thus, an infinite geometric series with q 1 is convergent and
its sum is given by
104
1
S lim S n
.
1 qn
series is divergent.
Example. The series
(1)
n 1
n1
1 1 1 1 ... (1) n1 ...
S n/ c S n
If the series u n is convergent we have lim S n S
n 1 n
Consequently,
105
lim S n/ lim(c S n ) c lim S n c S
n n n
that is the series cun is also convergent and its sum is equal
n 1
to c S .
The property has been proved.
Theorem 2. If u n and
n 1
v
n 1
n
are two convergent series the
series
(u n vn ) (u1 v1 ) (u 2 v2 ) ... (u n vn ) ...
n 1
formed of the sums of the corresponding terms of the given
series is also convergent and
(u n vn ) u n vn
n 1 n 1 n 1
/ . //
Proof. Let S and S be the n th partial sums of the two given
n n
lim S n/ and lim S n// exist and both are finite. Assume that
n n
106
Consequently, the limit lim n also exists and
n
Theorem 3. If the series u n is convergent its any remainder
n 1
series rn u k is also convergent and vice versa, if any
k n 1
remainder series is convergent the series u n itself is also
n 1
convergent.
In addition, if
m
S uk , S m uk , rm u k
k 1 k 1 k m 1
then
S S m rm
Proof. Let S n u1 u 2 ... u m u m1 ... u n be the nth
partial sum of the series u n , and let S k( m) u m1 ... u mk
n 1
be the k th partial sum of the m th remainder series
rm u k .
k m 1
It is clear that
S n S m S k(m) where n m k .
If the series u n is convergent and it has the sum S, i.e.
n 1
lim S n S then at fixed m we obtain
n
107
where k because n m k and m is fixed.
Consequently,
S S m lim S k( m)
k
whence
lim S k( m) S S m
k
that is the remainder series is convergent.
Now let us suppose that the remainder series is convergent and
it has the sum rm , i.e. lim S k( m) rm . Then passing to the limit
k
in the equality S n S S
m
(m )
k we get
lim S n lim(S S
m k
( m)
) S m lim S k( m) S m rm
n n k
that is the series u n is convergent.
n 1
The theorem has been proved.
The theorem 3 implies the following property.
Theorem 4. If a series is convergent the series obtained by
adding or deleting a finite number of terms is also convergent.
Positive Series
Consequently,
Sn n
which means that the partial sums of series (1) are bounded
above. Therefore according to the Lemma 1 series (1) is
convergent.
If series (1) is divergent its partial sums increase indefinitely:
Sn as n .
Since n Sn we also have n . Consequently, series (2)
is also divergent, which is what we had to prove.
Example. Let us consider the series
1 1 1 1
p 1 p p ... p ...
n 1 n 2 3 n
This series is convergent for p 1 and divergent for p 1 .
1
Now if the take the series p as the “comparison series”
n 1 n
whose convergence is already known the theorem we have
proved directly implies the following comparison test for
positive series.
Theorem. Consider a positive series
un u1 u2 ... un ... (un 0)
n1
Then:
c
1) if un and p 1 the series is convergent
np
1
2) if c un and p 1 the series is divergent.
np
110
Here c is constant.
D’Alembert’s Test
u n 1
there holds the inequality d .
un
The latter inequality can be rewritten in the form
u
n 1 d
un
or
u
d n 1 d
un
We put d q . Since d 1 and is an arbitrarily
sufficiently small positive number we can choose such that
q d 1 . Thus we have
u n 1
q 1 for all n N
un
u N 1 u u N 3
i.e. q, N 2 q, q, ...
uN u N 1 uN 2
111
Consequently,
u N 1 q u N
u N 2 q u N 1 q 2u N
u N 3 q u N 2 q 3u N
…………………….
Now let us consider two series
u N 1 u N 2 u N 3 ... (2)
u N q u N q u N q ...
2 3
(3)
Since the terms of series (2) representing the remainder series
after the Nth term of the given series are smaller than the
corresponding terms of the convergent geometric series (3) (its
common ratio q is smaller than 1), the remainder series (2) is
convergent, and therefore the given series (1) itself is also
convergent.
Now let d 1 . Then there is a number N such that for all
n N the inequalities
u n 1
1. i.e. un1 un
un
hold. It follows that the terms of the series increase as
n and since un 0 for all n, the necessary condition for
convergence is violated: lim u n 0 .
n
Therefore, the series (1) is divergent
The theorem has been proved.
It should be noted that for d=1 D’Alembert’s test is
inapplicable: there exist both convergent and divergent series
for which d=1.
1
Example. Let us consider the series . Here
n 1 n!
1 1
u n , u n 1 and hence
n! (n 1)!
112
u n1 n! n! 1
.
u n (n 1)! n!(n 1) n 1
Since
u n 1 1
d lim lim 0 1
n
un n n 1
according to the D’Alembert’s Test the given series is
convergent.
Example. Let us consider the series nn .
n 1 2
n n 1
Here we have un n , un 1 n 1 and hence
2 2
un 1 n 1 2 n n 1
n 1 .
un 2 n 2n
Therefore
un 1 1 n 1 1
d lim lim 1.
n u 2 n n 2
n
Consequently, the series is convergent.
113
Proof. Let C 1 . By definition of a limit we have
lim n un C 1 0 N N ( ) n N n un C
n
i.e.
n un C
C n un C for all n N .
We put C q . Since C 1 and is an arbitrary sufficiently
small positive number we can choose such that q C 1 .
Thus we have
n u q 1, i.e. u q n 1 for all n N .
n n
114
1
Since lim n un lim 0 1 the series is convergent.
n n
n
Example. Consider the series
1 1 1 1
2 3 ... n ...
ln 2 ln 3 ln 4 ln (n 1)
1 1
Here un n . Since lim n un lim 0 1
ln (n 1) n n ln(n 1)
TEST
1. Find the sum of the series
1 1 1
... ...
1 2 2 3 n(n 1)
A) 2 B) 1 C) 3 D) 0,5 E) 0,6
2. Find the sum of the series
1 1 1
... ...
1 3 3 5 (2n 1)(2n 1)
1 1 1 1
A) B) C) D) E) 0
2 3 4 5
3. Find the sum of the series
1 1 1
... ...
1 4 4 7 (3n 2)(3n 1)
1 1 1
A) B) C) D)1 E) 5
2 4 3
4. Find the sum of the series
115
5 13 3n 2 n
... ...
6 36 6n
5 3
A) 1 B) 2 C) 3 D) E)
2 2
5. Test the series for convergence or divergence
1 1 1
... ...
3! 5! (2n 1)!
6. Test the series for convergence or divergence
1 2 n
2 ... n ...
2 2 2
7. Test the series for convergence or divergence
2 n 3n nn
1 ... ...
2! 3! n!
8. Test the series for convergence or divergence
1 1 1
2 ... n ...
ln 2 ln 3 ln (n 1)
9. Test the series for convergence or divergence
2 n
1 2 n
... ...
3 5 2n 1
10. Test the series for convergence or divergence
4 n2
2 1 3 1 1
... n 1 ...
3 32 2 3 n
Answers: 1)B 2)A 3)C 4)E 5)converges 6)converges
7) diverges 8) converges 9) converges 10) converges
116
Lecture 8
Alternating series
Definition. An alternating series is a series of the form
(1) n 1un u1 u2 u3 u4 ...
n 1
where un 0 .
In other words, an alternating series is a series whose terms are
alternately positive and negative.
We will prove a sufficient test for convergence of an
alternating series.
Theorem (Leibniz’ test). An alternating series converges if
the absolute values of its terms form a monotone decreasing
sequence tending to zero, that is, if the following two
conditions are fulfilled:
(1) un : u1 u2 u3 ...
(2) lim u n 0
n
1 1 1 1 1
(1)
n 1
n 1
n(n 1) 1 2
2 2
23 3 4
2 2
... (1) n1
n(n 1) 2
...
It is clear that
1 1 1 1 1
... ...
1 2 2
23 2
3 4 2
n(n 1) 2
n(n 1) 2
and
1
lim 0. Therefore the series is convergent.
n n( n 1) 2
120
def
un - absolutely convergent un - convergent.
n 1 n 1
Theorem. If the series un is absolutely convergent the series
n 1
itself is also convergent
un - absolutely convergent un - convergent.
n 1 n1
Definition. A series (1) is said to be conditionally convergent
if the given series (1) is convergent whereas the series (2)
composed of the absolute values of its terms is divergent
def
121
1
(1) n1 is conditionally convergent, i.e. it is convergent
n1 np
but not absolutely convergent.
Now we proceed to examination the fundamental distinction
between absolute and conditional convergence. It turns out that
some properties of finite sums can only be extended to
absolutely convergent series whereas conditionally convergent
series do not possess these properties.
Let us denote by
un* (3)
n 1
the series composed of the same terms of the given series (1)
but taken in a different order.
Theorem. If the series (1) is absolutely convergent the series
(3) is also absolutely convergent and has the same sum.
un - absolutely convergent un* - absolutely convergent
n 1 n1
and u un S .
*
n
n1 n1
In other words, this theorem states that any rearrangement of
the terms of an absolutely convergent series (1) does not affect
its sum, that is the new series (3) remains absolutely
convergent and has the same sum as before.
Conditionally convergent series do not possess this property. It
turns out if the series (1) is conditionally convergent (i.e.it is
convergent but not absolutely convergent) then for the given
any number A it is always possible to rearrange the terms of
the series (1) so that its sum becomes equal to the given
number A. This property is expressed by the following
Riemann’s Rearrangement theorem.
122
Theorem. Let un be a conditionally convergent series, and
n 1
let A be a given real number. Then a rearrangement of the
terms of the series un exists that converges to A.
n 1
Moreover, it is also possible to make the partial sums of the
series tend to or by rearranging its terms in an
appropriate manner.
The following theorems which we state without proof describe
some other important properties of absolutely convergent
series.
Theorem. If the series un is absolutely convergent and C is a
n 1
given number then the series Cu
n 1
n is also absolutely
convergent.
Theorem. If the series un and vn are absolutely
n 1 n 1
convergent then their sum (un vn ) is also absolutely
n1
convergent.
Another important property of absolutely convergent series is
related to the operation of multiplication. Let us introduce the
following definition.
Definition. Suppose we are given two convergent series
un U (4)
n1
vn V (5)
n1
The product of two convergent series (4) and (5) is the series
formed of all possible pairwise products of the terms of the
given series arranged as
123
u v
i , j 1
i j (u1v1 ) (u1v2 u 2 v1 ) (u1v3 u 2 v2 u 3 v1 ) ...
TEST
1) Given the following series
1 1
I. (1)n 1 II. (1) n 1
n 1 2n 1 n 1 (2n 1)3
n 1
III. (1)n 1
n 1 n
Determine which of them are convergent?
2n 1
n
8. (1) n
n 1 3n 1
n
9. (1) n
n 1 5n 2
1 4 7 10
10. ...
2 5 8 11
Answers:
1) B
2) converges, but no absolutely
3) absolutely converges
4) converges, but no absolutely
5) absolutely converges
6) converges
7) absolutely converges
8) converges
9) diverges
10) diverges
125
Lecture 9
Functional Series
Now we proceed to series whose terms are not numbers but
functions.
Definition. An expression
f1 ( x) f 2 ( x) ... f n ( x) ... (1)
whose terms are functions of x, is called functional series.
Series (1) may converge for some values of x and diverge for
the other values.
Definition. A point x x0 for which the number series
f1 ( x0 ) f 2 ( x0 ) ... f n ( x 0 ) ... f n ( x 0 )
n1
is convergent is called a point of convergence of series (1).
Definition. The collection of all the points of convergence is
called the domain of the convergence of the functional series.
In this case we also say that the functional series is convergent
in this domain. As a rule, the domain of convergence of a
functional series is some interval of the x-axis.
Let us denote by Sn (x) the sum of the first n terms of the series
(1):
S n ( x) f 1 ( x) f 2 ( x) ... f n ( x) ... f k ( x)
k 1
126
where
S ( x) f1 ( x) f 2 ( x) ... f n ( x) ... f n ( x) .
n1
Example: Let us consider the series
x2 x2 x2
x
2
... ...
1 x 2 (1 x 2 ) 2 (1 x 2 ) n
where x is a real number
This functional series is convergent for all x.
Indeed, for x 0 we obtain a convergent geometric series since
the common ratio is
1
r 1
1 x2
and hence, for x 0 the sum of the series is equal to
x2
S ( x) 1 x2.
1
1
1 x2
For x 0 all the terms turn into zero, and therefore the series is
convergent and the sum of the series is also zero: S (0) 0 .
Thus we have
1 x 2 for x 0
S ( x)
0 for x 0 .
It is clear that all the terms of the given functional series are
continuous functions and the series
converges at all point x. However y
we see that the sum S (x) of the
2
series is a discontinuous function
with a jump discontinuity at the 1
point x 0 (Fig.9.1).
-1 0 1 x
Fig 9.1
127
The considered example shows that how from the simple
continuous functions in limit processes are formed the
functions of the more complicated nature – discontinuous
functions.
To find out what conditions guarantee the possibility of
extending the properties of finite sums of functions to
functional series we need the following definition.
Let us represent the sum of the series as
S ( x) Sn ( x) Rn ( x)
whence
Rn ( x) S ( x) Sn ( x)
Definition. A convergent functional series f
n1
n ( x) is said to
f
n1
n ( x) f1 ( x) f 2 ( x) ... f n ( x) ...
a
n1
n a1 a2 ... an ... , an 0 .
If the inequality
f n ( x) a n
is fulfilled for every x X , and the number series
a
k n 1
k
holds true.
It follows that for n N ( ) and for every x X there holds the
inequality
Rn ( x) f k ( x)
k n 1
k n 1
f k ( x) a
k n 1
k .
129
1 1 1
12
2 ... 2 ...
2 3 n
is convergent, the given series is uniformly convergent for any
value of x (;) .
Power Series
Definition. A power series is a functional series of the form
130
a x
n 0
n
n
a 0 a1 x a2 x 2 ... an x n ...
2 n
x x x
a0 a1 x0 a2 x 02 ... an x 0n ...
x0 x0 x0
and form the series of the absolute values of its terms:
n n
x
x
a n x n
a x
n 0
n
an x n
n 0 n 0 x0 n 0 x0
(2)
2 n
x x x
a 0 a1 x0 a2 x02 ... an x 0n ...
x0 x0 x0
Since by the inequality proved an x0n M for any n it follows
that every term of the latter series is less than the
x
corresponding term of the geometric series with ratio :
x0
2 n
x x x
M M M ... M ... (3)
x0 x0 x0
x
For x x0 we have 1, and the geometric series (3) is
x0
convergent. Therefore series (2) that is the series of the
absolute values of the terms of the given power series is also
convergent, and hence series (1) is itself absolutely convergent.
The first part of the theorem has been proved.
Now let us proceed to proving the second part of the theorem.
Suppose the given series (1) diverges at some point x0 . Then
series (1) also diverges for any point x satisfying the condition
x x0 .
Indeed, if the series were convergent for such a value of x, the
first part of Abel’s theorem would imply its convergence for
131
the values of the argument smaller than x in their absolute
values and, in particular, for x x0 , which contradicts the
hypothesis. The theorem has been completely proved.
Let us proceed to investigate the domain of convergence of
series (1). There are three possible cases here:
(1) The domain of convergence consists of one point x 0 .
In other words, the series is divergent for all the points except
x=0.
Such a case can be demonstrated by the following example.
Example. Consider the series
n x
n0
n n
1 x 22 x 2 33 x3 ... n n x n ...
except x=0.
(2) The domain of convergence consists of all the points of
the x-axis.
In other words, the series is convergent for all the points
x (; ) .
Definition. A power series which is convergent at any point
x (; ) is called permanently convergent.
Let us consider an example of such a series.
Example. Consider the series
132
xn x2 x3 xn
1 n
1 x ... ...
n 1 n 2 2 33 nn
x
For any x we have 1 beginning with a sufficiently large n.
n
Since
n 1 n 1 n2 n2
x x x x
, , etc.
n 1 n n2 n
the absolute values of the terms of the series become,
beginning with the number n, less than the terms of the
x
convergent geometric series with common ratio 1.
n
Consequently, the given series is convergent for any x.
(3) The domain of convergence consists of more than one
point, and there are points of the axis Ox not belonging to
the domain of convergence.
Example. Consider the series
x
n0
n
1 x x 2 ... x n ... .
133
positive number R such that the series converges absolutely for
x R and it diverges for x R .
As for the values x R and x R of the argument, there can
be various possibilities in these cases: the series may converge
at both points or at one of them or at neither. Moreover, the
convergence at these points may be absolute or conditional.
Definition. The number R such that power series (1) is
convergent for all x satisfying the condition x R and
divergent for all x satisfying the inequality x R is called the
radius of convergence of the power series.
The interval ( R, R) is referred to as the interval of
convergence.
Now let us present a method for determining the radius of
convergence of a power series. To this end, we consider the
series
a x
n 0
n
n
a 0 a1 x a2 x 2 ... an x n ...
(4)
a0 a1 x a2 x2 ... an xn ...
2 n
1
Then, if L x 1 , that is x the series is convergent, now if
L
1
L x 1 , that is x the series is divergent. It follows that
L
1 a
R lim n
L n an 1
134
is the radius of convergence of power series (1).
It may turn out that L 0 or L .
If L 0 for all x 0 then R . This means that series (1) is
everywhere convergent, that is it converges for all the values of
x (;) , and hence (; ) is the interval of
convergence.
If L for all x 0 then R 0 . This means that series (1) is
everywhere divergent (except at the point x 0 ).
Similarly we can determine the radius of convergence by using
Cauchy’s test. We have
lim n un lim n an x n x lim n an x L
n n n
1
x L 1 x an x n is convergent.
L n0
1
x L 1 x an x n is divergent.
L n 0
It follows that
1
R
lim n an
n
is the radius of convergence of power series (1).
Let us consider some examples.
(1) Find the radius of convergence of the series
xn 1 1 1
n0 n!
1 x x 2 x 3 ... x n ...
2! 3! n!
Solution. We have
n 1
u n1 x n! x
0
(n 1)! x n 1
n
un
for any value of x. Hence, the series is convergent for all x, that
is R .
(2) Determine the radius of convergence of the series
135
xn x2 x3 xn
1 1 x ... ...
n 1 n 2 3 n
Solution. We have
u n1 x n1 n n
x x.
un (n 1) x n
n 1
Consequently, by D’Alembert’s test, the series converges if
x 1 and diverges if x 1 . Therefore R 1 .
(3) Determine the radius of convergence of the series
x 2 n 1 x3 x5 x 2 n 1
n 1
( 1) n 1
(2n 1) 2
x
32 52
... ( 1) n 1
(2n 1) 2
...
un (2n 1) x2 2 n 1
2n 1
For x 1 the series is convergent and for x 1 it is divergent.
Therefore, the radius of convergence is equal to 1, R 1 .
TEST
1) Find the sum of the series
1. 1 x 2 x 4 x 6 ...
1
A) S ( x) , x 1 B) S ( x) 1 C) S ( x) x
1 x2
D) S ( x) x2 E)0
2. Find the sum of the series
1 2 x 4 x 2 8 x3 ...
136
1 1
A) S ( x) x2 B) S ( x) ,x C) S ( x) 1
2x 1 2
D) S ( x) 0 E) S ( x) 2 x
3. Find the sum of the series
1 ( x 3) ( x 3)2
... ...
3 9 27
1 1 1
A) S ( x) B) S ( x) C) S ( x) , 0 x 6
2 3x x
D) S ( x) 0 E) S ( x) 5
4. Test the functional series
4 x 1 4 x 1 4 x
2 3
...
7x 2 3 7x 2 5 7x 2
for convergence at the points x 0, x 1
Find the interval of convergence of following power series
5. 10 x 100 x 2 ... 10n x n ...
1 1
D) (10,10) E) ,
10 10
x2 n 1 x
n
6. x ... (1) ...
2 n
A) (1,1] B) (0,1) C) (10,9) D) (1,3) E) (8,8]
x2 xn
7. x ... ...
20 n 10n 1
137
A) (1,1) B) [10,10) C) (9,9) D) (20,30) E) (2,2]
8. 1 x ... n! x n ...
A) x 0 B) x 1 C) x 5 D) x 7 E) x 1
9. 1 3x ... (n 1) 3n 1 xn 1 ...
1 1
A) (0,1) B) (3,3) C) ,
3 3
D) (2,2) E) (1,1)
x x2 xn
10. ... ...
1 2 2 3 n(n 1)
138
Lecture 10
Differential Equations
General Notions
Definition. A differential equation is an equation that
relates some function of one or more variables with its
derivatives.
The problem of forming and solving these equations is
widely encountered in physics and engineering. In biology and
economics, differential equations are used to model the
behavior of complex systems.
Definition. The process of solving a differential equation
is called integration of the differential equation. The
simplest ordinary differential equations can be integrated
directly by finding antiderivatives. These equations have the
form
d nx
G(t )
dt n
where the derivative of x x(t ) can be of any order, and the
right-hand-side may depend only on the independent variable t.
As an example, consider a mass falling under the influence of
constant gravity, such as approximately found on the Earth’s
surface. Newton’s law, F ma, results in the equation
d 2x
m mg
dt 2
where x is the height of the object above the ground, m is the
mass of the object, and g 9,8 meter/sec2 is the constant
gravitational acceleration. As Galileo suggested, the mass
cancels from the equation, and
d 2x
g
dt 2
Here, the right-hand-side of the equation is a constant.
The first integration, obtained by antidifferentiation, yields
139
dx
A gt ,
dt
with A the first constant of integration, and the second
integration yields
1
x B At gt 2 ,
2
with B the second constant of integration.
The two constant of integration A and B can then be
determined from the initial conditions. If we know that the
initial height of the mass is x0 , and the initial velocity is 0 ,
then the initial conditions are
dx
x(0) x0 , (0) 0
dt
Substitution of these initial conditions into equations for
dx
and x allows us to solve for A and B. The unique solution
dt
that satisfies both the ordinary differential equation and the
initial conditions is given by
1
x(t ) x0 0t gt 2
2
Basic definitions
Let us now introduce some definitions important for
further understanding. A differential equation is usually taken
in a form which connects an argument (or several arguments)
and an unknown function (or several unknown functions) with
its derivatives. If the unknown function depends on one
variable the differential equation is called ordinary.
Otherwise the equation is called a partial differential
equation. The highest order of the derivative of the unknown
function entering into an equation is called the order of the
differential equation.
140
The general form of a differential equation of the nth
order is
F ( x, y, y / , y // ,..., y ( n) ) 0, (1)
where y y(x) is the sought-for function. A function is called
a solution of a differential equation if it reduces the equation to
an identity when substituted into the equation.
Even the simplest examples indicate that a differential
equation has infinitely many solutions. For instance, taking a
simple equation of the form
y / x 2 , y y(x) (2)
we immediately find, by integrating, that
x3
y C (3)
3
This is the general solution of equation (2).
It contains an arbitrary constant C and is the set of
solutions containing all solutions of the equation. Making the
arbitrary constant assume concrete numerical values we obtain
particular solutions of equation (2):
x3 x3 x3 2
y , y 6, y
3 3 3 3
Similarly, the general solution of an equation of the form (1)
also contains n arbitrary constants, i.e. it has the form
y y( x, c1 , c2 ,..., cn ) (4)
We often obtain the general solution in an implicit form
( x, y, c1 , c2 ,..., cn ) 0 (5)
Relations (4) and (5) are also called general integrals of
equation (1). Particular solution can be obtained from (4) or
(5) if we make each of the arbitrary constants c1 , c2 ,..., cn take
on a certain concrete numerical value. The graph of every
particular solution is called an integral curve of the
differential equation.
141
To isolate a unique particular solution from the general
solution we must set some additional conditions. Such
conditions are often taken as so-called initial conditions. In the
general case of an equation of form (1) the initial conditions
are
y y0 , y / ( y / )0 , ..., y ( n 1) ( y ( n 1) )0 for x x0 (6)
Condition (6) for an equation of the first order of from
(2) means that for a certain value x x0 we must assign a
value y y0 . For instance, let it be necessary to isolate a
solution for which y(1) 2 . Then (3) implies
1 5
2
C i.e. C .
3 3
Hence, the sought – for particular solution has the form
x2 5
y
3
Definition. The problem of finding a particular solution
of a differential equation when certain initial conditions are
given is called the Cauchy problem (initial-value problem)
142
Separable equations
dy
1) The differential equation of the form f ( x, y ) is
dx
called separable, if f ( x, y ) h( x) g ( y ) that is
dy
h( x ) g ( y ) (2)
dx
Let us rewrite the equation (2) as
dy
h( x)dx
g ( y)
and then, integrating,
1
g ( y) dy h( x)dx C
we obtain
G ( y ) H ( x) C
dy y 2 1
Example. Solve
dx x
Separating the variables we obtain
dy dx
y 1 x
2
1 y 1
ln ln x C
2 y 1
2) The equation
M 1 ( x) N1 ( y )dx M 2 ( x) N 2 ( y )dy 0 (3)
143
is also an equation with variables separable. If we divide
both side of equation (3) by N1 ( y ) M 2 ( x) , we get
M 1 ( x) N1 ( y ) M ( x) N 2 ( y )
dx 2 dy 0
N1 ( y ) M 2 ( x) N1 ( y) M 2 ( x)
or
M 1 ( x) N ( y)
dx 2 dy 0
M 2 ( x) N1 ( y )
We can construct the general solution of this equation:
M 1 ( x) N ( y)
M 2 ( x)
dx 2 dy C
N1 ( y )
Homogeneous Equations
dy
f ( x, y ) (1)
dx
is homogeneous if the function f ( x, y ) is homogeneous, that
1
is f (tx, ty ) f ( x, y) for any number t. Let us substitute t
x
in this identity, then we have
y
f ( x, y) f 1;
x
The equation (1) becomes
dy y
f 1; (2)
dx x
This equation is easily integrated by means of the
substitution
144
y dy du
u, y ux, u x (3)
x dx dx
where u ux is a new unknown function which replaces y.
Substituting (3) into (2) we derive
dy
u x f (1, u )
dx
which is a separable equation
xdu du dx
f (1, u ) u or
dx f (1, u ) u x
Integrating, we find
du dx
f (1, u ) u
C.
x
Once solved, go back to the old variable y via the
equation y ux .
A first – order ordinary differential equation in the form
M ( x, y )dx N ( x, y )dy 0
is a homogeneous type if both functions M ( x, y ) and
N ( x, y) are homogeneous functions of the same degree n. That
is, multiplying each variable by a parameter , we find
dy 2 x 5 y
dx 2x y
Solution: it is easy to check, that
145
2x 5 y
f ( x, y ) is homogeneous.
2x y
y
we substitute u , then
x
y ux, y / u xu /
2 x 5ux
and hence u xu / or
2 x ux
2 5u
u xu /
2u
which can be rewritten as
1 2 5u
u/ u .
x 2u
This is a separable equation
du 1 u 2 3u 2 u2 dx
or du .
dx x u2 (u 2)(u 1) x
Integrating, the latter we find
4du 3du dx
ln C
u2 u 1 x
4 ln u 2 3 ln u 1 ln x ln C .
u 1
3
ln x C (u 1) 3
ln or xC
u2
4
(u 2) 4
Back to the function y, we get
3 4
y y
1 xC 2 ,
x x
( y x) C ( y 2 x) 4
3
146
Linear Equations
z / ( x) e
P ( x ) dx
Q( x )
or
z / ( x) Q( x)e
P ( x ) dx
Integrating, find
z ( x ) Q ( x )e
P ( x ) dx
dx C1
Substituting this expression in formula (3), we get
general solution of linear equation (1):
y Q( x)e dx C1 e
P ( x ) dx P ( x ) dx
Example. Solve y y e x /
hence
ln y x ln C
or
y
ln x y Ce x .
C
Let us substitute C(x) into C
Then y C ( x)e x
Differentiating this expression, we find
148
y / C / ( x)e x C ( x)e x .
Substituting y / and y into given equation, we get
C / ( x)e x C ( x)e x C ( x)e x e x
C / ( x)e x e x or C / ( x) 1 .
Integrating, we find
C ( x) dx C1 C ( x) x C1 .
So
y ( x C1 )e x
It is general solution of given equation.
Bernoulli Equation
z y 1 , z / y 2 y / .
With this substitution the differential equation becomes,
4
z z x3 .
x
So, as noted this is linear differential equation that we
know how to solve. We have
4
z z x3 . (6)
x
Let us consider the corresponding homogeneous equation
4
z z0
x
which is separable equation. Thus
dz 4 dz dx dz dx
z 4 4 ln C .
dx x z x z x
Hence ln z 4 ln x ln C ln z ln Cx 4
z Cx 4
150
Let us substitute C(x) instead of C
Then z C ( x) x 4
Differentiating this expression, we find
z C / ( x) x 4 4C ( x) x3
/
4
C / ( x) x 4 4C ( x) x 3 C ( x) x 4 x 3
x
1
C / ( x) x 4 x 3 C / ( x) C ( x) ln x C1
x
so
z ( ln x C1 ) x 4
To get the solution in terms of y all we need to do is plug the
substitution back in. Doing this gives
y 1 x 4 (C1 ln x)
M 2 f 2 f N
y xy yx x
151
This suggests the following test for exactness
f x M
dx / ( y ) N ( x, y )
y x y 0
M N
But, since , then
y dx
N
x
x dx ( y) N ( x, y) .i.e.
/
x0
N ( x , y ) x / ( y ) N ( x, y )
x
or
N ( x, y) N ( x0 , y) / ( y) N ( x, y)
152
y
( y) N ( x0 , y )dy C1
y0
Therefore,
x y
M ( x, y)dx N ( x0 , y)dy C
x0 y0
f ( x, y ) M ( x, y )dx (2 xy 3x 2 )dx x 2 y x 3 ( y )
f x, y 2
x y x 3 y x 2 y x 2 2 y N x, y
y y
153
TEST
1.Find the general solution to the separable equation
xyy / 1 x 2
A) x 2 y 2 lnCx2 B) 1 y 2 C (1 x 2 )
C) y Cx D) Cx y 1 E) y x 2 C
2. Find the general solution to the separable equation
1 2x
yy / .
y
A) x 2 lnCy 2 B) y 3 C 3x 3x 2
y 1
C) y C sin x D) Cx E) y e x C .
y
3. Find the general solution to the separable equation:
y / 10x y .
A) 10 x y C B) 10 y x C
C) 10 x 10 y C D) y C sin x E) y 1 x 2 C .
4. Find the general solution to the homogeneous equation:
2 xy
y/ 2 .
x y2
y
x
A) ln y C B) e x Cy
y
C) y Cx 2 D) x 2 y 2 Cy E) y Ce2 x .
5. Find the general solution to the homogeneous equation:
y 2 x 2 y / xyy / .
A) y Ce x B) y Cx 2
y
C) x y Cy
2 2
D) y e E) e Cy .
Cx x
154
2 x2
A) y e x C B) y Ce x
2
2
x2
C) y 5x 2 C D) y C E) y Cxe x .
2
7. Find the particular solution to the linear equation with initial
1
condition: y / y tan x ; y0 0
cos x
A) y cos x B) y sin x
x
C) y D) y x E) y x 5 .
cos x
8.Find the particular solution to the linear equation with initial
condition: xy / y e x 0 ; y1 1
ex (e x 1 e)
A) y B) y C) y x
x x
ex
D) y E) y 0
5
9.Find the general solution to the exact equation
e y dx ( xe y 2 y)dy 0 ;
A) xe y C B) y Cx C) xe y y 2 C
D) y 2 Cx 2 E) e y x
10.Find the general solution to the exact equation.
3x 2e y dx ( x3e y 1)dy 0 ;
A) xe y C B) xe y y 3 C C) y Cx 2
D) y Ce y E) x3e y y C
Answers: 1.A 2.B 3.C 4.D 5.E 6.A 7.C 8.B 9.C
10.E
155
Lecture 11
Differential equations of second – order.
Reduction of order
Some second-order equations can be reduced to first-
order equations, rendering then susceptible to the simple
methods of solving equations of the first order. The following
are three types of such second-order equations:
Type 1: Let
y // f ( x) (1)
Integrating this equation (1), we obtain
y / f ( x)dx C1
Integrating this equation once again we get
y dx f ( x)dx C1 x C2
where C1 constant , C2 constant
Example 1. Solve the differential equation
y // x sin x
Solution. This equation relates to the first type
x2
y ( x sin x)dx C1 cos x C1
/
2
Then
x2
y cos x C1 dx C2
2
3
x
sin x C1 x C2
6
Type 2: Second-order equations with the dependent
variable mussing.
This is an equation of the type
F ( x, y / , y // ) 0 (2)
156
The dependent variable y does not explicitly appear in the
equation. This type of second-order equation is easily reduced
to a first-order equation by the transformation
y/ p .
This substitution obviously implies y // p , and the
original equation becomes a first-order equation for p
F ( x, p, p / ) 0
Suppose we have managed to integrate this equation and
have obtained its general solution p ( x, C1 ) . Then we
have
y / ( x, C1 )
and therefore the general solution of equation (2) is thus
obtained:
y ( x, C1 )dx C2
Example 2. Solve the differential equation
xy // y /
Solution. Since the dependent variable y is missing, let
y p and y // p / .
/
dp dx
p
x
Then ln p ln x ln C1 or ln p ln xC1
157
and hence
p xC1
x2
So y C1 x y C1 x C2 C1 C2
/
2
Type 3. Second-order nonlinear equations with the
independent variable missing.
Let it be of the form
F ( y, y / , y // ) 0 (3)
The independent variable x does not explicitly appear in
the equation.
The method for reducing the order of these second-order
equations begins with the same substitution as for Type 2
equations, namely, replacing y/ as p. But instead of simply
writing y// as p/, the trick here is to express y// in terms of a first
derivative with respect to y.
Therefore we write
d dy dp dp dy dp
y // p
dx dx dx dy dx dy
Now we deduce from equation (3) the equation
dp
F y, p, p 0
dy
158
dy
( y, C ) x C 2
.
1
159
4C1 y 1
or 2
( x C2 ) 2
C1
.
Second – Order Linear Differential Equations
d2y dy
2
p( x) q( x) y 0 (2)
dx dx
equation (2) is called homogeneous linear equation.
y( x) C1 y1 ( x) C2 y2 ( x)
160
y // py / qy (C1 y1 C 2 y 2 ) // p( x)(C1 y1 C 2 y 2 ) /
q( x)(C1 y1 C2 y2 ) (C1 y1// C2 y2// ) p( x)(C1 y1/ C2 y2/ )
q( x)(C1 y1 C2 y2 ) C1 y1// p( x) y1/ q( x) y1
C2 y 2// p( x) y 2/ q( x) y 2 C1 0 C2 0 0
Thus, y C1 y1 C2 y2 is a solution of equation (2). The other
fact we need is given by the following theorem. It says that the
general solution is a linear combination of two linearly
independent solutions y1 and y 2 .
This means that neither y1 nor y 2 is a constant multiple of
the other. For instance, the functions f ( x) x 2 and g ( x) 5x 2
are linearly dependent, but f ( x) e x and g ( x) xe x are
linearly independent.
Theorem 2. If y1 and y 2 are linearly independent
solutions of equation (2), then the general solution is given by
y ( x) C1 y1 ( x) C2 y2 ( x)
where C1 and C 2 are arbitrary constants.
Definition. Let y1 ( x ) and y 2 ( x) be two differentiable
functions. The Wronskian W ( y1 , y2 ) , associated to y1 and y 2 ,
is the function
y ( x) y2 ( x)
W ( y1 , y2 ) 1/ /
y1 ( x) y2/ y1/ ( x) y2 ( x) (3)
y1 ( x) y2 ( x)
Theorem 3. If y1 ( x ) and y 2 ( x) are linearly dependent,
then Wronskian W ( y1 , y 2 ) 0 .
Theorem 4. If y1 ( x ) and y 2 ( x) are linearly independent
solution of equation (2), then W ( y1 , y2 ) 0 .
Theorem 5. If y1 ( x ) and y 2 ( x) are two solutions of
equation (2), then
161
x
W ( y1 , y2 )( x) W ( y1 , y2 )( x0 ) exp p(t )dt .
x 0
Proof. Since y1 and y 2 are solutions of (2) we have
y1// p( x) y1/ q( x) y1 0 (4)
y2// p( x) y2/ q( x) y2 0 (5)
Now we multiply (4) by y 2 and multiply (5) by y1 . Subtract the
resulting two equations to obtain.
y1 y2// y1// y2 p( x)( y1 y2/ y1/ y2 ) 0 (6)
Recall the definition (3) and observe that
dW
y1 y2// y1// y2
dx
Hence (6) is the equation
dW
p( x)W ( x) 0 (7)
dx
Separating the variables, we get
dW
p( x)dx
W
Integrating, we have
x
lnW p( x)dx ln C
x0
or
x
W
ln p( x)dx
C x 0
So
162
x
W ( y1 , y2 )x C exp p( x)dx
x 0
where C W ( y1 , y2 )( x0 )
163
b b 2 4ac b b 2 4ac
k1 , k2 (3)
2a 2a
We distinguish three cases according to the sign of the
discriminant b 2 4ac
Case 1. b 2 4ac 0
In this case the roots k1 and k2 of the auxiliary equation are real
and distinct, so y1 e k1x and y2 e k2 x are two linearly
independent solution of equation (1). (Note that e k2 x is not a
constant multiple of e k1x ). Therefore, by theorem 2, we have
the following fact:
If the roots k1 and k2 of the auxiliary equation
ak 2 bk c 0 are real and unequal, then the general
solution of
ay // by / cy 0 is
y C1e k1x C2e k2 x (4)
Example 1. Solve the equation y // y / 6 y 0
Solution. The auxiliary equation is
k 2 k 6 (k 2)(k 3) 0
whose roots are k1=2, k2 =-3. Therefore by (4) the general
solution of the given differential equation is
y C1e 2 x C2e 3 x
Case 2. b 2 4ac 0
In this case k1=k2; that is, the roots of the auxiliary equation are
real and equal. Let us denote by k the common value of k1 and
k2. Then, from formula (3), we have
b
k so 2ak b 0 (5)
2a
We know that y1 e kx is one solution of equation (1). We now
verify that y2 xekx is also a solution:
164
ay2// by2/ cy2 a(2kekx k 2 xekx ) b(e kx kxekx ) cxekx
(2ak b)e kx (ak 2 bk c) xekx 0 (e kx ) 0 ( xekx ) 0
The first term is 0 by equation (5); the second term is 0 because
k is a root of the auxiliary equation. Since y1 e kx and
y2 xekx are linearly independent solutions. Theorem 2
provides us with the general solution. If the auxiliary
equation ak 2 bk c 0 has only one real root k, then the
general solution of ay by cy 0 is
// /
165
y C1e k x C2 e k x C1e ( i ) x C2 e ( i ) x
1 2
Initial-Value Problem
An initial-value problem for the second-order equation
(1) consists of finding a solution y of the differential equation
that also satisfies initial conditions of the form
y( x0 ) y0 y / ( x0 ) y1
166
where y0 and y1 are given constants.
Example 4. Solve the initial-value problem
y // y / 6 y 0; y(0) 1 and y / (0) 0 .
Solution. From Example 1 we know that the general
solution of the differential equation is
y( x) C1e 2 x C2e 3 x .
Differentiating this solution, we get
y / ( x) 2C1e 2 x 3C2e 3 x .
To satisfy the initial conditions we require that
y (0) C1 C2 1
y / (0) 2C1 3C2 0.
2
We have from second equation C2 C1 and from the first
3
2 3 2
C1 C1 1 C1 , C2 .
3 5 5
Thus, the required solution of the initial-value problem is
3 2
y e 2 x e 3 x
5 5
Example 5. Solve the initial-value problem
y // y 0 y(0) 2 y / (0) 3
Solution. The auxiliary equation is
k 2 1 0 or k 2 1, whose roots are i . Thus
0, 1and since e 0 x 1 , the general solution is
y ( x) C1 cos x C2 sin x
Since y( x) C1 sin x C2 cos x
the initial conditions become
y(0) C1 2 y / (0) C2 3
Therefore, the solution of initial-value problem is
y ( x) 2 cos x 3 sin x
Summary: Solution of ay // by / c 0
167
Roots of ak 2 bk c 0 General solution
k1 , k 2 - real and distinct y C1e k1x C2e k2 x
k1 k 2 k y C1e kx C2 xekx
k1 , k 2 - complex: i y ex (C1 cos x C2 sin x)
TEST
1. Solve the differential equation y // x3
x5 x4
A) y C1 x C2 B) y C1 x C2
20 4
C) y x 3 C1 x 2 C2 D) y 3x 2 C1 x C2
E) y 4 x 3 C2 x C1
2. Solve the differential equation xy // y /
A) y C1 x C2 B) y C1 x 2 C2
C) y C1 x 3 C2 x D) y C1 x 4 C2 x 3
E) y x
3. Solve the differential equation y // y / x
A) y C1 x C2 B) y C1 x 2 C2
x2
C) y C1e C2 x
x
D) y x 2 C1e x
2
E) y C1 xe C2
x
y/
4. Solve the differential equation y x
//
168
x3
A) y C1 x C2 B) y C1e x C2
6
x3
C) y C1 x 3 C2 x 2 D) y C1 x 2 C2
3
E) y e x
169
x
C) y (C1 C2 x)e 4
D) y C1 x C2e x
E) y C1e x C2
9. Solve the initial-value problem y // 4 y / 3 y 0 ; y (0) 6 ;
y / (0) 10
A) y 2e x 3 B) y 4e5 x 6
C) y 2e x 2 D) y 4e x 2e3 x
E) y 4e5 x 2e x
10. Solve the initial-value problem y // 4 y / 29 y 0 ;
y (0) 0 ; y / (0) 15
A) y 6 cos 3x B) y 6 sin 5 x
C) y 3e 2 x 5 cos x D) y e 2 x 5e5 x
E) y 3e 2 x sin 5x
Answers:
1)A 2)B 3)C 4)D 5)A
6)E 7)B 8)C 9)D 10)E
170
Lecture 12
Nonhomogeneous Linear Differential Equations
Let us consider second-order nonhomogeneous linear
differential equations with constant coefficients, that is,
equation of the form
172
Since f ( x) x 2 is a polynomial of degree 2, we seek a
particular solution of the form
y p ( x) Ax 2 Bx C
Then
y /p ( x) 2 Ax B and y //p ( x) 2 A
So, substituting into the given differential equation, we
have
2 A (2 Ax B) 2( Ax2 Bx C ) x 2
or
2 Ax2 (2 A 2B) x (2 A B 2C ) x2 .
y p in the form
y p Q( x) ex x r ,
174
where Qn (x) is a polynomial of the same degree as Pn (x) with
unknown coefficients and r is number of the roots of the
auxiliary equation of (2), which coincides with .
Example 3. Solve y // 4 y e3 x
y /p 3 Ae 3 x and y //p 9 Ae 3 x .
or y p ( Ax 2 Bx)e 3 x
Then
y /p (2 Ax B)e 3 x 3( Ax 2 Bx)e 3 x
(3 Ax 2 3Bx 2 Ax B)e 3 x
and
y //p (6 Ax 3B 2 A)e 3 x 3(3 Ax 2 3Bx 2 Ax B)e 3 x
(9 Ax 2 12 Ax 9 Bx 6 B 2 A)e 3 x
Substituting into the differential equation, we have
(9 Ax 2 12 Ax 9 Bx 6 B 2 A)e 3 x
2(3 Ax 2 3Bx 2 Ax B)e 3 x
3( Ax 2 Bx)e 3 x ( x 2)e 3 x
or 9 Ax 2 12 Ax 9 Bx 6 B 2 A
6 Ax 2 6 Bx 4 Ax 2 B
3 Ax 2 3Bx x 2
176
Simplifying, we get
8 Ax (2 A 4 B) x 2
whence
8 A 1
2 A 4 B 2
The solution of this system of equation is
1 7
A and B
8 16
Thus, a particular solution is
1 7
y p ( x) x 2 x e 3 x
8 16
and the general solution is
1 7
y ( x) C1e x C2 e 3 x x 2 x e 3 x
8 16
III. If the right side of equation (1) f (x) is of the form
M cos x N sin x , we take as particular solution a function
of the form
y p ( x) ( A cos x B sin x) x r
where A,B are unknown coefficients and r = number of the
roots of the auxiliary equation of (2), coinciding with i
Example 5. Solve y // y / 2 y sin x
Solution. We try a particular solution
177
y p ( x) A cos x B sin x
178
1
y ( x) C1e x C 2 e 2 x (cos x 3 sin x)
10
If f (x) is a sum of functions of the preceding types, we use the
easily verified principle of superposition, which that if
y p1 and y p2 are solution of
ay // by / cy f1 ( x)
and ay // by / cy f 2 ( x)
respectively, then y p1 y p2 is a solution of
ay // by / cy f1 ( x) f 2 ( x)
y p1 ( x) ( Ax B)e x
Then y p/ ( Ax B A)e x
1
y p ( Ax 2 A B)e x
//
1
or (3 Ax 2 A 3B)e x xe x
179
Thus
3 A 1
2 A 3 B 0
1 2
So A , B and
3 9
1 2
y p1 ( x) x e x
3 9
y p2 ( x) C cos 2 x D sin 2 x
Substitution gives
4C cos 2 x 4 D sin 2 x 4(C cos 2 x D sin 2 x) cos 2 x
or 8C cos 2 x 8D sin 2 x cos 2 x
therefore 8C 1; 8D 0 and
1
y p2 ( x) cos 2 x
8
By the superposition principle, the general solution is
1 2 1
y yc y p y p C1 e 2 x C2 e 2 x x e x cos 2 x
3 9 8
1 2
180
II Pn ( x)ex Qn ( x) xx x r , r is number of roots
of the auxiliary equation which
coincides with
III M cos x N sin x A cos x B sin xx r ,r is number
of roots of the auxiliary equation
which coincides with i
182
may be able to integrate to find u1 and u 2 and then the
particular solution is given by equation (4).
Example7. Solve the equation y // y tan x, 0 x
2
Solution. The auxiliary equation is k 2 1 0 with roots
k1, 2 i , so the solution of y // y 0 is
yc C1 sin x C2 cos x
Using variation of parameters, we look for a solution of
the form
y p ( x) u1 ( x) sin x u 2 ( x) cos x
Then
y /p (u1/ sin x u 2/ cos x) (u1 cos x u 2 sin x)
Set
u1/ sin x u2/ cos x 0 (9)
Then
y //p u1/ cos x u 2/ sin x u1 sin x u 2 cos x
For y p to be a solution we must have
y //p y p u1/ cos x u 2/ sin x tan x (10)
Solving equations (9) and (10), we get
u1/ (sin 2 x cos2 x) cos x tan x
u1/ sin x , u1 ( x) cos x
We seek a particular solution, so we don’t need a constant of
integration here.
Then from equation (9), we obtain
sin x / sin 2 x cos2 x 1 1
u
/
2 u1 cos x
cos x cos x cos x cos x
183
x
So u 2 ( x) sin x ln tan
2 4
Therefore
x
y p ( x) cos x sin x sin x ln tan cos x
2 4
x
cos x ln tan
2 4
and the general solution is
x
y ( x) C1 sin x C2 cos x cos x ln tan
2 4
TEST
1. Solve the differential equation using the method of
undetermined coefficients.
2 y // y / y 2e x
x
A) y C1e x C 2 e 2 e x B) y C1e x e x
C) y C2 e 2 x x D) y C1e x C2 e x
E) y x 5
2. Solve the differential equation using the method of
undetermined coefficients.
y // 3 y / 2 y 10e x
184
A) y C1e x C2 e x B) y C1 C2 e 2 x
5
C) y C1e 2C 2 e D) y C1e x C2 e 2 x e x
x 5x
3
E) y C1e x 2C2
3. Solve the differential equation using the method of
undetermined coefficients. y // 7 y / 6 y sin x
A) y C1 sin x C2 cos x
5 7
B) y C1e6 x C2e x sin x cos x
74 74
5
C) y C1 cos 6 x C2 x sin x
74
D) y sin x E) y cos x
4. Solve the differential equation using the method of
undetermined coefficients. y // 3 y / 2 y x 2
1 2
A) y C1e 2 x C2 e x B) y x
2
1 2 3 7
C) y C1e 2 x C2 e x x x
2 2 4
7 3
D) y C1 x 2 C 2 x E) y e 2 x x
4 2
5. Solve the differential equation using the method of
undetermined coefficients. y // 2 y / sin 4 x
185
A) y C1 sin 4 x C 2 cos 4 x B) y C1e x sin x
C) y C1e x C2 e 2 x D) y C1 sin 4 x
1 1
E) y C1 C2 e 2 x cos 4 x sin 4 x
40 20
6. Solve the differential equation using the method of
undetermined coefficients. y // 6 y / 9 y 2 x 2 x 3
2 2 5 11
A) y (C1 C2 x)e 3 x x x
9 27 27
2 2 2 2 5
B) y C1 C2 x x C) y x x
9 9 27
D) y C1e3 x C2 E) y C1 x C2 e 3 x
7. Solve the differential equation using the method of
undetermined coefficients. 2 y // 5 y / e x
5x 5x
1
A) y C1 C 2 e 2
B) y C1 C2 e 2
ex
7
5x
C) y C1 x C 2 D) y C1 e x
E) y e 2
A) y e 2 x 1 B) y e 1 C) y 2e x 5e x
D) y e 2 x 1 2e x e 1 E) y 6 x
186
9.Solve initial-value problem using the method of
undetermined coefficients. y // y 4e x , y(0) 4, y / (0) 3 .
D) y 2e x E) y 2 cos x 2e x
10. Solve the differential equation using the method of
undetermined coefficients. 2 y // 5 y / 29 cos x .
A) y C1 C 2 x B) y 2 sin x 29 cos x
187
Lecture 13
PROBABILITY
Empirical Probability
189
Obviously, if we are given a probability and the number of
times the event could have occurred, we can estimate how
many times we think that the event might occur.
Theoretical Probability
m
In the summary form: P(A)
n
where m is the number of outcomes favourable to A, and n is
the number of all the possible outcomes.
Properties of probabilities
Let us now list some properties of probabilities:
1. The probability of a random event is between 0 and 1.
The event A is random 0 P( A) 1 .
2. The probability of a certain (sure) event is 1.
190
The event A is certain P( A) 1 .
3. The probability of an impossible event is zero.
The event A is impossible P( A) 0 .
4. The probability that event A will not occur (is denoted
by A ) is 1 P( A) .
5. The more likely that an event will occur, the higher its
probability (the closer to 1 it is); the less likely that an event
will occur, the lower its probability (the closer to 0 it is).
0 1
191
(d) Find the probability of throwing a number less than
15.
Solution:
(a) There are six faces and one has the number 6 on it, so the
probability of landing with the number 6 face up is
1
P ( 6) .
6
(b) The odd numbered faces are 1,3, and 5, so the the
3 1
probability of throwing an odd number is P(odd ) .
6 2
(c) There are no faces with the number 8, so the probability of
0
landing with the number 8 face up is P(8) 0 .
6
In the given case, the event is impossible.
(d) Since the number of any face of the die less than 15, it
follows that the number of outcomes favourable to this
event is equal to the number of all the possible outcomes.
6
Consequently, P (number <15)= 1 . In this case, the
6
event is certain.
Example 2.
A fair spinner below has eight faces, that is there are
eight possible outcomes. We spin the spinner once and the
number indicated on it is recorded.
24 6
20 8
17 11
15 14
192
Find the following probabilities:
(a) P(8)
(b) P(even)
(c) P(odd)
(d) P(prime number)
(e) P(number <10)
(f) P(number >16)
Solution.
Since each region is the same size, it is equally likely that
the spinner will stop in any of the eight regions.
(a) There is 1 chance in 8 that it will stop in the region marked
8. So we say that the probability of spinning a 8 is one
1
eighth and write P (8) .
8
(b) There are 5 chances in 8 that the spinner will land in a
5
region with an even number in it, so P(even) .
8
(c) There are 3 chances in 8 that the spinner will land in a
3
region with an odd number in it, so P(odd ) .
8
(d) There are 2 chances in 8 that the spinner will land in a
region with a prime number in it, so
2 1
P (prime number) .
8 4
(c) There are 2 chances in 8 that the spinner will stop in a
region with a number less than 10 in it, so
2 1
P(number <10) .
8 4
(f) There are 3 chances in 8 that the spinner will stop in a
region with a number greater than 16 in it, so
193
3
P(number >16) .
8
Example 3.
A box contains 10 balls labeled with the numbers from 1
to 10. We draw one ball. What is the probability that the
number of the drawn ball:
(a) does not exceed 10
(b) prime number
(c) a factor of 10
Solution.
10
(a) P( 10 ) 1 , the event is certain.
10
4 2
(b) P(prime number) = P(2,3,5,7) .
10 5
4 2
(c) P(factor of 10) = P(1,2,5,10) .
10 5
Example 4.
There are 12 balls in the urn, of which 3 are green, 4 red
and 5 blue. What is the probability of drawing.
(a) a green ball,
(b) a red ball,
(c) a blue ball.
Solution.
3 1
(a) P(green)
12 4
4 1
(b) P(red)
12 3
5
(c) P(blue) .
12
194
Counting Techniques
Arrangements (Permutations)
Definition. The different arrangements or selection of a
given number of distinct objects (things) taken k at a time are
called arrangements (or permutations).
196
The number of all the possible arrangements of n things,
taken k at a time, is given by:
n!
Ank Pn,k n(n 1)(n 2)...(n k 1)
(n k )!
In particular An Pn,n n!, i.e. An Pn .
n n
Combinations.
Definitions. Each of the different groups or selections of
a given number of objects, and which can be formed by taking
some or all of a number of objects is called a combination.
The number of all combinations of n things, taken k at a
time is given by:
n n!
Cnk
k k!(n k )!
Example 1.
There are 10 balls in the box, of which 6 are green and 4
blue. We draw two balls. What is the probability that they are
(a) 2 green balls
(b) 2 blue balls
197
(c) 1 green, 1 blue
Solution.
C 2 15 1
(a) P(2 green) = 62
C10 45 3
C 42 6 2
(b) P(2 blue) = 2
C10 45 15
C61 C 41 6 4 8
(c) P(1 green, 1 blue) =
C102 45 15
Example 2.
A bag contains 4 red, 3 blue and 8 green beads.
Five beads are selected at random from the bag without
replacement. Find the probability that they are
(a) 5 green beads,
(b) 2 red and 3 green,
(c) 4 red and 1 blue
(d) 1 red, 2 blue and 2 green
Solution.
C5 8
(a) P(5 green) = 85
C15 429
C 42 C83 16
(b) P(2 red and 3 green) =
C155 143
C 44 C31 1
(c) P(4 red and 1 blue) = 5
C15 1001
C 41 C32 C82 16
(d) P(1 red, 2 blue and 2 green) =
C155 143
Example 3.
Six students from a group of 30 have passed the test with
excellent marks, ten students with good marks, and nine
students have got satisfactory marks. What is the probability
198
that three students chosen randomly from this group have got
failing marks for the test?
Solution. The number of students that have got failing
marks is 30 (6 10 9) 5 . Then the number of cases
favourable to the event is determined by the equation m C53 ,
i.e. m=10. The number of all events here is
30!
n C303 28 29 5
3!27!
m C53 10 1
Therefore P 3 .
n C30 28 29 5 406
Example 4.
There are 1000 tickets in the lottery, of which 500 are
winning tickets and 500 are non-winning. We buy two tickets.
What is the probability of both tickets being winning?
Solution. The number of all possible outcomes here is
1000!
n C1000
2
999 500
2! 998!
The number of outcomes favourable to the event here is
500!
m C500
2
499 250 .
2! 498!
Thus, we have
2
m C500 499 250 499
P 2 .
n C1000 999 500 1998
199
Definition. The union of event A and event B is written
A B and represents the event that either A or event B occurs
or both occur.
Definition. The intersection of event A and B is written
A B and represents the event that both A and B occur.
We can use Venn diagrams to illustrate the concepts of
union and intersection. Events can be represented graphically
by a Venn diagram. Venn diagrams are named after English
mathematician John Venn (1834-1923). We use set notation to
identify different areas on a Venn diagram.
A rectangle represents
the sample space and it A B S
contains closed curves that
represent events. It includes
all the possible outcomes of
an experiment so the
probability of the sample space is 1 or P(S)=1.
A B A B
A B S A B S
A B
A B S A B S
200
We are also interested in events not occurring. For
example, A (or A/ ) is the complement of A and is the event “A
does not occur”, P( A ) 1 P( A) .
Venn diagrams can help us solve probability problems.
Theorem (Probability Addition Rule)
P( A B) P( A) P( B) P( A B) .
It is useful to remember that we can rearrange this if we
want to find the probability of the intersection.
P( A B) P( A) P( B) P( A B)
Definition. Two events are said to be exclusive
(mutually exclusive) if they cannot occur at the same time.
Obviously, if there is no possibility of A and B occurring
at the same time, that is A and B are mutually exclusive, then
P( A B) 0 and the above formula reduces to
P( A B) P( A) P( B) .
Definition. The event consisting in the non-occurrence of
the event A is said to be an event opposite, or contrary, to the
event A and is denoted A (or A/ ) .
The union of the events A and A yields a certain event,
and hence, P( A A ) 1, and since the events A and A are
mutually exclusive, we have
P( A) P( A ) 1 or P( A ) 1 P( A) .
Example 1.
A and B are two events and P(A) =0.6, P(B)=0.5 and
P( A B) 0.8 . Find the following:
(a) P( A B)
(b) P(A ) A B S
(c) P( A B) 0.3 0.3 0.2
(d) P( A B)
0.2
Solution.
201
(a) P( A B) P( A) P( B) P( A B)
P( A B) 0.6 0.5 0.8
P( A B) 0.3
(b) P( A ) 1 P( A)
P( A ) 1 0.6 0.4
(c) P( A B) (0.2 0.2) 0.3 0.7
(d) P( A B) P( A ) P( B) P( A B)
P( A B) 0.4 0.5 0.7 0.2
Example 2.
A and B are two events and P(A) =0.4, P(B)=0.3 and
P( A B) 0.1 . Find the following:
(a) P( A B)
(b) P(B ) A B S
(c) P( A B ) 0.3 0.1 0.2
(d) P( A B ) 0.4
Solution.
(a) P( A B) P( A) P( B) P( A B)
P( A B) 0.4 0.3 0.1 0.6
(b) P( B ) 1 P( B)
P( B ) 1 0.3 0.7
(c) P( A B ) 0.3
(d) P( A B ) P( A) P( B ) P( A B )
P( A B ) 0.4 0.7 0.3 0.8
202
Example 3.
C and D are two events and P(C) =0.4, P(D)=0.5 and
P(C D) 0.6 . Find the following:
(a) P(C D)
(b) P(C ) C D S
0.3 0.2
(c) P(C D ) 0.1
203
11
(a) P( S ) 0.55
20
5 F S
(b) P( S F ) 0.25
20 7 5 6
6
(c) P( S F ) 0.3 2
20
2
(d) P( S F ) 0.1
20
Example 5.
A card is chosen at random from a pack of 52 playing
cards. H is the event ‘the card chosen is a Heart’ and Q is the
event ‘the card chosen is a Queen! Find the following:
(a) P (Q ) (d) P( H Q)
(b) P(H ) (e) P(H )
(c) P( H Q) (f) P(Q H )
Solution.
Draw a Venn diagram to represent this information.
There are 52 cards in the sample space. A card is chosen at
random so all outcomes are equally likely.
4 1
(a) P(Q)
52 13
13 1 H Q
(b) P( H ) 12 1 3
52 4
1
(c) P( H Q) 36
52
16 4
(d) P( H Q)
52 13
1 3
(e) P( H ) 1
4 4
204
12 3
(f) P(Q H )
52 13
P( B | A) P( B) and P( A| B) P( A)
In this case the following equalities hold true:
P( B | A ) P( B | A) P( B) ,
P( A| B ) P( A | B) P( A) .
Thus, it is useful to remember that A, B independent
A, B; A, B ; A, B are all independent pairs.
Theorem. The probability of the intersection of
independent events is equal to the product of their
probabilities:
A and B are independent P( A B) P( A) P( B)
Example 6.
A and B are two events such that
P( A) 0.2, P( B) 0.6 and P( A| B) 0.3. Find the following
(a) P( B | A)
(b) P( A B )
(c) P( A B)
Solution. First we find
P( A B) P( A | B) P( B) 0.3 0.6 0.18
Now we draw a Venn diagram. This will help to find any
other probabilities in the question.
206
P( B A) 0.18
(a) P( B | A) 0.9
P( A) 0.2
(b) P( A B ) 0.38 A B
(c) P( A B) 0.42 0.02 0.18 0.42
0.38
Example 7.
A and B are two events such that P( A) 0.6, P( B) 0.5
and P( A B) 0.4. Find the following
(a) P( A B)
(b) P( B | A)
A B
(c) P( A | B)
0.2 0.4 0.1
(d) P( A | B )
0.3
208
(b) P( A B )
(c) P( A B )
Solution. A and B are independent, so
1 1 1
(a) P( A B) P( A) P( B) .
4 7 28
If A and B are independent, then so are A and B , and
hence
1 6 6 3
(b) P( A B ) P( A) P( B ) .
4 7 28 14
If A and B are independent, then so are A and B , and
therefore
3 6 18 9
(c) P( A B ) P( A ) P( B ) .
4 7 28 14
Example 11.
A box contains 6 white and 8 red balls. We draw two
balls (without replacing the drawn ball into the box). Find the
probability of both balls being white.
Solution. Suppose the event A is the drawing of a white
ball in the first trial and the event B is the drawing of a white
ball in the second trial. By the probability multiplication rule
for the case of dependent events we have
6 5 15
P( A B) P( A) P( B | A)
14 13 91
Example 12.
The probability of winning a certain game is 0.2.
Suppose the game is played on two different occasions. What
is the probability of
(a) winning both times?
(b) losing both times?
(c) winning once and losing once?
209
Solution.
(a) The results of the two different trials are independent,
so the probability of winning both times can be found
by multiplying the probability of winning each time.
P(winning both games)= 0.2 0.2 0.04
(b) Since losing is the compliment of winning, the
probability of losing is 1 0.2 0.8 . The probability
of losing both times can be found by multiplying the
probability of losing each time
P(losing both games)= 0.8 0.8 0.64
(c) The complement of the event (winning once and
losing once ) is the set of the two events in parts (a)
and (b).
The event in parts (a) and (b) are mutually exclusive,
because it is impossible to win both times and lose
both times, so their probabilities may be added.
P(winning once and losing once)=
= 1 (0.04 0.64) 0.32 .
TEST1
1.Two fair six-sided dice numbered 1 to 6 are rolled.
Find the probability that
(a) the sum is 8
1 5 1 7 4
A) B) C) D) E)
9 36 6 36 9
(b) the product is greater than or equal to 8
7 5 2 11 7
A) B) C) D) E)
12 9 3 18 20
(c) the product is 24 or 12
5 2 4 1 1
A) B) C) D) E)
36 3 9 9 6
(d) the maximum value is 4
210
7 1 2 1 4
A) B) C) D) E)
36 6 9 4 9
(e) the larger value is more than twice the other value
1 1 1 1 1
A) B) C) D) E)
3 5 4 6 9
211
5 11 3 7 4
A) B) C) D) E)
1938 2584 3876 9690 1646
(b) 3 blue and 3 white
35 7 17 3 5
A) B) C) D) E)
3876 1938 6480 646 2472
1 3 1 2 1
A) B) C) D) E)
2 4 3 3 4
TEST2
1. P(A)=0.4, P(B)=0.3 and P( A B) 0.2 . Find P( A B)
213
6. 20% of teams in a football league have Italian players and
25% have Brazilian players. 60% have neither Italian nor
Brazilian players. What percentage have both Italian and
Brazilian players?
A) 5% B) 8% C) 12.5% D) 4% E) 9.5%
(c) P( A B)
A) 0.24 B) 0.42 C) 0.35 D)0.21 E) 0.14
1 1
9. The events A and B are such that P( A) , P( B) and
3 4
1
P( A B) . Find P( A | B )
2
1 5 1 7 1
A) B) C) D) E)
3 12 6 18 12
(b) P( A B )
A) 0.4 B)0.6 C) 0.1 D) 0.3 E) 0.2
(c) P( A B )
A) 0.2 B)0.4 C) 0.5 D) 0.6 E) 0.8
Answers
Test 1
1. (a) B 2. (a) C 3.(a) D 4.E 5.(a) C
(b) D (b) B (b) A (b) B
(c) E (c) A (c) C (c) A
(d) A (d) E (d) E (d) C
(e) A (e) C (e) B
Test 2
1.D 2.B 3.E 4.C 5.E
6.A 7.c 8(a) A,(b)D,(c) B 9A 10.(a), (b)E,(c)B
215
Lecture 14
Bernoulli’s Formula. The Most Probable Number of
Occurrences of an Event
If n independent trials are performed in each of which the
probability of occurrence of the event A is the same and is
equal to p, then the probability of the event A occurring m
times in these n trials is expressed by Bernoulli’s formula:
Pm,n Cnm p m q n m
where q 1 p . Thus we have
Po,n Cno p o q n o q n ,
P1,n Cn1 p1q n 1 npq n 1 ,
n(n 1) 2 n 2
P2,n Cn2 p 2 q n 2 p q ,
1 2
................................................
Pn, n p n
Definition. The number m0 is called the most probable
number of occurrences of the event A in n trials if at m m0
the value of Pm,n is not less than all the other values of Pm,n ,
i.e.
Pm0 ,n Pmi ,n at mi m0 .
If p 0 and p 1 , the number m0 can be determined
from the double inequality
np q m0 np p .
The difference between the end point values in this
double inequality is 1:
(np p) (np q) p q 1 .
If np p is not an integer, then the double inequality
specifies only one most probable value m0 . Now if np p is an
integer, then there are two most probable values,
216
m0/ np q and m0// np p
Theorem. The probability that the event will occur (in n
independent trials):
a) less than k times ( k ) is found by the formula
Po,n P1,n ... Pk 1,n
b) more than k times ( k ) is found by the formula
Pk 1,n Pk 2,n ... Pn,n
c) no less than k times ( k ) is found by the formula
Pk ,n Pk 1,n Pk 2,n ... Pn,n
d) no more than k times ( k )is found by the formula
Po,n P1,n ... Pk 1,n Pk ,n .
Let us consider some examples.
Example 1. The probability of occurrence of the event A
is 0.4. What is the probability of the event A occurring not
more than three times in 10 trials?
Solution. Here p=0.4, q=0.6. We have:
probability of occurrence of event A 0 times is
P0,10 q10 ;
probability of occurrence of event A 1 time is
P1,10 10 pq 9 ;
probability of occurrence of event A 2 times is
P2,10 45 p 2 q 8 ;
probability of occurrence of event A 3 times is
P3,10 120 p 3 q 7 .
The probability of the event A occurring not more than
three times is equal to
P P0,10 P1,10 P2,10 P3,10
that is
P q10 10 pq9 45 p 2q8 120 p3q7
217
or
P q7 (q3 10 pq2 45 p 2q 120 p3 )
Putting p=0.4, q=0.6, we obtain
P 0.67 (0.216 1.44 4.32 7.68) 0.38 .
Example 2. Determine the probability of the fact that in a
family having five children there are three girls and two boys.
The probabilities of a girl and a boy being born are assumed to
be equal.
Solution. The probability of a girl being born is p=0.5,
then q 1 p 0.5 (the probability of a boy being born).
Therefore, the sought-for probability is
5! 5
P3,5 C53 p 3 q 2 (0.5)3 (0.5) 2 .
3!2! 16
5 5
1 5 1 5
P2,5 10 ; P3,5 10 .
2 16 2 16
13
P P0,5 P1,5 P2,5 P3,5 .
16
Example 4. Two chess-players of the same level play
chess. What is more probable to win: two games out of four or
three games out of six?
Solution. As players of the same level, then the
probability of winning is equal to 0.5; then the probability of
loss is 0.5. Let us find the probability of the fact that two
218
games out of four will be won. Applying the Bernoulli’s
formula we get
6
P2, 4 C42 p 2 q 2 .
16
Now we find the probability of the event that three games
out of six will be won. We have
5
P3, 6 C63 p 3 q 3 .
16
Since P2, 4 P3,6 , then of four games to win two is more
likely than three games out of six.
Example 5. We toss a coin five times. Find the
probability that the Heads comes up
(a) less than two times.
(b) no less than two times.
Solution.
1 5 3
(a) P0,5 P1,5
32 32 16
13
(b) P2,5 P3,5 P4,5 P5,5 1 ( P0,5 P1,5 )
16
219
drawn ball and replace it into the box. Determine the most
probable number of occurrences of a white ball.
10 1 4
Solution. Here n 14, p , q 1 p .
50 5 5
Using the double inequality
np q m0 np p
at the values of n, p and q indicated, we obtain
14 4 14 1
m0 ,
5 5 5 5
i.e. 2 m0 3 .
Thus, the problem admits of two solutions:
m0/ 2, m0// 3
Example 8. The probability of a marksman hitting the
target is 0.8. He fires 20 shots. Determine the most probable
number of times he hits the target.
Solution. Here n 20, p 0.8, q 0.2 . It follows that
20 0,8 0,2 m0 20 0,8 0,8
i.e 15.8 m0 16.8 .
Since m is an integer, we have m0 16 .
Example 9. As a result of long observations it was
established that the probability of rain falling on October 14 in
3
Baku is . Determine the most probable number of rainy days
8
on October 14 in Baku for 10 years.
3 5
Solution. Here n 10, p , q .
8 8
Thus we have
3 5 3 3
10 m0 10
8 8 8 8
1 1
or 3 m0 4 , i.e. m0 4 .
8 8
220
Example 10. A balloon manufacturer claims that 95% of
his balloons will not burst when blown up. If you have 20 of
these balloons to blow up for a birthday party what is the
probability that none of them burst when blown up?
Solution. To solve this problem we use the Bernoulli’s
formula. Here m n 20, p 0.95, q 0.05 . We have
P20 , 20 C2020 p 20 q 0 0.9520 0.3584... 0.358 .
P( A) P( B1 ) P( A | B1 )
P( B2 ) P( A | B2 ) ... P( Bn ) P( A | Bn ) .
222
P( AH i ) P( H i ) P( A | H i )
P( H i | A) n
P( A)
P( H i ) P( A | H i )
i 1
which is known as Bayes’ formula.
The probabilities P( H i | A) calculated by Bayes’ formula
are often called probabilities of hypotheses.
Example 1. We have four boxes. The first box contains 2
red and 8 yellow balls, the second, 3 red and 2 yellow balls, the
third,1 red and 1 yellow ball, and the fourth, 4 red and 6 yellow
balls. The event H i is the selection of the i-th box (i=1,2,3,4).
i
The probability of selecting of the i-th box is , i.e.
10
1 2 3 4
P( H1 ) , P( H 2 ) , P( H 3 ) , P( H 4 ) .
10 10 10 10
We randomly select one of the boxes and draw a ball
from it. Calculate the probability of the ball being red.
Solution. Suppose the event A is the drawing of a red
ball. If follows from the hypothesis that the conditional
probability of drawing a red ball from the first box is equal to
1
, i.e.
5
2 1
P( A | H1 ) ;
10 5
3 1 2
similarly, P( A | H 2 ) , P( A | H 3 ) , P( A | H 4 ) .
5 2 5
The probability of drawing a red ball can be found by the
formula of total probability:
P( A) P( H1 ) P( A | H1 ) P( H 2 ) P( A | H 2 )
P( H 3 ) P( A | H 3 ) P( H 4 ) P( A | H 4 )
1 1 2 3 3 1 4 2
0.45 .
10 5 10 5 10 2 10 5
223
Example 2. There are three urns identical in appearance.
The first urn contains 24 green balls, the second urn contains
12 green and 12 red balls, and the third urn contains 24 red
balls. We draw a green ball from a randomly selected urn. Find
the probability of the ball being drawn from the first urn.
Solution. Assume that H1 , H 2 , H 3 are the hypotheses
consisting in selecting the first, the second and the third urn
respectively. Let A be the event of drawing a green ball. Since
the selection of any of the urns is equally likely then
1
P( H1 ) P( H 2 ) P( H 3 ) .
3
It is clear that the probability of drawing a green ball
from the first urn is P( A | H1 ) 1 ; the probability of drawing a
12 1
green ball from the second urn is P( A | H 2 ) ; the
24 2
probability of drawing a green ball from the third urn is
P( A | H 3 ) 0 .
Therefore, the desired probability P( H1 | A) (i.e. the
probability of the green ball being drawn from the first urn) can
found from Bayes’ formula
P ( H1 ) P ( A | H1 )
P( H1 | A)
P ( H1 ) P ( A | H1 ) P ( H 2 ) P ( A | H 2 ) P ( H 3 ) P ( A | H 3 )
1
1
3 2
.
1 1 1 1
1 0 3
3 3 2 3
TESTS
1. We toss a coin eight times. What is the probability that we
will have heads six times?
3 1 7 1 5
A) B) C) D) E)
32 8 64 16 36
21 5 7 15 45
A) B) C) D) E)
32 8 16 32 64
3. We toss a coin seven times. What is the probability that we
will have heads no less than five times?
9 17 5 29 15
A) B) C) D) E)
64 128 32 128 64
226
4. The probability of a marksman hitting the target is 0.7. He
fires 25 shots. Determine the most probable number of times he
hits the target.
A) 14 B) 15 C) 16 D) 17 E) 18
7. A box contains 2 balls. We place one red ball into the box
and then we randomly draw one ball from it. Find the
probability that the drawn ball being red if all possible
hypotheses about the initial balls in the box are equally likely.
2 1 3 1 5
A) B) C) D) E)
3 2 4 3 6
8. There are three boxes. The first box contains 5 green and 3
red balls, the second, 4 green and 6 red balls, and the third, 3
green and 7 red balls. The event Hi is the selection of the i-th
box (i=1,2,3). The probabilities of selecting the boxes are given
227
2 3 5
as follows: P( H1 ) , P( H 2 ) , P( H 3 ) . We
10 10 10
randomly select one of the box and draw a ball from it.
Calculate the probability of the ball being green.
A) 0.281 B) 0.415 C) 0.395 D) 0.243 E) 0.477
9. The first box contains 1 pink and 2 blue balls, the second,
100 pink and 100 blue balls. One ball was drawn from the
second box and placed into the first, and then one ball was
randomly drawn from the first box. Calculate the probability
that the drawn ball had previously belonged to the second box
if it is known to be pink.
1 2 1 3 5
A) B) C) D) E)
3 5 4 5 8
10.There are two urns. The first urn contains 3 red and 2 white
balls, the second, 24 red and 26 white balls. One ball was
drawn from the second urn and placed into the first, and then
one ball was randomly drawn from the first urn. Determine the
probability that drawn ball had previously belonged to the first
urn if it is known to be red.
15 25 24 18 17
A) B) C) D) E)
28 29 31 27 21
Answers
Test
1.C 2.A 3.D 4.E 5.B
6.D 7.A 8.C 9.A 10.B
228
Lecture 15
Random Variable and the Law of Its Distribution
X x1 x2 … xn
P( X x) … (1)
p1 p2 pn
230
random variable and their probabilities is called the Law of
distribution of a random variable.
The law of distribution of a random variable you can
specify in a table, analytically (i.e. by means of formulas) and
graphically.
Definition. A table representing the correspondence
between the possible values of variable and their probabilities
is called the Law of distribution of a discrete random
variable.
The table (1) is called the Law of distribution or the
probability distribution of a discrete random variable. The
total of all the probabilities in a probability distribution must
always equal 1. In this case p1 p2 ... pn 1. This fact can
be useful if we do not have complete information about the
probabilities.
Example 2. A fair six-sided die is rolled. Write down the
probability distribution of the outcome of rolling a fair die.
Solution.
X 1 2 3 4 5 6
P( X x) 1 1 1 1 1 1
6 6 6 6 6 6
Here the sum of all the probabilities is equal to 1.
6
1 1 1 1 1 1
i 1
Pi 1
6 6 6 6 6 6
Example 3. Three fair coins are tossed. The number of
heads X, is counted. Write down the probability distribution of
getting heads.
Solution. In this experiment we have eight possible
outcomes HHH, HHT, HTH, HTT, THH, THT, TTH, TTT.
231
Consequently,
Number of Heads (X) 0 1 2 3
P( X x) 1 3 3 1
8 8 8 8
Here the sum of all the probabilities is equal to 1.
4
1 3 3 1
i 1
Pi 1
8 8 8 8
Example 4. A discrete random variable X has the
following probability distribution:
X 1 2 3 4
P( X x) 1 k 1 3
5 4 10
Find the value of k.
Solution. For a discrete random variable the sum of all
the probabilities must always equal 1.
1 1 3 1
k 1 k
5 4 10 4
Example 5. Given P( X x) kx for x 1,2,3,4. Find k.
Solution. According to the condition we can make a
table to show the probability distribution
X 1 2 3 4
P( X x) k 2k 3k 4k
1
We have k 2k 3k 4k 1 10k 1 k .
10
Let us now consider a continuous random variable.
To each interval (a,b) belonging to the range of a random
variable of the continuous type there corresponds a definite
probability P(a X b) that the value assumed by the random
variable will fall in that interval.
232
It is convenient to represent the law of distribution of a
continuous random variable with the aid of the so-called
probability density function f (x) . The probability
P(a X b) of the fact that the value assumed by the random
variable X will fall in the interval (a,b) is defined by the
equality
b
P(a X b) f ( x)dx .
a
Definition. The graph of the probability density function
f (x) is called a distribution curve.
In terms of geometry, the probability that the random
variable will fall in the interval (a,b) is equal to the area of the
corresponding curvilinear trapezoid bounded by the
distribution curve, the Ox axis and the straight lines x=a, x=b.
f (x)
o a b x
The probability density function f (x) possesses the
following properties:
1. f ( x) 0 (i.e f (x) is non-negative)
2. f ( x)dx 1.
Moreover, if all the values of the random variable X
belong to the interval (a,b), the last property can be written as
b
f ( x)dx 1 .
a
233
Probability Distribution Function
Properties
234
0 F ( x) 1 .
Proof. It follows from the definition of F (x) as a
probability. The probability is always non-negative number
which is not greater than 1.
2. F (x) is a non-decreasing function, F (x) , i.e.
x2 x1 F ( x2 ) F ( x1 )
Proof. Let x2 x1 . The event, consisting in the fact that
X will assume a value less than x 2 , may be subdivided into two
following inconsistent events:
E1: X will assume a value less than x1 with the probability
P( X x1 )
E2: X will assume a value satisfying the inequality
x1 X x2 with the probability P( x1 X x2 ) .
By the probability addition rule
P( X x2 ) P( E1 E2 ) P( X x1 ) P( x1 X x2 )
whence
P( X x2 ) P( X x1 ) P( x1 X x2 )
or
F ( x2 ) F ( x1 ) P( x1 X x2 ) 0
F ( x2 ) F ( x1 )
and we get what had to prove.
3.The probability of the fact that a random variable X will
assume a value belonging to an interval (a,b) is equal to an
increment of the function F (x) on that interval:
P(a X b) F (b) F (a) . (*)
Proof. From the previous property we have
F ( x2 ) F ( x1 ) P( x1 X x2 ) .
Putting x2 b and x1 a we obtain (*) .
235
4. The probability of the fact than the continuous random
variable X will assume a certain one value is equal to zero:
P ( X x1 ) 0 .
Proof. We have
P(a X b) F (b) F (a)
Putting a x1 and b x1 x we get
P( x1 X x1 x) F ( x1 x) F ( x1 ) .
Let x 0 . Since X is continuous random variable,
F (x) is continuous. Consequently
x 0 F ( x1 x) F ( x1 ) 0 P( X x1 ) 0.
The property has been proved.
Note that, using this property, it is easy to prove the
following equalities:
P ( a X b) P ( a X b)
P ( a X b) P ( a X b )
For example, the equality
P ( a X b) P ( a X b)
is proved as follows:
P ( a X b) P ( a X b) P ( X b) P ( a X b) .
5. if all the possible values of a random variable belong
to (a,b), then:
(1) F ( x) 0 for x a
(2) F ( x) 1 for x b .
Proof. (1) Let x1 a (Fig. 1).
Then the event x1 a b
X x1 is impossible and
Fig.1
hence P ( X x1 ) 0
(2) Let x2 b (Fig.2).
a b x2
In this case the event
X x2 is a certain one and Fig.2
236
therefore P( X x2 ) 1 .
6. If all the possible values of a continuous random
variable lie on the whole x-axis, then
lim F ( x) 0; lim F ( x) 1.
x x
x x1 x2 … xn
P( X x) p1 p2 … pn
x 1 2 3 4
P( X x) 0.4 0.3 0.2 0.1
Calculate E(X).
237
Solution. According to the definition we have to
calculate the product xP( X x) for all possible values of x and
add up the results:
E ( x) 1 0.4 2 0.3 3 0.2 4 0.1 2 .
Example 2. A random variable X has probability
distribution P( X x) k ( x 1) for x 2, 3, 4, 5, 6. Find E(X).
Solution. According to condition we have the following
probability distribution
x 2 3 4 5 6
P( X x) 3k 4k 5k 6k 7k
x 2 3 4 5 6
P( X x) 0.12 0.16 0.2 0.24 0.28
x 1 2 3 4 5
P( X x) 0.1 a b 0.2 0.1
238
whence
2a 3b 1.5
On the other hand, the sum of all the probabilities must
be equal to one:
0.1 a b 0.2 0.1 1 a b 0.6
To determine a and b we have the following system of
two equations with two unknowns:
2a 3b 1.5
a b 0. 6
Solving this system, we find a=0.3 and b=0.3.
Note the following:
1. The expectation of a random variable, intuitively, is the
average value of repetitions of the experiment it
represents.
2. The expected value (expectation) of a random variable is
greater than the least value and less than the highest
possible value that the variable can take.
3. The expectation of a random variable need not be one of
the values that the variable can take.
Properties of Expectation
Note some important properties of expectation.
1. The expectation of a constant variable is equal to the
constant itself:
E (C ) C
Proof. We shall consider a constant C as a discrete
random variable which can assume only one possible value C
with the probability p=1. Hence,
E (C ) C 1 C
So, if C is a constant, then E (C ) C .
2. A constant factor can be taken out of the sign of the
expectation:
E (CX ) CE ( X )
239
Proof. Suppose the probability distribution of the
discrete random variable X is:
X x1 x2 … xn
P( X x) p1 p2 … pn
CX Cx1 Cx 2 … Cxn
P p1 p2 … pn
X x1 x2 X y1 y2
P( X x) p1 p2 P(Y y ) q1 q2
240
XY x1 y1 x2 y1 x1 y 2 x2 y 2
P p1q1 p 2 q1 p1q 2 p2 q2
Thus,
E ( XY ) E ( X ) E (Y ) .
4. If X and Y are two random variables, then
E ( X Y ) E ( X ) E (Y )
Example 1. Two independent random variables X and Y
are given by the following probability distributions
X 3 5 8 Y 4 7
P( X x) 0.1 0.3 0.6 P(Y y ) 0.2 0.8
Find E ( XY ) .
Solution. We find the expectations of each of the given
variables
E ( X ) 3 0.1 5 0.3 8 0.6 6.6
E (Y ) 4 0.2 7 0.8 6.4 .
241
Example 2. Two fair six-sided dice numbered 1 to 6 are
thrown once. The random variables X and Y represent the
values on the upper face of each of the dice. Find E ( X Y ) .
Solution. We have
X 1 2 3 4 5 6
P( X x) 1 1 1 1 1 1
6 6 6 6 6 6
Y 1 2 3 4 5 6
P(Y y ) 1 1 1 1 1 1
6 6 6 6 6 6
242
The mathematical expectations of these variables are the
same and the possible values are different. Moreover, X can
take possible values close to the expectation, and Y can take
possible values far from the expected value.
This example shows that knowing only the mathematical
expectation of a random variable, it is impossible to judge what
the possible values it can take and how these values are spread
around the expectation. Therefore, along with the mathematical
expectation we use another characteristic that helps to estimate
how the possible values of a random variable are spread around
the expected value. This new characteristic is called the
variance of a random variable.
Let X be a random variable and E(X) its mathematical
expectation.
Definition. The difference X E ( X ) between the
random variable X and its expectation E(X) is called the
deviation of the random variable.
Suppose the probability distribution of the random
variable X is:
X x1 x2 … xn
P( X x) p1 p2 … pn
X E (X ) x1 E ( x) x2 E ( X ) … xn E (X )
P p1 p2 … pn
243
Proof. Using the properties of the mathematical
expectation and taking into account that E ( X ) - constant, we
obtain
E ( X E ( X )) E ( X ) E ( E ( X )) E ( X ) E ( X ) 0 .
Definition. The variance of a random variable is the
expectation of the square of the deviation of the random
variable its expectation.
The variance of X is usually written as Var (X) and by
definition
Var ( X ) E[ X E ( X )]2 .
The variance of a random variable is spread of its values about
its expectation.
Theorem. The variance is found by the formula
Var ( X ) E ( X 2 ) ( E ( X )) 2 .
Proof. The expectation E ( X ) is constant and hence,
2 E ( X ) and E 2 ( X ) are also constant. Taking it into account and
using the properties of the mathematical expectation, we obtain
Var ( X ) EX E ( X ) E X 2 2 XE ( X ) E 2 ( X )
2
E ( X 2 ) 2 E ( X ) E ( X ) E ( E 2 ( X ))
E ( X 2 ) 2 E 2 ( X ) E 2 ( X ) E ( X 2 ) ( E ( X ))2 .
Properties of Variance
Var(CX ) E (CX E (CX ) ) 2 E C 2 ( X E ( X ))2
C E ( X E ( X )) C
2 2 2
Var( X ) .
3. If X and Y are independent random variables, then
Var ( X Y ) Var( X ) Var(Y ) .
Proof. According to the formula for calculating the
variance we obtain
Var ( X Y ) E ( X Y )2 E( X Y ) 2
Removing the brackets and using the properties of the
expectation we get
Var ( X Y ) E X 2 2 XY Y 2 E( X ) E (Y )
2
E ( X 2 ) 2 E ( X ) E (Y ) E (Y 2 ) E 2 ( X ) 2 E ( X ) E (Y ) E 2 (Y )
E ( X 2 ) E 2 ( X ) E (Y 2 ) E 2 (Y ) Var( X ) Var(Y ) .
4. If X and Y are independent random variables, then
Var ( X Y ) Var( X ) Var(Y ) .
Proof. According to the property 3 we get
Var ( X Y ) Var( X ) Var(Y ) .
Now using the property 2 we obtain
Var ( X Y ) Var( X ) (1) 2 Var(Y )
or
Var ( X Y ) Var( X ) Var(Y ) .
245
1 1 1 1 1 1 91
E( X 2 ) 12 2 2 32 4 2 5 2 6 2
6 6 6 6 6 6 6
2
91 7 35
Var ( X ) E( X ) E ( X )
2 2
.
6 2 12
Standard Deviation
Definition. The quantity Var( X ) is called the
standard deviation of the random variable X.
The standard deviation is a measure of the spread of
values (scores) within of data. The standard deviation is a
measure that is used to quantify how the values of a set of data
are spread. This measures the average distance of data items
from the expectation.
246
Example. A discrete random variable X has the
following law of distribution:
X -5 2 3 4
P 0.4 0.3 0.1 0.2
X2 25 4 9 16
P 0.4 0.3 0.1 0.2
We find E ( X 2 )
E( X 2 ) 25 0.4 4 0.3 9 0.1 16 0.2 15,3 .
Now we find the variance:
Var( X ) E ( X 2 ) E ( X ) 15.3 (0.3)2 15.21 .
2
Therefore
Var( X ) 15.21 3.9 .
Uniform Distribution
o a x
b
f ( x)dx 1
a
or Cdx 1 .
a
1
Since C (b a) 1, we have C and, hence
ba
0, if x a
1
f ( x) , if a x b
b a
0, if x b .
Now we can easily find the mathematical expectation, the
variance and the standard deviation for a random variable with
uniform distribution. We have
248
1 b2 a2 a b
b b
x
E ( X ) xf ( x)dx dx .
a a
ba ba 2 2
Thus,
ab
E( X ) ,
2
which should be expected because of the symmetry of
distribution.
To calculate the variance we use the formula
Var( X ) E ( X 2 ) E ( X ) taking into account the value
2
ab
E( X ) that has already been found. Thus, it remains to
2
calculate E ( X 2 ) . We have
b 2 ab a 2
b b
x2
E ( X 2 ) x 2 f ( x)dx dx .
a a
b a 3
It follows that
b 2 ab a 2 (a b) 2 (b a) 2
Var( X )
3 4 12
and, hence
ba
Var( X ) .
2 3
Binomial Distribution
Poisson’s Distribution
a m a
P( X m) e ,
m!
is known as Poisson’s distribution.
The mathematical expectation and the variance for the
Poisson’s distribution of a random variable X are determined
by the formulas:
E ( X ) a and Var( X ) a .
250
TEST
1. A discrete random variable X has probability distribution
X -3 2 4 5
P 0.4 0.3 0.1 0.2
Calculate E ( X ) .
A)0.8 B) -1.2 C)1 D)-0.8 E)1.2
2.The random variable Y has probability distribution
Y 1 2 5 8 k
P 0.2 0.3 0.1 0.1 0.3
X 4 6 k
P 0.5 0.3 a
251
24 21 35 28 32
A) B) C) D) E)
18 18 18 18 18
65 77 13 169 403
A) B) C) D) E)
36 24 6 36 36
252
X -1 0 1 2
P( X x) 0.2 0.5 0.2 0.1
Find Var( X )
A)0.74 B) 0.6 C)0.64 D)0.76 E)0.82
253
Bibliography
254
UDK 51.517(07)
Reviewers:
1. Professor of Applied Mathematics Department of Baku State
University Dr.Sc.H.M.Huseynov
2. Associate Professor of General and Applied Mathematics
Department of Azerbaijan State Oil and Industry University,
Ph.D. R.G. Azizova