Professional Documents
Culture Documents
Mathmatical Methods Final
Mathmatical Methods Final
net/publication/267866066
Mathematical Methods
CITATIONS READS
0 34,330
2 authors, including:
Zafar Ahsan
Aligarh Muslim University
115 PUBLICATIONS 509 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Zafar Ahsan on 24 April 2021.
Zafar Ahsan
Nikhat Ahsan
Zafar Ahsan
Department of Mathematics
Aligarh Muslim University
Aligarh-202002, India
Nikhat Ahsan
Formerly at AMU Girl’s High School
Aligarh-202002, India
ISBN 978-81-927151-9-3
Price : ` 000.00
3. Differentiation 72
3.1 Introduction 72
viii Mathematical Methods
4. Integration 129
4.1 Introduction 129
4.2 Indefinite Integral 129
4.3 Methods of Integration 136
4.4 Definite Integral 164
4.5 Fundamental Theorems of Integral Calculus 168
4.6 Properties of Definite Integrals 172
4.7 Areas of Bounded Regions 178
Exercises 180
1.1 Introduction
Solving problems by means of equations is an old tradition of mathematics
and the earliest description about the methods of solving equations has
been described in a book written by Abu Abdallah Mohammad bin Musa
Al-Khwarizmi around 830 A.D. Al-Khwarizmi is considered to be the
grand father of computer science and the father of Algebra. He was a
Persian/Arab mathematician, astronomer, astrologer, geographer and a
scholar in the House of Wisdom (Bait ul Hikma) in Baghdad.
Al-Khwarizmi was the popularizer of Arabic numerals, adopter of zero
(the symbol) and the decimal system. He was born in Persia of that time
around 780 A.D. and died around 850 A.D. He was one of the first
directors of the House of Wisdom and one of the few learned men who
worked in this House in the early 9th Century. Al-Khwarizmi flourished
while working as a member of the House of Wisdom in Baghdad under
the leadership of Khalif al-Mamun, the son of the Khalif Harun al-Rashid.
The House of Wisdom was a scientific research and teachning centre.
Ibn al-Nadims Kitab al-Fihrist includes a short biography on
Al-Khwarizmi, together with a list of the books he wrote. Al-Khwarizmi
accomplished most of his work in the period between 813 and 833. After
the Islamic conquest of Persia, Baghdad became the centre of scientific
studies and trade, and many merchants and scientists from as far as
China and India traveled to this city, as did Al-Khwarizmi. He worked
in Baghdad as a scholar at the House of Wisdom, where he studied the
sciences and mathematics, which included the translation of Greek and
Sanskrit scientific manuscripts.
To Al-Khwarizmi we owe the word algebra which is derived from
the Arabic word Al-jabr (meaning completion, or subtracting a number
from both sides of the equation) appearing in the title of his greatest
2 Mathematical Methods
The original Arabic title was possibly Kitab al-Jama wal-tafriq bil hisab
al-Hind (The Book of Addition and Subtraction According to the Hindu
Calculation). Al-Khwarizmis work on arithmetic was responsible for
introducing the Arabic numerals, based on the Hindu-Arabic numeral
system developed in Indian mathematics, to the western world. Al-
Khwarizmis book on arithmetic was translated into Latin and published
in Rome in 1857 by Prince Baldassare Boncompagni. Many of his books
were translated into Latin and used as a principle mathematical text
book in European universities until the 16th century. Among them these
two books had important place: Kitab al-Jama wal-Tafreeq bil Hisab
al-Hind and Kitab al-Jabr wal-muqabala.
Al-Khwarizmi developed detailed trigonometric tables containing
the sine functions which later included tangent functions. Al-Khwarizmi
also wrote an important work on astronomy, covering calendars,
calculating true positions of the sun, moon and planets, tables of sine
and tangents, spherical astronomy, astrological tables, parallax and eclipse
calculations, and visibility of the moon. Although his astronomical work
is based on that of the Indians, and most of the values from which he
constructed his tables came from Hindu astronomers, Al-Khwarizmi must
have been influenced by Ptolemys work too. Al-Khwarizmi performed
detailed calculations of the positions of the sun, moon, and planets, and
did a number of eclipse calculations. In addition to an important treatise
on astronomy, Al-Khwarizmi wrote a book on astronomical tables, which
were also translated into European languages and, later, into Chinese.
Al-Khwarizmis another major contribution is his 833s book Kitab
Suart al-ard (Book on the appearance of the Earth). His works differed
from Ptolemys and he corrected Ptolemys views in detail. It is a
description of a world (known world at that time) map and contains a
list of the coordinates of the important places on it. He corrected the
distortion that Ptolemys map had with regard to the length of the
Mediterranean. It was much more accurate. However, it failed to replace
the Ptolemaic geography used in Europe. Al-Khwarizmis work on
geography which gives latitudes and longitudes for 2,402 cities and
landmarks, forming the basis for a world map. The book lists with
latitudes and longitudes, cities, mountains, seas, islands, geographical
regions, and rivers.
A number of minor works were written by Al-Khwarizmi on topics
such as clocks, sundials and astrolabe. He made several important
improvements to the theory and construction of the sundials. He made
tables for these instruments which considerably shortened the time needed
4 Mathematical Methods
or
2(5 + 2x + 3 2x) = (3 2x) (5 + 2x)
or
2(8) = 15 + 6x 10x 4x2
or
4x2 + 4x + 1 = 0
or
(2x + 1) (2x + 1) = 0
−1 −1
and thus x = , .
2 2
(iii) The given equation can be written as
x 2 2x x + 2 = 4x 2 5x 3
or
x 2 4x 2 + 5x 3x + 2 + 3 = 0
or
3x 2 2x 5 = 0
which on solving leads to x = 1, 5/3.
Example 1.2 The length of a room is 3 ft less than twice its breadth.
What will be the dimension of the room if 252 sq ft carpet is laid down
in the room?
Solution Let b be the breadth of the room. Then, the length is 2b 3.
The area of the room is (2b 3)b. Thus, the carpet required to cover the
room is 2b2 3b sq ft, i.e.
2b 2 3b = 252
which leads to
−21
b = , 12
2
Neglecting the first value, the breadth is 12 ft and the length is 2b 3 =
21 ft.
Example 1.3 In a chemical factory, there is a chemical reagent vat with
two input pipes A and B. If both pipes are opened, the vat will be filled in
4 h. How much time is required to fill the vat if each of the pipe is
working alone such that pipe A takes 3 h more than pipe B?
Quadratic Equations and Complex Numbers 7
Solution Let t be the time in hours required by pipe B to fill the vat
alone. Then, t + 3 is the time taken by the pipe A to fill the vat alone.
Thus in 1 hour, pipe B fills 1/t of the vat, while pipe A fills 1/(t + 3) of the
vat. Both pipes A and B, working together, fill 1/4 of the vat. Therefore,
we have
1 1 1
+ =
t t +3 4
which on solving leads to the quadratic equation
t 2 5t 12 = 0
The roots of this equation are 1.959 and 8.041. Thus t = 8.041 is the
only possible solution for the given problem. Therefore, if both the pipes
A and B are working alone, then it takes nearly 8 h and 11 h, respectively,
to fill the vat.
− b + b 2 − 4ac − b − b 2 − 4ac
x= , x=
2a 2a
The quantity b 2 4ac = D is called the discriminant.
Consider the quadratic equation
ax 2 + bx + c = 0, a ≠ 0 (3)
Multiplying this equation by 4a, we get
4a 2x 2 + 4abx + 4ac = 0
or
(2ax)2 + 2(2ax)b + 4ac = 0
or
(2ax)2 + 2(2ax)b + b 2 = b 2 4ac
so that
(2ax + b) 2 = b 2 4ac (4)
We thus have the following cases:
2ax + b = ± b2 − 4ac
8 Mathematical Methods
so that
− b ± b 2 − 4ac
x = (5)
2a
and thus Eq. (3) has two roots. Moreover, the roots given by Eq. (5)
are real and distinct, if b2 − 4ac > 0, and are real and equal if
b2 − 4ac = 0.
− b + b2 − 4ac − b − b2 − 4ac
α = ,β= (6)
2a 2a
Quadratic Equations and Complex Numbers 9
Then, if the roots of the quadratic equation are given, we can form the
quadratic equation as follows:
From Eq. (6), we have
sum of the roots = α + β = b/a, product of the roots = αβ = c/a
Also, the Eq. (3) can be written as
b c −b c
x2 + x + = 0 ⇒ x2 x+ =0
a a a a
Therefore, the required quadratic equation is given by
x 2 (sum of the roots) x + (product of the roots) = 0 (7)
Example 1.5 Obtain the quadratic equation if the roots of the quadratic
equation are 4, 5 and 1, 3.
Solution Here α = 4, β = 5 which gives α + β = 1, and αβ = 20 and
thus the required quadratic equation, using Eq. (7), is x 2 + x 20 = 0.
On the other hand, for the roots 1, 3, the required quadratic equation,
again from Eq. (7), is x 2 2x 3 = 0.
Example 1.6 Form the quadratic equation whose one root is 1 + 2 and
sum of its roots is 2.
Solution Given that one root is 1 + 2 and let the other root be α, then
(1 + 2 ) + α = sum of the roots = 2
which gives α = 1 2, and thus the roots are 1 + 2 and 1 2. The
product of the roots is now 1 and hence, from Eq. (7), the required
quadratic equation is x 2 2x 1 = 0.
⎪⎧⎛ ⎪⎫
2
1⎞ ⎛ 1⎞
it in the given equation, we get a ⎨⎜ x + ⎟ − 2⎬ + b ⎜ x + ⎟ + c = 0.
⎩⎪⎝ x⎠ ⎭⎪ ⎝ x⎠
1
Take y = x + in this equation, we get a( y 2 2) + by + c = 0 which is
x
a quadratic equation in y. Let α and β be the roots of this equation, then
1 1
y=x+ = α and y = x + =β
x x
or
x 2 + 1 = α x and x 2 + 1 = βx
or
x 2 α x + 1 = 0 and x 2 βx + 1 = 0
which are quadratic equations and can be solved for x.
⎛ 1⎞ ⎛ 1⎞
Example 1.11 Solve the equation 2 ⎜ x 2 + 2 ⎟ − 3⎜ x + ⎟ 1 = 0, x ≠ 0.
⎝ x ⎠ ⎝ x⎠
2
= y so that ⎛⎜ x + ⎞⎟ = y 2 ⇒ x 2 + 2 + 2 = y 2
1 1 1
Solution Put x +
x ⎝ x⎠ x
1
⇒ x 2 + 2 = y 2 2 and the given equation now reduces to 2y 2
x
3y 5 = 0 which is a quadratic equation having the roots y = 1 and
1 1
y = 5/2. Thus x + = 1 and x + = 5/2 which lead to the quadratic
x x
equations x 2 + x + 1 = 0 and 2x 2 5x + 2 = 0. It can be shown that the
former quadratic equation has no real roots, while the later has the
roots as 2 and 1/2. Therefore, the real roots of the given equation are 2
and 1/2.
⎛ 1⎞ ⎛
Example 1.12 Solve the equation 6⎜ x 2 + ⎟ − 25⎜ x −
1⎞
⎟ + 12 = 0,
⎝ 2
x ⎠ ⎝ x⎠
x ≠ 0.
12 Mathematical Methods
1 1
Solution Put x = y so that x 2 + 2 = y 2 + 2 and the given equation
x x
now reduces to 6( y 2 + 2) 25y + 12 = 0 which is a quadratic
1
equation having the roots y = 3/2 and y = 8/3. Thus x = 3/2 and
x
1
x = 8/3 which lead to the quadratic equations 2x 2 3x 2 = 0 and
x
3x 2 8x 3 = 0 having the roots as 1/2, 2 and 1/3, 3.
x1 + iy1 x2 − iy2
= ⋅
x2 + iy2 x2 − iy2
⎛ x x + y1 y2 ⎞ ⎛ x2 y1 − x1 y2 ⎞
= ⎜ 1 2 +i
⎜ x 2 + y 2 ⎟⎟ ⎜⎜ x 2 + y 2 ⎟⎟
⎝ 2 2 ⎠ ⎝ 2 2 ⎠
(3) z z = 2Im(z).
(4) z = z if and only if z is purely real.
(5) z = z if and only if z is purely imaginary.
(6) z z = [Re(z)]2 + [Im(z)]2.
(7) z1 ± z2 = z1 ± z2
(8) z1 z2 = z1 z2
⎛ z1 ⎞ z1
(9)
⎜⎝ z ⎟⎠ = z , z2 ≠ 0
2 2
z1 |z |
(6) = 1 , z2 ≠ 0
z2 | z2 |
(7) | z1 ± z2 |2 = | z1 |2 + | z2 |2 ± 2Re( z1 z2 )
(8) | z1 + z2 |2 + | z1 z2 |2 = 2(| z1 |2 + | z2 |2)
Re(z ) ⎛ Im( z )⎞ z
(9) + i⎜ − 2 ⎟
=
|z|2
⎝ |z| ⎠ |z|
2
16 Mathematical Methods
(1) One of the cube roots of unity is 1 and the other two −1 + i 3 and
2
−1 − i 3
are complex conjugate of each other.
2
(2) Each complex cube root of the unity is the square of the other.
−1 + i 3
(3) The cube roots of unity are denoted as 1, ω = and
2
−1 − i 3
ω2 = .
2
(4) The sum of the three cube roots of unity is zero, i.e., 1 + ω +
ω2 = 0.
(5) The product of the three cube roots of unity is one, i.e.,
1⋅ ω ⋅ ω2 = 1.
(6) Each complex cube root of the unity is the reciprocal of the other.
(7) The equation x 2 + x + 1 = 0 has the roots ω and ω2; and the
equation x 2 x + 1 = 0 has the roots ω and ω2.
(8) We can also find the cube roots of any real number. Thus, if a is
a positive real number, then the cube roots of a have the values
a1/3, a1/3 ω, a1/3 ω2 and, if a is a negative real number, then the cube
roots of a have the values | a |1/3, | a |1/3ω, | a |1/3ω2.
θ Q
x
O
Fig. 1.1 Argand diagram
PQ y Im( z )
tan θ = = =
OQ x Re(z)
and thus
⎡ Im( z ) ⎤
θ = tan1 ⎢ ⎥
⎣ Re( z ) ⎦
This equation shows that there are infinitely many values (differing
by multiples of 2π) of the angle θ. The unique value of θ such that
π < θ < π is called the principal argument.
Method for finding argument of z = x + iy
To know the argument of a complex number z = x + iy, we proceed as
follows:
y
(1) Find the value of tan −1 lying between 0 and 2π. Let it be α.
x
18 Mathematical Methods
(2) Find the position of the point P(x, y), i.e. determine in which
quadrant P lies and
(i) If P(x, y) lies in the first quadrant, then arg(z) = α.
(ii) If P(x, y) lies in the second quadrant, then arg (z) = π α.
(iii) If P(x, y) lies in the third quadrant, then arg(z) = α π.
(iv) If P(x, y) lies in the fourth quadrant, then arg(z) = α.
Example 1.13 Find the modulus and argument of the complex numbers
1 + i 3, − 2 + i 2 3, − 3 − i, 2 3 − 2i.
|z|= 1 y = tan1
x 2 + y 2 = 2, α = tan 3 = π/3. But x > 0, y > 0.
x
Therefore arg(z) = π/3. Similarly, for z = 2 + i 2 3, arg(z) = 2π/3 and
| z | = 4, while for z = 3 i, arg(z) = 5π/6 and | z | = 2, and for
z = 2 3 2i, arg(z) = π/6 and | z | = 4.
(b) Vector representation of a complex number: A complex number
z = x + iy can be represented by the position vector OP of the point
P (see Fig. 1.1) in a two dimensional plane as the complex number
depends upon the modulus and argument.
(c) Polar form : Let z = x + iy be a complex number and θ be the angle
which OP makes with the x-axis (Fig. 1.1), i.e. ∠POQ = θ. Then from
∆OPQ, we have OP = | z | = x 2 + y 2 , ∠POQ = θ = arg(z) and
PQ y y
sin θ = = =
OP x +y
2 2 |z|
so that
y = | z | sin θ
and
OQ x x
cos θ = = =
OP x +y
2 2 |z|
so that
x = | z | cos θ
Thus
z = x + iy = | z | cos θ + i| z | sin θ
Quadratic Equations and Complex Numbers 19
Hence
z = | z |(cos θ + i sin θ) = r(cos θ + i sin θ)
which is the polar representation of the complex number z where
|z|=r= x2 + y 2 is the modulus of z and θ = arg(z).
The identity
eiθ = cos θ + i sin θ
is known as Eulers formula and thus
z = r (cos θ + i sin θ) = reiθ
For the general value of the argument of θ, the polar form of the
complex number z is
z = r[cos(2nπ + θ) + i sin(2nπ + θ)]
where r = | z | and θ = arg(z), n ∈ ¢.
Example 1.14 Find the modulii and arguments of the cube roots of unity
and express the roots of the unity in polar form.
−1 + i 3
Solution We know that the cube roots of unity are 1, ω =
2
−1 − i 3
and ω2 = . Consider z = 1 = 1 + 0i ⇒ | z | = r = 1 and
2
tan θ = | y/x | = 0 ⇒ θ = 0 and as x > 0, y = 0, the complex number
z = 1 + 0i lies on the x-axis and arg(z) = 0. Thus the polar form of z = 1 is
z = r(cos θ + i sin θ) ⇒ z = 1(cos 0 + i sin 0) = 1
−1 + i 3
Similarly, when z = ω = , | z | = 1 and tan θ = 3 ⇒ θ
2
= 2π/3, and thus arg(z) = 2π/3. Therefore, the polar form of z =
−1 + i 3
ω= is
2
z = r (cos θ + i sin θ) ⇒ z = 1[cos (2π/3) + i sin (2π/3)]
−1 − i 3
While for z = ω2 = , the polar form is
2
z = r(cos θ + i sin θ) ⇒ z = [cos(4π/3) + i sin(4π/3)]
Remarks
(1) (cos θ + i sin θ)n = (cos n θ + i sin n θ)
1
(2) = (cos θ + i sin θ)1 = cos θ i sin θ
cos θ + i sin θ
(3) (sin θ ± i cos θ)n ≠ (sin n θ ± i cos n θ)
n
(4) (sin θ + i cos θ)n = ⎡cos ⎜⎛ π − θ ⎟⎞ + i sin ⎜⎛ π − θ ⎟⎞⎤
⎢ ⎥
⎣ ⎝2 ⎠ ⎝2 ⎠⎦
⎛ π π ⎞
= ⎜ cos n ⎜⎛ − θ ⎟⎞ + i sin n ⎜⎛ − θ ⎟⎞ ⎟
⎝ ⎝ 2 ⎠ ⎝ 2 ⎠⎠
(5) (cos θ + i sin φ)n ≠ (cos n θ + i sin n φ)
EXERCISES
Solve the following quadratic equations using the general expressions
for the roots of a quadratic equation:
1. x 2 8x 48 = 0 [Ans. 12, 4]
2
2. 5x 19x + 12 = 0 [Ans. 3, 4/5]
2
3. 25x 30x + 9 = 0 [Ans. 3/5, 3/5]
4. 16x 2 = 24x + 1 [Ans. (3 ± 10 )/4]
Solve the following equations by reducing them into quadratic equations:
x 1 − x 13
8. + = [Ans. 9/13, 4/13]
1− x x 6
9. x + 5 + x + 21 = 6 x + 40 [Ans. 4]
10. 5x+1 + 52x = 53 + 1 [Ans. 2, 1]
2 2
−3 −3
11. (5 + 2 6) x + (5 − 2 6) x = 10 [Ans. ±2, ± 2]
a+x+ a−x a
12. = [Ans. ±a]
a+x− a−x x
Quadratic Equations and Complex Numbers 21
19. If z1 = 2 + i, z2 = 3 2i and z3 = 1
2
+ 2
3
i, then evaluate each of the
following:
(a) | 3z1 4z2 | [Ans. 157 ]
(b) z13 − 3z12 + 4z1 8 [Ans. 7 + 3i]
⎡ 1 3 ⎤
(c) ( z3 ) 4 ⎢Ans. − − i⎥
⎣ 2 2 ⎦
2
2 z2 + z1 − 5 − i
(d) [Ans. 1]
2 z1 − z2 + 3 − i
22. Find real values of x and y for which the complex numbers
3 + ix2y and x2 + y + 4i are conjugate of each other.
23. Find the square root of 15 8i and i.
2.1 Introduction
In daily life we often come across with objects which are paired together,
for example, a person has a name, a cricket player has a number on his
uniform, a student has a grade, etc. When we observe a group of people
in sunlight, we observe that each person has exactly one shadow. With
each biological species there is associated a typical number of
chromosomes. Each person has ten finger prints and each finger print is
associated with exactly one person. In science, engineering and business
also, a number is associated with another, e.g. the amount of a radioactive
substance present determines the decay rate; the interest paid on an
investment depends upon the duration (time) of investment. In all these
situations it may be noted that there exist a unique association between
the quantities involved. Such pairing of one object with the other leads
to the concept of a function.
This chapter deals with the concept of real functions, their limit and
continuity and related results. We first begin with real functions.
2.2 Functions
Functions are useful in describing many situations involving two variables
because each value of one variable corresponds to only one value of the
other variable. Figure 2.1 shows the speed of the car over elapsed time in
seconds as the car accelerates from rest, e.g., Fig. 2.1 shows that 5 s after
starting, the car is going 45 miles/h. Fig. 2.2 shows the variation of
blood pressure of a person (systolic and diastolic pressures are the upper
and lower limits is the periodic changes in pressure that produce the
pulse. The length between the peaks is called the period of the pulse).
After 0.8 s, the blood pressure is same as its starting value, 80 mm.
Figures 2.1 and 2.2 illustrate functions, which are rules or proceedures
24 Mathematical Methods
that yield just one value of one variable from any given value of another
variable. We can find the exact speed of the car after 10 s because the car
can not have two speeds at the same time. Similarly, a person can have
only one blood pressure at a given instant.
100
90 3rd–4th
80
Speed in miles per hour
70 2nd–4th
60
1st–2nd
50
40
30
20
10
0 5 10 15 20 25 30 35
Elapsed time in seconds
120
80
Diastolic
pressure
40
0 0.8 1.6
Time in seconds
one variable as the function of the other. For example, the area A of a
circle of radius r is A = πr 2. The volume V and surface area S of a sphere
of radius r are given by V = 4
3 πr 3 and S = 4πr 2. The relationship between
the variables can also be described with the help of the following examples.
Examples
1. The cost of leasing an office space in a building depends upon the
number of square feet of space in the office. An association between
the area of an office in sq ft and monthly rent in rupees are given
in Fig. 2.3.
2. Another association may be set up between investment in a mutual
fund and the corresponding earning, assuming an annual return
of 12% (Fig. 2.4). In this example we can use a formula to show
how the numbers in the set X are used to obtain the numbers in the
set Y. If x is a rupee amount from the set X, then the corresponding
annual return y in rupee from the set Y can be found with the
formula y = (.12)x. Here x, the investment in the mutual fund, is
called the independent variable. As the annual return depends on
the amount of investment, y is called the dependent variable. When
a specific number, say 2000 is substituted for x then y takes one
specific value and here y = 240. The variable y is said to be a
function of x.
Fig. 2.3 Office space and rent Fig. 2.4 Investment and earning
The pair of numbers, one for x and one for y, can be written as an ordered
pair (x, y), where the order of the numbers is important. Using ordered
pairs, the information shown in Fig. 2.4 can be expressed as a set {(50000,
6000), (7200, 864), (14600, 1752), (89350, 10722)}. The set of points in
a plane that corresponds to the ordered pairs of a function is called the
graph of the function. Fig. 2.5 illustrates the graph of y = 0.12 x.
26 Mathematical Methods
16 6
18 12
13 8
9
11 10
and the child is the dependent variable. For a given mother there
may be several children, and thus this correspondance is not a
function.
5. The set of ordered pairs with first element children and second
element their birth mother: Here the child is an independent
variable and the mother is the dependent variable. Since each child
has only one birth mother, so this is a function.
As we have seen, a function is a correspondance between the elements
of two sets. These sets are given special names and we have
Definition 2.2 The set of all possible values of the independent variable
in a function is called the domain of the function, and the set of all
possible values for the dependent variable is called the range.
It may be noted that the domain and range of a real function are real
numbers.
A function is often defined by an equation. We shall now find which
of the following equations represent a function.
(i) y = 4x + 11. Here for each value of x there is exactly one value of
y, e.g., for x = 1, y = 7, etc. and thus y is a function of x.
(ii) y 2 = f (x) = x. If x = 36 then y = ± 6. Here for one value of the
independent variable x there are two values of the dependent
variable. Thus y 2 = x does not represent a function.
(iii) (a) If x + y = 1 then y = 1 x. Here for each x there is one y and
thus this is a function.
(b) If x 2 + y 2 = 1 then y = ± 1 − x 2 . Here for each x there are two
values of y and thus this is not a function.
(c) If x 2 + y = 1 then y = 1 x 2. Here for each x there is one y and
thus this is a function.
(d) If x + y 2 = 1 then y = ± 1 − x . Here for each x there are two y
and thus this is not a function.
The graphs of these equations are illustrated in Fig. 2.7.
If a graph is to represent a function, each value of x from the domain
must lead to exactly one value of y. In the graph of Fig. 2.7(b) and (d),
since the domain value x leads to two values of y, hence these are not the
graph of the function. These examples suggest the vertical line test for
the graph of a function.
28 Mathematical Methods
y y
2 2
1 x+y=1 x2 + y2 = 1
x x
–2 –1 1 2 –2 2
–1
–2 –2
(a ) (b )
y y
2 2
1 x2 + y = 1 1 x + y2 = 1
x x
–2 –1 1 2 –2 –1 1 2
–1 –1
–2 –2
(c) (d)
Domain
x x f
f (x )
⎧
f (x) = ⎨ x − 1 if x ≥ 1
⎩ 1 − x, if x < 1
The graph of this function is illustrated in Fig. 2.9.
2
Range: y ≥ 0
1 2 3 4
f ( x) = 1
1 f ( x) = x
x x x
1
f ( x) =
x
y y
f ( x) = x 2
f ( x) = x
x x
y
x y
–4 –2/3
–2 –2
0 0
x = –1 2 2
2
x
–2 0 2
2
y=
1+x
{
x, if x ≥ 0
f (x) = − x, if x < 0
x
0
⎧⎪ 1, if x > 0
f (x) = ⎨ 0, if x = 0
⎪⎩−1, if x < 0
is called signum function (Fig. 2.13).
Definition 2.11 The function
f (x) = ka x
32 Mathematical Methods
35 70
y=− x+
26 26
(v) Sensitivity to drugs: The sensitivity S to a drug is related to the dosage
x through the quadratic function
S = 1000x x 2
[One can draw the graph, which is an inverted parabola; and the
maximum sensitivity can be obtained as (x, S) = (500, 250, 000).]
(vi) Photosynthesis: Photosynthesis is how plants use light and water to
make sugar. Sugar is created in the green parts of a plant and every
animal on earth depends on it. Without plants we would have no food to
eat or oxygen to breath. Plants absorb a common gas called carbon dioxide,
pull water up through their roots and use light to make sugar. Plants use
the sugar to grow. Plants give off oxygen as a by-product. The green
parts of the plant makes the sugar and oxygen. That is
Carbon dioxide + water + sunlight = sugar + oxygen
The chemical reaction is
6CO2 + 12H2O + Light ⎯→ C6H12O6 + 6O2 + 6H2O
where C6H12O6 represents glucose. Thus photosynthesis changes light
(sun) energy into food (chemical) energy.
The quadratic function can be used to study the phenomenon of
photosynthesis and it is seen that the rate of photosynthesis R of a certain
plant depends upon the intensity of light x according to the equation
R = 270x 90x2
One can find the intensity that gives the maximum rate.
(From the above equation, R′ = 270 180x so that R′ = 0 leads to x =
1.5. Also R″ = 180 which is negative, thus for x = 1.5, the maximum
rate, from above equation, is R = 270x 90x2 = 202.5, for details about
maxima/minima, see Article 3.11.6).
(vii) Carton industry: Polynomial function of degree three can be used
in carton industry which can be seen from the following example.
Example: A square piece of cardboard with a side 18 feet is to be made
into a box without top by cutting a square from each corner and folding
up the flops to form the box. What should be the side of the square to be
cut off so that the volume of the box is maximum possible?
Solution: Let each side of the square to be cut off from each corner be of
length x feet, then length = breadth of the box = 18 2x and thus volume
V is
V = (18 2x) (18 2x) x = 324x 72x 2 + 4x 3
36 Mathematical Methods
⎧1000, if 0≤ x<3
⎪1030, if 3≤ x <6
⎪
f (x) = ⎨1061, if 6≤ x<9
⎪1093, if 9 ≤ x < 12
⎪⎩1126, if 12 = x
It is easy to notice that the graph of this function f (x) represents the
greatest integer function.
(ix) Automatic ventilation system: The most efficient building ventilation
is an issue that investor and developers are increasingly focusing on
today. Companies are now offering an efficient system solution for
decentralized ventilation-automatic ventilation with windows closed.
Such ventilation controls air exchange without opening the windows.
This optimizes energy consumption, the room climate and air quality.
The exponential function can well be used to deal with such problems.
In a building, the automatic ventilation system operates when the
concentration of CO2 reaches a certain level. Suppose that when the
ventilation system operates, the x cubic feet of CO2 in an 8000 cubic feet
room depends upon time t minutes according to the equation
x = 4.8 + 11.2e t/4
Example: (a) Find the initial amount of CO2 in the room and concentration
of CO2 (as %) at this time.
(b) How long does it take to have the concentration of 0.07% CO2?
Solution: (a) Put t = 0 in the above equation, we get x = 16 cubic feet of
16 × 100
CO2 and thus percentage of CO2 = 8000
= 0.2.
(b) 0.07% concentration means 0.0007 (8000) = 5.6 cubic feet CO2 and
the above equation leads to 5.6 = 4.8 + 11.2et/4 so that t = 10.56 minutes.
(x) Marine life: In lakes and sea, plant life can only exist in the top layer
which is roughly 10 meter deep since daylight is gradually absorbed by
water. How does light intensity decreases with increasing thickness of
the layer? The answer is given by Bouguer-Lamberts law [Pierre Bouguer
Functions, Limit and Continuity 37
Depth(m) 0 1 2 3 4 5 6
Intensity of light (%) 100 25 6 1.5 0.4 0.1 0.02
The Bouguer-Lamberts law is applicable to any homogeneous,
transparent substance such as glass, liquids and thin layer viewed under
microscope. In addition to light waves, other electromagnetic waves such
as X-rays, and γ-rays, behave the same way. The Bouguer-Lamberts law
is basic in photometry.
(xi) Pollution in Lakes: Exponential function appears in the study of
such problems and the pollution level in a certain lake is given by the
equation
x = 0.05 + 0.18e 0.38t
where x is the volume of the pollutants (cc km) and t, the time (years).
Example: (a) Find the initial pollution level. (b) How long before x is
30% of the initial level?
Solution: (a) Take t = 0 in the above equation, we get x = 0.23 (cc km).
(b) Now 30% of 0.23 = 0.069 = x. With this value of x, the above equation
becomes 0.069 = 0.05 + 0.18e 0.38t and that t = 5.9 years.
Further applications of exponential function are discussed in
Chapter VI.
(xii) pH value: The pH (Hydrogen potential) value is a scale for measuring
acidic or basic nature of a solution. The concept of pH was first introduced
by Danish chemist Sren Lauritz Srensen at the Carlsberg Laboratory in
1909. pH value of a solution is defined as the negative logarithm of its
hydronium ion concentration [H3O+]. Thus
38 Mathematical Methods
pH ≡ log10 [H3O+]
It is measured in mole/litre. The hydronium ion concentration is an
important factor in living tissues as well as in the soil where the plant
grows. pH measurements are important in medicine, biology, chemistry,
food science, environmental science, oceanography and many other
applications. Since [H3O+] = 1 × 107 mole/litre, the pH for pure water at
25°C (77°F) is close to 7.0. Pure water is said to be neutral, that is,
neither acidic nor basic. Solutions with a pH less than 7 are said to be
acidic and solutions with a pH greater than 7 are said to be basic or
alkaline. The solutions having pH values between 0 and 2 are strongly
acidic, between 2 and 4 are moderately acidic and between 4 and 7 are
weakly acidic; whereas solutions having pH values between 7 and 10 are
weakly basic, between 10 and 12 are moderately basic and more than 12
are strongly basic.
Most of the food we eat are acidic in nature, for example, the pH
value of vinegar and apple juice is 3.0 and 3.5, respectively; the pH
value of oranges, banana and spinach, respectively lies between 3.0-4.0,
4.5 - 4.7 and 5.1-5.7. On the other hand, the pH value of sea water, egg
and blood are 8.15, 7.8 and 7.4, respectively. Moreover, for human brain
it is found that cerebrospinal fluid has hydronium ion concentration as
4.8 × 10 8 mole/litre. Thus, for cerebrospinal fluid, pH = log[H3O+] =
log(4.8 × 10 8) = (log 4.8 + log 10 8) = (0.68 8 log 10) = (0.68
8) = 7.32.
(xiii) Brightness of a star: The experienced brightness of a star is by no
means proprotional to the light energy received by the eye. A linear
relationship between brightness and the logarithm of light intensity is
given by
m = c 2.5 log I
where I is the light intensity, c is a constant determined by the unit in
which I is measured and m is the apparent magnitude of a star.
It may be noted that the stars of magnitude + 6 are visible to the
naked eye. The magnitude of brightness of some of the prominant stars,
such as Sirius, Betelgeuse and Vega are 1.6, 0.9 and 0.1, respectively;
while the Sun has the magnitude of brightness as 26.
(xiv) Noise Pollution: Noise health effects are both health and behavioural
in nature. The unwanted sound is called noise. This unwanted sound can
damage physiological and psychological health. The loudness of sound
(level of sound) is defined as
Functions, Limit and Continuity 39
I I
L = log (in bel) = 10 log (in decibel)
I0 I0
where I0 is the minimum intensity detectable by human ear (the tick of a
clock at a distance of 20 feet under very quiet conditions). At a frequency
of 1000 Hz (Hz = cycles/sec) the threshold of audiobility or lowest intensity
that can be heard is I0 = 1012 watt/m2. Also, for I = I0, L = 0dB. When
one sound is 10 times as intensive as another, its loudness is 1 bel louder.
If one sound is 100 times as intensive as another, then it is louder by 2
bel and so on. This unit of sound is called bel (after Graham Bel-who
invented telephone), but it is too large; so we use a sub unit (1/10)th as
large, called decibel (dB). Subject to 45 dB of noise, the average person
cannot sleep. At 120 dB the ear registers pain, but hearing damage begins
at a much lower level, about 85 dB. Apart from hearing loss, such noise
can cause lack of sleep irritability, heartburn, indigestion, ulcers, high
blood pressure, and possible heart disease. One burst of noise, as from a
passing track, is known to alter endocrine, neurological and
cardiovascular functions in many individuals; prolonged or frequent
exposure to such noise tends to make the physiological disturbances
chronic. In addition, noise-induced stress creates severe tension in daily
living and contributes to mental illness.
Example: Find the loudness, in dB, of conversational speech, having an
intensity I = 106 I0 [using the given value of I in the above formula, we
get L = 60 dB].
(xv) Earthquake: An earthquake (also known as a tremor or temblor) is
the result of a sudden release of energy in the Earths crust that creates
seismic waves. Earthquakes are recorded with a seismometer and the
recorded message is called a seismograph. Minor earthquakes occur nearly
constantly around the world in places like California and Alaska in the
U.S., as well as in Guatemala, Chile, Peru, Indonesia, Iran, Pakistan,
the Azores in Portugal, Turkey, New Zealand, Greece, Italy, and Japan,
but earthquakes can occur almost anywhere, including New York City,
London, and Australia. Most of the worlds earthquakes (90%, and 81%
of the largest) take place in the 40,000-km-long, horseshoe-shaped zone
called the circum-Pacific seismic belt, also known as the Pacific Ring of
Fire, which for the most part bounds the Pacific Plate. Massive
earthquakes tend to occur along other plate boundaries, too, such as along
the Himalayan Mountains.
40 Mathematical Methods
t
⎛ 2⎞
V(t) = C ⎜1 − ⎟
⎝ n⎠
This equation is known as double-declining balance formula.
Definition 2.14 Trigonometric functions. The function that associates
the number sin x to each number x is called the sine function. Here x is
the radian measure of an angle. The value of sin x always lies between 1
and 1. Also, sin(x + 2π) = sin x and sin(x + π) = sin x for all x in ¡.
Similarly, we have other trigonometric functions cos x, tan x, cot x,
sec x and csc x (Fig. 2.17). It may be noted that the domain of each of the
trigonometric function is not the same. For sine and cosine functions,
the domain is the set of real numbers, while for the function tan x, the
π
domain is ¡ ⎧⎨(2n + 1) ⎫⎬, where n is an integer.
⎩ 2⎭
y y
1
1
π/2
x x
–2π –π 0 π 2π 2π
–1 –1 π
y = sin x one period y = cos x
one period
y y
y = tan x y = cot x
y = cos x y = sin x
1
–π π –π 1
– 2π
– 3 π/2 π/2 2π x – 2π π/2 2π x
–π/2 –1 –1
y = sec x y = cosec x
2π 2π
π
π π
π/2
x x x
–1 1 0
– π/2
–π –π
–1 –1 –1
y = sin x y = cos x y = tan x
(or, x = sin y) (or, x = cos y) (or, x = tan y)
y y y
3π/2 2π 2π
π π π
π/2 x x
x 0 0
x –π –π
0
– π/2 –2π – 2π
–
–1 –1 –1
y = cot x y = sec x y = cosec x
(or, x = cot y) (or, x = sec y) (or, x = cosec y)
⎛ f⎞ f ( x)
(e) ⎜ ⎟ ( x) = , g(x) ≠ 0 (quotient of two functions)
⎝ g⎠ g ( x)
We can combine two functions in yet another way known as composition
of functions.
Definition 2.18 Let f and g be two functions such that the range of g is in
the domain of f. The function whose values are given by f (g(x)) is called
the composite of f with g.
Alternatively, if f is a function from a set A to a set B and g is a
function from the set B to the set C, then g composition f is a function
from the set A to the set C, and we write it as (g o f ) (x) = g( f (x)). In
general, (g o f ) (x) ≠ ( f o g) (x). This can easily be verified by considering
f (x) = 2x 3, g(x) = x 2 + 1; f (x) = sin x, g(x) = 2x. It may be noted that
for the functions f (x) = [x], g(x) = x, ( f o g) (x) ≠ (g o f ) (x)
when x = 1.6; while for the same function when x = 1.6, ( f o g) (x) =
(g o f ) (x).
An important instance in which these two composite functions are
equal occurs when f (g(x)) = g( f (x)) = x, we call such functions the
inverse of each other and we have
y
f
y=x
(a, b )
–1
f
(b, a)
x2 + 3 (–2, 3) (2, 3)
f (x ) =
–1
2 3
y=3
4 y=x
2
3 f ( x) = 2 x – 3 x
0, –3 –2 –1 1 2 3
2
(2, 1)
–1
x f (x) = x – 1
2
3 ,0 2 4 6 –2
2
2 (1, 2)
x
–1 1
1
,0
–1 3
If L1 = L2 = L, then lim f ( x) = L.
x →a
⎡ f ( x) ⎤ lim x → a f ( x)
(iv) lim ⎢ ⎥= .
x → a ⎣ g ( x) ⎦ lim x → a g ( x)
(ix) If f (x) ≤ g(x) then lim f ( x ) ≤ lim g ( x). But, if f (x) > g(x) then
x→a x→ a
lim f ( x) will not be less than lim g ( x).
x→ a x→a
Functions, Limit and Continuity 49
(x) Let f (x), g(x) and h(x) be functions defined on the same domain D
and f (x) ≤ g(x) ≤ h(x), for every x ∈ D. If lim f ( x) and lim h( x)
x→ a x→a
exist and are equal, then xlim g ( x) exist and equals to lim f ( x).
→a x→a
This result is known as Sandwich theorem.
Theorem 2.2 If n is an integer or fraction, then
xn − an
lim = na n1 provided that a > 0.
x→a x − a
sin θ
Theorem 2.5 lim = 1, when θ is measured in radians.
θ→ 0 θ
ex − 1
Theorem 2.7 lim = 1.
x→0 x
log (1 + x)
Theorem 2.8 lim = 1.
x→0 x
log x
Theorem 2.9 lim = 1.
x →1 x −1
ax − 1
Theorem 2.10 lim = log a.
x→0 x
Theorem 2.11 lim log x = 1.
x→e
We shall now make use of the above results in finding the limits of
certain functions.
⎡ 1 1 ⎤
Example 2.7 Evaluate lim ( x − 9) ⎢ +
2
.
x→3 ⎣ x + 3 x − 3⎥⎦
50 Mathematical Methods
Solution We have
⎡ 1 1 ⎤ ⎡ ( x − 3) + ( x + 3) ⎤
lim ( x 2 − 9) ⎢ + ⎥ = xlim ( x 2 − 9) ⎢ ⎥
x→3 ⎣ x + 3 x − 3 ⎦ → 3 ⎣ ( x + 3) ( x − 3) ⎦
= lim [ x − 3 + x + 3] = 6
x→3
(1 + x)6 − 1
Example 2.8 Evaluate lim .
x→0 (1 + x) 2 − 1
Solution We have
(1 + x)6 − 1 (1 + 6 x + 15 x 2 + ...) − 1
lim = lim
x→0 (1 + x ) − 1
2
x→0 (1 + 2 x + x 2 ) − 1
6 x + 15 x 2 + ...
= lim
x→0 2 x + x2
6 + 15 x + ...
= lim =3
x→ 0 2+ x
x2 − 4
Example 2.9 Evaluate lim .
x→ 2 3x − 2 − x + 2
Solution We have
x2 − 4 x2 − 4
lim = lim
x→2 3x − 2 − x + 2 x→2 3x − 2 − x + 2
3x − 2 + x+2
×
3x − 2 + x+2
( x + 2) ( 3x − 2 + x + 2)
= lim =8
x→2 2
x →1 x − 1 x → k x2 − k 2
x3 − k 3
x −k 3(k )3−1 3
3 3
lim = lim 2x − k 2 = = k
x→ k x2 − k 2 x→ k x − k 2(k ) 2 −1 2
x−k
Thus
x4 − 1 x3 − k 3 3 8
lim = lim ⇒4= k⇒k =
x →1 x − 1 x → k x2 − k 2 2 3
x n − 2n
Example 2.11 If lim = 80, find the value of n.
x→ 2 x − 2
x n − 2n
lim = n(2)n1 = 80 = 5(2)4 = 5(2)51 ⇒ n = 5
x→2 x − 2
sin x cos x
Example 2.12 Evaluate lim .
x→0 3x
Solution We have
sin x cos x 1 ⎡ sin x ⎤ 1 1
lim = lim ⎢ ⎥ lim cos x = (1) (1) =
x→0 3x 3 x → 0 ⎣ x ⎦ x → 0 3 3
1 − cos6 x
Example 2.13 Evaluate lim .
x→0 x
Solution We have
1 − cos6 x 2sin 2 3x
lim = lim
x→0 x x→0 x
⎛ sin3 x ⎞
= lim ⎜ 6 × × sin3 x ⎟
x → 0⎝ 3x ⎠
⎛ sin3 x ⎞
= 6 lim ⎜ ⎟ lim (sin 3x) = 6 × 1 × 0 = 0
x → 0 ⎝ 3x ⎠ x → 0
tan x − sin x
Example 2.14 Evaluate lim .
x→0 x3
Solution We have
52 Mathematical Methods
sin x(2sin 2 x / 2)
= lim
x→0 x3 cos x
⎡⎛ sin x ⎞ ⎛ sin x /2 ⎞2 ⎛ 1 ⎞⎤
= 2 lim ⎢⎜ ⎟⎜ ⎟ ⎜ ⎟⎥
x → 0 ⎢⎝ x ⎠ ⎝ x /2 ⎠ ⎝ 4cos x ⎠⎥
⎣ ⎦
2
2 ⎛ sin x ⎞ ⎛ sin x /2 ⎞ ⎛ 1 ⎞
= lim ⎜ ⎟ lim ⎜ ⎟ lim ⎜ ⎟
4 x → 0 ⎝ x ⎠ x → 0 ⎝ x / 2 ⎠ x → 0 ⎝ cos x ⎠
1 1
= (1)(1)2 (1) =
2 2
1 + cos2 x
Example 2.15 Evaluate lim .
π x→ 2 (π − 2 x) 2
1 + cos2 x 1 + cos( π − 2t )
limπ = lim
x→ 2 (π − 2 x) 2 t→0 4t 2
1 − cos2t
= lim
t →0 4t 2
2sin 2 t
= lim
t →0 4t 2
2
1 ⎛ sin t ⎞
= lim ⎜ ⎟
2t →0 ⎝ t ⎠
1 1
= ×1 =
2 2
1 − tan x
Example 2.16 Evaluate lim .
π x→4 x − π
4
π
Solution Put x = + t so that when x → π/4, t → 0, and we have
4
Functions, Limit and Continuity 53
⎛π ⎞
1 − tan ⎜ + t ⎟
1 − tan x ⎝4 ⎠
lim = lim
x → π4 x − π /4 t→0 t
1 ⎡ 1 + tan t ⎤
= lim ⎢1 −
t →0t ⎣ 1 − tan t ⎥⎦
−2tan t
= lim
t → 0 t (1 −
tan t )
= lim ⎜
⎛ −2 tan t ⎞
× ⎟
t → 0 ⎝ 1 − tan t t ⎠
2
= − ×1=2
1
ax − 1
Example 2.17 Evaluate lim .
x → 0 bx − 1
Solution We have
ax − 1 ⎡ax − 1 x ⎤
lim x
= lim ⎢ × x ⎥
x→0 b −1 x→0
⎣ x b − 1⎦
ax − 1 bx − 1
= lim ÷ lim
x→0 x x→ 0 x
log a
= = logb a
log b
e x − e− x
Example 2.18 Evaluate lim .
x→0 x
Solution We have
e x − e− x e2 x − 1
lim = lim
x→0 x x→0 xe x
e2 x − 1 2
= lim × x
x → 0 2x e
e2 x − 1 2
= lim × lim x
x→0 2x x→0 e
2
= 1× = 2
1
54 Mathematical Methods
ax + b
lim f ( x) = lim =b (1)
x→0 x→0 x +1
while
ax + b
lim f ( x) = lim =a (2)
x→∞ x→∞x +1
Thus from the given condition, Eqs. (1) and (2) yield a = 1 and b = 2 and
x+2
the given function f (x) takes the form f (x) = which clearly shows
x +1
that f (2) = 0.
Theorem 2.13 For all x
n
⎛ x⎞ x
lim ⎜1 +
n → ∞⎝
⎟ =e
n⎠
so that for x = 1, we have
n
⎛1⎞
lim ⎜1 +
⎟ =e
n → ∞⎝n⎠
which may be treated as the definition of e.
Hence
sin x
lim =0
x→∞ x
x f ( x)
0.1 1
0.01 1
0.001 1
0.0001 1
______ ______
− 0.1 −1
− 0.01 −1
− 0.001 −1
− 0.0001 −1
lim f ( x ) = | x|
lim = 1
x → 0− x → 0− x
Functions, Limit and Continuity 57
and we have
|x| ≠ | x|
lim lim
x → 0+ x x → 0− x
|x|
Therefore lim does not exist. The same has been illustrated in
x→0 x
|x|
Fig. 2.24. The graph of the function has two branches. One branch
x
is in the first quadrant and the other is in the third quadrant and also,
both of these branches are parallel to the x-axis and are at a distance of
one unit from x-axis. From the Fig. 2.24, it may be noted that when x is
approaching towards 0 from the right, then f (x) approaches towards 1
while for x approaching towards 0 from left, f (x) moves towards 1. It
may be noted that the graph of this function has a break at the point
x = 0 and the function has no limiting value at that point. At all the other
remaining points, the graph of the function has no breaks and one can
find the limit of the function at these points.
We shall now give the working rule for finding the right and left
hand limits of a given function as follows:
For obtaining the left hand limit, we substitute x = a h in f (x) and then
take limit of f(a h) as h → 0, i.e.
lim f ( x) = lim f (a − h)
x → a− h→0
while for finding the right hand limit, we put x = a + h in f (x) and then
take limit of f (a + h) as h → 0, i.e.
lim f ( x) = lim f (a + h)
x → a+ h→0
y
x
0
–1
_ x_
Fig. 2.24 Graph of f (x) =
x
58 Mathematical Methods
= lim f (1 − h)
h→0
= lim [1 − h] = lim 0 = 0
h→0 h→0
and
right hand limit = lim f ( x)
x → 1+
= lim f (1 + h)
h→0
= lim [1 + h] = lim 1 = 1
h→0 h→0
Since left hand limit ≠ right hand limit, lim [ x] does not exist.
x →1
Example 2.25 Establish the existence of the limit of the function f (x)
defined as follows:
⎧ 1
⎪ x, if 0 ≤ x <
2
⎪
⎪ 1
f (x) = ⎨0, if x =
⎪ 2
⎪ 1
⎪ x − 1, if < x ≤1
⎩ 2
Solution Here
right hand limit = lim f ( x)
x → 12 +
= lim ( x − 1)
x → 12 +
= lim ⎡⎢ + h − 1⎤⎥
1
h → 0 ⎣2 ⎦
⎡ 1⎤ 1
= lim ⎢h − ⎥ = −
h→0⎣ 2⎦ 2
and
left hand limit = lim f ( x)
x → 12 −
Functions, Limit and Continuity 59
= lim ( x)
x → 12 −
⎡1 ⎤ 1
= lim ⎢ − h⎥ =
h → 0 ⎣2 ⎦ 2
Since left hand limit ≠ right hand limit, lim f ( x ) does not exist.
1 x→ 2
and
left hand limit = lim f ( x) = 1
x → 0−
Since left hand limit = right hand limit, lim f ( x) exists and its value
x→0
is 1.
If any one of the above conditions is not satisfied, then the function is
said to be discontinuous.
Definition 2.23 A function y = f (x) is said to be continuous in an open
interval (a, b) if it is continuous at every point of the interval (a, b).
60 Mathematical Methods
and
left hand limit = lim f ( x) = 1
x → 0−
Since the left hand and right hand limits are not same, this means that
the limit of the given function does not exist at x = 0, and therefore, the
given function is not continuous at x = 0.
Example 2.28 Examine the continuity of the following function at x = 2
⎧2 x − 1, if x < 2
f (x) = ⎨
⎩3 x /2, if x ≥ 2
Solution Here
right hand limit = lim f ( x ) = 3
x → 2+
and
left hand limit = lim f ( x ) = 3
x → 2−
Since the left hand and right hand limits are same, this means that the
limit of the given function exists at x = 2, and equals to 3, moreover
f (2) = 3; thus the value of the function is same as the limit of the function.
Therefore, the given function is continuous at x = 2.
Example 2.29 Test whether the following function is continuous or not
at x = 2
Functions, Limit and Continuity 63
⎧ x 4 − 16
⎪ , if x ≠ 2
f (x) = ⎨ x − 2
⎪16, if x = 2
⎩
Solution Here, f (2) = 16 = value of the function at x = 2 and lim f ( x)
x→2
and
left hand limit = lim f ( x ) = 2
x → 2−
Since the left hand and right hand limits are same, this means that the
limit of the given function exists at x = 2, and equals to 2, moreover
f (2) = 2; thus the value of the function is same as the limit of the function.
Therefore, the given function is continuous at x = 2.
Example 2.31 Show that the function defined as
⎧ x
⎪ , if x ≠ 0
f (x) = ⎨| x |
⎪0, if x = 0
⎩
is not continuous at x = 0.
Solution Here
x x
right hand limit = lim f ( x) = lim = lim = lim 1 = 1
x → 0+ x → 0+ | x | x → 0+ x x → 0 +
and
64 Mathematical Methods
x x
left hand limit = lim f ( x) = lim = lim = lim (−1) = −1
x → 0− x → 0− | x | x → 0− − x x → 0 –
Since the left hand and right hand limits are not same, this means that
the limit of the given function does not exist at x = 0. Therefore, the
given function is not continuous at x = 0.
Example 2.32 Show that the function
⎧ sin x
⎪ , if x < 0
f (x) = ⎨ x
⎪⎩ x + 1, if x ≥ 0
is continuous at x = 0.
Solution Here
right hand limit = lim f ( x) = lim ( x + 1) = 1
x → 0+ x → 0+
and
sin x
left hand limit = lim f ( x ) = lim =1
x → 0− x → 0− x
Since the left hand and right hand limits are same, this means that the
limit of the given function exists at x = 0, and moreover, the value of the
function at x = 0 is 1. Thus the limit of the function and the value of the
function are same at x = 0. Therefore, the given function is continuous at
x = 0.
Example 2.33 Show that the function
⎧ e1/ x − 1
⎪ , if x ≠ 0
f (x) = ⎨ e1/ x + 1
⎪0, if x = 0
⎩
is discontinuous at x = 0.
Solution Here
1
1−
right hand limit = lim f ( x) = lim e1/ x − 1 e1/ x
= lim =1
x → 0+ x → 0+ e1/ x + 1 x → 0+ 1
1 + 1/ x
e
as x → 0+, 1/x → + ∞ which gives e1/x → ∞ and 1/e1/x → 0. Also
e1/ x − 1 0 −1
left hand limit = lim f ( x) = lim = lim = −1
1/ x x → 0− 0 + 1
x → 0− x → 0− e +1
Functions, Limit and Continuity 65
as x → 0, 1/x → ∞ which gives e1/x → e ∞ = 0. Since the left hand and
right hand limits are different, this means that the limit of the given
function does not exist at x = 0, and therefore the given function is
discontinuous at x = 0.
Example 2.34 If
⎧1, if x ≤ 3
⎪
f (x) = ⎨a x + b, if 3 < x < 5
⎪7, if 5 ≤ x
⎩
Find the values of the constants a and b such that f (x) is continuous.
Solution. Here
right hand limit = lim f ( x) = lim (a x + b) = 3a + b
x → 3+ x → 3+
and
left hand limit = lim f ( x) = lim (1) = 1
x → 3− x → 3−
The limit of the function at x = 3 will exist only when the right hand and
left hand limits at x = 3 are equal. Also, f (3) = 1. Thus
1 = 3a + b (3)
(i.e., f (x) is continuous at x = 3 if 3a + b = 1). Further
right hand limit = lim f ( x) = lim (7) = 7
x → 5+ x → 5+
and
left hand limit = lim f ( x) = lim (a x + b) = 5a + b
x → 5− x→5 −
The limit of the function at x = 5 will exist only when the right hand and
left hand limits at x = 5 are equal. Also, f (5) = 7 and thus
7 = 5a + b (4)
(i.e., f (x) is continuous at x = 5 if 5a + b = 7 ).
Solving Eqs. (3) and (4), we get a = 3 and b = 8, and for these
values the given function is continuous.
Example 2.35 Examine the continuity of the function
⎧ x− | x |
⎪ , if x ≠ 0
f (x) = ⎨ x
⎪⎩2, if x = 0
66 Mathematical Methods
Solution. Here
x− | x | x−x
right hand limit = lim f ( x) = lim = lim =0
x → 0+ x → 0+ x x → 0+ x
and
x− | x | x − (− x)
left hand limit = lim f ( x) = lim = lim
x → 0− x → 0− x x → 0− x
2x
= lim =2
x → 0– x
(using the definition of the absolute value function). Since the left hand
and right hand limits are not same, this means that the limit of the given
function does not exist at x = 0. Therefore, the given function is
discontinuous at x = 0.
Example 2.36 Examine the continuity of the function
⎧sin 2 x
⎪ , if x ≠ 0
f (x) = ⎨ x
⎪⎩1, if x = 0
Solution Here
sin 2 x
right hand limit = lim f ( x) = lim
x → 0+ x → 0+ x
Since the left hand and right hand limits are same, this means that the
limit of the given function exists at x = 0, and equals to 2. Also f (0) = 1,
thus the limit and value of the given function, although they exist, are
not same. Therefore, the given function is discontinuous at x = 0.
Functions, Limit and Continuity 67
e1/ h 1
= lim = lim =1
h → 0 1 + e1/ h h →0 e−1/ h + 1
as limh → 0 e1/h = 0. Also
e1/ x e−1/ h
left hand limit = lim f ( x) = lim = lim =0
x → 0− x → 0− 1 + 1/ x
e h → 01 + e −1/ h
68 Mathematical Methods
Since the left hand and right hand limits are different, this means that
the limit of the given function does not exist at x = 0. Therefore, the
given function is discontinuous at x = 0.
EXERCISES
1. If f is the exponential function and g is the logarithmic function,
then find
(a) ( f + g) (1) (b) ( f g) (1)
(c) ( f o g) (1) (d) (2 f ) (1)
[Ans. e, 0,1, 2e]
2. If f (x) = e2x and g(x) = log x , x > 0, then find
(a) ( f g) (x) (b) ( f o g) (x)
x
(a) f (x) = (b) ( x − 2) (4 − x)
x − 3x + 2
2
x2 − 1 x −1
(a) lim (b) lim
x →1 x − 1 x → 1 2 x3 + x−3
x 4 − 3x3 + 2 (2 x − 3)( x − 1)
(c) lim (d) lim
x → 1 x3 + 5 x 2 + 3x + 1 x →1 2x2 + x − 3
x3/5 − a3/5 x5 − 32
(e) lim (f ) lim
x→a x1/3 − a1/3 x→2 x2 − 4
Functions, Limit and Continuity 69
( x + 2)5/3 − (a + 2)5/3
(g) lim
x→a x−a
⎡ x + h − x⎤ ⎡ 1 + x − 1 + x2 ⎤
(h) lim ⎢ ⎥ (i) lim ⎢ ⎥
h→0
⎣ h ⎦
x→0 ⎢ x ⎥⎦
⎣
1
[Ans. 2, 1/7, 5/4, 1/10, (9/5) a4/15, 20, (5/3) (a + 2)2/3, , 1/2]
2 x
f ( x) − f (1) 1
8. If f (x) = − 25 − x 2 , then show that lim = .
x →1 x −1 24
9. Evaluate the following limits
⎛ 3 ⎞ ⎛ sin 5 x − sin 3 x ⎞
(c) lim ⎜ x ⎟ (d) lim ⎜ ⎟
x → 0 ⎜ sin x 2 ⎟ x → 0⎝ sin x ⎠
⎝ ⎠
⎛ sin θ − cos θ ⎞
(i) limπ (sec θ tan θ) ( j) lim ⎜ ⎟⎟
θ→ 4 ⎜ π
⎝ θ− 4
θ→ 2 π
⎠
⎛ 1 − sin 3 x ⎞
(m) limπ ⎜⎜ 2 ⎟⎟
x→ 2
⎝ cos x ⎠
[Ans. 3/5, 1/3, 0, 2, 4, 0, 2, 1/2, 0, 2, 2, 1/3, 3/2]
70 Mathematical Methods
⎛ ax − bx ⎞
11. Show that lim ⎜ ⎟⎟ = log (a/b)
x → 0⎜
⎝ x ⎠
⎡ ⎛ x ⎞⎤
log 1 − ⎟⎥
12. Show that lim ⎢ ⎜⎝ 2 ⎠⎥ = 1/2.
x→0⎢
⎢ x ⎥
⎣ ⎦
⎛ e x + e− x − 2 ⎞
13. Show that lim ⎜ ⎟⎟ = 0.
x → 0⎜ x
⎝ ⎠
⎛ a x − 1⎞
14. If lim ⎜ ⎟⎟ = log a, then prove that
x → 0⎜
⎝ x ⎠
⎛ 2x − 1 ⎞
lim ⎜ ⎟ = 2 log 2
x → 0 ⎜ (1 + x )1/2 − 1 ⎟
⎝ ⎠
15. Evaluate the following limits
⎡ ⎤
(a) lim ⎢ ( x + 1)(2 x + 3) ⎥ ( b) lim ⎡ x − x 2 + x ⎤
x → ∞ ⎣ ( x + 2) (3 x + 4) ⎦ ⎢
x→∞ ⎣ ⎥⎦
⎡ 2 3 2 ⎤
(c) lim ⎢ x + 1 − x − 1 ⎥ [Ans. 2/3, 1/2, 1]
x→∞ ⎢4 4
⎣ x + 1 − x + 1 ⎥⎦
5 4
⎪⎧cx 2 , if x ≤ 2
f (x) = ⎨
⎪⎩3, if x > 2
continuous? [Ans. 3/4]
Functions, Limit and Continuity 71
⎧ 7x + 2 − 6x + 4
⎪ , if x ≥ −2/7 and x ≠ 2
f (x) = ⎨ x−2
⎪c, if x = 2
⎩
continuous? [Ans. 1/8]
19. Examine the continuity of the function
⎧| x − a |
⎪ , if x ≠ a
f (x) = ⎨ x − a
⎪⎩1, if x = a
[Ans. Discontinuous]
20. Examine the continuity of the function
⎧1 + x, if x ≤ 2
f (x) = ⎨
⎩5 − x, if x > 2
[Ans. Continuous at x = 2]
21. Show that the function
⎧sin x
⎪ + cos x, when x ≠ 0
f (x) = ⎨ x
⎪⎩2, when x = 0
is continuous at x = 0.
22. Show that the function
⎧ x2 − x − 6
⎪ 2 , when x ≠ 3
f (x) = ⎨ x − 2 x − 3
⎪5/3 when x = 3
⎩
is discontinuous at x = 3.
23. Prove that the function
⎧ 1
⎪( x − a ) sin , when x ≠ a
f (x) = ⎨ x−a
⎪⎩0, when x = a
is continuous at x = a.
72 Mathematical Methods
CHAPTER 3
Differentiation
3.1 Introduction
Differential calculus deals with the problems which involve rate of change.
Though the subject was developed by Newton, Leibnitz, Pascal, Fermat
and others during 17th century, it were Newton and Leibnitz who not
only introduced the concepts of derivatives and differentials, but also the
symbols which greatly simpified the calculations. They applied differential
calculus in solving a number of problems of geometry and mechanics.
Differential calculus now finds a wide range of applications in basic
sciences, computer sciences, engineering, economics and medicine. It
can be used to find the slopes of curves, velocities and accelerations of
moving bodies, the motion of a projectile which in turn leads to the
firing angle of a cannon, the motion of a planet such as when a planet is
nearest or farthest from the sun, etc. Differential calculus also helps us
to know and predict the behaviour of a machinery, the attitude of a person
towards learning a particular subject, the sensitivity of a particular
medicine to human beings, the nature of demand and supply of a certain
commodity, etc.
This chapter deals with the concept of the derivative of a real function
and the related results along with applications.
1
When x = 1, f (1) = .
3
Thus, from Eq. (5), we have
⎛ h ⎞ ⎛ 1⎞
⎜ 2 ⎟ − ⎜− ⎟
⎝ 2h − 3h ⎠ ⎝ 3 ⎠ = lim 3h + (2h − 3h)
2
f ′ (1) = lim
h→0 h h → 0 3h(2h − 3h)
2
2 2
= lim = = 2/9
h → 0 3(2h− 3) 3(0 − 3)
Q
y
y = f (x )
R
P
ψ
x
M N
dy
or, = tan ψ = slope of the tangent at P(x, y)
dx
Therefore, the derivative at any point P is the tangent of the angle which
the tangent to the curve at P makes with the positive direction of
x-axis.
Remark. If the tangent is parallel to x-axis, then ψ = 0 and dy/dx = tan ψ
= tan 0 = 0, while, if the tangent is perpendicular to x-axis, then ψ = 90°
and cot ψ = 0, and thus dx/dy = 0.
Let a particle P be moving in a straight line and we are measuring
its displacement x from a point O on this line. As the displacement
depends upon time t, we can write t = f (x). Also, let Q be any other point
on this line. Then the displacement OP = x at time t = f (t) and the
displacement PQ at time (t + h) = f (t + h), and therefore, the displacement
at time (t + h) t = h = f (t + h) f (t). Hence
f (t + h) − f (t )
average velocity of the particle in the interval h =
h
Now, when we make h smaller and smaller, we can obtain the average
velocity in smaller and smaller intervals near a. The limit of the average
velocity as h → 0 represents the instantaneous velocity of the particle at
time t. Therefore
dx f (t + h) − f (t )
velocity at time t = v = = lim
dt h → 0 h
Thus, the derivative is related to a function, in the same way as
the velocity is related to the distance travelled by a moving particle
(Fig. 3.2).
O P Q
Solution The function given in this example is the absolute value function
and from the graph of this function (cf., Fig. 2.12), it is clear that this is
a continuous function. The continuity of this function can also be verified
otherwise as follows:
We have
right hand limit = lim f ( x) = lim | x | = lim x = 0
x → 0+ x → 0+ x → 0+
and
left hand limit = lim f ( x) = lim | x | = lim (− x) = 0
x → 0− x → 0− x → 0−
which shows that the left and right hand limits exist and are equal, thus
lim f ( x) = 0. Moreover, f (0) = 0, which is same as the limit of the
x→0
function at x = 0. Therefore, the given function is continuous at x = 0.
We shall now check the differentiability of this function as follows:
We have
f (0 + h) − f (0) |0+h|−|0| h
R f ′(0) = lim = lim = lim = 1
h→0 h h → 0 h h → 0 h
and
f (0 − h) − f (0) |0−h|−|0| h
L f ′ (0) = lim = lim = lim = 1
h→0 −h h→0 −h h → 0 −h
which shows that the right and left hand derivatives are not same.
Therefore, the given function is not differentiable at x = 0.
Example 3.3 Show that the function
⎧⎪ x 2 sin(1/ x), if x ≠ 0
f (x) = ⎨
⎪⎩0, if x = 0
is continuous and differentiable at x = 0.
Solution We have
f (0 + h) − f (0) (0 + h) 2 sin (1/(0 + h)) − 0
R f ′(0) = lim = lim
h→0 h h→0 h
= lim h sin (1/ h) = 0
h→0
and
left hand limit = lim f ( x) = lim f (2 − h) = lim {1 + (2 − h)} = 3
x → 2− h →0 h→0
which shows that the left and right hand limits exist and are equal, thus
lim f ( x) = 3, which is same as the value of the function at x = 2.
x→2
Therefore, the given function is continuous at x = 2.
The differentiability of this function can be checked as follows:
We have
f (2 + h) − f (2) [5 − (2 + h)] − 3 −h
R f ′(2) = lim = lim = lim = −1
h→0 h h→0 h h→0 h
and
f (2 − h) − f (2) [1 + (2 − h)] − 3 −h
L f ′(2) = lim = lim = lim =1
h→0 −h h → 0 −h h → 0 −h
which shows that the right and left hand derivatives are not same.
Therefore, the given function is not differentiable at x = 2.
Example 3.5 Examine the differentiability of the function
⎧⎪1 − x, if x < 1
f (x) = ⎨ 2
⎪⎩ x − 1, if x ≥ 1
at x = 1.
Solution The differentiability of this function can be checked as follows:
We have
f (1 + h) − f (1) [(1 + h) 2 − 1] − 0
R f ′(1) = lim = lim = lim (2 + h) = 2
h→0 h h→0 h h→0
and
f (1 − h) − f (1) [1 − (1 − h)] − 0 h
L f ′(1) = lim = lim = lim = −1
h→0 −h h→0 −h h → 0 −h
78 Mathematical Methods
which shows that the right and left hand derivatives are not same.
Therefore, the given function is not differentiable at x = 1, although it is
continuous at x = 1.
x 2 + 2 x∆x + (∆x) 2 − x 2
= lim = lim (2x + ∆x) = 2x
∆x → 0 ∆x ∆x → 0
a x + a ∆x + b − a x − b a ∆x
= lim = lim =a
∆x → 0 ∆x ∆x → 0 ∆x
dy f ( x + ∆x ) − f ( x )
= lim
dx ∆x → 0 ∆x
sin( x + ∆x) − sin x
= lim
∆x → 0 ∆x
2cos( x +∆2x + x )sin ( x +∆2x − x )
= lim
∆x → 0 ∆x
cos (x + ∆x
2 )sin (∆2x )
= lim ∆x
∆x → 0
2
⎛ ∆x ⎞ sin ( ∆2x )
= lim cos ⎜ x + ⎟ lim = cos x
∆x → 0 ⎝ 2 ⎠ ∆x → 0 ∆2x
(g) Here y = f (x) = e x. Using Eq. (1), we have
dy f ( x + ∆x ) − f ( x )
= lim
dx ∆x → 0 ∆x
e x +∆x − e x
= lim
∆x → 0 ∆x
e x e ∆x − e x
= lim
∆x → 0 ∆x
x e ∆x − 1
= e lim = ex
∆x → 0 ∆x
(h) Here y = f (x) = log x. Using Eq. (1), we have
dy f ( x + ∆x ) − f ( x )
= lim
dx ∆x → 0 ∆x
log( x + ∆x) − log x
= lim
∆x → 0 ∆x
dy log ( x +∆
x )
x
= lim
dx ∆x → 0 ∆x
log (1 + ∆x
x )
= lim
∆x → 0 ∆x
1 log (1 + )
∆x
x
= lim
∆x → 0 x ∆x
x
80 Mathematical Methods
log (1 + A) 1
= lim
A→0 A x
1 log (1 + A) 1
=lim =
x A→0 A x
where A = ∆x/x and as ∆x → 0, A → 0.
In a similar way we can find the derivatives of the well known
functions. These functions and their derivatives are given in Table 3.1.
d df dg dh
(vii) ( f g h) = gh + fh + fg
dx dx dx dx
Table 3.1 Functions and their derivatives
y d y/d x y d y/d x
c, a constant 0 xn nx n 1
(a x + b) n na (a x + b)n 1 ex ex
ax ax log a log x 1/x
sin x cos x cos x sin x
tan x sec2 x cot x csc2 x
sec x sec x tan x csc x cot x csc x
1
tanh1 x 1/(1 x 2) coth1 x
1 − x2
1
sech1 x csch1 x −
−1/ x 1 − x 2 x 1 + x2
We shall now illustrate the use of Theorem 3.2 and Table 3.1 to find
the derivative of a given function with the help of the following examples.
Example 3.7 Find the derivatives of the functions given below:
(i) y = x 2 + 3x + 1 + 3x 1.
(ii) y = x sin x.
(iii) y = x cos x log x.
(iv) y = (1 2 tan x) (5 + 4sin x).
(v) y = (x + sin x)/(x + cos x).
(vi) y = (log x)/x.
(vii) y = e x/x.
Solution Using Theorem 3.2 and Table 3.1, we have
(i) y ′ = 2x + 3 3x 2
(ii) y ′ = 1 ⋅ sin x + x cos x
(iii) y ′ = cos x log x + x ( sin x) log x + x cos x (1/x)
(iv) y ′ = (2sec2 x) (5 + 4sin x) + (1 2tan x) (4cos x)
(v) y ′ = [(1 + cos x) (x + cos x) (x + sin x) (1 sin x)]/(x + cos x)2
(vi) y ′ = [(1/x)x log x]/x 2 = (1 log x)/x 2
(vii) y ′ = (e x x e x)/x 2 = e x (x 1)/x 2
such functions are connected in a chain. Let y = f (u) and u = g(x), i.e. y
is a function of u and u is a function of x, then
dy dy du
= × (7)
dx du dx
Similarly, if y = f (u), u = g(v), v = h(w) and w = i(x), then
dy dy du dv dw
= × × × (8)
dx du dv dw dx
Equations (7) and (8) are often known as derivative of a function by
chain rule.
Example 3.8 Find dy/dx of the following functions:
(i) y = cos x 2 (ii) y = log (log x)
(iii) y = ecos x (iv) y = sin log (1 + x 2)
⎡ b + a cos x ⎤
(v) y = log {x + x 2 + a 2 } (vi) y = cos1 ⎢ ⎥
⎣ a + b cos x ⎦
Solution (i) Put u = x 2 so that y = cos u and d y/du = sin u and d u/dx =
2x. Thus
dy dy du
= = 2x sin x 2
dx du dx
(ii) Put u = log x so that y = log u. Thus
dy dy du 1
= =
dx du dx x log x
(iii) Put u = cos x so that y = e u. Thus
dy dy du
= = e u ( sin x) = sin xecos x
dx du dx
(iv) Put z = log(1 + x 2) and t = 1 + x 2 so that y = sin z and z = log t which
on differentiation leads to dy/dz = cos z, dz/dt = 1/t and dt/dx = 2x. Thus
dy dy dz dt ⎛ 1⎞ 2x
= = (cos z ) ⎜ ⎟ (2 x) = coslog(1 + x 2 )
dx dz dt dx ⎝t ⎠ 1 + x2
(v) Here y = log {x + x 2 + a 2 }. Put z = {x + x 2 + a 2 } and
t= x 2 + a 2 so that y = log z and z = x + t. Thus
Differentiation 83
dy 1 dz dt x x + x2 + a2
= , =1+ =1+ =
dz z dx dx x2 + a2 x2 + a2
Therefore
dy dy dz 1
= =
dx dz dx x2 + a2
⎡ b + a cos x ⎤ b + a cos x
(vi) Here y = cos1 ⎢ ⎥. Put z = a + b cos x so that y = cos1 z
⎣ a + b cos x ⎦
and we have
dy 1 dz ( a + b cos x)( − a sin x) + (b + a cos x) (b sin x)
=− and =
dz 1− z 2 dx ( a + b cos x) 2
Therefore
dy dy dz a 2 − b2
= =
dx dz dx a + b cos x
3tan A − tan 3 A
(viii) tan 3A =
1 − 3tan 2 A
(ix) sin(A ± B) = sin A cos B ± cos A sin B
(x) cos(A ± B) = cos A cos B B sin A sin B
tan A ± tan B
(xi) tan (A ± B) =
1 B tan A tan B
Inverse trigonometric functions
(i) sin 1 (sin x) = sin (sin 1 x) = x
(ii) cos 1 (cos x) = cos (cos 1 x) = x
(iii) tan 1 (tan x) = tan (tan 1 x) = x
⎛x± y⎞
(iv) tan 1 x ± tan 1 y = tan 1 ⎜ ⎟
⎝ 1 B xy ⎠
Hyperbolic functions
e x − e− x e x + e− x
(i) sinh x = , cosh x =
2 2
(ii) cosh 2 x sinh 2 x = 1, sech 2 x = 1 tanh 2 x,
2 sinh x cosh x = sinh 2x, cosh2 x + sinh2 x = cosh 2x.
Inverse hyperbolic functions
e y − e− y
Let y = sinh 1 x so that x = sinh y = which leads to e 2y 2xe y
2
1 = 0. This is quadratic equation in e y and we have
x 2 + 1 ⇒ y = log[ x + x + 1]
2
ey = x ±
It may be noted here that x + x 2 + 1 is positive and x x 2 + 1 is
negative for every real number x, whether positive or negative. Since the
logarithm of a negative number has no meaning in the set of real numbers
and thus x x 2 + 1 need not to be considered. Therefore
(
(ii) y = sin −1 2 x 1 − x 2 )
(iii) y = cos 1 (4x 3 3x)
−1 ⎛ 2 x ⎞
(iv) y = sin ⎜ ⎟
⎝1 + x2 ⎠
⎛ 1 + x2 − 1 ⎞
−1
(v) y = tan ⎜ ⎟
⎜ x ⎟
⎝ ⎠
⎧ 2⎫
−1 ⎪ 1 + x + 1 − x ⎪
2
(vi) y = tan ⎨ ⎬
⎩⎪ 1 + x − 1 − x ⎭⎪
2 2
−1 ⎛ 2tan θ ⎞ 1 1
y = sin ⎜ ⎟ = sin (sin 2θ) = 2θ = 2tan x
⎝ 1 + tan 2 θ ⎠
Therefore
dy 2
=
dx 1 + x 2
(v) Put x = tan θ so that θ = tan 1 x and
⎡ 1 + tan 2 θ − 1⎤
−1
y = tan ⎢ ⎥
⎢⎣ tan θ ⎥⎦
−1 ⎛ sec θ − 1 ⎞
= tan ⎜ ⎟
⎝ tan θ ⎠
⎛ 1 − cos θ ⎞
= tan −1 ⎜ ⎟
⎝ sin θ ⎠
−1 ⎛ 2sin 2 θ /2 ⎞
= tan ⎜⎜ ⎟⎟
⎝ 2sin θ /2 cos θ / 2 ⎠
1
= tan1 (tan θ/2) = θ/2 = tan1 x
2
Therefore
dy 1
=
dx 2(1 + x 2 )
(vi) Put x2 = cos 2θ so that
−1
⎡ 1 + cos2θ + 1 − cos2θ ⎤
y = tan ⎢ ⎥
⎣⎢ 1 + cos2θ − 1 − cos2θ ⎦⎥
⎡ cos θ + sin θ ⎤
= tan −1 ⎢ ⎥
⎣ cos θ − sin θ ⎦
−1 ⎡1 + tan θ ⎤
= tan ⎢ ⎥
⎣1 − tan θ ⎦
−1 ⎡ ⎛π ⎞⎤
= tan ⎢tan ⎜ + θ ⎟⎥
⎣ ⎝ 4 ⎠⎦
π π 1
= + θ = + cos −1 x 2
4 4 2
Differentiation 87
Therefore
dy x
=−
dx 1 − x4
we get
⎛ dy ⎞ dy dy
2ax + 2h ⎜ x + y ⋅ 1⎟ + 2by + 2 g + 2 f =0
⎝ dx ⎠ dx dx
which leads to
dy ax + hy + g
=−
dx hx + by + f
(iii) Differentiating both the sides of the given equation, we have
1/3
2 23 −1 2 23 −1 dy dy ⎛ y⎞
x + y =0 ⇒ = −⎜ ⎟
3 3 dx dx ⎝x⎠
Example 3.11 If y = x+ x+ x + ...∞ , then find the derivative of y
with respect to x.
88 Mathematical Methods
Solution Here
y = x + x + x + ...∞ ⇒ y = x + y ⇒ y2 = x + y
which on differentiation leads to
dy dy dy 1
2y =1+ ⇒ =
dx dx dx 2 y − 1
x4 x + 6
(i) y = (x + 1)2 (x + 2)3 (x + 3)4 (ii) y =
(3x + 5) 2
x
x
(iii) y = x x (iv) y = x
x + e x ... ∞
x+e
(v) y = e (vi) x y = e xy
yx
(vii) y = x
Solution (i) Here y = (x + 1)2 (x + 2)3 (x + 3)4 which on taking the
logarithm of both sides leads to log y = 2 log (x + 1) + 3 log (x + 2) +
4log(x + 3). Differentiation of both sides of this equation now yields
1 dy 2 3 4
= + +
y dx x + 1 x + 2 x + 3
so that
dy ⎡ 2 3 4 ⎤
= (x + 1)2 (x + 2)3 (x + 3)4 ⎢ + + ⎥
dx ⎣ x + 1 x + 2 x + 3⎦
Differentiation 89
Thus
dy y
=
dx 1− y
(vi) Taking the logarithm of both sides of the given function, we get
x
y log x = (x y) log e = x y so that y = which on differentiation
1 + log x
gives
dy log x
=
dx (1 + log x) 2
(vii) Taking the logarithm of both sides of the given function, we get
log y = y x log x which on taking the logarithm again becomes log log y
= x log y + log log x. Now, differentiating both sides of this equation, we
get
1 1 dy 1 dy 1 1
=x + log y (1) +
log y y dx y dx log x x
so that, after simplifying, we get
2x ⎞ ⎛ 2x ⎞
Solution Let y = tan −1 ⎛⎜ and z = sin −1 ⎜ ⎟ , then we have to
2⎟
⎝1 − x ⎠ ⎝1 + x2 ⎠
find dy/dz. Substituting x = tan θ in each of the equation for y and z, we
get
−1 ⎛ 2tan θ ⎞
y = tan ⎜ ⎟ = tan1 (tan 2θ) = 2θ
⎝ 1 − tan 2 θ ⎠
and
−1 ⎛ 2tan θ ⎞ 1
z = sin ⎜ ⎟ = sin (sin 2θ) = 2θ
⎝ 1 + tan 2 θ ⎠
These two equations lead to y = z and thus dy/dz = 1.
dy a
= log x log(a + bx) +
dx a + bx
Differentiating again, we get
d2y a2
=
dx 2 x(a + bx) 2
Example 3.18 If x = a(θ sin θ) and y = a(1 cos θ), then find the
second derivative of y with respect to x at the point θ = π.
Solution: Differentiate x = a(θ sin θ) and y = a(1 cos θ) with respect
to θ, we get
dx dy dy dy dx sin θ
= a(1 cos θ), = a sin θ ⇒ = / =
dθ dθ dx d θ d θ 1 − cos θ
Differentiating again, we get
d2y d ⎛ sin θ ⎞ d θ 1
= ⎜ ⎟ =−
dx 2 d θ ⎝ 1 − cos θ ⎠ dx a(1 − cos θ)2
Therefore at θ = π, d 2y/dx 2 = 1/4a.
Example 3.19 Find the nth derivative of the following functions:
(i) y = (ax + b)n
(ii) y = a0 + a1x + a2 x 2 + ... + an x n
(iii) y = log (a x + b)
(iv) y = e ax
(v) y = sin (a x + b)
Solution (i) Differentiate y = (a x + b) n successively with respect to x, we
get
dy
= na(a x + b)n1
dx
d2y
= n(n 1) a2(ax + b)n 2
dx 2
d3y
= n(n 1) (n 2)a3 (a x + b)n 3
dx3
.......................................................
.......................................................
dny
= n(n 1) (n 2) ... {n (n 1)} a n (ax + b)nn = n! a n
dx n
94 Mathematical Methods
d2y ⎛ π⎞ ⎧⎛ π ⎞ π⎫
= a 2 cos ⎜ ax + b + ⎟ = a 2 sin ⎨⎜ ax + b + ⎟ + ⎬
dx 2 ⎝ 2 ⎠ ⎩⎝ 2 ⎠ 2⎭
⎧ π⎫
= a sin ⎨(ax + b) + 2 ⎬
2
⎩ 2⎭
d3y ⎛ π⎞ ⎧⎛ π ⎞ π⎫
= a cos ⎜ ax + b + 2 ⎟ = a sin ⎨⎜ ax + b + 2 ⎟ + ⎬
3 3
dx 3
⎝ 2⎠ ⎩⎝ 2 ⎠ 2⎭
⎧ π⎫
= a sin ⎨(ax + b) + 3 ⎬
3
⎩ 2⎭
...................................................................................
...................................................................................
dny ⎧ nπ ⎫
= a sin ⎨(ax + b) + ⎬
n
n
dx ⎩ 2⎭
Example 3.22 A stone thrown vertically upwards falls back on the ground
after 8 s. Assuming that the equation of motion is given by s = ut 4.9t 2,
when s is in meters and t is in seconds, find the velocity at t = 0 and
t = 1.
Solution The equation of motion for the first ball is s = 19.6 t 4.9 t 2
which on differentiation leads to ds/dt = v = 19.6 9.8 t. When the
height is maximum, this velocity is zero and this leads to t = 2. Therefore
the first ball reaches the maximum height after 2 seconds.
Now, the equation of motion for the second ball is s = 9.8 t 4.9 t 2
which at t = 2 gives the height attained by the second ball as s = (9.8) (2)
(4.9) (22) = 0. Therefore, the second ball will have fallen back on the
ground when the first ball reaches the maximum height.
3.11.3 Rate of Change of Quantities
From the above discussion, it may be noted that ds/dt represents velocity
which is the rate of change of distance s with respect to time t. In a
similar way, whenever one quantity y varies with another quantity x,
according to the rule y = f (x), then f ′ (x0) represents the rate of change
of y with respect to x at x = x0. In this section, we shall consider some
examples of this nature. Moreover, if both x and y are changing with
time t (i.e., x and y are functions of time t), then
dy dy dx dx
= = f ′( x)
dt dx dt dt
98 Mathematical Methods
Thus, the rate of change of one variable can be calculated if the rate of
change of other variable is known.
Solution Let x be the side of the cube and V the volume of the
cube at time t. Then V = x 3 ⇒ dV/dt = (3x 2) dx/dt. But it is given
that dx/dt = 3 cm/sec. Therefore when x = 10, dV/dt = 3 × (10)2 × 3 = 900
cm3 s1.
y
60 m
Fig. 3.3
Example 3.27 A man is walking at the rate of 8 km per hour towards the
foot of a tower 60 m high. At what rate is he approaching the top when
he is 80 m from the foot of the tower?
Solution At any instant, let x be the distance of the man from the foot
and y be his distance from the top of the tower, then from the Pythagoras
theorem (Fig. 3.3) y 2 = x 2 + (60)2, which on differentiation leads to
dy dx dy x dx
2y = 2x ⇒ = (9)
dt dt dt y dt
Differentiation 99
Solution From the Fig. 3.4, ∆OCD ~ ∆OAB. Therefore, r/5 = h/10, which
gives r = h/2. Let V be the volume of the liquid. Then
1 2 π h2 π 3
V= πr h = h= h
3 3 4 12
so that
dV π 2 dh
= 3h
dt 12 dt
A
B
D
C
Fig. 3.4
But it is given that dV/dt = 3/2 when h = 4. Thus from the above equation,
we have dh/dt = (3/8 π) m/min.
Example 3.29 Liquid is running out of a conical funnel at the rate of
5 cm3 s 1. If the radius of the base of the funnel is 10 cm and the altitude
is 20 cm, find the rate at which the level of the liquid is decreasing when
it is 5 cm from the top.
Solution Let r be the radius and h the height of the surface of the liquid
at time t, and V, the volume of the liquid in the conical funnel. From the
similar triangles (Fig. 3.5), we have
100 Mathematical Methods
r h 1
= ⇒ r= h
10 20 2
Moreover,
1 2 1 dV 1 2 dh
V= π r h = π h3 and = πh
3 12 dt 4 dt
dV
so that when = 5 and h = 20 5 = 15
dt
dh 4
= cm3 s1
dt 45π
Fig. 3.5
P(x1, y1)
ψ
x
O
dy b2 x
Solution Differentiate the given equation of the ellipse to get =− 2 .
dx a y
Thus
⎡ dy ⎤ b 2 x1
slope of the tangent at (x1, y1) = ⎢ ⎥ = −
⎣ dx ⎦ ( x1 , y1 ) a 2 y1
102 Mathematical Methods
x12 y12
+ =1
a2 b2
Hence, the equation of the tangent at (x1, y1) is
xx1 yy1
2
+ =1
a b2
Example 3.31 Find the equation of the normal at the point (am 2, am3)
for the curve ay 2 = x 3.
Solution Differentiate the equation of the curve ay 2 = x 3 with respect to
x, we get
dy dy 3 x 2
2ay = 3x 2 ⇒ =
dx dx 2 ay
⎛ dy ⎞
Therefore, the slope of the tangent at (am2, am3) is ⎜ ⎟ =
⎝ dx ⎠( am2 , am3 )
3 a 2 m 4 3m
= ; and the slope of the normal at (am2, am3) is given
2 a 2 m3 2
2
by . Therefore, the equation of the normal at (am2, am3) is
3m
2
y am3 = − (x am 2) ⇒ 2x + 3my am 2 (2 + 3m 2) = 0
3m
y = f (x)
f ( x2) f (x1)
f (x2)
x x
0 x1 x2 0 x1 x2
y = f ( x)
a b
x
Solution Let y = log x. Then dy/dx = 1/x. Since log x is defined only for
positive values of x, therefore, 1/x > 0, which means that dy/dx > 0 and
hence the function y = log x is increasing wherever it is defined.
x 2 x3 x 4
ex = 1 + x + + + + ... ≥ 1
2! 3! 4!
Definition 3.6 Let f (x) be a real function and let x0 be an interior point
in the domain of f (x). We say that x0 is a local maximum of f (x) (or a
point of local maximum of f (x), or a maximum of f (x)), if there is
an open interval containing x0 such that f (x0) > f (x) for every x in
that interval.
Definition 3.7 Let f (x) be a real function and let x0 be an interior point
in the domain of f (x). We say that x0 is a local minimum of f (x) (or a
point of local minimum of f (x), or a minimum of f (x)), if there is an
open interval containing x 0 such that f (x 0) < f (x) for every x in
that interval.
Example 3.36 Find the local maximum/local minimum, if any, for the
following functions using the first derivative test
(i) f (x) = x 3 3x (ii) f (x) = sin x + cos x, 0 < x < π/2
(iii) f (x) = x 2 4, x > 0
3
y
A Q
P
B
x
0 a x1 x2 b
Fig. 3.9
The following theorems are helpful in finding the absolute maximum
and absolute minimum values of a function on an interval I.
These theorems allow us to frame the following rule for finding the
maximum or minimum values of a function in a given interval.
Step 1. Find all the points where f ′(x) takes the value zero.
Step 2. Consider the end points of the interval.
Differentiation 109
Step 3. Find the values of the function at the end points of the interval
and at the points obtained in step 1.
Step 4. Take the maximum and minimum values out of the values
calculated in step 3. These are the absolute maximum and absolute
minimum values of the function in a given interval.
We shall now workout few examples to illustrate the use of this rule
for finding the absolute maximum/minimum of a function.
Remarks
(i) The second derivative test fails if f ″(x0) = 0. In that case, either we
have to go back to the first derivative test to find the local maxima/
minima, or have to calculate the third derivative of f (x) and then look
for the sign of this third derivative at the point x0.
(ii) If f ″(x0) = 0 and x0 is not a point of local maxima/minima, then x0 is
a point of inflexion. We have the following working rule for finding the
maxima/minima of a given function.
Step 1. Find f ′(x) and equate it to zero. Solve this equation for real
values of x. Let these values be a, b, c, ...
Step 2. Find f ″(x) and put x = a, b, c one by one. If f ″(x) is negative for
x = a, then f (x) has a maxima at x = a and the corresponding maximum
value of f (x) is f (a). If f ″(x) is positive for x = a, then f (x) has a minima
at x = a. Similarly, one can verify for the points x = b, c, ...
Step 3. Find f ″(x) = 0 at x = a but f ″′(x) ≠ 0 at x = a, then x = a is a point
of inflexion (i.e., neither a maxima nor a minima). But if f ″′(x) = 0, then
find f iv(x) and see whether for x = a, f iv(x) is positive or negative. If
f iv(x) is negative for x = a, then we have a point of maxima at x = a; on
the other hand if f iv(x) is positive for x = a, then f (x) has a minima at
Differentiation 111
Example 3.40 Find the maxima and minima, if any, for the following
functions
(i) f (x) = 2x 3 21x 2 + 36x 20 (ii) f (x) = x 5 5x 4 + 5x 3 1
Example 3.41 Find two positive numbers whose sum is 16 and the sum
of whose cubes is minimum.
Solution Let the two positive numbers be x and y. Then x + y = 16. Also,
let S denote the sum of the cubes of these two numbers, then S = x 3 + y 3
= x 3 + (16 x)3 which on differentiation leads to S ′ = 3x 2 3(16 x)2.
Put S ′ = 0 so that x = 8. For x = 8, S″ = 6x + 6(16 x) = 96 which
is a positive quantity, and thus for x = 8, S is minimum. Therefore,
y = 16 8 = 8. Hence, the required numbers are 8 and 8.
Example 3.42 Show that among all rectangles of given area the square
has the least perimeter.
Solution Let x and y be the length and breadth of the rectangle. Then,
⎛ c⎞
the given area is xy = c and the perimeter P = 2(x + y) = 2⎜ x + ⎟ which
⎝ x⎠
112 Mathematical Methods
⎛ c⎞
on differentiation gives P′ = 2⎜1 − 2 ⎟ . For maxima or minima, take
⎝ x ⎠
P′ = 0 which gives x = c and y = c/x = c . Now for x = c , P″ =
4c/x 3 = 4c/ ( c )3 which is a positive quantity. Therefore, P is minimum
when x = c , y = c , i.e. the perimeter is minimum when rectangle is
a square.
Example 3.43 Show that among all the rectangles of given perimeter,
the square has the greatest area.
Solution Let x and y be the length and breadth of the rectangle. The
perimeter P is given and P = 2x + 2y = 2c (say). Also, the area A = xy =
x(c x) = cx x2 which on differentiation gives A′ = c 2x. For maxima
or minima, put A′ = 0 so that x = c/2, y = c/2. Also, A″ = 2 which is a
negative quantity and therefore A is maximum when x = y = c/2. Thus
x = y and hence rectangle must be a square.
Solution Let each side of the square to be cut off from each corner be
x cm, then the length of the box is 18 2x and the breadth of the box is
18 2x. The height of the box being x, thus the volume V of the box to be
formed by folding the flops is V = (18 2x) (18 2x)x = 324x 72x 2 +
4x3. Differentiate V so that V ′ = 12(27 12x + x2) which, for maxima or
minima, is equated to zero so that x = 3, 9. Now, V″ = 144 + 24x which
is a negative quantity for x = 3. Hence, the side of the square to be cut is
3 cm to get the maximum possible volume of the box.
Example 3.45 Of all the closed cylindrical cans (right circular) that
enclose a given volume of 100 cc, find the one which has the minimum
surface area.
known as marginal revenue. If P(x) = R(x) C(x) denotes the total profit,
then P′(x) = R′(x) C′(x) is the change in profit per unit change in
production at the given output level. This P′(x) is called the marginal
profit. Hence, the marginal cost, revenue and profit represent the changes
in cost, revenue and profit, respectively, that are obtained from a unit
increase in production (for a detailed account of marginal analysis and
its applications, see [4]). The relationships between these concepts have
been illustrated through the following examples.
Also, R′(4500) = 100; the revenue is decreasing ` 100 per unit increase
in production at the 4500 output level.
(v) The profit equation in terms of x and p, from Eqs. (11) and (12), is
x2
P(x) = R(x) C(x) = + 140x 72000 (13)
30
(vi) From Eq. (13), the marginal profit is
x
P′(x) = + 140 (14)
15
(vii) From Eq. (14), we have P′ (1500) = 40; the profit is increasing at
` 40 per unit increase in production at the 1500 output level.
Further, P ′(3000) = 60; the profit is decreasing at ` 60 per unit
increase in production at 3000 output level.
Solution (i) From Eq. (15), the revenue received for selling x tooth brushes
at ` p per tooth brush is
x2
R(x) = xp = 10x (16)
1000
Differentiate this equation to get R′(x) = 10 (x/500) which when equated
to zero leads to x = 5000. Also, R″(x) = 1/500 which is negative for all
x. Thus for x = 5000, the revenue is maximum and from Eq. (16) it is
` 25000.
(ii) We know that the profit is the difference of the revenue and the cost.
Thus, from Eqs. (15) and (16), we have
x2
P(x) = R(x) C(x) = + 8x 5000 (17)
1000
Differentiate Eq. (17) so that P′(x) = 8 (x/500). Now, put P′(x) = 0 to
get x = 4000. Moreover, P″(x) = 1/500 which is negative for all x. Thus
116 Mathematical Methods
for x = 4000, the profit is maximum and from Eq. (17), this maximum
profit is ` 11000. Using x = 4000 in Eq. (15), we get p = ` 6.
Therefore, the company has a maximum profit of ` 11000 per week
if 4000 tooth brushes are produced weekly and sold for ` 6 each.
3.11.8 Mean Value Theorems
Consider the function f (x) = sin x. This function takes values zero at the
points 0, ± π, ± 2π, .... The derivative of sin x is cos x and it vanishes at
π 3π
the points ± , ± , .... It may be noted that between any two points
2 2
where sin x vanishes, there is a point where its derivative cos x vanishes.
π
For example, between 0 and π, there is ; between π and 2π, there is
2
3π
; and so on. Consider another function f (x) = x2 4x + 3. This
2
function vanishes at x = 1 and x = 3. Now, f ′(x) = 2x 4 which vanishes
at x = 2. Here again 2 is in between 1 and 3.
In these two examples, we have observed that between the two points
where the function vanishes, there is a point where its derivative also
vanishes. From these observations it may be noted that either the observed
result is accidental in the above examples or it is true, in general, that
between any two points where f (x) vanishes, there is atleast one point
where f ′(x) vanishes? The following theorem, known as Rolles theorem,
tells us that the above observed result is true, in general.
Remark
1. It may be noted that in some of the existing literature, the above theorem
is also stated by relaxing condition (i) as f (a) = f (b), without requiring
them to be necessarily zero. This statement is also correct and, in fact,
these two statements are equivalent. Therefore, for verifying Rolles
theorem in specific problems, it is enough to ensure f (a) = f (b), instead
of requiring f (a) = f (b) = 0.
Differentiation 117
a b
x x
O a b O a b
[0, π], and f ′(x) = cos x 2 cos 2x which shows that f ′(x) exists in (0, π).
Moreover, f (0) = f (π) = 0. Thus there is atleast one value of x, say c, in
(0, π) such that f ′(c) = 0. Now, f ′(c) = cos c 2 cos 2c = 0 ⇒
4 cos2 c cos c 2 = 0 ⇒ cos c = 0.8431, 0.5931. Therefore,
c = cos1 (0.8431) which belongs to (0, π). Hence Rolles theorem is
verified.
(iii) The function f (x) = log(x2 + 2) log 3, being the difference of
logarithmic function and constant function, is continuous on [1, 1].
2x
Also, f ′(x) = 2 is defined for all x. Therefore, f (x) is differentiable
x +2
in (1, 1). Moreover, f (1) = log(1 + 2) log 3 = 0, f (1) = log(1 + 2)
log 3 = 0 which means that f (1) = f (1). Thus all the three conditions of
Rolles theorem are satisfied. Therefore, equating f ′(c) to zero leads to
c = 0 which belongs to (1, 1). Hence, Rolles theorem is valid for the
given function.
Example 3.50 Find the point on the curve y = sin 2x defined on [0, π]
where the tangent is parallel to x-axis.
graph are on a line, then there is a point on the graph where the tangent
is parallel to that line. In other words, there is always a point on the
graph, where the tangent is parallel to the line joining the end points of
the graph. The line joining any two points of the curve is known to be
the chord of the curve. Then, our improved theorem must read as: Given
any chord of the graph of a function f (x), there is a point on the graph
where the tangent is parallel to this chord (Fig. 3.11).
y y
x x
a c b O a b
O
Example 3.51 Find c in Lagranges mean value theorem for the function
f (x) = (x 1) (x 2) (x 3) defined on [0, 4].
Example 3.52 Find the point on the parabola y = (x 3)2 where the
tangent is parallel to the chord joining the points (3, 0) and (4, 1).
Theorem 3.12 Cauchys Mean Value Theorem. Let f (x) and g(x) be two
real functions defined in the closed interval [a, b] such that both are
(i) continuous in the closed interval [a, b]
Differentiation 121
Example 3.53 For the functions f (x) = x 2 and g(x) = x 3 defined on the
interval [1, 2] verify Cauchys mean value theorem.
Solution Both the given functions f (x) = x 2 and g(x) = x 3 are continuous
in [1, 2] and differentiable in (1, 2) and g ′(x) ≠ 0 for any x ∈ (1, 2). Thus
all the three conditions of Cauchys mean value theorem are satisfied
and consequently there exists a point c ∈ (1, 2) such that
f ′(c ) f (2) − f (1)
=
g ′(c) g (2) − g (1)
2c 4 −1 3 14
⇒ = = ⇒ c = 0 or c =
3c 2
8 −1 7 9
14
Now, c = 0 does not belong to (1, 2) but c = ∈ (1, 2) and hence
9
Cauchy theorem is verified.
EXERCISES
3+ x
1. If y = and x ≠ 0, then from the definition find y′(2). [Ans. 6]
3− x
2. If g(x) = 2 x − 1, then find g′(5) from the definition. [Ans. 1/3]
3. Show that the function defined by
⎧x sin (1/ x), if x ≠ 0
f (x) = ⎨
⎩0, if x = 0
is not differentiable at x = 0.
x
4. Show that f (x) = is continuous but not differentiable
1 + e1/ x
at x = 0.
5. Show that the greatest integer function is neither continuous nor
differentiable at x = 2.
122 Mathematical Methods
(i) y = ax + b [ Ans. a /2 ax + b ]
(ii) y = (ax + b)/(cx + d) [Ans. (ad bc)/(cx + d )2]
(iii) y = x n [Ans. nx n 1]
(iv) y = (ax + b) n [Ans. n(ax + b)n1 a]
(v) y = cos x [Ans. sin x]
(vi) y = tan x [Ans. sec2 x]
7. Find dy/dx for the following functions:
(i) y = x 2 3x + 2 [Ans. 2x 3]
1
2 −3
(ii) y = x 2/3 + 2x 2 [Ans. x + 4x ]
3
2
⎛ 1⎞
(iii) y = ⎜ x + ⎟ [Ans. 2x 2x3]
⎝ x⎠
x ⎡ a2 − x2 ⎤
(v) y = ⎢Ans. 2 ⎥
a +x
2 2
⎣ (a + x 2 )2 ⎦
1+ x
(vi) y = [Ans. (1 + x)1/2 (1 x)3/2]
1− x
1
(vii) y = [Ans. (2ax + b) (ax2 + bx + c)2]
ax + bx + c
2
x +1 + x −1
(viii) y = [Ans. 1 + x(x 2 1)1/2]
x +1 − x −1
8. Differentiate the following functions with respect to x using chain
rule:
⎡ 1 ⎤
(i) 1 + x2 ⎢Ans. ⎥
⎣⎢ 2 1 + x 2 ⎦⎥
Differentiation 123
⎡
( ) ⎥⎥
n⎤
⎢ n x + x2 − 1
(x + )
n
⎢Ans.
(ii) x −1
2
⎢ x2 − 1 ⎥
⎣⎢ ⎦⎥
a2 − x2
(iii) [Ans. 2a2x (a2 + x2)1 a4 − x4 ]
a +x
2 2
1 + cos x
(i) y = cos1 [Ans. 1/2]
2
1 − cos x
(ii) y = tan1 [Ans. 1/2]
1 + cos x
1 + sin x
(iii) y = tan 1 [Ans. 1/2]
1 − sin x
⎛1 − x ⎞
(ii) sin1 ⎜ ⎟ with respect to x [Ans. 2/(1 + x)]
⎝1 + x ⎠
⎛ 1 + x2 − 1⎞
⎜ ⎟
(iii) tan1 ⎜ x
1
⎟ with respect to tan x [Ans. 1/2]
⎝ ⎠
11. Find d y/dx if
(i) 4x 2 + 9y 2 = 36 [Ans. 4x/9y]
(ii) x3
+ 8x y + = 64 [Ans. y3 (3x 2
+ 8y)/(8x + 3y 2)]
12. Differentiate the following functions with respect to x
sin x
(i) (sin x)log x [Ans. (sin x)log x (cos x log x + )]
x
⎡ −1 ⎛ sin
−1
x log x ⎞⎤
⎢Ans. xsin x ⎜
−1
(ii) xsin x + ⎟⎥
⎜ ⎟
⎢⎣ ⎝ x 1 − x2 ⎠⎥⎦
(iii) (x log x)log log x
⎡ e sin x cos x ⎤
(iv) e sin x ⎢Ans. ⎥
⎢⎣ 2 sin x ⎥⎦
x x
(v) ee [ Ans. e x ee ]
13. Find dy/dx when
a x ...∞
x ax ⎡ y 2 log a ⎤
(i) y = a ⎢Ans. ⎥
⎣ 1 − xy log a ⎦
(ii) x m y n = (x + y)m+n [Ans. y/x]
⎡ cos x ⎤
(iii) y = sin x + sin x + sin x + ...∞ ⎢Ans. ⎥
⎣ 2 y − 1⎦
14. Find dy/dx if x = at 2 and y = 2at [Ans. 1/t]
15. Find dy/dx if x = a (cos t + t sin t) and y = a (sin t t cos t)
[Ans. tan t]
Differentiation 125
[Ans. 1/4a]
18. Find the nth derivative of the following functions:
(i) x n+ 1 [Ans. (n + 1)! x]
(ii) a mx [Ans. m n a mx (log a)n]
19. In biophysics, the equation (L + m) (V + n) = k is called the
fundamental equation of muscle contraction, where m, n, k are
constants and V the velocity of the shortening of muscle fibre for a
muscle subject to a load L. Find dL/dV. [Ans. (L + m)/(V + n)]
20. A particle moving according to the law s = 10 + 20t t 2, starts
from a distance of 10 meters from a mark and moves in a line
farther and farther from the mark. How far from the mark does it
go, before it starts moving in the opposite direction?
[Ans. 110 meters]
21. A particle moves according to the law s = (at + bt + c)1/2, prove
2
x +1
(ii) f (x) = , [0, 2].
x2 + 1
[Ans. minimum value is 3(4) 4/3, maximum value is 14]
(ii) f (x) = 2 cos 2x cos 4x, [0, π].
[Ans. minimum value is 3, maximum value is 3/2]
34. Find two positive numbers x and y such that x + y = 60 and xy 3 is
maximum. [Ans. 15, 45]
35. Prove that the perimeter of a right angled triangle of given
hypotenuse is maximum when the triangle is isosceles.
36. If the sum of the perimeters of a square and a circle are given,
show that the sum of their areas is least when the side of the square
is equal to the diameter of the circle.
37. Prove that the rectangle having maximum area that can be inscribed
in a circle is a square.
38. A wire of length 28 m is cut into two pieces. One of the piece is to
be made into a square and the other into a circle. What should be
the length of the two pieces so that the combined area of the square
and the circle is minimum.
[Ans. The wire is to be cut at a distance of 28π/(π + 4) m
from one end]
39. Prove that a closed right circular cylinder of given surface and
maximum volume is such that its height is equal to the diameter
of its base.
40. Show that a cylindrical vessel of given volume requires the least
surface area when its height is twice its radius.
41. Verify Rolles theorem for the following functions:
(i) f (x) = x 2 1 defined on [1, 1]. [Ans. c = 0, applicable]
⎛ 1 ⎞ ⎛ π⎞ .
(iii) f (x) = cos2⎜ x − π ⎟ defined on ⎜ 0, ⎟
⎝ 4 ⎠ ⎝ 2⎠
[Ans. c = π/4, applicable]
128 Mathematical Methods
Integration
4.1 Introduction
In Chapter 3, we studied the differentiation and some of its applications.
In this chapter we shall study another important concept known as
integration. This has number of applications in science and technology
as well as in social sciences. It can be used to determine the future position
of a body from its present position and also determines the nature of
forces acting on it. The areas of irregular regions, the length of the curves,
volumes and masses of irregular bodies can also be obtained from a
knowledge of integration.
Integration is of two types, viz., (i) indefinite and (ii) definite.
d
[ f (x)] = F (x)
dx
then f (x) is called the integral of F (x), and we write
∫ F ( x) dx = f (x) (1)
where dx indicates that the integration is performed with respect to the
variable x. Since
d d d
[ f ( x) + c] = [ f ( x)] + (c ) = F ( x ) + 0 = F ( x )
dx dx dx
Therefore
∫ F ( x) dx = f (x) + c (2)
The arbitrary constant c is called the constant of integration and
f (x) + c is called the indefinite integral.
It may be noted that the two integrals of the same function differ
only by a constant, for example
d 4
(x + 6) = 4 x 3 ⇒ ∫ 4 x dx = x4 + 6
3
dx
d
∫ 4 x dx = x 4 + 12
3
and (x 4 + 12) = 4 x 3 ⇒
dx
In Chapter 3, we have calculated the derivatives of a number of functions
(cf., Table 3.1). From these formulas, we can write down the
corresponding formulas for integration which are listed in Table 4.1.
Moreover, we have seen in Chapter 3 that there are certain rules for
finding the derivative of a given function. In case of integration, we do
have rules for the integration of a given function. Some of these rules are
given in the following theorem.
Theorem 4.1 Let f (x), g (x) and h(x) be well defined functions and c is a
constant. Then
d
dx ∫
(i) [ f ( x) dx] = f (x) (i.e., integration and differentiation are
inverse process)
(ii) ∫ cf ( x) dx = c ⋅ ∫ f ( x) dx
(iii) ∫ f ( x) dx ± ∫ g ( x) dx ± ∫ h( x) dx = ∫[ f ( x) ± g ( x) ± h( x)] dx
(iv) ∫ f ′( g ( x)) g ′( x) dx = f ( g ( x))
(v) ∫[ f ( x) g ′( x) + g ( x) f ′( x)] dx = f (x) g (x)
Integration 131
d x ax
dx
(a x) = a x loge a ∫a dx =
log e a
+c
d
dx
(sin x) = cos x ∫ cos x dx = sin x + c
d
dx
(cos x) = − sin x ∫sin x dx = cos x + c
d
dx
(log | cos x |) = tan x ∫ tan x dx = log | cos x | + c
d
dx
(log | sin x |) = cot x ∫cot x dx = log | sin x | + c
d
dx
(log | sec x + tan x |) = sec x ∫sec x dx = log | sec x + tan x | + c
d
(log | csc x + cot x |) = csc x
dx ∫ cscx dx = log | csc x + cot x | + c
d
(tan x) = sec2 x ∫ sec
2
x dx = tan x + c
dx
d
(cot x) = csc2 x ∫ csc
2
x dx = cot x + c
dx
d
dx
(sec x) = sec x tan x ∫sec x tan x dx = sec x + c
d
dx
(csc x) = csc x cot x ∫ cscx cot x dx = csc x + c
d 1 1
dx
(sin −1 x) = ∫ 1 − x2
dx = sin1 x + c
1 − x2
d 1 1
dx
(cos−1 x) = − ∫ 1 − x2
dx = cos1 x + c
1 − x2
d −1 1 1
dx
(tan x) =
1 + x2
∫1 + x 2 dx = tan1 x + c
d 1 1
(cot −1 x) = − ∫1 + x 2 dx = cot 1 x + c
dx 1 + x2
d 1
(sec−1 x ) = 1
dx x x2 − 1 ∫ x x 2 − 1 dx = sec1 x + c
d 1 1
(csc−1 x ) = − ∫ x x 2 − 1 dx = csc1 x + c
dx x x2 − 1
132 Mathematical Methods
⎛ x 5 2 ⎞ ax 4 + bx 2 + c
(i) ∫ ⎜⎝ 2e − x + 3sec x⎟⎠ dx (ii) ∫ x4
dx
x4 + 1 (1 − 2 x 2 ) 2
(iii) ∫ x 2 + 1 dx (iv) ∫ x3 x
dx
dx
(v) ∫ 1 + sin 2x dx (vi) ∫ sin 2 x cos 2 x
(vii) ∫ tan
2
x dx
ax 4 + bx 2 + c −2
∫ dx = ∫ (a + bx + cx − 4 ) dx
x4
cx −3
= ∫ adx + ∫ bx − 2 dx + ∫ cx − 4 dx = ax − bx −1 − +d
3
(iii) Here
⎡ x 4 + 1⎤ ⎡ 2 2 ⎤ ⎡ 2 ⎤
∫ ⎢ x 2 + 1⎥ dx = ∫ ⎢x − 1 + 2 ⎥ dx = ∫ ( x − 1) dx + ∫ ⎢ 2
2
⎥ dx
⎣ ⎦ ⎣ x + 1⎦ ⎣ x + 1⎦
1 x3
∫x dx − ∫ dx + 2∫ dx = x + 2tan1 x + c
2
=
x2 + 1 3
(iv) Here
(1 − 2 x 2 ) 2
dx = 1 + 4 x − 4 x dx
4 2
∫ 3
x x ∫ x 4/3
12 11/3 12 5/3
= ∫ ( x − 4/3 + 4 x8/3 − 4 x 2/3 ) dx = −3 x −1/3 + x − x +c
11 5
Integration 133
∫ 1 + sin2 x dx =
∫ sin 2 x + cos 2 x + 2sin x cos x dx
sin 2 x cos 2 x
= ∫ sin 2 x cos2 x dx + ∫ sin 2 x cos2 x dx
∫ sec x dx + ∫ csc 2 x dx = tan x cot x + c
2
=
(vii) We have
∫ tan ∫ (sec x − 1) dx
2
2
x dx =
∫ sec x dx − ∫ dx
2
= = tan x x + c
∫ sin
4
(i) xdx
cos 2 x + 2sin 2 x
(ii) ∫ cos 2 x
dx
dx
(iii) ∫ 1 + sin x
Solution (i) Here
∫ sin ∫ (sin
4
xdx = 2
x ) 2 dx
1
4∫
= (1 − cos2 x)2 dx
1 1 1
4∫
= dx − ∫ cos 2 x dx + ∫ cos 2 2 x dx
2 4
1 1 1
=
4 ∫ dx − ∫ cos 2 x dx + ∫ (1 + cos 4 x) dx
2 8
1 1 1 1
= x − sin2 x + x + sin 4 x + c
4 4 8 32
134 Mathematical Methods
(ii) We have
⎡ 1 sin x ⎤
= ∫ ⎢⎣ cos 2 x − cos x cos x ⎥⎦ dx
∫ (sec x − sec x tan x ) dx = tan x sec x + c
2
=
Before proceeding further on integration, we shall now make a
comparison between differentiation and integration. Both of them are
operations on function and the result of their outcome is also a function.
The comparison between these two operations is described as follows:
∫[ f ( x) ± g ( x)] dx = ∫ f ( x) dx ± ∫ g ( x) dx
i.e., in order to integrate the sum/difference of two functions, it is enough
to integrate them separately and then add/subtract the two integrals
obtained.
2. For differentiation, we have
d d
[cf ( x)] = c f ( x)
dx dx
Integration 135
i.e., the constant can be taken outside the differentiation sign. Also
∫ cf ( x) dx = c ∫ f ( x) dx
i.e., the constant can be taken outside the integration sign.
3. Every function can not be differentiated the same is true for integration.
4. If the derivative of a function exists, then it is unique, while the integral
of a function is not unique. It varies upto a constant.
5. When a polynomial function p (x) is differentiated, then the result is a
polynomial function of degree one less than p (x). While, if a polynomial
function is integrated, then the result is a polynomial function whose
degree is one more than the given polynomial function.
6. If a function is obtained by a finite number of steps by taking sum,
product, quotient, from polynomials, logarithm, exponential and
trigonometric functions, etc., then it is possible to find the derivative of
the given function; while for such function one cannot find the integral.
For example, if
f (x) = cos(log sin x) + 16 log tan x2
then we have methods for finding the derivative (cf., Chapter 3). On the
other hand, if
f (x) = cos (log sin x) + 16 log tan x 2
then we do not have methods to integrate such functions.
7. The derivative of a function can be defined at a point, while the integral
of a function can not be defined at a point.
8. The geometric meaning of the derivative of a function is the slopes of
the tangents to a curve. On the other hand, the geometric meaning of the
integral of a function is the area bounded by some regions.
9. The derivative is used to finding the physical quantities such as the
velocity, acceleration, etc. of a moving particle. The integral is used to
calculate some physical quantities like centre of mass, momentum, etc.
10. Differentiation is a process involving limits. Similar is the case for
integration.
11. We have
d ⎡
f ( x ) dx⎤⎦ = f (x)
dx ⎣∫
and
d
∫ dx [ f ( x)] dx = f (x) + c
i.e., the differentiation and integration are inverse processes.
136 Mathematical Methods
sin (tan −1 x)
(v) ∫ cot xdx (vi) ∫ 1 + x2
dx
dx
(vi) Put t = tan 1 x ⇒ dt = and we have
1 + x2
sin (tan −1 x)
∫1 + x2
dx = ∫ sin t dt = cos t + c = cos (tan 1 x) + c
1 dt 1 1
∫
2 t
= log t + c = log (3cos x + 2sin x) + c
=
2 2
(viii) Put t = a2 cos2 x + b2 sin2 x which leads to
dt = ( 2a2 cos x sin x + 2b2 sin x cos x) dx
so that
sin x cos x dt 1
∫ a 2 cos 2 x + b2 sin 2 x dx = ∫ 2(b2 − a 2 )t = 2(b2 − a 2 ) log t + c
1
= log (a2 cos2 x + b2 sin2 x) + c
2(b − a 2 )
2
sec 2 x tan x
(i) ∫ sec2 x + tan 2 x dx (ii) ∫ sin 3x cos 2 x dx
sin 2 x dx
(iii) ∫ cos 2 2 x dx (iv) ∫ 1 + cos x
∫ sin
2
(v) x cos3 x dx
138 Mathematical Methods
sec 2 x tan x 1 1
∫ sec2 x + tan 2 x dx = 4 log(1 + 2t )+c= log(1 + 2tan 2 x ) + c
2
4
(ii) We have
1
∫ sin 3x cos 2 x dx =
2∫
2sin3 x cos 2 x dx
1
2∫
= [sin(3x + 2 x) + sin(3 x − 2 x)] dx
1
2∫
= (sin5 x + sin x) dx
1 ⎛ cos5 x ⎞
= ⎜− − cos x ⎟ + c
2⎝ 5 ⎠
(iii) Here
sin 2 x sin 2 x
∫ cos 2 2 x dx = ∫ cos 2 x cos 2 x dx
dt
= ∫ tan 2 x sec2 x dx = ∫ tan t sec t 2
1 1
= sec t + c = sec 2 x + c
2 2
where t = 2x and dt = 2dx.
(iv) We have
dx dx
∫ 1 + cos x = ∫ 2cos 2 ( x /2)
1
2∫
= sec2 ( x /2) dx = ∫ sec 2 t dt
1 1
where x = t and dx = dt.
2 2
(v) The given integral can be written as
t3 t5 sin 3 x sin 5 x
= ∫ (t 2 − t 4 ) dt = − +c= − +c
3 5 3 5
4.3.2 Some Special Integrals
We shall now list the following formulas which are used to find the
integrals of a number of functions.
dx 1 x−a
1. ∫ x2 − a2 =
2a
log
x+a
+c
dx 1 a+x
2. ∫ a2 − x2 =
2a
log
a−x
+c
dx 1 −1 x
3. ∫ x2 + a2 =
a
tan
a
+c
dx
4. ∫ = log[ x + x2 − a2 ] + c
x −a2 2
dx x
5. ∫ = sin −1 +c
a2 − x2 a
dx
6. ∫ = log[ x + x2 + a2 ] + c
a +x2 2
1 1 ⎛ x⎞
7. ∫ a 2 − x 2 dx = x a 2 − x 2 + a 2 sin −1 ⎜ ⎟ + c
2 2 ⎝a⎠
1 1
8. ∫ a 2 + x 2 dx =
2
x a 2 + x 2 + a 2 log[ x + a 2 + x 2 ] + c
2
1 1
9. ∫ x 2 − a 2 dx =
2
x x 2 − a 2 − a 2 log[ x + x 2 − a 2 ] + c
2
140 Mathematical Methods
Remarks
The above formulas can be proved easily either by expressing the given
function in a suitable form or by a proper choice of substituion. We shall
give below the hints for the proof of these formulas.
1. Express 1/(x 2 a2) as
1 1
=
x −a
2 2 ( x + a)( x − a)
1 1 1 1
= + =− +
( x + a ) (−a − a) (a + a) ( x − a) 2a ( x + a ) 2a ( x − a )
and then integrate to get the required formula.
2. Write 1/(a2 x 2) as
1 1
=
a −x
2 2 (a + x) (a − x)
1 1 1 1
= + = +
(a + x) [a − (− a )] (a + a) (a − x) 2a (a + x) 2a(a − x)
which on integration with respect to x leads to the required formula.
dx
3. Put x = a tan θ and dx = a sec2 θ dθ in ∫ a2 + x2 and integrate to get
the right hand side of formula 3.
dx
4. Put x = a sec θ and dx = a sec θ tan θ dθ in ∫ and integrate.
x − a2
2
dx
5. Put x = a sin θ and dx = a cos θ dθ in ∫ and integrate.
a − x2
2
dx
6. Put x = a tan θ and dx = a sec2 θ dθ in
a + x2
∫ and integrate.
2
7. Put x = a sin θ and dx = a cos θdθ in the left hand side of formula 7
and integrate to get the right hand side.
8. Put x = a tan θ in the left hand side of formula 8 and integrate.
9. Put x = a sec θ.
1
(a) Method to integrate the function of the form
ax + bx + c
2
First we write
Integration 141
⎛ 2 b c⎞
ax 2 + bx + c = a ⎜ x + x + ⎟
⎝ a a⎠
⎛ 2 b c b2 b2 ⎞ ⎡⎛ b ⎞
2
⎛ b 2 − 4ac ⎞⎤
= a ⎜⎜ x + x + + 2 − 2 ⎟⎟ = a ⎢⎜ x + ⎟ − ⎜⎜ ⎟⎟⎥
⎝ a a 4a 4a ⎠ ⎢⎣⎝ 2a ⎠ ⎝ 4a
2
⎠⎥⎦
so that when b 2 4ac > 0
dx 1 dx
∫ ax 2 + bx + c a ∫ X 2 − B2
= (3)
b b 2 − 4ac
where X = x + , B2 = ; and when b 2 4ac < 0, then
2a 4a 2
dx1 dx
∫ ax 2 + bx + c ∫
a X + B2
2
= (4)
The integrals given by Eqs. (3) and (4) can now be evaluated using the
above formulas 1 to 3.
1 dx
= ∫
2 (x + 1 )2 − ( 3 )2
4 4
1 1 x+ 1 − 3
= log 4 4
+c
2 2(3/4) x+ 1
4
+ 3
4
1 2x − 1
= log +c
3 2x + 2
(ii) The given integral is
dx dx dx
∫1 + x − x2 = −∫ = −∫
x2 − x − 1 (x − 12 )
2
− 5
4
142 Mathematical Methods
dx dx
= ∫5 = ∫
− (x − 1 2
) ( )
2
4 2 2
5
− (x − 2)
1 2
1
5
+x− 1
= log 2 2
+c
2( 5 / 2) 2
5
−x+ 1
2
1 5 − 1 + 2x
= log +c
5 5 + 1 − 2x
(iii) Here
dx 1 dx
∫ 2 x2 − 2 x + 1 =
2 ∫ x2 − x + 1
2
1 dx
= ∫
2 x − x + 14 −
2 1 + 1
4 2
1 dx
= ∫
2 (x − 1 )2 + 1
2 4
1 dx
2 ∫ (x − 1 )2 + (1 )2
=
2 2
1 ⎛ 1 ⎞ −1 x − 1
= ⎜ 1 ⎟ tan
2
+c
2 ⎜⎝ 2 ⎟⎠ 1
2
= tan 1 (2x 1) + c
1
(b) Method to integrate the function of the form
ax + bx + c 2
1 dx
= ∫
3 (x 2
− 13 x + 1
36 )− 1
36
− 2
3
1 dx
= ∫
(x − 16 ) − (56 )
3 2 2
1 ⎡ 1 ⎤
= log ⎢ x − + 3x 2 − x − 2 ⎥ + c
3 ⎣ 6 ⎦
(ii) The given integral is
dx 1 dx
∫ = ∫
1 − 4x − 2x 2
2 1
2
− 2 x − x2
1 dx
=
2
∫ 1 − ( x + 2 x + 1) + 1
2
2
1 dx
=
2
∫ 2
⎛ 3⎞
⎟⎟ − ( x + 1)
2
⎜⎜
⎝ 2 ⎠
1 x +1
= sin −1 +c
2 (3/2)
px + q
(c) Method to integrate the function of the form
ax + bx + c
2
px + q
and
ax 2 + bx + c
Put
144 Mathematical Methods
⎡d ⎤
px + q = λ ⎢ (ax + bx + c)⎥ + µ = λ(2ax + b) + µ = 2aλx + λb + µ
2
⎣ dx ⎦
Now, equating the coefficients of x and constant, we get
p
2aλ = p ⇒ λ =
2a
and
pb
λb + µ = q ⇒ µ = q λb = q
2a
Thus
px + q λ (2ax + b) + µ
∫ ax 2 + bx + c dx = ∫ ax 2 + bx + c
dx
p 2ax + b dx
2a ∫ ax 2 + bx + c
= dx + µ ∫ 2 (6)
ax + bx + c
The first integral on the right hand side can be solved by the substitution
method, while the second integral may be evaluated by one of the methods
px + q
discussed above. In the same manner, we can evaluate ∫ dx
ax 2 + bx + c
and we have
px + q λ (2ax + b) + µ
∫ dx = ∫ dx
ax 2 + bx + c ax 2 + bx + c
p 2ax + b dx
= ∫
2a ax + bx + c
2
dx + µ ∫ (7)
ax + bx + c
2
5x − 2 5 11 3x + 1
∫1 + 2 x + 3x2 dx = 6 log (3x
2
+ 2 x + 1) − +c tan −1
3 2 2
(ii) Here p = 6, q = 7, a = 1, b = 9, c = 20, and thus from Eq. (7), we
have
6x + 7
I = ∫ dx
x 2 − 9 x + 20
6 2x − 9 ⎡ ( − 9)(6) ⎤ dx
= ∫
2 x − 9 x + 20
2
dx + ⎢7 −
⎣
⎥ ∫
2 ⎦ x − 9 x + 20
2
2x − 9 dx
= 3∫ dx + 34 ∫= I1 + I 2 (8)
x − 9 x + 20
2
x − 9 x + 20 2
⎛ 9 ⎞
= 34log ⎜ x − + x − 9 x + 20 ⎟
2
⎝ 2 ⎠
Substituting the values of I1 and I2 in Eq. (8), we get
6x + 7 ⎛ 9 ⎞
∫ dx = 6 x 2 − 9 x + 20 + 34log ⎜ x − + x 2 − 9 x + 20 ⎟ + c
⎝ 2 ⎠
x − 9 x + 20
2
p( x)
(d) Method to integrate the function of the form where
ax + bx + c
2
x2 + x + 1
Example 4.8 Integrate
x2 − x
146 Mathematical Methods
Solution We have
x2 + x + 1 x2 − x + 2 x + 1 2x + 1 2x − 1 + 2
= =1+ =1+
x −x
2
x −x2
x −x
2
x2 − x
Thus
x2 + x + 1 ⎡ 2x + 1⎤ ⎡ 2x − 1 + 2⎤
∫ x −x
2
dx = ∫ ⎢1 + 2
⎣ x − x⎦⎥ dx = ∫ ⎢1 +
⎣ x 2 − x ⎥⎦
dx
2x − 1 dx ⎛ x − 1⎞
= ∫ dx + ∫ dx + 2 ∫ dx = x + log (x2 x) + 2log ⎜ ⎟ +c
x −x
2
x −x
2
⎝ x ⎠
p and q and reduce the integral in such a way so that any one of the
formulas 7 to 9 can be used. While for the integral
∫ x 2 + 2 x + 5 dx = ∫ ( x + 1) 2 + 4 dx
2
3 ⎛ 2 1⎞ 1 ⎛ 7⎞ ⎛ 1⎞
2
= 2∫ − ⎜ x + x + ⎟ + dx = 2 ∫ ⎜⎜ ⎟⎟ − ⎜ x + ⎟ dx
2 ⎝ 4⎠ 4 ⎝ 2 ⎠ ⎝ 2⎠
Integration 147
1
which is of the form ∫ a 2 − y 2 dy, where a = 7 / 2 and y = x + 2 .
Thus from formula 7, we have
2x + 1 7 2 −1 ⎛ 2 x + 1 ⎞
∫ 3 − 2 x − 2 x 2 dx =
4
3 − 2 x − 2 x2 +
8
sin ⎜
⎝ 7 ⎠
⎟+c
2
1 11 1 11 ⎛ 1⎞ 1
=
2 ∫ y dy − ∫ x 2 + x dx = y 3/2 − ∫ ⎜ x + ⎟ − dx
2 3 2 ⎝ 2⎠ 4
1 2 11 ⎡⎛ x + 1 ⎞ 2 1 ⎛ 1 ⎞⎤
= ( x + x)3/2 − ⎢⎜ 2
⎟⎟ x + x − log ⎜ x + + x + x ⎟⎥ + c
2
3 2 ⎢⎣⎜⎝ 2 ⎠ 8 ⎝ 2 ⎠⎥⎦
dx 2 dt 2 a−b ⎛ a−b⎞
= ∫ = tan −1 ⎜⎜ t ⎟⎟ + c
∫ a + b cos x a − b t + a −b a − b a + b
2 a + b
⎝ a+b⎠
2⎛ a−b x⎞
= tan −1 ⎜ tan ⎟ + c
⎜ a+b 2 ⎟⎠
a −b 2
⎝ 2
Case II : When a < b. From Eq. (9), the required integral is of the form
dy
∫ y2 − c2 , and we have
dx ⎡ b+a + t⎤
2 dt 2 1
∫ a + b cos x = b − a ∫ b+ a − t 2 = b − a b+ a log ⎢⎢ b− a ⎥+c
b −a 2 b− a ⎣
b+ a
b −a
− t ⎥⎦
1 ⎡ b + a + t b − a⎤
= log ⎢ ⎥+c
b −a
2
⎣ b + a −t b − a⎦
2
⎡ b + a + b − a tan ( x / 2) ⎤
1
= log ⎢ ⎥+c
b −a 2
⎣ b + a − b − a tan ( x / 2) ⎦
2
2 dt 2 dt
a ∫ t 2 + 2abt + 1 a ∫ (t +
= = (10)
b 2
a ) + a 2 −b 2
a2
We now have the following possibilities:
Case I : When a 2 > b 2. From Eq. (10), we have
dx 2 dt
∫ a + b sin x = a ∫
( )
2
(t + )
b 2
a
+ a 2 −b2
a2
Integration 149
2 a ⎛ at + b ⎞ 2 ⎛ a tan 2x + b ⎞
= tan −1 ⎜ ⎟+c= tan −1 ⎜ ⎟+c
a ⎜ 2 2 ⎟ ⎜ 2 2 ⎟
a 2 − b2 ⎝ a −b ⎠ a 2 − b2 ⎝ a −b ⎠
Case II: When a 2 < b 2. From Eq. (10), we have
dx 2 dt
∫ a + b sin x =
a∫
( )
2
(t + ba )
2 b2 − a 2
−
a2
⎡t + b
− b2 − a 2 ⎤
2 a ⎢ a a2 ⎥
= log ⎢ ⎥+C
a 2 b −a
2 2 b b2 − a 2
⎢⎣ t + a
+
a2 ⎥⎦
⎡ a tan x + b − b 2 − a 2 ⎤
1
= log ⎢ 2 ⎥+c
b −a ⎢ x 2 ⎥
⎣ a tan 2 + b + b − a ⎦
2 2 2
2 2
Case III : When a = b .
1. When b = a.
dx 1 dx 1 dx
∫ a + b sin x =
a ∫ 1 + sin x a ∫ 1 − cos ( π2 + x)
=
1 ⎛π x⎞ 1 ⎛π x⎞
2a ∫
= csc2 ⎜ + ⎟ dx = − cot ⎜ + ⎟ + c
⎝ 4 2 ⎠ a ⎝ 4 2⎠
2. When b = a.
dx 1 dx 1 dx
∫ a + bsin x =
a ∫ 1 − sin x a ∫ 1 + cos ( π2 + x)
=
1 ⎛π x⎞ 1 ⎛π x⎞
=
2a ∫ sec2 ⎜ + ⎟ dx = tan ⎜ + ⎟ + c
⎝ 4 2⎠ a ⎝ 4 2⎠
A
(ii) , where n is a positive integer and A is a constant.
( x − a )n
px + q
(iii) , where p, q, a, b are constants.
x 2 + ax + b
When the given integrand is a rational function, which may not be
of the above types, it is then always possible to express the integrand as
the sum of simpler rational functions by a method known as partial
fraction decomposition so that the integration can be carried out easily
by the already known methods. Table 4.2 gives a list of possible partial
fractions that are associated with the rational fractions. It may be noted
that the number of constants to be determined is same as the degree of
the denominator.
px + q A B
1. , a≠b +
( x − a ) ( x − b) x−a x−b
px + q A B
2. +
( x − a)2 x − a ( x − a )2
px + q
3. , where x 2 + ax + b No reduction. Keep it as it is.
x 2 + ax + b
can not be factorized.
px 2 + qx + r A B C
4. , + +
( x − a) ( x − b) ( x − c) x−a x−b x−c
where a, b, c are constants.
px 2 + qx + r A B C
5. , where a ≠ b. + +
x − a ( x − a) 2 x − b
( x − a ) 2 ( x − b)
px 2 + qx + r A B C
6. + +
( x − a )3 x − a ( x − a ) 2 ( x − a )3
px 2 + qx + r A Bx + C
7. , where x 2 + bx + c +
( x − a ) ( x 2 + bx + c) x − a x 2 + bx + c
x2 1 2x − 1
= +
x +1
3 3( x + 1) 3( x − x + 1)
2
152 Mathematical Methods
Thus
x2 1 2x − 1
∫ x3 + 1 dx = ∫ 3( x + 1) dx + ∫ 3( x2 − x + 1) dx = I1 + I2 (13)
Now
1 1
I1 = ∫ 3( x + 1) dx = 3 log( x + 1)
and
2x − 1 1
I2 = ∫ 3( x 2 − x + 1) dx = 3 log (x 2 x + 1) (by taking t = x 2 x + 1)
x2 1 1
∫ x3 + 1 dx = 3 log( x + 1) + 3 log(x 2 x + 1) + c
(iii) Here the denominator can be factorised into linear factors with some
repeated factors and thus we have
x2 A B C D
= + + +
( x − 1) ( x + 1)
3 x − 1 ( x − 1) 2
( x − 1) 3 x +1
which on simplification leads to x 2 = [A(x 1)2 + B(x 1) + C] (x + 1)
+ D(x 1)3 so that when x = 1, x = 0, x = 2 and x = 1, this equation,
respectively, yields the following set of equations
2C = 1
AB+CD = 0
3(A + B + C ) + D = 4
8D = 1
Solving these equations, we get A = 1/8, B = 3/4, C = 1/2, D = 1/8
and thus
x2 A B C D
= + + +
( x − 1) ( x + 1)
3 x − 1 ( x − 1) 2
( x − 1) 3
x +1
1 3 1 1
= + + −
8( x − 1) 4( x − 1) 2
2( x − 1) 3
8( x + 1)
Integration 153
Therefore
x2 1 3
∫ ( x − 1)3 ( x + 1) dx = ∫ 8( x − 1) dx + ∫ 4( x − 1)2 dx
1 1
+∫ dx − ∫ dx
2( x − 1) 3 8( x + 1)
1 3 1 1 1
= log ( x − 1) − + ⋅ − log ( x + 1) + c
8 4( x − 1) 2 (− 2) ( x − 1) 2 8
1 x −1 3 1
= log − − +c
8 x + 1 4( x − 1) 4( x − 1) 2
Remark
p( x)
If in the rational function , the degree of the numerator p(x) is
q( x)
greater than or equal to the degree of the denominator q(x), then we
divide p(x) by q(x) and write
p ( x) P ( x)
= r ( x) +
q ( x) q ( x)
P( x)
where r(x) is a polynomial function and is a rational function, and
q( x)
the degree of P(x) is less than the degree of q(x). The integration is then
P( x)
carried out after splitting into partial fraction. The following
q( x)
example shall illustrate the method.
Example 4.12 Integrate the following functions
x2 + 1 x2
(i) (ii)
x2 − 5x + 6 ( x 2 + 1) ( x 2 + 4)
Solution (i) We have
x2 + 1 5x − 5 5x − 5
=1+ =1+
x2 − 5x + 6 x2 − 5x + 6 ( x − 2) ( x − 3)
Now, let
5x − 5 A B
= +
( x − 2) ( x − 3) x − 2 x − 3
154 Mathematical Methods
x2 + 1 5x − 5 A B 5 10
=1+ =1+ + =1− +
x − 5x + 6
2 ( x − 2) ( x − 3) x−2 x−3 x−2 x−3
Therefore
x2 + 1 5 10
∫ x 2 − 5x + 6 dx = 1∫ dx − ∫ x − 2 dx + ∫ x − 3 dx
= x 5 log (x 2) + 10 log (x 3) + c
(ii) Put t = x 2, then
x2 t A B
= = +
( x + 1) ( x + 4)
2 2 (t + 1) (t + 4) t + 1 t + 4
The values of A and B can be obtained in a similar manner as in the
above examples, and we have A = 1/3, B = 4/3. Thus
x2 A B ( −1/3) (4/3)
= + = +
( x + 1)( x + 4)
2 2
t +1 t + 4 t +1 t+4
1 4
= − +
3( x + 1)
2
3( x + 4)
2
Therefore
x2 1 dx 4 dx
∫ ( x 2 + 1) ( x 2 + 4) dx = − ∫ + ∫ 2
3 x +1 3 x + 4
2
1 −1 2 x
= − tan x + tan −1 + c
3 3 2
Note that we have used the substitution in order to apply the partial
fraction decomposition method easily, the substitution was not made for
the integration purpose. The following example illustrates the integration
of a function which involves both the substitution method and the partial
fraction method.
(3sin θ − 2)cos θ
Example 4.13 Evaluate ∫ 5 − cos2 θ − 4sin θ d θ
Integration 155
Remarks
In order to use Eq. (14) for finding the integral of the product of two
functions, we should choose the second function in such a way that its
integral can be obtained easily. However, the following guidelines will
be helpful in making a choice of the first/second function.
1. If both the functions f and g in the product can easily be integrated
separately, and one of them is of the form x m, where m is a positive
integer (i.e., either f = x m or g = x m), then f or g should be taken as the
first function.
2. If one of the functions in the product is a logarithmic or an inverse
trigonometric function, then it should be taken as the first function.
3. Equation (14) can also be used in finding the integral of a single
function f, as f can always be written as f × 1, and in such cases 1 should
be taken as the second function.
x 2 dx
(i) ∫ x cos xdx (ii) ∫ x 2 e3x dx (iii) ∫ (a + bx)2
Solution (i) Here we take x as the first function and use the formula
(i.e., Eq. (14)) for the integration by parts so that
⎛1 ⎞ ⎛1 ⎞
∫x e dx = x 2 ⎜ e3 x ⎟ − ∫ (2 x)⎜ e3 x ⎟ dx
2 3x
⎝ 3 ⎠ ⎝3 ⎠
1 2 3x 2
= x e − ∫ xe3 x dx
3 3
1 2 3x 2 ⎡ ⎛ 1 3x ⎞ 1 ⎤
= x e − ⎢ x ⎜ e ⎟ − ∫ (1) e3 x dx⎥
3 3 ⎣ ⎝3 ⎠ 3 ⎦
⎛1 2 2⎞
= ⎜ x 2 − x + ⎟ e3 x + c
⎝ 3 9 27 ⎠
Integration 157
⎡ (a + bx) −1 ⎤ ⎡ (a + bx) −1 ⎤
= x2 ⎢ ⎥ − ∫2x ⎢ ⎥ dx
⎣ −b ⎦ ⎣ −b ⎦
x2 2 bx
= − + 2∫ dx
b(a + bx) b a + bx
x2 2 (a + bx) − a
b(a + bx ) b2 ∫ a + bx
= − + dx
x2 2 ⎡ a ⎤
= − + 2 ∫ ⎢1 − dx
b(a + bx) b ⎣ a + bx ⎥⎦
x2 2 ⎡ a ⎤
= − + ⎢ x − b log (a + bx)⎥ + c
b(a + bx) b 2 ⎣ ⎦
Example 4.15 Evaluate
log x dx −1
(i) ∫ x log x dx (ii) ∫ ( x + 1)2 (iii) ∫ x tan x dx
Solution (i) Taking log x as the first function and integrating by parts,
we get
⎛1 2⎞ 1⎛1 2⎞
∫ x log xdx = (log x) ⎜ x ⎟ − ∫ ⎜ x ⎟ dx
⎝2 ⎠ x⎝2 ⎠
1 2 1 1
x log x − ∫ xdx = x 2 (2log x − 1) + c
=
2 2 4
(ii) The given integral can be written as
log x dx −2
∫ ( x + 1)2 = ∫ log x( x + 1) dx
log x 1 log x ⎛1 1 ⎞
x + 1 ∫ x( x + 1) x + 1 ∫⎝ x x + 1⎠
= − + dx = − + ⎜ − ⎟ dx
log x
= − + log x log (x + 1) + c
x +1
(iii) We have
2
−1
x dx = (tan −1 x) x − 1 x2
∫ x tan 2 ∫ 1 + x2 2
dx
1 2 −1 1 ⎛ 1 ⎞ 1 2 −1 1
= x tan x − ∫ ⎜1 − ⎟ dx = ( x + 1) tan x − x + c
2 2 ⎝ 1 + x2 ⎠ 2 2
(iii) Taking tan 1 x as the first function and integrating by parts, we get
−1 −1
∫ tan xdx = ∫ tan x(1) dx
1 1
= (tan 1 x) x ∫1 + x2 x dx = x tan 1 x log (1 + x 2) + c
2
Integration 159
x tan −1 x
(v) ∫ (1 + x2 ) 3/2 dx
Solution (i) Put cos x = t then sin x dx = dt and the given integral
reduces to
1− x 1
−1
dx = ∫ cos −1 x dx
∫ tan
1+ x 2
which on integrating by parts leads to
1− x 1⎡ −1 −1 ⎤
∫ tan
−1
dx = ⎢(cos x) x − ∫ x dx⎥
1+ x 2 ⎢⎣ 1− x 2
⎥⎦
1⎡ 1 ⎤
= ⎢(cos −1 x) x − ∫ (1 − x 2 )−1/2 (−2 x) dx⎥
2⎣ 2 ⎦
1⎡
= (cos −1 x) x − 1 − x 2 ⎤ + c
2 ⎢⎣ ⎥⎦
160 Mathematical Methods
(iv) Put x = sin θ, then dx = cos θ dθ and the given integral reduces to
x sin −1 x θ sin θ
∫
1− x 2
dx = ∫ cos θ d θ = ∫ θ sin θ d θ
1 − sin 2 θ
Now, integrating by parts, we get
x sin −1 x
∫ 1 − x2
dx = θ cos θ + sin θ + c = θ 1 − sin 2 θ + sin θ + c
= − 1 − x sin 1 x + x + c
2
eax e ax 1 n
n ax
∫ x e dx = x
n
− ∫ nx n −1 dx = x n eax − I n −1 (19)
a a a a
which is a relation between In and In1, known as reduction formula.
Integration 161
Remark
Put n = n 1in Eq. (19), we get
1 n −1 ax n − 1
x e −
In1 = I n− 2
a a
In a similar way, we can have In2, In3, ...
m
Example 4.19 Evaluate ∫x (log x ) n dx.
Solution Let
Im, n = ∫ x m (log x)n dx
Then, taking (log x)n as the first function and integrating by parts,
we get
m +1
Im, n = x (log x) n −
n
x m (log x)n −1 dx
m +1 m +1∫
Therefore
x m +1 n
Im, n = (log x) n − I m, n −1
m +1 m +1
n
Example 4.20 Evaluate ∫x sin x dx.
Solution Let for each positive integer n,
∫x
n
In = sin xdx
Then
n
In = ∫x sin xdx
= x n ( cos x) ∫ nx n −1 ( − cos x ) dx
n−2
= x n cos x + nxn 1 sin x n(n 1) ∫ x sin xdx
= x n cos x + nxn 1 sin x n(n 1) In 2
Example 4.21 Evaluate ∫ sin m x cos n x dx, where m and n are natural
numbers.
Solution Let
Now, taking cosn 1 x as the first function and sinm x cos x as the second
function and integrating by parts, we get
m +1 ⎞
n −1 ⎛ sin x n−2 sin m +1 x
Im, n = cos x ⎜⎜ ⎟⎟ − ∫ (n − 1) cos x(− sin x) dx
⎝ m +1 ⎠ m +1
1 ⎡ n −1
= cos x sin m +1 x + (n − 1) ∫ cos n − 2 x sin m + 2 xdx⎤
m + 1⎣ ⎦
1
= [cosn 1 x sinm+1 x
m +1
n− 2
+ (n 1) ∫ cos x sin m x (1 cos2 x) dx]
1
= [cosn 1 x sinm+ 1 x + (n 1) (Im, n 2 Im, n)]
m +1
Therefore
(m + n) Im, n = cosn 1 x sinm + 1 x + (n 1) Im, n 2
Solution Let
n n −1
In = ∫ sin xdx = ∫ sin x sin xdx
Taking sinn1 x as the first function and sin x as the second function and
integrating by parts, we get
n−2
= sinn 1 x cos x + (n 1) ∫ sin x (1 sin2 x) dx
n−2
= sinn 1 x cos x + (n 1) ∫ sin xdx − (n − 1) ∫ sin n xdx
sin n −1 x cos x n − 1
In = − + In 2
n n
Integration 163
Remark
In a similar way, we can find the reduction formulas for some other well
known functions, for example, cosn x, (log x)n, tann x, etc. The reduction
formulas for such functions, alongwith the formulas evaluated through
Examples 4.18 - 4.22 are :
Reduction Formulas
n ax 1 n ax n
(i) If In = ∫x e dx, then In = x e − I n −1.
a a
m
(ii) If Im, n = ∫x (log x ) n dx, then
x m +1 n
Im, n = (log x) n − I m, n − 1
m +1 m +1
(iii) If In = ∫ (log x)n dx, then In = x (log x)n nIn 1.
n
(iv) If In = ∫x sin x dx, then
In = x n cos x + n xn 1 sin x n(n 1) In 2
(v) If Im, n = ∫ sin m x cos n xdx, then
(m + n)Im, n = cosn 1 x sinm +1 x + (n 1) Im, n 2
(vi) If Im, n = ∫ sin m x cos n xdx, then
(m + n) Im, n = sinm 1 x cosn + 1 x + (m 1) Im 2, n
(vii) If In = ∫ sin n xdx, then
sin n −1 x cos x n − 1
In = + I n−2
n n
(viii) If In = ∫ cos n xdx, then
cos n −1 x sin x n − 1
In = + I n−2
n n
n
(ix) If In = ∫ tan x dx, then
tan n −1 x
In = In 2
n −1
164 Mathematical Methods
y = f (x )
1 2 3 n–1
x
O a a + h a + 2h a(n – 1)h b
∫ f ( x) dx = hlim
→ 0 h[ f (a) + f (a + h) + ... + f {a + (n 1) h}]
a
⎪⎧ ⎪⎫
r = n −1
= h → 0 ∑ f (a + rh)⎬
lim ⎨ (20)
⎩⎪ r = 0 ⎭⎪
Remarks
∫ f ( x)dx = (b a) lim
1
n→∞ n
[ f (a) + f (a + h) + ... + f {a + (n 1)h}] (21)
a
(ii) Equation (20)/(21) represents the area of the region bounded by the
curve y = f (x), x-axis, the ordinates x = a and x = b.
b
(iii) In the expression ∫ f ( x) dx, a and b are called lower and upper
a
limits of integration, respectively, f (x) is known as the integrand and x
is the variable of integration.
(iv) The above definition is true even if f (x) takes negative values and in
such case, we have
(a) Some portion of the region may exist below the x-axis.
b
(b) The area given by ∫ f ( x) dx has a negative sign, i.e. the area of the
a
b
1
∫ f ( x) dx = (b a) lim
n→∞ n
[ f (a) + f (a + h) + f (a + 2h) + ...
a
+ f {a + (n 1)h}]
Here a = 1, b = 2, f (x) = x and h = (b a)/n = 1/n. Therefore
2
1⎡ ⎛ 1⎞ ⎛ 2⎞ ⎛ n − 1 ⎞⎤
∫ xdx = lim
n→∞ n⎣
⎢ f (1) + f ⎜1 + n ⎟ + f ⎜1 + n ⎟ + ... + f ⎜1 + n ⎟⎥
⎝ ⎠ ⎝ ⎠ ⎝ ⎠⎦
1
1 ⎡ ⎛ 1⎞ ⎛ 2⎞ ⎛ n − 1 ⎞⎤
= lim ⎢1 + ⎜1 + n ⎟ + ⎜1 + n ⎟ + ... + ⎜1 + 1 ⎟⎥
n→∞ n ⎣ ⎝ ⎠ ⎝ ⎠ ⎝ ⎠⎦
1 ⎡ ⎛1 2 n − 1 ⎞⎤
= lim ⎢(1 + 1 + ... + 1) n times + ⎜ n + n + ... + n ⎟⎥
n→∞ n ⎣ ⎝ ⎠⎦
1 ⎡ 1 ⎤
= lim
n ⎢n + n {1 + 2 + ... + (n − 1)}⎥
n→∞ ⎣ ⎦
1 ⎡ 1 (n − 1) (n) ⎤
= lim
n ⎢n + n ⎥
n→∞ ⎣ 2 ⎦
= 1 ⎡ 3n − 1⎤
lim
n→∞ n ⎢
⎣ 2 ⎦
⎥
= ⎡3 1 ⎤ 3
lim ⎢ − ⎥ =
n → ∞ ⎣2 2n ⎦ 2
2
Example 4.24 Find ∫ ( x 2 + 1) dx as the limit of a sum.
0
Solution From the definition, we have
b
1
∫ f ( x) dx = (b − a) nlim
→∞ n
[ f (a) + f (a + h) + f (a + 2h)
a
+ ... + f {a + (n 1)h}]
Here a = 0, b = 2, f (x) = x 2 + 1 and h = (b a)/n = 2/n. Therefore
2
1 ⎡ ⎛ 2⎞ ⎛4⎞ ⎛ 2n − 2 ⎞⎤
∫(x + 1) dx = 2 lim ⎢ f (0) + f⎜ ⎟+ f ⎜ ⎟ + ... +
2
f⎜ ⎟⎥
n→∞ n ⎣ ⎝n⎠ ⎝n⎠ ⎝ n ⎠⎦
0
Integration 167
2
⎡ ⎛ 2 ⎞ ⎛ 2 ⎞ 2 ⎤
∫(x
2
+ 1) dx = 2 lim 1 ⎢1 + ⎜ 2 + 1⎟ + ⎜ 4 + 1⎟ + ... + ⎛⎜ 2n − 2 ⎞⎟ + 1⎥
n→∞n⎢ ⎜ 2 ⎟ ⎜ 2 ⎟ ⎝ n ⎠2
0 ⎣ ⎝n ⎠ ⎝n ⎠ ⎥⎦
1
= 2 lim [(1 + 1 + ... + 1)n times
n→∞ n
1
+ (22 + 42 + ... + (2n 2)2]
n2
1⎡ 22 2 2 ⎤
= 2 lim ⎢n + 2 (1 + 2 + ... + (n − 1) )⎥
2
n→∞ n n
⎣ ⎦
1⎡ 4 (n − 1) n(2n − 1) ⎤
= 2 lim ⎢n+ 2 ⎥
n→∞ n ⎣ n 6 ⎦
⎡ 2⎛ 1⎞⎛ 1 ⎞⎤ ⎛ 4 ⎞ 14
= 2 lim ⎢1 + ⎜1 − ⎟ ⎜2 − ⎟ = 2 ⎜1 + ⎟=
n→∞ ⎣ 3⎝ n⎠⎝ n ⎠⎥⎦ ⎝ 3⎠ 3
b
x
Example 4.25 Find ∫ e dx as the limit of a sum.
a
⎡ enh − 1⎤
= lim he a ⎢ ⎥
h
h→0
⎣ e −1⎦
[using the formula for the sum of n terms of a geometric progression (see
Appendix A) whose first term is 1 and common ratio is e h]. Thus
b
x a ⎡ h ⎤
∫ e dx = hlim e (enh − 1) ⎢ h ⎥
a
→0 ⎣ e − 1⎦
168 Mathematical Methods
b ⎡ 1 ⎤ b a
∫ e x
dx = lim e a b−a
( e − 1) ⎢1 h h2
⎥ =e e
a
h→0 ⎢⎣1! + 2!
+ 3!
+ ...⎥
⎦
Remarks
dF
1. The equation = f (x) has a solution for every continuous
dx
function f (x)
Integration 169
Solution We have
2
x2
2
⎡ x2 ⎤ 2 2 12 3
∫ xdx = 2
⇒ ∫ xdx = ⎢ ⎥ = − =
1 ⎣ 2 ⎦1 2 2 2
the limit of a sum (cf., Example 4.23). We can observe that the simplicity
in the calculations is due to the use of Second Fundamental Theorem of
Integral Calculus.
π /4
a
(iii) ∫ (1 − x 2 )sin 2 x dx (iv)
∫ a 2 − x 2 dx
0
0
e
dx
(v) ∫ x (log x)1/3
1/ e
Solution (i) We have
1 1 1
2x + 3 2x 3
∫ 5 x2 + 1 dx = ∫ 5x2 + 1 dx + ∫ 2
+1
dx
0 0 0 5x
1 1
1 10 x 3 dx
= ∫
5 0 5x + 1
2
dx + ∫ 2
5 0 x + 1/5
1
⎡1 3 ⎛ 1 ⎞ 1 ⎛ x ⎞⎤
= ⎢ log(5 x 2 + 1) + ⎛⎜ ⎞⎟ ⎜ ⎟ tan ⎜ ⎟⎥
⎣5 ⎝ 5 ⎠ ⎝ 1/ 5 ⎠ ⎝ 1/ 5 ⎠⎦ 0
1
(log 6 + 3 5 tan −1 5)
=
5
(ii) The given integral is
2 2 2
5x 5x ⎡ 15 5 ⎤
∫ x2 + 4 x + 3 dx = ∫ ( x + 1) ( x + 3) dx = ∫ ⎢⎣ 2( x + 3) − 2( x + 1) ⎥⎦ dx
1 1 1
2
⎡15 5 ⎤ 1
= ⎢ log ( x + 3) − log( x + 1)⎥ = (15 log 5 25 log 2 5 log 3)
⎣2 2 ⎦1 2
(using the method of partial fractions).
(iii) Here
π /4 π /4 π /4
⎡ cos 2 x ⎤ ⎛ cos2 x ⎞
∫ (1 − x 2 )sin 2 x dx = ⎢− (1 − x 2 )
⎣ 2 ⎥⎦ 0
− ∫ (− 2 x) ⎜⎝ −2 ⎠
⎟ dx
0 0
Integration 171
π /4 π /4
1
∫ (1 − x 2 )sin2 x dx =
2
− ∫ x cos2 xdx
0 0
π /4
1 ⎡π ⎛ cos2 x ⎞⎤ 3 π
= − +⎜ ⎟ = −
2 ⎢⎣ 8 ⎝ 4 ⎠⎥⎦ 0 4 8
∫ a 2 − x 2 dx = ∫ (a 2 − a 2 sin 2 θ) (a cos θ) d θ
0 0
π /2
= a2 ∫ cos θdθ
2
π /2
a2
=
2 ∫ (1 + cos2θ) dθ
0
π /2
a2 ⎡ sin2θ ⎤ πa 2
= ⎢θ + 2 ⎥ =
2 ⎣ ⎦0 4
(v) Put log x = t so that dx/x = dt. Also when x = e, t = 1 and when
x = 1/e, t = 1. The given integral thus becomes
e 1
dx
1
dt ⎡ t 2/3 ⎤
∫ 1/3
= ∫ 1/3
=⎢ ⎥ =0
1/ e x (log x ) −1 t ⎣ 2/3 ⎦ −1
Before discussing more about definite integrals, we shall now make
a comparison between definite and indefinite integrals of a function as
follows:
Comparison between indefinite and definite integrals
1. The indefinite integral of a function is another function, while the
definite integral of a function over an interval is a number. This number
varies as the interval varies.
172 Mathematical Methods
∫ f ( x) dx, F ( y) = ∫ f ( y ) dy
F (x) =
∫ f ( x) dx = ∫ f ( y ) dy = ∫ f (t ) dt , etc.
a a a
2a
8. ∫ f ( x) dx = 0 if f (x) = f (2a x)
0
2a a a
9. ∫ f ( x) dx = ∫ f ( x) dx + ∫ f (2a − x) dx
0 0 0
na a
10. ∫ f ( x) dx = n∫ f ( x) dx if f (x) = f (a + x)
0 0
⎧7 x + 3, if 1 ≤ x ≤ 3
f (x) = ⎨
⎩8 x, if 3 ≤ x ≤ 4
9
(ii) ∫ f ( x) dx where
0
⎧sin x, if 0 ≤ x ≤ π /2
⎪
f (x) = ⎨1, if π / 2 ≤ x ≤ 3
⎪ x −2
⎩e , if 3 ≤ x ≤ 9
Solution
(i) The given integral is
4 3 4
∫ f ( x) dx = ∫ (7 x + 3) dx + ∫ 8 xdx = 62
1 1 3
(ii) We have
9 π /2 3 9
π
∫ f ( x) dx = ∫ sin xdx + ∫ (1) dx + ∫ e x − 2 dx = 4 − + e7 − e
0 0 π /2 3
2
174 Mathematical Methods
π /2 π /2
π /2
(i) ∫ cos x dx (ii) ∫ sin xdx2
(iii) ∫ sin 7 xdx
− π /2 − π /2
− π /2
Solution (i) Since cos x is an even function, therefore we have
π /2 π /2
∫ sin 7 xdx = 0
−π /2
π π /4
x sin xdx
(iii) ∫1 + cos2 x (iv) ∫ log(1 + tan x) dx
0 0
π π /2
(v) ∫ xsin xdx (vi) ∫ logsin xdx
3
0 0
π /2 π /2
sin x + cos x π
= ∫ sin x + cos x
dx = ∫ dx =
2
0 0
π /2 π /2
= ∫ log sin x dx − ∫ log cos xdx
0 0
π /2 π /2
= ∫ logsin xdx − ∫ logcos(π /2 − x) dx
0 0
π /2 π /2
=
∫ logsin xdx − ∫ logsin xdx = 0
0 0
(iii) Let
π
x sin xdx
I = ∫ 1 + cos2 x (25)
0
Then
π π
(π − x)sin (π − x) dx (π − x ) sin xdx
I= ∫ 1 + cos (π − x)
2
=∫
1 + cos2 x
(26)
0 0
Adding Eqs. (25) and (26), we get
π
π sin xdx
2I = ∫1 + cos2 x
0
176 Mathematical Methods
Now, put t = cos x and dt = sin x dx so that the above integral reduces
to
−1 1
π dt dt 1 π2
2I = ∫ 1 + t2 = π∫ = π ⎡⎣tan −1 t ⎤⎦ =
−11 + t2 −1 2
1
Therefore
π
x sin xdx π2
I= ∫1 + cos2 x =
4
0
(iv) Let
π /4
I= ∫ log(1 + tan x) dx
0
Then
π /4
⎡ ⎛π ⎞⎤
I = ∫ log ⎢⎣1 + tan ⎜⎝ 4 − x ⎟⎠⎥⎦ dx
0
π /4
⎛ 1 − tan x ⎞
= ∫ log ⎜⎝1 + 1 + tan x ⎟⎠ dx
0
π /4
⎛ 2 ⎞
= ∫ log ⎜⎝ 1 + tan x ⎟⎠ dx
0
π /4 π /4
= ∫ log2 dx − ∫ log(1 + tan x) dx
0 0
π
= log 2 I
4
Therefore
π /4
π
I = ∫ log(1 + tan x) dx = 8 log 2
0
(v) Here
π
∫ x sin
3
I = xdx
0
Integration 177
∫ (π − x)sin (π − x) dx
3
=
0
π π
= ∫ (π − x)sin xdx = π∫sin xdx − I
3 3
0 0
Therefore
π π
3sin x − sin3x π⎡ cos3x ⎤
2I = π ∫ dx = ⎢−3cos x +
0
4 4⎣ 3 ⎥⎦ 0
which leads to
π
2π
∫ xsin xdx =
3
I =
0
3
(vi) Let
π /2
I = ∫ logsin xdx (27)
0
Then
π /2 π /2
I= ∫ logsin (π /2 − x ) dx = ∫ logcos xdx (28)
0 0
Adding Eqs. (27) and (28), we get
π /2 π /2 π /2
2I = ∫ logsin xdx + ∫ logcos xdx = ∫ log (sin x cos x) dx
0 0 0
π /2 π /2 π /2
⎛ sin 2 x ⎞
= ∫ log ⎜
⎝ 2 ⎠
⎟ dx = ∫ logsin 2 xdx − ∫ log 2dx
0 0 0
Substituting 2x = y in the first integral on the right side of the above
equation, we get
π π /2
1
2 ∫0 ∫ log 2 dx
2I = log sin ydy −
0
π /2
⎛1⎞ π
= ⎜ ⎟ (2)
⎝2⎠
∫ logsin y dy − 2 log2
0
π /2
π π
= ∫ logsin xdx − 2 log 2 = I − 2 log 2
0
178 Mathematical Methods
Therefore
π /2
π
I = ∫ logsin x dx = −
2
log 2
0
A = ∫ f ( x) dx (29)
a
y
y = f (x )
x
O x=a x=b
y=b
x = f ( y)
y=a
x
O
(iii) Area enclosed between the curves y1 = f1(x) and y2 = f2(x), and the
ordinates x = a, x = b is given by (Fig. 4.4)
b
A = ∫[ f1 ( x) − f2 ( x)]dx (31)
a
y1 = f1(x) y2 = f2(x)
x
O x=a x=b
x 2
Solution Solve the equation of the curve for y to get y = a − x2 .
a
The required area A is
a a
x 2
A= ∫ ydx = ∫ a
a − x 2 dx
0 0
a2
A= sq. units
3
Example 4.32 Find the area bounded by the curve y = 4x 2, the y-axis
and the abscissas y = 1 and y = 4.
Example 4.33 Find the area enclosed between the curves y 2 = 4ax and
x 2 = 4ay.
Solution Solving the equations of the curves y 2 = 4ax and x 2 = 4ay, we
get x = 0 and x = 4a and thus y = 0 and y = 4a. Hence the required area
A, enclosed between the curves y1 = 4ax and y2 = x 2/4a, is
4a 4a
⎛ x2 ⎞ 16a 2
A= ∫ ( y1 − y2 ) dx = ∫⎜
⎜ 4 ax − ⎟
4a ⎟⎠
dx =
3
0 0⎝
EXERCISES
1. Evaluate the following integrals
⎛ 6 x ⎞
(i) ∫ ⎜⎝ 1 + x 2 + 10 − csc 2 x ⎟ dx
⎠
[Ans. 6tan1 x + 10xlog10 e + cot x + c]
sin 2 x − cos 2 x
(ii) ∫ sin 2 x cos 2 x
dx [Ans. tan x + cot x + c]
dx
(iii) ∫ ax + b − ax + c
2
[Ans. [(ax + b)3/2 + (ax + c)3/2] + d]
3a (b − c)
dx x
(v) [Ans. tan + c]
∫ 1 + cos x 2
x x
(vi) ∫ 1 + sin x dx [Ans. 2(sin
2
− cos ) + c]
2
sin x
(vii) ∫ 1 + sin x dx [Ans. sec x tan x + x + c]
2. Evaluate
2x − 1
(i) ∫ x − x −1
2
dx [Ans. 2 x 2 − x − 1 + c]
Integration 181
sin x
(ii) ∫ 1 + cos 2 x dx [Ans. tan 1 (cos x) + c]
dx ⎡ 1 ⎤
(iii) ∫ x(2 + log x)2 ⎢Ans. − + c⎥
⎣ 2 + log x ⎦
e x (1 + x)
(iv) ∫ cos2 ( xe x ) dx [Ans. tan (xe x) + c]
2
(v) ∫ 2 + sin3x cos 3x dx [Ans. (2 + sin 3x)3/2 + c]
9
sin x ⎡ 1 ⎤
(vi) ∫ (a + b cos x)2 dx ⎢Ans.
⎣ b( a + b cos x)
+ c⎥
⎦
sec 4 x ⎡ 1 5/2 ⎤
(vii) ∫ dx ⎢Ans. 2[ tan x + 5 (tan x) ]⎥
tan x ⎣ ⎦
2ax + b
(viii) ∫ dx [Ans. 2 ax 2 + bx + c + d]
ax + bx + c
2
sec2 x
(ix) ∫ 1 + tan x dx [Ans. log(1 + tan x) + c]
e2 x
(x) ∫ 1 + e x dx [Ans. e x log (1 + e x) +c]
3. Evaluate
dx ⎡ 2 2x + 1 ⎤
(i) ∫ 1 + x + x2 ⎢Ans. tan − 1 + c⎥
⎣ 3 3 ⎦
dx ⎡ 1 −1 ⎛ 3 x − 2 ⎞ ⎤
(ii) ∫ 8 − 12 x + 9 x 2 ⎢Ans. 6 tan ⎜ 2 ⎟ + c⎥
⎣ ⎝ ⎠ ⎦
dx ⎡ 1 ⎛3 + x⎞ ⎤
(iii) ∫ 3 − 2 x − x2 ⎢Ans. 4 log ⎜ 1 − x ⎟ + c⎥
⎣ ⎝ ⎠ ⎦
4. Evaluate
dx ⎡ 1 ⎛ 1 ⎞ ⎤
(i) ∫ ⎢Ans. log ⎜ x − + 3 x 2 − x − 2 ⎟ + c⎥
3x − x − 2
2
⎣ 3 ⎝ 6 ⎠ ⎦
182 Mathematical Methods
dx
(ii) ∫ [Ans. sin 1 (2x 5) + c]
5x − 6 − x 2
5. Evaluate
2x
(i) ∫ x 2 + 2 x + 2 dx
[Ans. log(x 2 + 2x + 2) 2tan 1 (x + 1) + c]
x+3 ⎡ −1 x + 2 ⎤
(ii) ∫ dx ⎢Ans. − 5 − 4 x − x + sin + c⎥
2
5 − 4x − x 2 ⎣ 3 ⎦
6. Evaluate
(i) ⎡ 1
∫ 2 x 2 + 3 x + 4 dx ⎢Ans.
⎣ 4 2
(4 x + 3) 2 x 2 + 3 x + 4
23 ⎡⎛ 3⎞ ⎤ ⎤
+ log ⎢⎜ x + ⎟ + 2 x + 3 x + 4 ⎥ + c⎥
2
32 ⎣⎝ 4⎠ ⎦ ⎦
⎡ 1
⎢Ans. 24 (8 x + 10 x − 1) x − x + 1
2 2
(ii) ∫ ( x + 1) x 2 − x + 1 dx
⎣
9 ⎡ ⎛ 1 ⎞⎤ ⎤
+ log ⎢ x 2 − x + 1 + ⎜ x − ⎟⎥ + c⎥
16 ⎣ ⎝ 2 ⎠⎦ ⎦
7. Evaluate
3x + 1 ⎡ 1 1 ⎛ x −1⎞ ⎤
(i) ∫ ( x − 1)2 ( x + 3) dx ⎢Ans. − x − 1 + 2 log ⎜ x + 3 ⎟ + c⎥
⎣ ⎝ ⎠ ⎦
dx
(ii) ∫ ( x 2 + x) ( x 2 − 1)
⎡ 3 1 1 ⎤
⎢Ans. − log x + 4 log( x + 1) − 2 x + 2 + 4 log( x − 1) + c⎥
⎣ ⎦
2sin2θ − cos θ
(iii) ∫ 6 − cos2 θ − 4sin θ d θ
⎡ 19 5 ⎤
⎢Ans. 6 log(sin θ − 5) + 6 log(sin θ + 1) + c⎥
⎣ ⎦
Integration 183
x −1 ⎡ 1 ⎤
(iv) ∫ ( x + 1) ( x 2 + 1) dx ⎢Ans. − log( x + 1) + 2 log ( x + 1) + c⎥
2
⎣ ⎦
x2
(v) ∫ ( x − 1)2 ( x 2 + 1) dx
⎡ 1 1 1 ⎤
⎢Ans. 2 log ( x − 1) − 2 x − 2 − 4 log ( x + 1) + c⎥
2
⎣ ⎦
8. Integrate, with respect to x, the following functions by parts
(i) x sec2 x [Ans. x tan x + log cos x + c]
1 2
(ii) x 3 cos x 2 [Ans. (x sin x 2 + cos x 2) + c]
2
1 2 1 1
(iii) x 2 sin 2x [Ans. x cos 2x + x sin 2x + cos 2x + c]
2 2 4
1 1
(iv) x log (1 + x) [Ans. [(x 2 1) log (1 + x) x 2 + x] + c )]
2 2
1 2 1 2 1
(v) x 2 tan 1 x [Ans. x tan 1 x x + log (x 2 + 1) + c]
3 6 6
(vi) log (1 + x 2) [Ans. x log (1 + x 2) 2x + 2tan 1 x + c]
sin −1 x ⎡ x sin −1 x 1 ⎤
(ix) ⎢Ans. + log(1 − x 2 ) + c⎥
(1 − x 2 )3/2 ⎢⎣ 1− x 2 2 ⎥⎦
⎛ x ⎞ ⎡ −1 ⎛ x ⎞
⎤
(xi) sin −1 ⎜ ⎟ ⎢Ans. (a + x) tan ⎜⎜ ⎟⎟ − ax + c⎥
⎜ a+ x ⎟⎠
⎝ ⎢⎣ ⎝ a⎠ ⎥⎦
xe x ⎡ ex ⎤
(xii) ⎢Ans. − + c⎥
( x + 1) 2 ⎣ x +1 ⎦
184 Mathematical Methods
9. Prove the reduction formulas (iii), (vi), (viii) and (ix) given after
Example 4.22.
10. Evaluate the following definite integrals as the limit of a sum
3
(i) ∫ x dx [Ans. 65/4]
3
2
x
(ii) ∫e dx [Ans. e 2 1]
0
π
(ii) ∫ cos2 x logsin x dx [Ans. π/2]
0
π /3 ⎡
cos xdx 1 ⎛ 3 + 2 3 ⎞⎤
(iii) ∫ 3 + 4sin x
⎢Ans. log ⎜⎜ ⎟⎥
3 ⎟⎠⎥⎦
0 ⎣⎢ 4 ⎝
π /2
sin θ d θ ⎡Ans. 2 2 − 2⎤
(iv) ∫ 1 + cos θ
⎣ ⎦
0
∞
x(tan −1 x)2 dx
(v) ∫ (1 + x 2 )3/2
[Ans. π 2]
0
sin −1 xdx
1/2
⎡ π 2 ⎤
(vi) ∫ (1 − x2 )3/2 ⎢Ans.
⎣ 6 3
− log ⎥
3⎦
0
π /2
dx ⎡ 2 −1 1 ⎤
(vii) ∫ 5 + 4sin x ⎢Ans. 3 tan 3⎥
⎣ ⎦
0
π /2
12. Evaluate ∫ sin | x | dx. [Ans. 2]
−π /2
∫x
4
13. Show that sin xdx = 0.
−π
Integration 185
π
x tan xdx π2
14. Show that ∫ sec x + cos x 4 .
=
0
1
log(1 + x) π
15. Show that ∫ 1 + x2
dx =
8
log 2.
0
∞
16. Show that ⎛ 1 ⎞ dx = π log 2 (Hint: Put x = tan θ)
∫ log ⎜⎝ x + x ⎟⎠ 1 + x2
0
π /2
π
17. Prove that ∫ log cos x dx = 2
log 2.
0
18. Find the area of the parabola y 2 = 4ax bounded by the latus rectum.
[Ans. 8a2/3]
19. Find the area enclosed between the coordinate axes and the curve
CHAPTER 5
Partial Differentiation
5.1 Introduction
We know that the volume V of a right circular cylinder of radius r and
height h is V = πr 2h. For a given pair of values of r and h, one can find
the specific value of V. Here, the volume V depends upon two quantities,
namely r and h. Similarly, the area A of a triangle PQR is given by
A= 1
2
pq sin R and its value depends upon three variables p, q and R.
Thus, we noticed that volume V is a function of two variables, while the
area A is a function of three variables. In a similar way, the height h
(above sea level) on a point on the surface of the earth depends upon the
latitude φ and longitude ψ, i.e., for a pair of values of φ and ψ, we can
find h. In business, the equations governing the simple and compound
interests S and C, respectively, are S(P, r, t) = P(1 + rt) and C(P, r, t, n) =
P (1 + nr ) nt , where P denotes the principal amount, r the annual rate, t
the time in years and n the compound periods in years. Here, the simple
interest S is a function of three variables; while the compound interest C
is a function of four variables. In social sciences, the intelligence quotient
(IQ) level Q of a person is described through the equation Q(m, c) =
100 m/c, where m and c are mental and chronological ages of a person.
It may be noted here that Q is a function of two variables m and c.
Moreover, in the field of medicine, the resistance R for blood flow in a
vessel is governed by an equation of the form R(L, r) = kL/r4, where L is
the length of the vessel, r being the radius of the vessel and k is a constant.
Here, the resistance R depends upon two quantities L and r and thus is a
function of two variables.
In an analogous way, we may have situations where we have to deal
with a function of more than three variables. The differentiation of a
function of more than one variable leads to the concept of partial
differentiation. In this chapter, we shall deal with partial differentiation
and the related results.
Partial Differentiation 187
and
∂f f ( x , y + ∆y ) − f ( x , y )
= lim (2)
∂y ∆y →0 ∆y
provided that the limits in Eqs. (1) and (2) exist.
If the partial derivatives in equations (1) and (2) are evaluated at a
point (x1, y1), then they are, respectively, denoted as
⎡ ∂f ⎤ ⎡ ∂f ⎤
⎢ ∂x ⎥ and ⎢ ⎥
⎣ ⎦ ( x1 , y1 ) ⎣ ∂y ⎦ ( x1 , y1 )
Definition 5.3 If f (x, y) has partial derivatives at each point (x, y), then
∂ f /∂ x and ∂ f /∂ y are themselves functions of x and y which may also
have partial derivatives. These are known as second derivatives and are
denoted as
∂ ⎛ ∂f ⎞ ∂2 f ∂ ⎛ ∂f ⎞ ∂ 2 f
⎜ ⎟ = = f , ⎜ ⎟=
∂y ⎝ ∂y ⎠ ∂y 2 = fyy (3a)
xx
∂x ⎝ ∂x ⎠ ∂x 2
∂ ⎛ ∂f ⎞ ∂ 2 f ∂ ⎛ ∂f ⎞ ∂ 2 f
⎜ ⎟ = = f yx , ⎜ ⎟= = fxy (3b)
∂x ⎝ ∂y ⎠ ∂x ∂y ∂y ⎝ ∂x ⎠ ∂y ∂x
Similarly, we can have other higher order derivatives. For example, fyxx
denotes the partial derivative of f once with respect to y and twice with
respect to x.
It may be noted that if fxy and fyx are continuous, then fxy = fyx, and
the order of partial differentiation is immaterial; otherwise they may not
be equal.
2
Example 5.1 If f (x, y) = x 3 y + e x y , then compute fx , fy , fxx , fyy , fxy ,
and fyx.
Solution Here
∂f ∂ 2 2
fx = = ( x3 y + e xy ) = 3 x 2 y + y 2 e xy
∂x ∂x
Partial Differentiation 189
∂f ∂ 3 2 2
fy = = ( x y + e xy ) = x3 + 2 xye xy
∂y ∂y
∂2 f ∂ ⎛ ∂f ⎞ ∂ 2 2
fx x = = ⎜ ⎟= (3 x 2 y + y 2 e xy ) = 6 xy + y 4 e xy
∂x 2
∂x ⎝ ∂x ⎠ ∂x
∂2 f ∂ ⎛ ∂f ⎞ ∂ 3 2 2
fyy = = ⎜ ⎟= ( x + 2 xye xy ) = (4 x 2 y 2 + 2 x) e xy
∂y 2 ∂y ⎝ ∂y ⎠ ∂y
∂2 f ∂ ⎛ ∂f ⎞ ∂ 2 xy 2 xy 2
fx y = = ⎜ ⎟ = (3x y + y e ) = 3x + (2 xy + 2 y )e
2 2 3
∂y ∂x ∂y ⎝ ∂x ⎠ ∂y
∂2 f ∂ ⎛ ∂f ⎞ ∂ 2 2
fyx = = ⎜ ⎟ = ( x3 + 2 xye xy ) = 3 x 2 + (2 xy 3 + 2 y ) e xy
∂x ∂y ∂x ⎝ ∂y ⎠ ∂x
It may be noted that in this example, fx y = fy x.
Example 5.3 If f = x 2 tan 1 ( y/x), find ∂2 f /∂x∂ y at the point (1, 1).
190 Mathematical Methods
Solution Here
∂f ∂ x3
= [ x 2 tan −1 ( y / x)] = 2
∂y ∂y x + y2
which when differentiated partially with respect to x yield
∂2 f ∂ ⎛ ∂f ⎞ ∂ ⎛ x3 ⎞ ( x 2 + y 2 ) (3x 2 ) − ( x3 )(2 x)
= ⎜ ⎟= ⎜ 2 ⎟=
∂x ∂y ∂x ⎝ ∂y ⎠ ∂x ⎜⎝ x + y 2 ⎟⎠ ( x 2 + y 2 )2
Therefore
⎡ ∂2 f ⎤
⎢ ⎥ =1
⎣ ∂x ∂y ⎦ (1,1)
Definition 5.4 If z = f (x, y) where x = g(t) and y = h(t), i.e., x and y both
are functions of a single variable t, then
dz ∂z dx ∂z dy
= + (4)
dt ∂x dt ∂y dt
is known as the total derivative of z with respect to t. This equation can
also be written as
∂z ∂z
dz = dx + dy (5)
∂x ∂y
and in this case, dz is called the total differential of z.
In a similar way, if z = f (x1, x2, x3, ..., xn) where x1, x2, x3, ..., xn are
all functions of t, then
Remarks
1. When f (x, y) is a function of x and y, and y is a function of x, then the
total derivative of f with respect to x is
df ∂f ∂f dy
= + (7)
dx ∂x ∂ y dx
Now, if we have an implicit relation between x and y of the form f (x, y)
= c, where c is a constant and y is a function of x, then Eq. (7) reduces to
∂f ∂f dy
0=+
∂ x ∂ y dx
which gives the following important relation between the ordinary and
partial derivatives of f
dy ∂f ∂f
= / (8)
dx ∂x ∂y
Also, if f is a function of the n variables x1, x2, ..., xn and x2, x3, ..., xn
are all functions of x1, then
df ∂f ∂ f d x2 ∂ f d x3 ∂ f d xn
= + + + ... + (8a)
d x1 ∂ x1 ∂ x2 d x1 ∂ x3 d x1 ∂ xn d x1
2. For the sake of convenience, we have the following notations
∂f ∂f ∂2 f ∂2 f ∂2 f
= p, = q, 2 = r , = s, 2 = t (9)
∂x ∂y ∂x ∂ x∂ y ∂y
With these notations, Eq. (8) takes the form
dy p
=−
dx q
which on differentiation with respect to x leads to
d2y q dp
dx
− p dq
dx
= (10)
dx 2 q2
But from Eq. (7), we have
dp ∂ p ∂p dy ⎛ p ⎞ qr − ps
= + = r + s⎜ − ⎟ =
dx ∂x ∂y dx ⎝ q⎠ q
and
dq ∂q ∂q dy ⎛ p ⎞ qs − pt
= + = s + t⎜− ⎟ =
dx ∂x ∂y dx ⎝ q⎠ q
192 Mathematical Methods
d2y q 2 r − 2 pqs + p 2 t
= (11)
dx 2 q3
which gives second order ordinary derivative in terms of partial
derivatives.
Solution Here
∂f ⎛ y⎞ ∂f ⎛1⎞
= x 2 e y / x ⎜ − 2 ⎟ + 2 xe y / x , = x2e y / x ⎜ ⎟
∂x ⎝ x ⎠ ∂y ⎝ x⎠
Thus
∂f ∂f
df= dx + dy = (2xe y/x ye y/x) dx + xe y/x dy
∂x ∂y
2
xy
Example 5.5 If f = e when x = t cos t, y = t sin t, find d f /dt at
t = π/2.
Solution Here
p = 2(ax + hy), q = 2(hx + by), r = 2a, s = 2h, t = 2b
Therefore, from Eq. (11), we have
d2 y (hx + by )2 a − 2(ax + hy ) (hx + by ) h + (ax + hy )2 b
=−
dx 2 (hx + by )3
∂z ∂z ∂x ∂z ∂y
= + (13)
∂t1 ∂x ∂t1 ∂y ∂t1
Similarly, when t2 is taken as a constant, we have
∂z ∂z ∂x ∂z ∂y
= + (14)
∂t2 ∂x ∂t2 ∂y ∂t2
Equations (13) and (14) may be considered as a pair of simultaneous
linear equations and can be solved for ∂z/∂x and ∂z/∂y in terms of
∂z/∂t1, ∂z/∂t2 and the known quantities ∂x/∂t1, ∂y/∂t1, ∂x/∂t2 and ∂y/∂t2.
If we put these values of ∂z/∂x, ∂z/∂y and the values of x and y, as given
by Eq. (12) in any expression involving z, x, y, ∂z/∂x, ∂z/∂y we shall then
get the required transformation.
Now, if Eq. (12) is easily solvable for t1 and t2 in terms of x and y,
and
t1 = F (x, y), t2 = G(x, y) (15)
194 Mathematical Methods
∂z ∂z ∂t1 ∂z ∂t2
= + (16b)
∂y ∂t1 ∂y ∂t2 ∂y
Here the values of ∂t1/∂x, are to be substituted after finding them from
Eq. (15).
It may be noted that the higher order derivatives of z can be obtained
by a repeated application of Eqs. (13) and (14) (or, Eq. (16)). The above
formulas can be extended when more than two independent variables
are involved.
One of the familiar examples of the change of variables is the change
from the cartesian coordinates (x, y) to the polar coordinates (r, θ), where
x = r cos θ and y = r sin θ.
∂2 z ∂2 z
+ =0
∂x 2 ∂y 2
into polar coordinates.
x = r cos θ, y = r sin θ, r = 1
x 2 + y 2 , θ = tan ( y/x) (17)
which on partial differentiation leads to
∂r x ∂r y
= = cos θ, = = sin θ
∂x x +y
2 2 ∂y x + y2
2
∂θ y sin θ ∂θ x cos θ
= − 2 =− , = 2 =
∂x x +y 2
r ∂y x + y 2
r
Therefore, from Eq. (16), we have
∂z ∂z ∂z ⎛ sin θ ⎞
= cos θ + ⎜− ⎟
∂x ∂r ∂θ ⎝ r ⎠
Partial Differentiation 195
⎛x x x ⎞
xrn F ⎜ 1 , 2 , ..., m ⎟
⎝ xr xr xr ⎠
then the function f (x1, x2, x3, ..., xm) is known as a homogeneous function
of x1, x2, ..., xm of degree n. A relation between a homogeneous function
and its partial derivatives is given by the following theorem.
Theorem 5.1 Eulers Theorem. If f (x1, x2, x3, ..., xm) is a homogeneous
function of x1, x2, ..., xm of degree n, then
∂f ∂f ∂f ∂f
x1 + x2 + x3 + ... + xm = nf
∂x1 ∂x2 ∂x3 ∂xm
∂f
z = 3x 2yz + 5xy 2z + 16z 4
∂z
so that on adding these, we get
∂f ∂f ∂f
x +y +z = 12x 2yz + 20xy 2z + 16z 4 = 4 f
∂x ∂y ∂z
which is Eq. (20) and thus the Eulers theorem is verified.
Partial Differentiation 197
EXERCISES
1. Verify fx y = fyx when
(i) f = ax 2 + 2hxy + by 2 (ii) f = x sin y + y sin x
(iii) f = x log y (iv) f = log[(x 2 + y 2)/xy]
(v) f = log tan ( y/x) (vi) f = (ay bx)/(by ax)
∂3 f
2. If f = exyz, show that = (1 + 3xyz + x 2y 2z 2) e xyz.
∂x ∂y ∂z
∂2 f
3. If f = tan 1 ( xy / 1 + x 2 + y 2 ), show that =
∂x ∂y
1
.
(1 + x + y 2 )3/ 2
2
∂2 z
4. If x xy yz z = c, show that at x = y = z, = (x log ex) 1.
∂x ∂y
∂ 2u ∂ 2u
5. If u = f (x + ay) + g(x ay), show that = a2 .
∂y 2 ∂x 2
∂z ∂z
6. If z = f ( y/x), show that x +y = 0.
∂x ∂y
7. Find dy/dx if
(i) ax 2 + 2hxy + by 2 = 1. [Ans. (ax + hy)/(hx + by)]
x y
(ii) y + x = c. [Ans. ( y log y + yx y1)/(xy x 1 + x y log x)]
x
8. Find df /dx if
(i) f = x log xy where x 3 + y 3 + 3xy = 1.
[Ans. 1 + log xy x(x 2 + y)/y(x + y 2)]
(ii) f = sin (x 2 + y 2) where a 2 x 2 + b 2 y 2 = c 2.
[Ans. 2x[cos (x 2 + y 2)] (1 a2/b2)]
9. If z = f (r), where r 2 = x 2 + y 2, prove that
∂2 z ∂2 z 1
+ = f ″(r) + f ′(r )
∂x 2
∂y 2 r
10. If u = f ( y z, z x, x y), prove that
∂u ∂u ∂u
+ + =0
∂x ∂y ∂z
198 Mathematical Methods
∂z ∂z 1 ∂z sin θ
= cos θ −
∂x ∂r r ∂θ
14. Verify Eulers theorem for
(i) f (x, y) = ax 2 + 2hxy + by 2
(ii) f (x, y, z) = axy + byz + czx
(iii) f = x 2(x 2 y 2)3/(x 2 + y 2)3
15. If f is a homogeneous function of degree n, prove that
∂2 f ∂2 f
x +y = (n 1) ∂ f
∂x 2 ∂x ∂y ∂x
∂2 f ∂2 f ∂f
x +y 2 = (n 1)
∂x ∂y ∂y ∂y
∂f ∂f
16. From Eulers theorem x +y = n f where f is a homogeneous
∂x ∂y
function of x and y of degree n, deduce that
∂2 f ∂2 f ∂2 f
x2 + 2 xy + y 2 2 = n(n 1) f
∂x 2 ∂x ∂y ∂y
17. If F = sin1[(x 2 + y 2)/(x + y)], show that
∂F ∂F
x +y = tan F
∂x ∂y
18. If F = tan 1 [(x 3 + y 3)/(x y)], show that
∂F ∂F
x +y = sin 2F
∂x ∂y
Differential Equations 199
CHAPTER 6
Differential Equations
6.1 Introduction
In many physical problems the relation between the rates of change of
observable quantities is simpler than the relation between the quantities
themselves and due to this reason, differential equations arise naturally
as mathematical models for a number of problems of engineering, physical
sciences, biological and medical sciences as well as social sciences. In
this chapter, we shall be concerned with some basic concepts about
the differential equations and the methods for solving these equations
(For a detailed account of differential equations and their applications,
see [2, 3]).
∂ 2V ∂ 2V ∂ 2V
+ + = 0 (7)
∂x 2 ∂y 2 ∂z 2
∂V ⎛ ∂ 2V ∂ 2V ⎞
= k⎜ 2 + 2 ⎟ (8)
∂t ⎜ ∂y ⎠⎟
⎝ ∂x
∂ 2V 2 ∂ 2V
= a (9)
∂t 2 ∂x 2
∂4φ ∂4φ ∂4φ
+2 + = F(x, y) (10)
∂x 4 ∂x 2 ∂y 2 ∂y 4
dy
= sin x + cos x (11)
dx
dy k
y = x + (12)
dx dy / dx
3/2
d2y ⎡ 2⎤
k = ⎢1 + ⎛⎜ dy ⎞⎟ ⎥ (13)
dx 2 ⎢⎣ ⎝ dx ⎠ ⎥⎦
dy ⎡ 2⎤
⎛ dy ⎞
y = x + k⎢ 1+ ⎜ ⎟ ⎥ (14)
dx ⎢ ⎝ dx ⎠ ⎥
⎣ ⎦
4
d3x d2x ⎛ dx ⎞
+ +⎜ ⎟ = et (15)
dt 3 dt 2
⎝ dt ⎠
2
∂ 3V ⎛ 2 ⎞
= K⎜∂ V ⎟ (16)
∂t 3 ⎜ 2⎟
⎝ ∂x ⎠
There are two types of differential equations:
(i) Ordinary differential equations: The differential equations which
involve derivatives with respect to a single independent variable.
Eqs. (1) to (6) and (11) to (15) are examples of ordinary differential
equations.
(ii) Partial differential equations: The differential equations that
involve two or more independent variables and partial derivatives
with respect to them. Eqs. (7) to (10) and (16) are examples of
partial differential equations.
Differential Equations 201
Remark
In Example 6.1, there is only one arbitrary constant; while in Examples
6.2 and 6.3, the number of arbitrary constants are two, and the resulting
differential equations in these examples are, respectively, of order one
and two. Thus we see that the number of arbitrary constants in a solution
of a differential equation depends upon the order of the differential
equation and is the same as its order. Hence, a differential of order n will
contain n arbitrary constants in its solution.
∫ f1 ( x) dx + ∫ f 2 ( y) dy =c
Example 6.4 Solve the following differential equations
dy 12
(i) = x5 + x2
dx x
dy
(ii) (e x + e x) = ex ex
dx
(iii) (x 2 yx 2) dy + ( y 2 + x 2y 2) dx = 0
(iv) sec2 x tan ydx + sec2 y tan x dy = 0
1 − y2
(v) dy + dx = 0
1 − x2
(vi) 3e x tan ydx + (1 e x) sec2 y dy = 0
Solution (i) The given differential equation can be written as
⎡ 5 12 ⎤
dy = ⎢ x + x − ⎥ dx
2
⎣ x⎦
which on integration gives the solution as
x6 x3
y= + 12 log x + c
6 3
dy
(ii) The differential equation (e x + e x) = e x e x can be written as
dx
⎛ e x − e− x ⎞
dy = ⎜⎜ x −x ⎟⎟ dx
⎝e + e ⎠
Integrating both sides, we get
y = log(e x + e x) + c
as the required solution.
Differential Equations 205
dy x n f ( y / x)
= n = F ( y/x) (27)
dx x g ( y / x)
Such types of equations can be solved by substitution y = vx. Equation
(27) thus becomes
dv dv dx
v+x = F (v) or =
dx F (v ) − v x
The variables have now been separated and the solution is
dv
∫ F (v ) − v = log x + c
After integrating the left hand side of this equation v should be replaced
by y/x to get the required solution.
2x
log(x + y) + =c
x+ y
as the required solution.
6.3.3 Linear Differential Equations
A linear differential equation of first order is of the form
dy
+ Py = 0 (29)
dx
where P and Q are constants or functions of x alone.
The solution of Eq. (29) is given by
∫ Pdx dx + c
ye ∫
Pdx
= ∫Qe (30)
so that
e∫
Pdx 2
= elog( x −1) = x 2 − 1
Thus, from Eq. (30), the solution of the given differential equation is
1
y(x 2 1) = ∫ x2 − 1 (x 2 1) dx + c = x + c
P = cot x ⇒ e ∫ = e∫
Pdx cot xdx
= elog sin x = sin x
Thus, from Eq. (30), after simplification, we get
( y 1) sin x + x cos x = c
as the required solution.
(iii) The given equation can be written as
dy 1 1
− y = log x
dx x x
Here P = 1/x, Q = (log x)/x and e ∫
Pdx
= e log x = 1/x and thus from
Eq. (30), the solution is
y = cx (1 + log x)
(using log x = t and integrating by parts).
6.3.4 Differential Equations Reducible to Linear Form
An equation of the form
dy
+ Py = Q y n (31)
dx
where P and Q are constants or functions of x alone, and n is constant
except 0 and 1, is called a Bernoullis equation.
The solution of Eq. (31) is obtained as follows:
Divide Eq. (31) by y n and put y n + 1 = v so that ( n + 1) y n dy/dx =
dv/dx, and Eq. (31) thus reduces to
dv
+ (1 n) Pv = (1 n)Q
dx
which is linear differential equation in v and can be solved by the method
given in Section 6.3.3.
dy x x
y2
+ y −1 =
dx 1 − x 2
1 − x2
1 2
Put y = v so that y (dy/dx) = dv/dx and the given equation
reduces to
210 Mathematical Methods
dv x x
− v=−
dx 1 − x 2 1 − x2
which is linear differential equation in v and the solution is (using
Eq. (30))
∫ M dx + ∫ N dy = c (32)
( y = const.) (terms without x )
∫ (ax + hy + g ) dx + ∫ (by + f ) dy = c1
or
ax 2 2
+ hxy + gx + by + f y = c1
2 2
⇒ ax + 2hxy + by 2 + 2gx + 2fy + c = 0
2
where c = 2c1.
∂M ∂N
(ii) Here, M = 2x + y 1 and N = x + 2y 3. Thus, = , which
∂y ∂x
shows that the given differential equation is exact. Hence, the required
solution is
∫ M dx + ∫ N dy = c
( y = const.) (terms without x )
⇒ ∫ (− 2 x + y − 1) dx + ∫ (2 y − 3) dy = c
⇒ y 2 x 2 + yx x 3y = c
⎡ x⎤
Example 6.9 Solve (1 + e x/y) dx + e x/y ⎢1 − ⎥ dy = 0.
⎣ y⎦
Solution Here
⎡ x⎤ ∂M ∂N
M = 1 + e x/y, N = e x/y ⎢1 − ⎥ and =
⎣ y ⎦ ∂y ∂x
Thus, the given differential equation is exact. Now
212 Mathematical Methods
∫ M dx = ∫ ⎡⎣1 + e x / y ⎤⎦ dx = x + ye x / y
( y = const.)
and
∫ N dy = 0
(terms without x )
Case I: If the n roots m1, m2, ..., mn of Eq. (37) are distinct, then the
solution of Eq. (35) is
mx m x m x
yc = y = c1e 1 + c2 e 2 + ... + cn e n (38)
In Eq. (38), yc is known as complementary function.
Example 6.10 Solve
d3 y d2y dy
+6 + 11
+ 6y = 0
dx 3
dx 2 dx
Solution The A.E. for this differential equation is m 3 + 6m 2 + 11m + 6 =
0 which on solving leads to m = 1, 2, 3. Therefore, from Eq. (38),
the required solution is
214 Mathematical Methods
Case II: If Eq. (37) has a root m = a, which repeats n times, then the
solution of Eq. (35) is
y = (c1 + c2 x + ... + cn x n1) e ax (39)
If Eq. (37) has k roots each equal to m1 and the remaining (n k) roots
are all distinct, then the solution of Eq. (35) is
y = (c1x k 1 + c2 x k 2 + ... + ck 1x + ck) em1x + ck +1emk +1 x + ... + cn emn x
(40)
Example 6.11 Solve
d3y dy
−3 + 2y = 0
dx 3 dx
Solution The A.E. for this differential equation is m 3 3m + 2 = 0 whose
roots are m = 1, 1, 2. Therefore, from Eq. (40), the required solution is
y = (c1x + c2) e x + c3e 2x
d2y dy
16 + 24 + 9y = 0
dx 2
dx
Solution The A.E. for the given differential equation is
16m 2 + 24m + 9 = 0 ⇒ (4m + 3)2 = 0 ⇒ m = 3/4, 3/4
Therefore, from Eq. (39), the required solution is
y = (c1 + c2 x) e(3/4)x
Case III: If the constant coefficients in Eq. (37) are real, then any
imaginary root it may have must occur in conjugate pairs. Thus, if
α + iβ is one root, then α iβ must be another root. If α ± iβ are two
imaginary roots of an auxiliary equation of a second order differential
equation, then the solution is
y = e α x (c1 cos βx + c2 sin βx) (41)
If α + iβ and α iβ each occurs twice as a root, then the solution is
y = e αx [(c1 + c2 x) cos βx + (c3 + c4 x) sin βx) (42)
d2y
+ 4y = 0
dx 2
Differential Equations 215
In case where f (D) can be factorised having the factors of the form
(D α) (D β) ... (D γ), then
1 ⎡ 1 ⎤
Q ( x) =
⎢ ⎥ Q ( x)
f ( D) ⎣ ( D − α ) ( D − β)... ( D − γ ) ⎦
If f (D) has a factor of the form (D α), then
1
Q ( x) = e αx ∫ Q ( x ) e − αx dx (48)
D−α
Example 6.15 Solve
d2y
+ a 2y = sec ax
dx 2
Solution The A.E. for the given differential equation is
m 2 + a 2 = 0 ⇒ m = ± ia
Thus, the complementary function yc is
yc = c1 cos ax + c2 sin ax (49)
while the particular integral yp is
1 1 1
yp = Q ( x) = 2 sec ax = sec ax
f ( D) D + a2 ( D + ia) ( D − ia)
1 ⎡ D − D + ia − ( − ia ) ⎤
= ⎢ ⎥ sec ax
2ia ⎣ ( D + ia ) ( D − ia ) ⎦
1 ⎡ ( D + ia ) − ( D − ia ) ⎤
= ⎢ ⎥ sec ax
2ia ⎣ ( D + ia ) ( D − ia ) ⎦
1 ⎡ 1 1 ⎤
= − sec ax
2ia ⎣ D − ia D + ia ⎥⎦
⎢
1 ⎡ 1 ⎤ 1 ⎡ 1 ⎤
= ⎢ ⎥ sec ax − sec ax (50)
2ia ⎣ D − ia ⎦ 2ia ⎢⎣ D + ia ⎥⎦
which is of the form (48). Now
1 ⎡ 1 ⎤ 1 iax
⎢ ⎥ sec ax = e ∫ sec ax (e −iax ) dx
2ia ⎣ D − ia ⎦ 2ia
1 iax 1
= e ∫ (cos ax i sin ax) dx
2ia cos ax
Differential Equations 217
eiax
2ia ∫
= [1 − i tan ax ] dx
eiax ⎛ i ⎞
= ⎜ x + log {cos ax}⎟ (51)
2ia ⎝ a ⎠
In a similar manner, we have
1 ⎡ 1 ⎤ e−iax ⎛ i ⎞ (52)
⎢ ⎥ sec ax = ⎜ x − log {cos ax}⎟
2ia ⎣ D + ia ⎦ 2ia ⎝ a ⎠
where we have used Eulers formula eiax = cos ax + i sin ax (cf., Chapter
1). Now, from Eqs. (51) and (52), the particular integral given by
Eq. (50) can be written, after simplification, as
x 1
yp = sin ax + 2 cos ax {log (cos ax)} (53)
a a
Therefore, from Eqs. (49) and (53), the complete solution of the given
differential equation is
x 1
y = yc + yp = c1 cos ax + c2 sin ax + sin ax + 2 cos ax {log (cos ax)}
a a
1 136e − x
= 272e− x = (56)
(−1) + 31(−1) + 240
2 105
Therefore, form Eqs. (55) and (56), the required solution of the given
differential equation is
136e− x
y = yc + yp = c1 e 15x + c2 e 16 x +
105
Remark
If f (a) = 0 in Eq. (54), then
1 1 ax 1
P.I. = Q( x) = e V = e ax V (57)
f ( D) f (a) f ( D + a)
where Q(x) = e ax = e ax . 1 = e ax. V (V is constant).
d3y d2 y dy
+3 +3 + y = e x
dx 3
dx 2 dx
Solution For the given differential equation
(D 3 + 3D 2 + 3D + 1) y = e x
3 2
the A.E. m + 3m + 3m + 1 = 0 has the roots m = 1, 1, 1. Thus, the
complementary function is
yc = (c1 + c2x + c3x 2) e x (58)
3 2 3
Here, f (D) = D + 3D + 3D + 1 = (D + 1) which gives f (a) = f ( 1) =
0, and thus from Eq. (57), the particular integral is
−x 1
yp = e (1)
f (D + a)
−x 1
= e
{( D + 1) − 1}3
1 −x x3
= e− x (1) = e x D 3 (1) = e (59)
D3 6
Differential Equations 219
Therefore, from Eqs. (58) and (59), the complete solution of the given
differential equation is
x3
y = yc + yp = (c1 + c2 x + c3 x 2 + ) e x
6
6.7.2 When Q(x) = sin ax or cos ax
In this case, if f ( a 2) ≠ 0, the particular integral is
1 1 1
P.I. = yp = Q ( x) = sin ax = sin ax (60)
f ( D) f ( D2 ) f (− a 2 )
1 1 1
P.I. = y p = Q( x) = cos ax = cos ax (61)
f ( D) 2
f (D ) f (−a 2 )
1 1
It may be noted that if P.I. = yp = Q ( x) = sin ax, then put
f ( D) f (D2 )
a2 for D 2, a 4 for D 4, a6 for D6 and so on, in f (D) to calculate yp.
The above method, for calculating the particular integral, however
fails, if D 2 + a2 is a factor of f (D) and f ( a 2) = 0. In such case, we have
1 1 −x
P.I. = yp = Q( x) = 2 sin ax = cos ax (62)
f ( D) D +a 2 2a
1 1 x
P.I. = yp = Q ( x) = 2 cos ax = sin ax (63)
f ( D) D + a2 2a
Example 6.18 Solve
d2ydy
+ 9y = 40 sin 5x
−8
dx dx
2
yc = c1e(4 + 7 )x
+ c2 e (4 − 7)x
(64)
while, the particular integral is
1 1
yp = Q ( x) = 2 40 sin 5x
f ( D) D − 8D + 9
1 −1 1
= 40 sin 5 x = 40 sin 5 x
−5 − 8 D + 9
2
8 D+2
220 Mathematical Methods
− 40 D − 2 −5( D − 2) 5
= sin 5 x = sin5 x = (D 2) sin 5x
8 D2 − 4 −5 − 4
2
29
5 5
= (D sin 5x 2sin 5x) = (5 cos 5x 2 sin 5x) (65)
29 29
Therefore, from Eqs. (64) and (65), the required solution is
5
y = yc + yp = c1e(4 + 7 )x
+ c2 e(4 − 7 )x
+ (5cos 5x 2 sin 5x)
29
Example 6.19 Solve (D 2 + 4)y = cos 2x.
Solution The A.E. for the given differential equation is m2 + 4 = 0 which
has the roots m = ±2i, and thus the complementary function is
yc = c1 cos 2x + c2 sin 2x (66)
The particular integral, from Eq. (63), is
1 1 x x
yp = cos 2 x = cos 2 x = sin 2 x = sin 2 x (67)
D +a2 2
D +42 2(2) 4
Therefore, the complete solution of the given differential equation, from
Eqs. (66) and (67), is
x
y = yc + yp = c1 cos 2x + c2 sin 2x + sin 2x
4
Example 6.20 Solve (D 4 1) y = sin x.
Solution The A.E. m4 1 = 0 has the roots m = ± 1, ± i, and thus, the
complementary function is
1 ⎡ x ⎤ 1 1
= sin x = −
⎢− 2(1) ⎥ cos x = 4 x cos x (69)
(−1 − 1)( D + 1) 2
⎣ ⎦ 2
Therefore, the complete solution of the given differential equation, from
Eqs. (68) and (69), is
1
y = yc + yp = c1e x + c2e x + c3 cos x + c4 sin x + x cos x
4
Differential Equations 221
1 1 k
yp = Q ( x) = k= (70 a)
f ( D) f ( D) Pn
Example 6.21 Solve (D 2 + 4)y = sin2 x.
Solution The given differential equation can be written as
1
(D 2 + 4) y = sin2 x = (1 cos 2x) (71)
2
The roots of the A.E. m 2 + 4 = 0 are m = ± 2i and the complementary
function thus has the form
yc = a1 cos 2x + a2 sin 2x
⎡ a1 a2 ⎤
= a12 + a22 ⎢ 2 cos2 x + sin 2 x⎥
⎢ a1 + a22 a12 + a22 ⎥
⎣ ⎦
= c1 (cos c2 cos 2x sin c2 sin 2x) = c1 cos (2x + c2) (72)
where we have used the identity cos (A + B) = cos A cos B sin A sin B
222 Mathematical Methods
and the substitutions cos c2 = a1/ a12 + a22 , sin c2 = −a2 / a12 + a22 , and
c1 = a12 + a22 . The particular integral, using Eqs. (63) and (70), is
given by
1 1 1 1 1 1 1
yp = Q( x) = 2 (1 − cos 2 x) = (1) − cos2 x
f ( D) D +42 2 D2 + 4 2 D2 + 4
−1
1⎛ D2 ⎞ 1 1 1
= ⎜⎜1 + ⎟ (1) − ( x sin 2 x) = − x sin 2 x (73)
8⎝ 4 ⎟⎠ 8 8 8
Therefore from Eqs. (72) and (73), the complete solution of the given
Eq. (71) is given by
1 1
y = yc + yp = c1 cos (2x + c2) + − x sin 2x
8 8
d3 y d2y dy
+3 +2 = x2
dx 3
dx 2 dx
Solution For the given differential equation
(D 3 + 3D 2 + 2D) y = x 2
3 2
the A.E. m + 3m + 2m = 0 has the roots m = 1, 2, 0. Thus, the
complementary function is
yc = c1 + c2e x + c3e 2x (74)
The particular integral is
−1
1 1 1 ⎧⎪ ⎛ 3 D 2 ⎞⎫⎪ 2
yp = Q( x) = 3 x 2
= ⎨1 + ⎜ D + ⎟⎬ x
f ( D) D + 3D 2 + 2 D 2 D ⎪⎩ ⎜⎝ 2 2 ⎟⎠⎪⎭
1 ⎧⎪ 3 ⎫
2
D2 ⎛ 3 D2 ⎞ ⎪ 2
= ⎨1 − D − + ⎜ D + ⎟ − ...⎬x
2D ⎪ 2 2 ⎜⎝ 2 2 ⎟⎠
⎩ ⎭⎪
1 ⎧ 2 3 2 1 2 2 9 2 2 1 4 2 3 3 2 ⎫
= ⎨x − Dx − D x + D x + D x + D x + ...⎬
2D ⎩ 2 2 4 4 2 ⎭
1 −1 ⎧ 2 9 ⎫ 1 ⎧1 3 9 ⎫
= D ⎨ x − 3 x − 1 + ⎬ = ⎨ x 3 − x 2 − x + x⎬ (75)
2 ⎩ 2 ⎭ 2 ⎩3 2 2 ⎭
Differential Equations 223
Therefore, from Eqs. (74) and (75), the complete solution of the given
differential equation is
1 ⎧1 3 3 2 9 ⎫
y = c1 + c2e x + c3e 2x + ⎨ x − x − x + x⎬
2 ⎩3 2 2 ⎭
Example 6.23 Solve
d3y d2y dy
+2 + = e 2x + x 2 + x
dx 3
dx 2 dx
Solution For the given differential equation, the A.E. m3 + 2m2 + m = 0
has the roots m = 0, 1, 1. Thus, the complementary function is
yc = c1 + (c2 + c3x) e x (76)
The particular integral is
1 1
yp = Q( x) = 3 (e 2x + x 2 + x)
f ( D) D + 2D2 + D
1 1 1
= e2 x + x2 + x
D + 2D + D
3 2
D + 2D + D
3 2
D + 2D 2 + D
3
1 1 1 1 1
= e2 x + x2 + x
2 + 2(2 ) + 2
3 2
D (1 + 2 D + D )
2
D (1 + 2 D + D 2 )
1 2x 1 1
= e + {1 + (2 D + D 2 )}−1 x 2 + {1 + (2 D + D 2 )}−1 x
18 D D
Now, expanding the second and third terms of this equation using the
Binomial theorem, we get, after performing the indicated operations
1 2x
yp = e + ∫ x 2 dx − 4 ∫ xdx + 6 ∫ dx + ∫ xdx − 2 ∫ dx
18
1 2x 1
= e + x(2x 2 9x + 24) (77)
18 6
Therefore, from Eqs. (76) and (77), the given differential equation has
the solution
1 2x 1
y = c1 + (c2 + c3 x) e x + e + x (2x 2 9x + 24)
18 6
224 Mathematical Methods
Solution Here
yc = c1e x + c2e 3x
Also, f (D) = D2 2D 3 with Q(x) = k = 5 and Pn = 3 and thus from
Eq. (70a), we have
k k 5
yp = = =−
f ( D ) Pn 3
Thus, the solution of the given differential equation is
5
y = yc + yp = c1e x + c2e 3 x
3
6.7.4 When Q(x) = e axV, V is a function of x
In this case, the particular integral is
1 1 ax 1
P.I. = yp = Q( x) = e V = e ax V
f ( D) f ( D) f ( D + a)
Example 6.25 Solve
d2y dy
−4 + y = e 2x sin 2x
dx 2 dx
Solution For the given differential equation the A.E. m 2 4m + 1 = 0 has
the roots m = 2 ± 3. Thus, the complementary function is
(2 +
yc = c1e
3) x
+ c2 e (2− 3) x
(78)
The particular integral is
1 ax 1
yp = e V = 2 (e 2x sin 2x)
f ( D) D − 4D + 1
2x 1 1
= e sin 2 x = e 2 x sin 2 x
( D + 2) − 4( D + 2) + 1
2
D −3
2
2x 1 e2 x
= e sin 2 x = −sin 2 x (79)
−2 2 − 3 7
The complete solution of the given differential equation, from Eqs. (78)
and (79), is
(2 + e2 x
y = c1e
3) x
+ c2 e(2− 3) x
− sin 2 x
7
Differential Equations 225
x 1
= e ( x + 1)
( D + 1)3 − 3( D + 1) 2 + 3( D + 1) − 1
1
= e
x
( x + 1) = e x D −3 ( x + 1) = e x D −2 ∫ ( x + 1) dx
D3
⎛ x2 ⎞ ⎛ x2 ⎞
= e x D −2 ⎜⎜ + x ⎟⎟ = e x D −1 ∫ ⎜⎜ + x ⎟⎟ dx
⎝ 2 ⎠ ⎝ 2 ⎠
⎛ x3 x 2 ⎞ ⎛ x 4 x3 ⎞
= e x D −1 ⎜⎜ + ⎟⎟ = e x ⎜⎜ + ⎟⎟ (81)
⎝6 2⎠ ⎝ 24 6 ⎠
Therefore, from Eqs. (80) and (81), the solution of the given differential
equation is
⎛ x 4 x3 ⎞
y = (c1 + c 2 x + c3 x 2)e x + e x ⎜⎜ + ⎟⎟
⎝ 24 6 ⎠
Example 6.27 Solve
d2y dy
−4 + 4y = 8x 2 e 2x sin 2x
dx 2 dx
Solution The given differential equation has A.E. as m2 4m + 4 = 0
whose roots are m = 2, 2. Thus, the complementary function is
yc = (c1 + c2x) e 2x (82)
The particular integral is
1 1
yp = Q( x) = 2 8x 2e 2x sin 2x
f ( D) D − 4D + 4
226 Mathematical Methods
1
yp = 8e 2 x x 2 sin 2 x
( D + 2) 2 − 4( D + 2) + 4
1 1 2
= 8e2 x x 2 sin2 x = 8e2 x
D∫
2
x sin 2 x dx
D
1⎡ 2 ⎛ dx 2 ⎞ ⎤
= 8e 2 x ⎢ x ∫ sin2 x dx − ∫ ⎜⎜ ∫ sin 2 x dx ⎟⎟ dx⎥
D ⎢⎣ ⎝ dx ⎠ ⎥⎦
1⎡ 1 2 1 1 ⎤
= 8e2 x ⎢− x cos 2 x + x sin2 x + cos2 x⎥
D⎣ 2 2 4 ⎦
⎡ 1 1 1 ⎤
= 8e2 x ⎢− ∫ x 2 cos2 xdx + ∫ x sin 2 x dx + ∫ cos 2 xdx⎥
⎣ 2 2 4 ⎦
= e 2x ( 2x 2 sin 2x 4x cos 2x + 3sin 2x) (83)
Therefore, the required solution, from Eqs. (82) and (83) is given by
y = (c1 + c2x) e 2x + e 2x ( 2x 2 sin 2x 4x cos 2x + 3sin 2x)
6.7.5 When Q(x) = x m sin ax (or x m cos ax), m is a positive integer
In this case, the particular integral is
1 1
P.I. = yp = Q( x) = x m sin ax
f ( D) f ( D)
or,
1 1
P.I. = yp = Q( x) = x m cos ax
f ( D) f ( D)
Now, to get the exact value of the particular integral, use
eiax − e −iax eiax + e − iax
sin ax = and cos ax = (84)
2i 2
in the above equations so that the particular integral can take the form
1 1 ax
P.I. = y p = Q( x) = e V
f ( D) f ( D)
which can be solved by using the method given in Section 6.7.4.
Solution Here
yc = c1 + c2 e x (85)
1 1 1 ⎡1 ⎤
yp = Q( x) = 2 x cos x = 2 x ⎢ (eix + e −ix )⎥
f ( D) D +D D +D ⎣ 2 ⎦
1 1 1 1
= eix x + e−ix x
2D +D
2
2D +D
2
1 ix 1 1 1
= e x + e−ix x
2 ( D + i)2 + ( D + i) 2 ( D − i) + ( D − i)
2
1 ix 1 1 1
= − e x − e −ix x
2 1 − D − 2 Di − D − i
2
2 1 − D + 2 Di − D + i
2
1 −1
= − eix ⎡⎣1 − ( D 2 + 2 Di + D + i )⎤⎦ x
2
1 −ix −1
e ⎡⎣1 − ( D − 2 Di + D − i )⎤⎦ x
2
2
which on using the Binomial theorem and Eq. (84), after simplification,
reduces to
1 1
x(sin x − cos x) + cos x + sin x
yp = (86)
2 2
Thus from Eqs. (85) and (86), the required solution is
1 1
y = c1 + c2 e x + x(sin x cos x) + cos x + sin x
2 2
Example 6.29 Solve
d2y
+ y = x 2 sin 2x
dx 2
Solution Here
yc = c1 cos (x + c2) (87)
and
1 1 1 ⎡1 ⎤
yp = Q ( x) = 2 x 2 sin 2 x = 2 x 2 ⎢ (ei 2 x − e−i 2 x )⎥
f ( D) D +1 D + 1 ⎣ 2i ⎦
1 1 1 1
= ei 2 x x 2 − e −i 2 x x 2
2i D + 1
2
2i D + 1
2
228 Mathematical Methods
1 i2x 1 1 1
= e x 2 − e −i 2 x x2
2i ( D + 2i ) 2 + 1 2i ( D − 2i ) 2 + 1
1 i2x 1 1 1
= e x 2 − e −i 2 x 2 x2
2i D + 4iD − 3
2
2i D − 4i D − 3
−1
⎛ 1⎞ ⎛ 1 ⎞ ⎡ ⎛ D 2 4iD ⎞⎤ 2
= ⎜ − ⎟ ⎜ ⎟ e 2ix ⎢1 − ⎜ + ⎟⎥ x
⎝ 3 ⎠ ⎝ 2i ⎠ ⎜ 3 ⎟⎠⎥⎦
⎣⎢ ⎝ 3
−1
⎡ ⎛ 2 ⎞⎤
⎛⎜ − 1 ⎞⎟ ⎛⎜ 1 ⎞⎟ e−2ix ⎢1 − ⎜ D − 4iD ⎟⎥ x 2
⎝ 3 ⎠ ⎝ 2i ⎠ ⎜ 3 ⎟⎠⎥⎦
⎢⎣ ⎝ 3
which from Binomial theorem and Eq. (84), after simplification, leads
to
8 1
yp = − x cos2 x + (26 − 9 x 2 )sin 2 x (88)
9 27
The required solution from Eqs. (87) and (88) is
8 1
y = yc + yp = c1 cos (x + c2) x cos 2x + (26 9x2) sin 2x
9 27
d2y dy
−2 + y = x sin x
dx 2 dx
Solution Here
yc = (c1 + c2x) ex (90)
1 1
yp = Q( x) = 2 x sin x
f ( D) D − 2D + 1
1 2D − 2
= x sin x − sin x
D − 2D + 1
2
( D − 2 D + 1) 2
2
Differential Equations 229
1 −1 1
= − xD sin x − D 2 (2D 2) sin x
2 4
1 1
= x cos x − D −2 (cos x sin x)
2 2
1
= (xcos x + cos x sin x) (91)
2
The required solution of the given differential equation, from Eqs. (90)
and (91), is therefore
1
y = (c1 + c2 x) e x + (x cos x + cos x sin x)
2
Example 6.31 Solve
d2y dy
+2 + y = xcos x
dx 2 dx
Solution Here
yc = (c1 + c2 x) e x (92)
and
1 1
yp = Q( x) = 2 x cos x
f ( D) D + 2D + 1
1 2D + 2
= x cos x − cos x
D + 2D + 1
2
( D + 2 D + 1) 2
2
EXERCISES
1. Form the differential equation for the curve y = c(x c)2.
⎡ dy ⎛ dy ⎞ ⎤
2
⎢ Ans. 8 y 2
= 4 xy − ⎜ ⎟ ⎥
⎣⎢ dx ⎝ dx ⎠ ⎦⎥
2. Form the differential equation for the curve (x h)2 + ( y k) 2
= r 2. [Ans. [1 + (dy/dx)2]3 = r 2(d 2y/dx 2)2]
3. Find the differential equation of all the circles which pass through
the origin and whose centre lies on y-axis.
[Ans. x 2 y 2 2xy(dx/dy) = 0]
4. Solve the following differential equations:
(i) (1 + cos x) dy (1 cos x) dx = 0
[Ans. y = 2 tan (x/2) x + c]
(ii) (x + 2) (dy/dx) = x 2 + 4x 9
[Ans. y = (x 2/2) + 2x 13 log (x + 2) + c]
(iii) (x 1) y′ = 2x 3
7. Solve
(i) xdy + ydx = y 2 log x dx [Ans. 1 = (1 + log x) y cxy]
(ii) y(2xy + e x) dx e x dy = 0 [Ans. e x y 1 = x 2 + c]
(iii) cos xd y = ( y sin x y) dx [Ans. 1/y = sin x + c cos x]
8. Solve
xdy − ydx
(i) xdx + ydy + = 0. [Ans. x 2 2 tan 1 (x/y) + y 2 = 2c]
x2 + y2
(ii) (sin x cos y + e 2x) dx + (cos x sin y + tan y) d y = 0
1 2x
[Ans. e cos x cos y + log sec x = c]
2
9. Continuous compound interest. Find the amount A in the saving
dA
bank account after t years if: (i) = 0.08 A and A(0) = 1000 and
dt
dA
(ii) = 0.12 A and A(0) = 5250.
dt
[Ans. (i) 1000 e 0.08t (ii) A = 8000e 0.06t]
10. Price-demand. If the marginal price dp/dx at x units of demand
per week is proportional to the price p, and if at Rs. 100.00 there is
no weekly demand [p (0) = 100], and if at Rs. 77.88 there is a
weekly demand of 5 units [p(5) = 77.88], find the price-demand
equation. [Ans. p(x) = 100e 0.05x]
11. Population growth. India had a population of 500 million people
in 1966 (t = 0) and growth rate of 3 percent per year (which is
assumed to be compounded continuously). If P is the population
in millions t years after 1966, and the same growth rate continues,
what will Indias population be in the year 2011?
[Ans. 1429 million people]
12. Archaeology. (i) A peice of animal bone was found at an
archaeological site. If 10 percent of the original amount of
radioactive carbon-14 was present, find the age of the bone. (ii) A
skull from an ancient tomb was discovered and found to have
5 percent of the original amount of carbon-14 present. Estimate
the age of the skull.
[Ans. (i) 18600 years approximately (ii) 24200 years approximately]
232 Mathematical Methods
dX
= 0.04X, X (0) = X0
dt
where t is the time in hours. If the initial injection is 3 milliliters
[X(0) = 3], find X = X(t) so that both the conditions are satisfied.
How many milliliters of the drug are still in the body after 10
hours? [Ans. X = 3e 0.04t, X(10) = 2.01 millilitres]
14. Effect of adverstisement. An automobile company is trying to
expose its new car to as many people as possible through an
advertisement of television. Let the rate of exposure to new people
is proportional to the number of those who have not seen this car
out of V possible viewers. If no one is aware of this new car at the
beginning of the campaign and after t days 40 percent of V are
aware of the new car, solve
dN
= k(V N), n(0) = 0, N(10) = 0.4 V
dt
for N = N(t), the number of people who are aware of the new car
after t days of advertising. [Ans. N = V (1 e 0.05t)]
15. Spread of rumour. A group of 400 parents, relatives and friends
are waiting at New Delhi Airports for a student charter to return
after a year in South America. The weather is very bad and the
plane is late. A particular parent thought he had heard that the
radio of the plane has got out of order and passed this news to
some friends, who in turn passed it to others, and so on. Social
scientists have studied the propagation of rumour and found that a
rumour tends to spread at a rate which is directly proportional to
the number x, who heard it, and to the number P x, who have not
heard it, where P is the total population. In our case, P = 400 and
dx
= 0.001x (400 x), x (0) = 1
dt
where t is the time in minutes. Then
(i) Solve this equation for x (t).
Differential Equations 233
(ii) How many people heard the rumour after 5 min and 20 min?
(iii) Find lim x(t ).
t→∞
[Ans. (i) x(t) = 400/(1 + 399e 0.4t), (ii) 7 and 353 (iii) 400]
d3y d2y dy
16. Solve − −6 = 0. [Ans. y = c 1 + c2e 2x + c 3e 3x]
dx 3
dx 2 dx
d2y dy
17. Solve − 2a + a 2y = 0. [Ans. y = (c1 x + c2)e ax]
dx 2 dx
d3y
18. Solve + y = 0.
dx3
[Ans. y = c1e x + e (1/2) x [c2 cos( 3 /2) x + c3 sin( 3 /2) x]
2
2
⎛ 2 ⎞
19. Solve ⎜⎛ dy − y ⎟⎞ ⎜ d y + y ⎟ = 0.
⎝ dx ⎜
⎠ ⎝ dx 2 ⎟
⎠
[Ans. y = (c1 + c2x) e x + (c3 + c4x) cos x + (c5 + c6 x) sin x]
20. Solve
(i) (D 2 2D + 5) y = e x.
1
[Ans. y = (c1 cos 2x + c2 sin 2x + ) e x ]
8
(ii) (D 3 D 2 4D + 4) y = e 3x
e3 x
[Ans. y = c1e x + c2e 2x + c3e 2x + ]
10
21. Solve (D 2 + 6D + 9) y = 2e 3x.
[Ans. y = (c1 + c2 x)e 3x + x 2e 3x]
22. Solve (D 3 + D2 D 1) y = cos 2x.
1
[Ans. y = c1e x + (c2 + c3 x) e x (2sin 2x + cos 2x)]
25
23. Solve (D 2 3D + 2) y = 3sin 2x.
3
[Ans. y = c1e x + c2e 2x + (3 cos 2x sin 2x)]
20
24. Solve (D 2 3D + 2)y = 3 sin 2x.
3
[Ans. y = c1e x + c2e 2x `(3sin 3x + 7 cos 3x)]
130
1 ⎛ 2 1⎞
25. Solve (D 2 4) y = x 2. [Ans. y = c1 e 2x + c2e 2x ⎜x + ⎟ ]
4 ⎝ 2⎠
234 Mathematical Methods
ex
[Ans. y = c1 e x + c2e x + (c3 cos x + c4 sin x) cos x]
5
30. Solve (D 2 + 4D 12)y = (x 1)e 2x.
e2 x ⎛ x 2 9 ⎞
[Ans. y = c1e 6x + c2e 2x + ⎜ − x⎟ ]
8 ⎝⎜ 2 8 ⎠⎟
31. Solve (D 4 + D 3 + D 2 D 2)y = x 2 + e x.
⎛ 7 ⎞
[Ans. y = c1e x + c2e x + c3e x/2 cos ⎜ x + c4 ⎟
⎜ 2 ⎟
⎝ ⎠
1 1 1 3
+ e x x − x2 + x − ]
8 2 2 4
32. Solve (D3 + 1) y = e x sin x.
⎛ 3 ⎞ 1
[Ans. y = c1e x + c2e x/2 cos ⎜ + c3 ⎟ − e x (2cos x 3sin x)]
⎜ 2 ⎟
⎝ ⎠ 13
33. Solve (D 4 1) y = x sin x.
x2 3
[Ans. y = c1e x + c2e x + c3 cos x + c4 sin x + cos x − x sin x ]
8 8
34. Solve (D 2 2D + 1) y = xe x sin x.
[Ans. y = (c1 + c2x x sin x 2 cos x) e x]
Matrices and Determinants 235
CHAPTER 7
Definition 7.1 An array of real numbers (or some other well defined
objects) which are arranged in rows and columns is called a matrix. The
entries of a matrix are known as its elements. Some of the examples of
matrices are
236 Mathematical Methods
⎡ 1 2 3 4⎤ ⎡ − 41 27⎤
⎢ 71 22 − 23 890⎥ , ⎢− 471 − 22⎥
⎢ ⎥ ⎢ ⎥
⎣⎢42 87 56 381⎥⎦ ⎢⎣ 4132 807⎥⎦
and
⎡− 41⎤
⎢− 41⎥
⎡10 − 20 − 43 − 4 54⎤ ⎢ ⎥
⎢61 822 − 2 −90 34⎥ , ⎢ 42⎥
⎣ ⎦ ⎢ ⎥
⎢ 76⎥
⎢⎣ 75⎥⎦
Definition 7.2 In general, a rectangular array of the form
⎡ a11 a12 " a1n ⎤
⎢a a22 " a2 n ⎥⎥
⎢ 21
⎢ . . . . ⎥
⎢ . . . . ⎥
⎢ ⎥
⎣am1 am 2 " amn ⎦
where a ij are scalars, is called a matrix. This matrix is also denoted by
(a ij), i = 1, 2, ..., m, j = 1, 2, ..., n or, only by (aij). The m-horizontal
n-tuples
[a11, a12, ..., a1n], [a21, a22, ..., a2n], ..., [am1, am2, ..., amn]
are known as the row of the matrix and the n vertical m-tuples
⎡a11 ⎤ ⎡a12 ⎤ ⎡a1n ⎤
⎢a21 ⎥ ⎢a22 ⎥ ⎢a2 n ⎥
⎢... ⎥ , ⎢... ⎥ , ...,
⎢... ⎥
⎢⎣am1 ⎥⎦ ⎢⎣am 2 ⎥⎦⎢⎣amn ⎥⎦
are the columns of the matrix. The element aij, which is known as
ij-entry or ij-component, appears in the ith row and jth column. A matrix
with m rows and n columns is called an m by n matrix, or m × n matrix
and the pair of numbers (m, n) is known as the size or shape or order of
the matrix.
It may be noted that a matrix is not a number, it is a rectangular
array of numbers.
Definition 7.3 A matrix with only one row is called a row vector or row
matrix and a one which has got only one column is the column vector or
column matrix.
Matrices and Determinants 237
Definition 7.7 If all the elements of a diagonal matrix are same, then the
matrix is called a scalar matrix.
The matrices
⎡11 0 0 0⎤
⎢ 0 11 0 0⎥ ⎡− 41 0 0⎤
⎢ 0 ⎡10 0⎤
⎢ ⎥, − 41 0⎥⎥ , ⎢
⎢ 0 0 11 0⎥ ⎢
⎣0 10⎥⎦
⎢ ⎥ ⎢⎣ 0 0 − 41⎥⎦
⎣ 0 0 0 11⎦
are the scalar matrices.
⎡1 0 0 0⎤
⎢0 ⎡1 0 0⎤
1 0 0⎥⎥ ⎢0 ⎡1 0⎤
⎢ , 1 0⎥⎥ , ⎢0
⎢0 0 1 0⎥ ⎢
⎣ 1⎥⎦
⎢ ⎥ ⎣⎢0 0 1⎦⎥
⎣0 0 0 1⎦
⎡11 12 33 ⎤
⎢− 51 21 − 223⎥⎥
⎢
⎢4 7 5 ⎥
⎢ ⎥
⎣34 45 67 ⎦
is a submatrix of the matrix
⎡ 11 12 33 44⎤
⎢− 51 21 − 223 90⎥⎥
⎢
⎢ 4 7 5 81⎥
⎢ ⎥
⎣ 34 45 67 23⎦
Matrices and Determinants 239
Definition 7.10 Two matrices X and Y are equal if and only if X and Y
are of the same order and each element of X is equal to the corresponding
element of Y. That is, X = [xij]m × n and Y = [ yij]m × n are equal if and only
if xij = yij, for every i and j.
The matrices
⎡21 10⎤ ⎡42/2 20 − 10⎤
⎢ 6 ⎥ and ⎢ ⎥
⎣ 22⎦ ⎣ 36 22 ⎦
and equal, while the matrices
⎡21 10 ⎤ ⎡210 10⎤
⎢6 and
⎣ 22⎥⎦ ⎢ 6
⎣ 2 ⎥⎦
are not equal.
Definition 7.13 If A and B are matrices of the same order such that
A + B = 0, then B is known as the additive inverse of A, where O denotes
the zero matrix. Thus we have, B = A.
If
⎡− 3 1 2⎤
⎢ −1 − 4⎥⎥
A= ⎢ 2
⎢⎣ 4 5 − 6⎥⎦
then
⎡ 3 −1 − 2⎤ ⎡0 0 0⎤
A = ⎢− 2 1 4⎥ and A + (− A) = ⎢⎢0 0 0⎥⎥
⎥
⎢
⎢⎣− 4 −5 6⎥⎦ ⎢⎣0 0 0⎥⎦
Definition 7.14 If A and B are two matrices of the same order, then the
sum A + ( B) is called the difference or subtraction of A and B and is
Matrices and Determinants 241
denoted by A B.
If
⎡21 10 ⎤ ⎡210 10⎤
A= ⎢ and B = ⎢
⎣6 22⎥⎦ ⎣ 6 2 ⎥⎦
⎡−189 0 ⎤
then A B = A + ( B) = ⎢
⎣ 0 20⎥⎦
Properties of Addition of Matrices
If A, B and C are m × n matrices, then the sum of matrices has the
following properties:
(i) Closure Law. The sum of two matrices A and B is also a matrix
whose order is same as that of A and B.
(ii) Associative Law. (A + B) + C = A + (B + C ).
(iii) Commutative Law. A + B = B + A.
(iv) Identity for Addition. The matrix O is the additive identity, i.e.
A + O = O + A = A.
(v) Inverse for Addition. For every matrix A, the matrix A is the
additive inverse, i.e., A + ( A) = ( A) + A = O.
Example 7.1 If
⎡ 1 2⎤ ⎡2 1⎤
A= ⎢ ⎥ and B = ⎢
⎣−1 3⎦ ⎣1 1⎥⎦
242 Mathematical Methods
Example 7.2 If
⎡1 2⎤ ⎡0 3⎤
A= ⎢ ⎥ and B = ⎢
⎣0 3⎦ ⎣1 4⎥⎦
then find AB and BA.
Solution Here
⎡1 2⎤ ⎡0 3⎤ ⎡2 11⎤
AB = ⎢ =
⎣0 3⎥⎦ ⎢⎣ 1 4⎥⎦ ⎢⎣3 12⎥⎦
and
⎡0 3⎤ ⎡1 2⎤ ⎡0 9 ⎤
BA = ⎢ =
⎣1 4⎥⎦ ⎢0
⎣ 3⎥⎦ ⎢⎣1 14⎥⎦
which yields that AB ≠ BA.
Example 7.3 If
⎡ 1 0 − 4⎤ ⎡5 8 4⎤
A= ⎢ 0 −1 2⎥ and B = ⎢⎢2
⎥ 3 2⎥⎥
⎢
⎢⎣−1 2 1⎥⎦ ⎢⎣1 2 1⎥⎦
then find AB and BA.
Solution Here
⎡1 0 0⎤
⎢ 0⎥⎥ = BA.
AB = ⎢0 1
⎢⎣0 0 1⎥⎦
Matrices and Determinants 243
Remarks
(i) Whenever AB exists, BA is not always defined. For example, if A
is 6 × 2 matrix and B is a 2 × 3 matrix, then AB is defined but BA
is not.
(ii) If AB and BA are both defined, it is always not necessary that they
should be equal. For example, if A is a 2 × 3 matrix and B is a
3 × 2 matrix, then AB is defined and is a 2 × 2 matrix; while BA is
also defined and is a 3 × 3 matrix. Thus AB ≠ BA, as AB and BA
are of different orders.
(iii) If AB and BA are defined and of the same order, even then it is not
necessary that AB = BA. Thus, in general, the multiplication of
two matrices is not commutative.
In most of the parts of this chapter, we shall be concerned with the
square matrices, i.e. the matrices whose rows and columns are same in
number. Thus, if A is a square matrix, by A2, A3, ..., we mean that AA,
(AA) A, ... We also have
Example 7.4 If
⎡ 5 2⎤
A= ⎢
⎣− 3 4⎥⎦
then show that AI2 = I2 A.
Solution Here
⎡ 5 2⎤ ⎡1 0⎤ ⎡ 5 2⎤
AI2 = ⎢ =
⎣− 3 4⎥⎦ ⎢⎣0 1⎥⎦ ⎢⎣− 3 4⎥⎦
and
⎡1 0⎤ ⎡ 5 2⎤ ⎡ 5 2⎤
I2A = ⎢ =
⎣0 1⎥⎦ ⎢− 3
⎣ 4⎥⎦ ⎢⎣− 3 4⎥⎦
which shows that AI2 = I2 A.
244 Mathematical Methods
⎡0 p⎤ ⎡r s⎤ ⎡0 0⎤
A= ⎢ and B = ⎢ then AB = ⎢
⎣0 q ⎥⎦ ⎣0 0⎥⎦ ⎣0 0⎥⎦
while A ≠ 0, B ≠ 0 because p, q, r, s are all not zero.
Example 7.5 If
⎡0 0 0⎤ ⎡−8 7 −10⎤
⎢ 48 60⎥⎥
AB = ⎢⎢0 0 0⎥⎥ = a null matrix, and BA = ⎢ − 42
⎢⎣0 0 0⎥⎦ ⎢⎣ 40 −35 50⎦⎥
Also, we have
⎡0 0 0⎤ ⎡ 4 − 4⎤ 4
⎢ 0⎥⎥ = a null matrix, and AC = ⎢− 20
CA = ⎢0 0
⎢ − 20 20⎥⎥
⎢⎣0 0 0⎥⎦ ⎢⎣ −16
−16 16⎥⎦
(iii) Cancellation law for the multiplication of matrices is not true as
in the case of the multiplication of real numbers. That is, for real
numbers a, b and c, ab = ac implies that b = c is the cancellation
law. This law is not true for matrix multiplication, i.e. for the
matrices A, B and C, AB = AC does not imply that B = C. Thus AB
may be equal to AC with the condition that A ≠ 0 and B ≠ C. This
has been illustrated through the following Example 7.6.
Matrices and Determinants 245
Example 7.6 If
⎡ 1 2 0⎤ ⎡1 2 3⎤ ⎡1 2 3⎤
⎢ 0⎥⎥ , B = ⎢1 −1⎥ , C = ⎢⎢1
⎥ −1⎥⎥
A= ⎢ 1 1 ⎢ 1 1
⎢⎣−1 4 0⎥⎦ ⎢⎣2 2 2⎥⎦ ⎢⎣1 1 1⎥⎦
then show that the cancellation law for matrix multiplication does not
hold.
Solution Here A ≠ 0, B ≠ C and
⎡3 4 1⎤
⎢ 2⎥⎥ = AC
AB = ⎢2 3
⎢⎣3 2 − 7⎥⎦
Example 7.7 If
⎡1 2⎤
A= ⎢ ⎥
⎣4 − 3⎦
then find (i) A 2 and A 3 (ii) f (A), where f (x) = 2x 3 4x + 5. Also, show
that A is the root of the polynomial g (x) = x 2 + 2x 11.
⎡ 9 − 4⎤ ⎡− 7 30⎤
A2 = ⎢ ⎥ and A3 = ⎢
⎣−8 17⎦ ⎣ 60 − 67⎥⎦
246 Mathematical Methods
⎡−13 52⎤
f (A) = 2 A 3 4A + 5I = ⎢
⎣104 −117⎥⎦
Moreover, replacing x by A and 11 by 11I in g (x), we get
⎡0 0⎤
g (A) = A 2 + 2A 11I = ⎢
⎣0 0⎥⎦
Since g (A) is a zero matrix, therefore A is the root of the polynomial
g (x).
⎡1 2⎤ ⎡1 4⎤
A= ⎢ ⎥ then AT = ⎢
⎣4 − 3⎦ ⎣2 − 3⎥⎦
Remarks
(i) If A is any matrix, then
(A T ) T = A
(ii) If A and B are any two matrices, then
(A + B) T = A T + B T
(iii) If A is a m × p matrix and B is p × n matrix, then
(AB) T = B T A T
(iv) If A is a matrix and k is a scalar, then
(kA) T = k A T
Definition 7.17 A square matrix A = [aij] is symmetric if its (i, j)th element
is same as the ( j, i)th element. Thus A is symmetric if aij = aji for every
i and j.
For example,
⎡1 2 3⎤
⎡1 2⎤
A= ⎢ and B = ⎢⎢2 1 −1⎥⎥
⎣2 3⎥⎦
⎢⎣3 −1 1⎥⎦
Remarks
(i) It may be noted that the matrix which is symmetric about the
principal diagonal is a symmetric matrix and the elements on one
side of the principal diagonal are the reflected images of the
elements on the other side of the principal diagonal.
(ii) Symmetric matrices are always square matrices.
(iii) The matrix A is symmetric if and only if it is equal to its transpose,
i.e. A = A ′.
(iv) Diagonal matrices are always symmetric.
Remarks
(i) If the matrix A is skew-symmetric, then aii = 0. Thus each element
on the principal diagonal of an anti symmetric matrix is zero. For
example, the matrix
⎡0 −1 −3⎤
⎢1 0 4⎥⎥
⎢
⎢⎣3 −4 0⎥⎦
is a skew-symmetric matrix.
(ii) The necessary and sufficient condition for a skew-symmetric matrix
A is that A ′ = A.
(iii) A matrix which is both symmetric and anti symmetric is a square
null matrix.
For symmetric and skew-symmetric matrices, we have
Theorem 7.3 Every square matrix can uniquely be expressed as the sum
of a symmetric matrix and a skew-symmetric matrix.
Thus, if A is any square matrix, then
1 1
A= ( A + A′) + ( A − A′) = S + T
2 2
where S = 12 (A + A′) and T = 12 (A A′) are the symmetric and skew-
symmetric parts of the matrix A.
248 Mathematical Methods
7.3 Determinants
Let A be any square matrix whose elements are real numbers. A real
number associated with this matrix A is called the determinant of A and
is denoted by ∆ A, or | A|, or det (A). Thus det (A) is a function the domain
of which is the set of all square matrices having elements as real numbers
and range is the set of all real numbers. If A is a square matrix of order n,
then its determinant is also of order n. The determinant of the matrix
⎡ a1 b1 ⎤
A= ⎢ is the number (a1 b2 a2 b1)
⎣a2 b2 ⎥⎦
We shall denote the determinant of the matrix
⎡ a1 b1 ⎤
A= ⎢
⎣a2 b2 ⎥⎦
as
⎡a b1 ⎤ a1 b1
∆⎢ 1 = = a 1b 2 a2b1
⎣a2 b2 ⎥⎦ a2 b2
It may be noted that a matrix is simply an arrangement of numbers
enclosed between square brackets, while its determinant is not an
arrangement of numbers enclosed between two vertical lines. It is a scalar
quantity having some definite value. Thus, if
⎡4 7⎤
A= ⎢
⎣6 2⎥⎦
then
4 7
det A = = (4) (2) (7) (6) = 8 42 = 34
6 2
Here, the order of the determinant is 2. Also, the determinant of a matrix
[a], having only one element, is the number a itself. This is a determinant
of order one.
If
⎡ a1 b1 c1 ⎤
⎢ c2 ⎥⎥
A = ⎢a2 b2
⎢⎣a3 b3 c3 ⎥⎦
Matrices and Determinants 249
is a 3 × 3 matrix, then
a1 b1 c1
det A = a2 b2 c2
a3 b3 c3
The order of this determinant is 3. The determinants of orders 4 and n,
thus, respectively, have the forms
a11 a12 a13 " a1n
a11 a12 a13 a14 a21 a22 a23 " a2 n
a21 a22 a23 a24 a31 a32 a33 " a3n
and
a31 a32 a33 a34 " " " "
a41 a42 a43 a44 " " " "
an1 an 2 an 3 " ann
The element aij in a determinant of order n occurs in the ith row and jth
column.
The value of the determinant of order 3 is given by
a1 b1 c1
b2 c2 a2 c2 a2 b2
a2 b2 c2 = a1 − b1 + c1
b3 c3 a3 c3 a3 b3
a3 b3 c3
= a1(b2c3 b3c2) b1(a2c3 a3c2) + c1(a2b3 a3b2)
Example 7.8 Find the value of
3 2 1
0 1 −8
0 −5 7
Solution We have
3 2 1
1 −8 0 −8 0 1
0 1 −8 = 3 −2 +1 = 99
−5 7 0 7 0 −5
0 −5 7
Example 7.9 Find the value of
a h g
h b f
g f c
250 Mathematical Methods
Solution Here
a h g
b f h f h b
h b f =a −h +g
f c g c g f
g f c
= a(bc f 2) h (ch f g) + g(h f bg) = abc + 2f gh a f 2 bg 2 ch2
Example 7.10 Find the cofactors of the elements in the third row of the
determinant
−2 4 2
1 5 −3
5 −2 2
Solution The elements in the third row are 5, 2, 2. We know that
cofactor of aij = ( 1)i + j Mij
Therefore
4 2
cofactor of 5 = ( 1)3+1 = (1) ( 12 10) = 22
5 −3
Matrices and Determinants 251
−2 2
cofactor of 2 = ( 1)3+2 = ( 1) (6 2) = 4
1 −3
−2 4
cofactor of 2 = ( 1)3+3 = (1) ( 10 4) = 14
1 5
a1 b1 c1 b1 c1 a1
∆ = a2 b2 c2 and ∆′ = b2 c2 a2
a3 b3 c3 b3 c3 a3
then ∆′ = ( 1)2 ∆ = ∆.
4. If two rows (or two columns) in a determinant are identical, then the
determinant is zero. That is
a1 b1 c1
a1 b1 c1 = 0
a2 b2 c2
5 (i). If all the elements of any one row (or column) are multiplied by the
same number, then the determinant is multiplied by that number. That
is, if
then ∆′ = k∆.
(ii). If two rows or columns are such that the elements of one are equi-
multiples of the elements of the other, then the determinant is equal to
zero.
6. If each entry in a row or column of a determinant is written as the sum
of two or more terms, then the determinant can be written as the sum of
two or more determinants. That is
a1 + x1 b1 c1 a1 b1 c1 x1 b1 c1
a2 + x2 b2 c2 = a2 b2 c2 + x2 b2 c2
a3 + x3 b3 c3 a3 b3 c3 x3 b3 c3
a1 b1 c1 a1 b1 c1
∆ = a2 b2 c2 ′
and ∆ = a2 b2 c2
a3 b3 c3 a3 + ka1 b3 + kb1 c3 + kc1
then ∆ = ∆′.
8. If to each element of a row or column of a determinant the equi-
multiples of the corresponding elements of one or more parallel lines
(either rows or columns) are added, then the determinant remains
unchanged. That is
a1 + pa2 + qa3 a2 a3 a1 a2 a3
b1 + pb2 + qb3 b2 b3 = b1 b2 b3
c1 + pc2 + qc3 c2 c3 c1 c2 c3
Notation By R2 → R2 + aR3 + bR5 we mean that we have added a times
third row and b times the fifth row to the 2nd row: and similarly, the
operation C4 → C4 + xC2 + yC3 will mean that we have added x times
second column and y times third column to the fourth column.
9. If the elements of a determinant which involves x are polynomials in
x, and if the determinant is equal to zero when a is substituted for x, then
x a is the factor of the determinant. For example, if in the determinant
a b c
2 2
∆= a b c2
bc ca ab
a is substituted for b, then it takes the form
a a c
2 2
a a c2
∆=
ac ca a2
and therefore ∆ = 0. Thus, a b is a factor of the determinant ∆; similarly
b c and c a are also factors of ∆.
0 ab 2 ac 2
a 2b 0 bc 2 = 2a3b3c3
a2c b2 c 0
Solution We have
0 ab 2 ac 2 0 b2 c2
a 2b 0 bc 2 = abc a 2 0 c2
a2c b2c 0 a2 b2 0
0 1 1
= abc(a 2b 2c 2) 1 0 1 = 2a 3b 3c 3
1 1 0
x1 y1 1
1
x2 y2 1
2
x3 y3 1
It may be noted that if the points A(x1, y1), B(x2, y2) and C(x3, y3) are in
straight line, then the area of the triangle ABC is zero, and conversely.
Matrices and Determinants 255
Example 7.12 Find the value of λ so that the points (5, 5), (λ, 1) and
(10, 7) are collinear.
Solution We know that the points A(5, 5), B(λ, 1) and C(10, 7) lie on a
straight line only when the area of the triangle ABC is zero. Thus
5 5 1
1
λ 1 1 =0
2
10 7 1
which on solving leads to λ = 5.
b1
b2
. D1 D D
. then x1 = , x2 = 2 , ..., xn = n , where D ≠ 0.
D D D
bn
a11 x + a12 y = b1
a21 x + a22 y = b2
is given by
D1 D
x= ,y= 2
D D
a11 a12 b1 a12 a11 b1
where D = , D1 = and D2 = . In a
a21 a22 b2 a22 a21 b2
similar way, the solution of the simultaneous equations
a11 x + a12 y + a13 z = b1
a21 x + a22 y + a23z = b2
a31 x + a32 y + a33z = b3
is given by
D1 D D
x= , y = 2, z = 3
D D D
where
a11 a12 a13 b1 a12 a13
D = a21 a22 a23 , D1 = b2 a22 a23
a31 a32 a33 b3 a32 a33
a11 b1 a13 a11 a12 b1
D2 = a21 b2 a23 , D3 = a21 a22 b2
a31 b3 a33 a31 a32 b3
Remarks
(i) If D ≠ 0, then the solution of the above equation is unique and finite.
Simultaneous linear equations having finite and unique solutions are
called consistent.
(ii) If D = 0, then the system of equations have no real solutions and in
such cases the equations are said to be inconsistent. We also have
(a) If D = 0 and atleast one of the determinants D1, D2 and D3 is non-
zero, then the given system of equations is inconsistent.
(b) If d = D1 = D2 = D3 = 0, then the system of equations may or may not
be consistent as in this case, the values of x, y and z assume the
indeterminate form. If the indeterminate form has a unique finite solution,
then the equations are consistent. If it has a finite number of solutions,
then the equations are called dependent. If a system of equations is
Matrices and Determinants 257
dependent, then D = 0 and all of the determinants D1, D2, ..., Dn are
zero.
Solution We have
1 −3 2 4 −3 2
D= 2 1 − 3 = 0, D1 = − 2 1 −3 = 7
4 −5 1 5 −5 1
Hence, D = 0 and atleast one of the determinants D1, D2, D3 is not zero,
and the system of equations is inconsistent.
Solution Here
−4 2 −9 2 2 −9
D = 3 4 1 = 63, D1 = 5 4 1 = 441
1 −3 2 8 −3 2
−4 2 −9 −4 2 2
D2 = 3 5 1 = −189, D3 = 3 4 5 = 252
1 8 2 1 −3 8
Therefore
D1 D D
x= = 7, y = 2 = −3, z = 3 = 4
D D D
b2 c2 a2 c2
the minor of a1 is , the minor of b1 is , the minor of c1
b3 c3 a3 c3
a2 b2
is , and so on.
a3 b3
Definition 7.26 If the minor of an element of a square matrix A has an
appropriate sign, we then have the cofactor of that element. Thus, the
cofactor Aij of the element aij is defined as
cofactor Aij of aij = ( 1)i + j Mij
where Mij is the minor of aij and aij is the element occuring in the ith row
and jth column of the given matrix.
Thus for the matrix
⎡ a11 a12 a13 ⎤
⎢ a23 ⎥⎥
A = ⎢ a21 a22
⎢⎣ a31 a32 a33 ⎥⎦
Matrices and Determinants 259
a22 a23
cofactor of a11 = A11 = ( 1)1+1 M11 =
a32 a33
a21 a23
cofactor of a12 = A12 = ( 1)1+2 M12 =
a31 a33
a12 a13
cofactor of a31 = A31 = ( 1)3+1M31 =
a22 a23
a11 a13
cofactor of a32 = A32 = (1)3+2 M32 =
a21 a23
Definition 7.27 The transpose of the matrix of the cofactors of the
elements ai j of A is called the adjoint of A and is denoted by adj A. Thus
for the matrix
⎡ a11 a12 a13 ⎤
⎢ a23 ⎥⎥
A = ⎢ a21 a22
⎢⎣ a31 a32 a33 ⎥⎦
⎡ A11 A21 A31 ⎤
adj A = ⎢ A12 A22 A32 ⎥
⎢ ⎥
⎢⎣ A13 A23 A33 ⎥⎦
For the adjoints of square matrices, we have
Remarks
(i) If A is nonsingular, then adj A = | A | A1.
1
(ii) For the square matrix A, (adj A 1) = A.
| A|
(iii) If A is a nonsingular matrix of order 3 and k is any non-zero real
1 1
number, then (kA) 1 = A .
k
⎡0 0 1⎤
(iv) The inverse of the matrix ⎢ 0 1 0 ⎥⎥ is itself.
⎢
⎢⎣ 1 0 0 ⎥⎦
Theorem 7.9 If A and B are two nonsingular matrices, then AB is also
nonsingular and
(i) (AB) 1 = B 1 A 1 (ii) (A T ) 1 = (A 1)T (iii) [(A 1)T ] 1 = AT
⎡ 2 1⎤ ⎡ −5 0⎤ ⎡3 −9 ⎤
A= ⎢ ,B=⎢ and C = ⎢
⎣ −3 2 ⎥⎦ ⎣ 2 4 ⎥⎦ ⎣7 1 ⎥⎦
262 Mathematical Methods
Remarks
Consider equation AX = B and recall that equations having one or more
solutions are called consistent equations, we then have
Matrices and Determinants 263
Example 7.19 Using the matrix method, solve the system of equations
5x + 3y + z = 16
2x + y + 3z = 19
x + 2y + 4z = 25
Let the worth of each rupee of Es output requires Rs. a11 of its own
output and Rs. a21 of Ws output, and each rupees worth of Ws output
requires Rs. a12 of Es output and Rs. a22 of its own output. These
requirements can conveniently be expressed in the following technology
matrix:
⎡ a11 a12 ⎤
M= ⎢ ⎥
⎣ a21 a22 ⎦
Here, the first column indicates that each rupee of Es output requires
Rs. a11 of its own output as input and Rs. a21 of W s output as input. The
second column has a similar interpretation. The first row indicates that
Rs. a11 of electricity is needed to produce a rupees worth of electricity,
and Rs. a12 of electricity is needed to produce a rupees worth of water. A
similar interpretation can be assigned to the second row.
If d1 and d2 represent the final demand (the demand from the outside
sector), then the problem is to find what rupee outputs, Rs. x1 from the
company E and Rs. x2 from the company W, are required to meet these
final demands? In terms of the matrix notation, we have
⎡d ⎤
Final demand matrix D = ⎢ 1 ⎥
⎣ d2 ⎦
where d1 and d2 are measured in millions of rupees and
⎡x ⎤
Output matrix X = ⎢ 1 ⎥
⎣ x2 ⎦
We can thus state our problem as If the technology matrix M and
the final demand matrix D are given, then find the output matrix X.
The above considerations can now be stated as
Total output from E = (Input required by E from E) + (Input required by
W from E) + (Final demand from E)
and
Total output from W = (Input required by E from W) + (Input required by
W from W) + (Final demand from W)
Converting these equations into symbolic form, we have
x1 = a11 x1 + a12 x2 + d1 (1a)
x2 = a21 x1 + a22 x2 + d2 (1b)
Equation (1) can also be expressed as
⎡ x1 ⎤ ⎡ a11 a12 ⎤ ⎡ x1 ⎤ ⎡ d1 ⎤
⎢x ⎥ = ⎢a +
a22 ⎥⎦ ⎢⎣ x2 ⎥⎦ ⎢⎣ d 2 ⎥⎦
⎣ 2 ⎦ ⎣ 21
266 Mathematical Methods
or
X = MX + D (2)
which may be expressed as
X MX = D ⇒ IX MX = D ⇒ (I M ) X = D
so that
X = (I M ) 1 D (3)
Thus, our problem reduces to find the solution of the matrix
equation (3).
Example 7.20 Solve Eq. (3) for the above two-industry model with the
following data:
a11 = 0.1, a12 = 0.4, a21 = 0.3, a22 = 0.2; d1 = 12 and d2 = 6
Solution Here, the technology matrix M and the final demand matrix D,
respectively, are
⎡ 0.1 0.4 ⎤ ⎡ 12 ⎤
M = ⎢ and D = ⎢ ⎥
⎣ 0.3 0.2 ⎥⎦ ⎣ 6⎦
Since
⎡1 0⎤
I= ⎢
⎣0 1 ⎥⎦
we have
⎡ 0.9 − 0.4 ⎤
IM= ⎢
⎣ − 0.3 0.8 ⎥⎦
which leads to | I M | = 0.6 ≠ 0. Thus, the inverse of I M exists and
we have
Remarks
1. It may be noted that Eq. (4) provides the solution of the original problem
for arbitrary final demands d1 and d2. In fact, Eq. (4) gives a solution not
only for the stated final demands but also to the original problem for
various other projected demands. Thus, if in the original problem the
projected final demands for 5 years from now were d1 = 18 and d2 = 12,
then from Eq. (4), we can determine the output of each company for this
projected demand, and we have
⎡ x1 ⎤ ⎡ 4/3 2/3 ⎤ ⎡ 18 ⎤ ⎡ 32 ⎤
⎢ x ⎥ = ⎢ 1/2 3/ 2 ⎥ ⎢ 12 ⎥ = ⎢ 27 ⎥
⎣ 2⎦ ⎣ ⎦⎣ ⎦ ⎣ ⎦
2. The advantage of expressing the input-output analysis in matrix form
(2) is that the matrix equation (2) and its solution (3) are the same for a
three-industry economy, a four-industry economy, or an economy with n
industries, where n is a natural number.
EXERCISES
1. Find the value of X such that
⎡ 1 3⎤ ⎡4 −1 ⎤ ⎡ ⎡3 −4 ⎤ ⎤
X+ ⎢ = ⎢ Ans. ⎢ ⎥
⎣ −1 2 ⎥⎦ ⎢⎣ 6 2 ⎥⎦ ⎣ ⎣7 0 ⎥⎦ ⎦
2. If
⎡2 2 2⎤ ⎡3 3 3⎤ ⎡4 4 4⎤
⎢ − 3 ⎥ , B = ⎢⎢ 3
⎥ 5 ⎥ and C = ⎢⎢ 5
⎥ −1 4 ⎥⎥
A = ⎢2 1 0
⎢⎣ 1 0 4 ⎥⎦ ⎢⎣ 6 9 −1 ⎥⎦ ⎢⎣ 7 8 −1 ⎥⎦
then find the value of (i) 3A 6B + 9C (ii) 7A 2(B C).
⎡ ⎡ 24 24 24 ⎤ ⎡ 16 16 16 ⎤ ⎤
⎢ ⎢ 33 ⎥
⎢ Ans. (i) ⎢ −6 −18 ⎥⎥ (ii) ⎢⎢ 18 5 − 23 ⎥⎥ ⎥
⎢⎣ ⎢⎣ 12 −9 12 ⎥⎦ ⎢⎣ 9 −2 28 ⎥⎦ ⎥⎦
⎡1 −1 ⎤
⎡3 1 2⎤ ⎢2
3. If A = ⎢ and B = 1 ⎥⎥ , find AB.
⎣1 0 1 ⎥⎦ ⎢
⎢⎣ 3 1 ⎥⎦
⎡ ⎡ 11 0⎤⎤
⎢ Ans. ⎢ ⎥
⎣ ⎣4 0 ⎥⎦ ⎦
268 Mathematical Methods
⎡3 3 5⎤
⎢ 4 ⎥⎥ , show that AI3 = I3 A.
4. If A = ⎢ 2 3
⎢⎣ 5 2 3 ⎥⎦
5. For the matrices
⎡1 0 ⎤ ⎡2 0⎤ ⎡ −1 2 ⎤
A= ⎢ ⎥ , B=⎢ ⎥ and C = ⎢ ⎥
⎣1 1 ⎦ ⎣1 1⎦ ⎣ 3 1⎦
verify that (i) (AB)C = A(BC ) (ii) A(B + C ) = AB + AC
(iii) (B + C ) A = BA + CA.
6. If
⎡a
g⎤ h ⎡ x⎤
A = [x y z ], B = ⎢⎢ h
f ⎥⎥ , and C = ⎢⎢ y ⎥⎥
b
f ⎢⎣ g
c ⎥⎦ ⎢⎣ z ⎥⎦
then evaluate ABC. [Ans. [ax 2 + by 2 + cz 2 + 2hxy + 2gzx + 2f yz]]
⎡1 3⎤ ⎡ −1 4⎤
7. If A = ⎢ ⎥ and B = ⎢ , then verify that (A + B) 2 ≠ A 2
⎣2 6⎦ ⎣ 2 1 ⎥⎦
2
+ 2AB + B .
8. If
⎡2 3⎤ ⎡3 4⎤
A= ⎢ ⎥ and B = ⎢ , then verify that (AB)′ = B′A′.
⎣0 1⎦ ⎣2 1 ⎥⎦
⎡1 2 3⎤ ⎡ −1 1 0⎤
⎢ 0 ⎥ and B = ⎢⎢ 0
⎥ −1 1 ⎥⎥ , then verify that
9. If A = ⎢ 0 1
⎣⎢ 1 1 0 ⎦⎥ ⎣⎢ 2 3 4 ⎦⎥
(A + B) T = AT + BT.
⎡ cos x sin x ⎤
10. If A = ⎢ ⎥ , then verify that AA′ = I2 = A′A.
⎣ − sin x cos x ⎦
11. Find the symmetric and skew-symmetric parts of the matrix
⎡1 2 4⎤ ⎡ ⎡ 1 4 7/2 ⎤ ⎡ 0 −2 1/ 2 ⎤ ⎤
⎢ 1 ⎥⎥ ⎢ ⎢ ⎥
A= ⎢6 8 ⎢ Ans. ⎢ 4 8 3 ⎥⎥ , ⎢⎢ 2 0 − 2 ⎥⎥ ⎥
⎢⎣ 3 5 7 ⎥⎦ ⎢⎣ ⎢⎣ 7/ 2 3 7 ⎥⎦ ⎢⎣ −1/ 2 2 0 ⎥⎦ ⎥⎦
Matrices and Determinants 269
1+ a 1 1
⎛ 1 1 1⎞
1 1+ b 1 = abc ⎜ 1 + + + ⎟
⎝ a b c⎠
1 1 1+ c
270 Mathematical Methods
⎡2 0 −1 ⎤
⎢ 0 ⎥⎥ prove that A 1 = A 2 6A + 11I.
26. If A = ⎢ 5 1
⎣⎢ 0 1 3 ⎦⎥
Matrices and Determinants 271
CHAPTER 8
Vector Analysis
8.1 Introduction
In many physical situations we come across with two types of quantities,
viz. one which are represented by some numbers; and the other that not
only represented by some number but also have some particular direction.
The former are known as scalars and the latter are called vectors. This
chapter deals with the study of vectors, their algebraic and geometric
properties as well as the calculus of vectors. We have
O
Fig. 8.1 Directed line segment
Definition 8.4 Two vectors a and b are said to be equal if and only if a
and b have the same magnitude and direction, without any restriction on
the position of the initial points. If a and b are equal vectors, we write
them as a = b (Fig. 8.2).
a b
b c
b
b c b b
a a a
(a) (b) (c)
b c
a
e=a+b+c+d
a
–a
C B
a–
b
b
b a+
a
A
–b
a–
b
D E
Definition 8.8 The vectors having unit length are called unit vectors.
If A is any vector with length A > 0, then A/A is a unit vector having the
same direction as that of A and is denoted by a. Then A = Aa.
Definition 8.10 If a and b are two vectors and m and n are any two
scalars, then the expression ma + nb is called a linear function of a and
b. Similarly, ma + nb + pc is a linear function of a, b and c.
The linear function of more than three vectors can be defined in a
similar way. For linear functions, we have
Theorem 8.1 If a and b are any two nonparallel vectors in a plane, and
if c is any third vector in the plane of a and b, then c can be expressed
(Fig. 8.8) as a linear function of a and b, i.e., c = ma + nb, where m and
n are scalars.
The extension of this theorem to space is as given by
Theorem 8.2 If a, b and c are any three vectors which are not parallel to
a single plane, and if d is any other vector, then d can be expressed as a
linear function of a, b and c, i.e. d = ma + nb + pc, where m, n and p are
scalars.
nb ma + nb
b
a ma
P Q
(ii) This theorem can be extended for more than two vectors.
Theorem 8.4 If x1a + y1b = x2a + y2b, where a and b are non-collinear
vectors, then x1 = x2 and y1 = y2.
This theorem can be extended for more than two vectors.
8.2.2 Rectangular Cartesian Coordinates and Position Vector
In order to study the applications of vectors, it is convenient to introduce
a set of rectangular Cartesian coordinates. We consider a set of rectangular
Cartesian coordinates denoted by the symbols x, y and z. These coordinates
are said to have right-handed orientation or to be right-handed if when
the thumb of the right hand is made to point in the direction of the
positive z-axis, the fingers point in the direction of the 90° rotation so
that the positive x-axis coincides with the positive y-axis. Otherwise the
coordinates are left-handed. The axes of such a set of coordinates is
shown in Fig. 8.9.
Now, introduce a set of three unit vectors, one pointing in the
direction of each of three positive coordinate axes. These vectors are
denoted by ˆi, ˆj and kˆ . Consider a vector a. This vector has orthogonal
D
k a3
a
y a1 A
j
i a2
B C
x
Fig. 8.9 Rectangular Cartesian coordinates
projections in the directions of the positive coordinate axes, which are
denoted by a1, a2 and a3 (Fig. 8.9). These a1, a2 and a3 are called the
components of a, may be positive or negative. For example, a1 is positive
when the angle between a and the direction of the positive x-axis (angle
BAD in Fig. 8.9) is acute, and is negative when this angle is obtuse.
It may be noted from the Fig. 8.9 that a is the diagonal of a rectangular
parallelopiped the lengths of whose edges are | a1 |, | a2 | and | a3 |, and
thus the magnitude a of the vector a is
| a 2b + c | = | 5j 4k | = (5) 2 + (− 4)2 = 41
Vector Analysis 279
Example 8.2 Find the unit vector parallel to the resultant of vectors
a = 2i 3j + 4k and b = 3i 4j + 2k.
c 5i − 7 j + 6k
=
|c| 110
Example 8.3 If a = 2i j + k, b = i + 3j 2k, c = 2i + j 3k
and d = 3i + 2j + 5k, then find the scalars p, q, r such that d = pa +
qb + rc.
P
b
a F
O P′ A
(a) (b)
Fig. 8.10(a) Scalar product of two vectors and
(b) work done by a force F
Remarks
(i) The outcome of the dot product of two vectors is always a scalar
quantity, and thus it is not possible to obtain the scalar product of
three or more vectors.
(ii) The expression ab has no meaning.
(iii) Since cos θ = cos ( θ), it therefore makes no difference whether
we take θ or θ in a ⋅ b = ab cos θ.
(iv) Geometrically, a ⋅ b is equal to the product of the directed magnitude
of the projection of a onto b and the magnitude of b.
(v) If a = OA represents the displacement of a mass point and F, the
force acting on this mass point (Fig. 8.10b), then physically a⋅ F
represents the work done by the force F.
(vi) A vector b can be expressed as the sum of a vector parallel to a
vector a and vector perpendicular to a and we have
⎛ a⋅b ⎞ ⎡ ⎛ a⋅b ⎞ ⎤
b= ⎜ ⎟ a + ⎢b − ⎜ ⎟a⎥ (5)
⎝ a⋅a ⎠ ⎣ ⎝ a⋅a ⎠ ⎦
Properties of scalar product
If a, b and c are vectors, m is a scalar and i, j and k are unit vectors, then
1. a ⋅b = b ⋅ a (Commutative Law for Dot Product)
2. a ⋅ (b + c) = a⋅ b + a⋅ c (Distributive Law for Dot Product)
3. m(a⋅ b) = (ma)⋅ b = a⋅ (mb) = (a⋅ b)m
4. i⋅i = j⋅ j = k⋅ k = 1, i⋅ j = j ⋅ k = k ⋅ i = 0
5. If a = a1i + a2j + a3k and b = b1i + b2j + b3k, then
a⋅ b = a1b1 + a2b2 + a3b3
Vector Analysis 281
b ⋅ b = b2 = b1 + b 2 + b 3
2 2 2
a
θ a F
A P
(a) (b)
Fig. 8.11 (a) Vector product of two vectors and (b) moment of the force
(i) c is perpendicular to both a and b,
(ii) the direction of c is right-handed, i.e. the direction is that indicated
by the thumb of the right hand when the figure point in the sense
of rotation θ from the direction of a to the direction of b,
(iii) c = ab sin θ.
These three conditions define c uniquely. The vector product of a and b
is denoted by a × b and read as a cross b. This product is also known as
the cross product. Thus c = a × b.
The cross product of the vectors a and b may also be defined as
a × b = ab sin θn
282 Mathematical Methods
Remarks
(i) The cross product of two vectors is always a vector quantity.
(ii) The expression ab has no meaning.
(iii) Geometrically, | a × b | is equal to the area of the parallelogram
whose adjacent sides are a and b.
(iv) The cross products are used to study the effects of forces in
electromagnetism, flow of fluids and mechanics etc. Thus, for
example if A is the point of application of a force F then OA × F,
physically represents the moment of the force F about the point O
(Fig. 8.11b).
(v) If a = b or, if a is parallel to b, then sin θ = 0 and we define
a × b = 0.
Solution We have
a + b = (2i j + k) + (i 3j 5k) = 3i 4j 4k = c
Therefore, the vectors a, b and c form the sides of a triangle. Further,
a ⋅ b = (2i j + k ) ⋅ (i 3j 5k) = 0
Vector Analysis 283
which shows that a and b are perpendicular to each other. Hence, the
vectors a, b and c form the sides of a right-angled triangle.
⎛3 1 ⎞ ⎛1 3 ⎞
b = ⎜ i − j ⎟ + ⎜ i + j − 3k ⎟ = c + d
⎝2 2 ⎠ ⎝2 2 ⎠
1
It may be noted that the vector c is parallel to the vector a as c = a and
2
the vector d is perpendicular to the vector a because d⋅ a = 0. Thus, the
vector b can be expressed as the sum of a vector parallel to a and a vector
perpendicular to a.
Solution We have
(a b) × (a + b) = (a b) × a + (a b) × b
= a × (a b) + (a b) × b
= a×a+a×b+a×bb×b
= 2(a × b) = (2a) × b
Example 8.8 Find the area of the parallelogram whose adjacent sides
are a = i + 2j + 3k and b = 3i 2j + k.
Solution We have
i j k
a×b= 1 2 3 = 8i 10j + 4k
−3 −2 1
284 Mathematical Methods
Therefore, the area of the parallelogram whose adjacent sides are a and
b is | a × b | = 180 sq. units.
Definition 8.13 Let a, b and c be any three vectors, then the product
a ⋅ (b × c) is a scalar and is known as scalar triple product of three vectors
a, b and c.
Thus, if a = a1i + a2j + a3k, b = b1i + b2j + b3k and c = c1i + c2j +
c3k, then
a1 a2 a3
a ⋅ (b × c) = b 1 b2 b3
c1 c2 c3
Properties of scalar triple product
(a) i ⋅ ( j × k) = i ⋅ i = 1, and j⋅ ( j × i) = 0, etc.
(b) The scalar triple product is commutative, i.e., a⋅ (b × c) = (b × c) ⋅ a.
(c) If the vectors in the scalar triple products are subject to an odd number
of permutations, the value of the product is changed only in sign; and if
the number of permutations is even then the value of the product remains
unchanged.
This property of the scalar triple product leads to
a ⋅ (b × c) = b ⋅ (c × a) = c ⋅ (a × b)
= c ⋅ (b × a) = a⋅ (c × b) = b ⋅ (a × c)
The above equations can also be expressed in the following form
[a b c] = [b c a] = [c a b] = [b a c] = [c b a] = [a c b]
(d) If the vectors a, b and c form the three adjacent sides of a
parallelopiped, then the volume V of the parallelopiped is
V = | a ⋅ (b × c) |
(e) Three non-zero and non-collinear vectors a, b and c are coplanar if
and only if a ⋅ (b × c) = 0. Here, a ⋅ (b × c) = 0 will mean that either a and
b × c are perpendicular to each other; or atleast one of the vectors a, b
and c is a null vector.
Definition 8.14 If a, b and c are any three vectors, then the product
a × (b × c) is a vector and is known as vector triple product of three
vectors a, b and c.
Vector Analysis 285
Definition 8.15 If a, b, c and d are any four vectors, then the product
(a × b) ⋅ (c × d) is a scalar quantity and is known as scalar product of
four vectors a, b, c and d. We have
(a × b) ⋅ (c × d) = (a ⋅ c) (b ⋅ d) (b ⋅ c) (a ⋅ d)
which may also be expressed as
a⋅c a⋅d
(a × b) ⋅ (c × d) =
b⋅c b⋅d
Definition 8.16 If a, b, c and d are any four vectors, then the product
(a × b) × (c × d) is a vector quantity and is known as vector product of
four vectors a, b, c and d. We have
(a × b) × (c × d) = c[(a × b) ⋅ d] d[(a × b) ⋅ c]
Since a × b = b × a, we, have
(a × b) × (c × d) = (c × d) × (a × b)
Moreover, (a × b) × (c × d) may also be expressed as
(a × b) × (c × d) = b[(c × d) ⋅ a] a[(c × d) ⋅ b]
It may be noted that the products a × b × c, ab, a ⋅ b ⋅ c, a × b ⋅ c,
(a × b) ⋅ c ⋅ d, a ⋅ b × c ⋅ d, etc. have no meanings.
Example 8.9 Prove that
a × (b × c) + b × (c × a) + c × (a × b) = 0
Solution. We have
a × (b × c) = b(a ⋅ c) c(a ⋅ b)
b × (c × a) = c(b ⋅ a) a(b ⋅ c)
c × (a × b) = a(c ⋅ b) b(c ⋅ a)
Adding all these three equations we get the required result.
Solution We have
(a × b) ⋅ [(b × c) × (c × a] = (a × b) ⋅ [{c(b × c) ⋅ a} a{(b × c) ⋅ c}]
= (a × b) ⋅ [c{a ⋅ (b ×c)} a{b ⋅ (c × c)}]
= {(a × b) ⋅ c} {a ⋅ (b × c)} = [a ⋅ (b × c)]2
(iv) d (a × b) = da × b + a × db
du du du
(v) If a = a1i + a2j + a3k, where i, j and k are unit vectors in the
directions of the axes, then
di d j dk
= = =0
du du du
and
da da1 da da
= i + 2 j+ 3k
du du du du
da
(vi) If a(u) is a constant vector, then = 0.
du
(vii) If a(u) is a vector of constant magnitude, then its derivative is
da
perpendicular to it, i.e. a ⋅ = 0.
du
(viii) If a(u) is a vector of constant direction, then its derivative is
da
collinear with it, i.e. a × = 0.
du
288 Mathematical Methods
⎛ da d 2 a ⎞
a⋅ ⎜ × 2 ⎟=0
⎜ ⎟
⎝ du du ⎠
Solution We are given that a = p cos u + q sin u, which on differentiation
leads to
da
= p sin u + q cos u
du
and
d 2a
= a
du 2
so that, after simplification, we have
⎛ da d 2 a ⎞
a ⋅ ⎜⎜ × 2 ⎟⎟ = 0
⎝ du du ⎠
Example 8.14 Prove that
d ⎡ ⎛ da d 2 a ⎞⎤ ⎛ da ⎞ d 3 a
⎢ a ⋅ ⎜⎜ × 2 ⎟⎟ ⎥ = ⎜ a × ⎟⋅
du ⎢⎣ ⎝ du du ⎠ ⎥⎦ ⎝ du ⎠ du 3
Solution Since
d da db
(a ⋅ b) = ⋅b + a⋅
du du du
and
d da db
(a × b) = ×b +a×
du du du
Therefore
d ⎡ ⎛ da d 2a ⎞ ⎤ da ⎛ da d 2 a ⎞ ⎡ d ⎛ da d 2 a ⎞ ⎤
⎢ a ⋅ ⎜⎜ × 2 ⎟⎥ = ⋅⎜ × 2 ⎟+a⋅⎢ ⎜ × 2 ⎟⎥
du ⎣⎢ ⎝ du du ⎟⎠ ⎦⎥ du ⎜⎝ du du ⎟⎠ ⎜ ⎟
⎣⎢ du ⎝ du du ⎠ ⎦⎥
Vector Analysis 289
d 2 a ⎛ da da ⎞ ⎡ d ⎛ da ⎞ d 2 a da d ⎛ d 2a ⎞ ⎤
= ⋅ ⎜ × ⎟ + a ⋅ ⎢ ⎜ ⎟× 2 + × ⎜ ⎟⎥
du 2 ⎝ du du ⎠ ⎢⎣ du ⎝ du ⎠ du du du ⎜⎝ du 2 ⎟⎠ ⎥⎦
⎡ da d 3a d 2 a d 2a ⎤ ⎡ da d 3 a ⎤ ⎛ da ⎞ d 3a
= a ⋅ ⎢ × 3 + 2 × 2 ⎥ = a ⋅ ⎢ × 3 ⎥ = ⎜a × ⎟⋅
⎣ du du du du ⎦ ⎣ du du ⎦ ⎝ du ⎠ du 3
∫ a(u )du = i ∫ a1 (u ) du + j∫ a2 (u ) du + k ∫ a3 (u ) du
Here, each of the integral on the right hand side gives rise to a constant
of integration.
Remarks
(i) From the definition, we have
d
du ∫
a(u ) du = i a1 (u ) + j a2 (u ) + k a3 (u ) = a
and
∫ a cosudu = a sin u + c
290 Mathematical Methods
∂ ∂a ∂b
(i) (a ± b) = ±
∂x ∂x ∂x
∂ ∂a ∂m
(ii) ( ma ) = m + a
∂x ∂x ∂x
∂ ∂a ∂b
(iii) (a ⋅ b) = ⋅b + a⋅
∂x ∂x ∂x
∂ ∂a ∂b
(iv) (a × b ) = ×b +a×
∂x ∂x ∂x
(v) If a has continuous partial derivatives of second order, then
∂ 2a ∂ 2a
=
∂x∂y ∂y∂x
Vector Analysis 291
∂ 2a ∂ 2b
× = 36j
∂y 2 ∂x 2
292 Mathematical Methods
d f ∂ f dx ∂ f dy ∂ f dz
= + + (6)
ds ∂x ds ∂y ds ∂z ds
V X
t
X t V
C P
Q
z f (x, y, z ) = c
r
k
O O
j y
i
x
and
i j k
a×∇ = a1 a2 a3 (11)
∂ ∂ ∂
∂x ∂y ∂z
i j k
(a × ∇) f = a1 a2 a3 (15)
∂f ∂f ∂f
∂x ∂y ∂z
Also
(a × ∇) f = a × ∇ f (16)
While writing the expressions like (a ⋅ ∇) f, (a ⋅ ∇) b and (a × ∇) f,
care must be taken about the order of appearance of the symbols, because
the operator ∇ and all operators constructed from it operate only on the
functions which are on their right. For example, (a ⋅ ∇) b ≠ b(a ⋅ ∇).
Here, the left hand side is a vector field, while the right hand side is a
vector operator.
Remarks
i j k
∂ ∂ ∂
∇×a = ∂x ∂y ∂z (18)
a1 a2 a3
Remarks
(i) The curl of a vector field is a vector quantity.
(ii) If ∇ × a = 0, then a is said to be an irrotational vector.
Definition 8.29 The Laplacian operator ∇2 is defined by the relation
∂2 f ∂2 f ∂2 f
∇ 2 f = (∇ ⋅ ∇) f = + + (19)
∂x 2 ∂y 2 ∂z 2
Formulas involving ∇
If a, b are vector fields, f, g are scalar fields and r is the position vector
of a point, then
(i) ∇( f ± g) = ∇ f ± ∇g
(ii) ∇ ( f g) = f ∇ g + g∇ f
⎛ f ⎞ g (∆ f ) − f ( ∆g )
(iii) ∇ ⎜ ⎟ =
⎝g⎠ g2
(iv) ∇ ⋅ (a + b) = ∇ ⋅ a + ∇ ⋅ b
(v) ∇ × (a + b) = ∇ × a + ∇ × b
(vi) ∇ ⋅ ( f a) = f (∇ ⋅ a) + (∇ f ) ⋅ a
(vii) ∇ × ( f a) = f (∇ × a) + (∇ f ) × a
(viii) ∇ ⋅ (a × b) = b ⋅ (∇ × a) a ⋅ (∇ × b)
(ix) ∇ × (a × b) = a(∇ ⋅ b) + (b ⋅ ∇) a b(∇ ⋅ a) (a ⋅ ∇)b
(x) ∇(a ⋅ b) = (a ⋅ ∇) b + (b ⋅ ∇) a + a × (∇ × b) + b × (∇ × a)
(xi) ∇ × (∇ f ) = 0 (or, curl grad f = 0)
296 Mathematical Methods
⎛r⎞ 2
div ⎜ ⎟ =
⎝r⎠ r
Solution We have
⎛r⎞ ⎛r⎞ ⎛ ∂ ∂ ∂ ⎞ ⎛x y z ⎞
div ⎜ ⎟ = ∇ ⋅ ⎜ ⎟ = ⎜ i + j + k ⎟ ⋅ ⎜ i + j + k ⎟
⎝r⎠ ⎝ r ⎠ ⎝ ∂x ∂y ∂z ⎠ ⎝ r r r ⎠
∂ ⎛ x ⎞ ∂ ⎛ y ⎞ ∂ ⎛ z ⎞ ⎛ 1 x ∂r ⎞ ⎛ 1 y ∂r ⎞ ⎛ 1 z ∂r ⎞
= ⎜ ⎟+ ⎜ ⎟+ ⎜ ⎟=⎜ − ⎟+⎜ − ⎟+⎜ − ⎟
∂x ⎝ r ⎠ ∂y ⎝ r ⎠ ∂z ⎝ r ⎠ ⎝ r r 2 ∂x ⎠ ⎝ r r 2 ∂y ⎠ ⎝ r r 2 ∂z ⎠
3 1 2 2
= − 3 (x + y2 + z2 ) =
r r r
as ∂r/∂x = x/r, etc. and r 2 = x 2 + y 2 + z 2.
i j k
∂ ∂ ∂
∇×a= ∂x ∂y ∂z
=i+jk
x+ y+2 2 −( x + y)
Thus a . curl a = 0.
qp –1
x2
q2
q1
x1
q0
A
Fig. 8.13 Partition of a curve
n
∫ fds = n → ∞lim
, ∆s → 0
∑ f ( x p , x p , x p ) ∆s p
1 2 3
(20)
C pp =1
X B
t
z r
A
= ∫ (a1dx + a2 dy + a3 dz ) (22)
C
(using the definition of the unit tangent vector and the vector a).
We also have
∫ a × t ds = ∫ a × dr
C C
∫ fdS = lim
n → ∞ , ∆S p →0
∑ f ( x p , x p , x p ) ∆S p
1 2 3
(25)
C p =1
The limit in Eq. (25) is independent of the way in which the surface
S is divided into parts, because f is single valued and continuous
throughout the region S. Moreover, if f = 1, then Eq. (25) gives rise to
the surface area of S.
Xp
S
∆Sp
1/2
⎡ ⎛ ∂g ⎞ 2 ⎛ ∂g ⎞ 2 ⎤
(28)
∫ f dS = ∫ f { x, y , g ( x, y )} ⎢1 + ⎜ ⎟ + ⎜ ⎟ ⎥ dS ′
⎢⎣ ⎝ ∂x ⎠ ⎝ ∂y ⎠ ⎥⎦
S S′
To evaluate the integral on the right hand side of Eq. (28), we may replace
dS′ by dxdy, and then perform the double integration with respect to
x and y over the region S ′. Alternatively, one can make use of the polar
coordinates r and θ in the xy-plane and replacing dS′ by rdrd θ.
S dS
X
z
O y
x
S′ X′ dS′
∫ an dS = ∫ a ⋅ ndS (30)
S S
Vector Analysis 301
∫ an dS = ∫ a ⋅ dS (31)
S S
We also have
∫ a dS = i ∫ a1dS + j∫ a2 dS + k ∫ a3 dS (32)
S S S S
∫a × ndS = i ∫ (a2 n3 − a3 n2 ) dS
S S
z
3
x = 0 plane
y = 0 plane 1
y =
x+
S
2 y
1
z = 0 plane
x
Fig. 8.17 Region S of Example 8.18
Solution The region S is shown in Fig. 8.17. Let G = 6x + 3y + 2z 6,
then ∂G/∂x = 6, ∂G/∂y = 3, ∂G/∂z = 2, ∇G = 6i + 3j + 2k and
| ∇ G | = 36 + 9 + 4 = 7 so that n = (6/7) i + (3/7) j + (2/7) k which
leads to n3 = 2/7. Thus dS = dxdy/n3 = (7/2) dxdy. But on S, we have
z = 3 3x (3/2)y which gives x + z = 3 2x (3/2)y = f.
Now, if S′ denotes the projection of S on the xy-plane, we then have
7 ⎛ 3 ⎞
∫ fdS = ∫ ⎜ 3 − 2 x − y ⎟ dxdy
2 S′ ⎝ 2 ⎠
S
302 Mathematical Methods
7
1 ⎡1− x ⎛ 3 ⎞ ⎤
2 ∫0
= ⎢ ∫ ⎜ 3 − 2 x − y ⎟ dy ⎥ dx
⎢⎣ 0 ⎝ 2 ⎠ ⎥⎦
1 1− x
7 ⎡ 3 2⎤
2 ∫0
= ⎢ 3 y − 2 xy − 2 y ⎥ dx
⎣ ⎦0
1 1
⎡ 5 x 2 − 14 x + 9 ⎤ dx = ⎡ x3 − 7 x 2 + 9 x ⎤ =
7 7 5 77
=
80∫ ⎣ ⎦ ⎢
8 ⎣3 ⎥
⎦ 0 24
∫ fdV = n → ∞lim
, ∆V → 0
∑ f ( x p , x p , x p ) ∆V p 1 2 3
V p =1 p
The limit in the above equation is independent of the way in which the
surface V is divided into parts, because f is single valued and continuous.
We also have
∫ a dV = i ∫ a1dV + j∫ a2 dV + k ∫ a3 dV
V V V V
Example 8.19 If a = (2x 2 3z) i 2xy j 4xk then find the value of
(i) ∇ ⋅ adV (ii) ∫ ∇ × adV , where V is the closed region bounded by the
∫ V
V
planes 2x + 2y + z = 4, x = 0, y = 0, z = 0.
Solution (i) Here ∇⋅a = 2x and dV = dxdydz. The limits are
z = 0 to z = 4 2x 2y, y = 0 to y = 2 x, x = 0 to x = 2. Therefore
2 2− x 4 − 2 x − 2 y
∫ ∇ ⋅ a dV = ∫ ∫ ∫ 2 x dx dy dz = 8/3
V 0 0 0
Vector Analysis 303
XP
V ∆Vp
∫k ⋅ (∇ × a) dS = ∫ a ⋅ t ds (34)
S C
where the integration over C has been taken in the positive direction.
Equation (34) is usually expressed as follows:
⎛ ∂a1 ∂a2 ⎞
∫ ⎜⎝ ∂y −
∂x
⎟ dS = − ∫ (a1dx + a2 dy )
⎠
(35)
S C
It may be noted that this theorem is also true for the regions bounded by
two or more curves.
∫ ∇ ⋅ a dV = ∫ a ⋅ n dS (36)
V S
⎛ dG dF ⎞
∫ (F ∇ G − G∇ F ) dV = ∫ ⎜ F −G
2 2
⎟ dS (38)
V S⎝
dn dn ⎠
where dG/dn is the directional derivative of G in the direction of the
outer normal n to S.
where the integration over C has been taken in the positive direction;
while the positive direction of C defined to be that in which an observer
on the positive side of S would travel so as to have the interior of S on his
left.
Equation (39) may also be exprssed as
= ∫ (a1 dx + a2 dy + a3 dz ) (40)
C
Vector Analysis 305
EXERCISES
1. If ABCD is a quadrilateral where OB OA = OC OD, prove
that ABCD is a parallelogram.
2. Prove that the diagonals of a parallelogram bisect each other.
3. The vectors of magnitudes a, 2a, 3a meet at a point and their
directions are along the diagonals of the three adjacent sides of a
cube. Determine their resultant.
(a × b) ⋅ (c × d) + (b × c) ⋅ (a × d) + (c × a) ⋅ (b × d) = 0
13. Prove that
(a × [b × (c × d)] = (b ⋅ d) (a × c) (b ⋅ c) (a × d)
14. Prove that
a[b ⋅ (c × d)] b[c ⋅ (d × a)] + c[d ⋅ (a × b)] d[a ⋅ (b × c)] = 0
15. Prove that
n ⋅ (b × c) n ⋅ (c × a ) n ⋅ (a × b)
n= a+ b+ c
a ⋅ (b × c ) b ⋅ (c × a ) c ⋅ (a × b)
where n is any vector.
16. Prove that
d 2b d 2a d⎛ d b da ⎞
a× − ×b = ⎜a × − ×b⎟
dt dt2 2
dt ⎝ dt dt ⎠
17. If da/dt = c × a and db/dt = c × b, then show that
d
(a × b) = c × (a × b)
dt
18. If a(u) = (u u 2)i + 2u3j 3k, then evaluate
2
(i) ∫ a(u ) du (ii) ∫ a(u ) du
1
⎡ ⎛ u 2 u3 ⎞ u4 5 15 ⎤
⎢ Ans. (i) ⎜⎜ − ⎟i + j − 3uk + C (ii) − i + j − 3k ⎥
⎟
⎢⎣ ⎝ 2 3 ⎠ 2 6 2 ⎥⎦
19. The acceleration of a particle at any time t ≥ 0 is a = dv/dt
= 12 cos 2t i 8 sin 2t j + 16t k. If at t = 0, the velocity v and the
displacement r are zero then find r and v at any time t.
[Ans. v = 6 sin 2t i + (4cos 2t 4) j + 8t 2k, r = (3 3 cos 2t)i
+ (2sin 2t 4t) j + 8
3 t 3k]
d 2a da
20. Show that ∫ a × dt = a × + C.
dt 2 dt
π /2
21. Evaluate ∫ (3sin ui + 2cosuj) dt. [Ans. 3i + 2j]
0
Vector Analysis 307
Appendix A : Arithmetic,
Geometric and Harmonic
Progressions
A1 Sequence
A list of numbers arranged in a definite order (i.e., there is a rule by
means of which the numbers after the first number is formed) is called a
sequence. The numbers separated by commas are called terms of the
sequence. A sequence which has a last member is a finite sequence, for
example, 2, 8, 18, 32, 50 is a finite sequence. If the sequence has no last
member, then it is known as infinite sequence, thus, 2, 6, 18, 54, 162, ...
is an infinite sequence. It is possible to express a sequence either by
listing few of its terms till the rule for determining the other terms become
clear; or, by assigning a rule for the nth term of the sequence. Thus, for
example, 1, 3, 5, ... is a sequence whose nth term is 2n 1, while the
sequence defined by n2, where n is a positive integer, has the terms as 1,
4, 9, 16, 25, ...
We can thus define a sequence to be function whose domain is the
set of natural numbers. A sequence is denoted by the letter a and the
image a(n) of n ∈ ¥ under A by an. Since the domain of a sequence is the
set ¥ of natural numbers, therefore a sequence is represented by its range.
The images of 1, 2, 3, ..., n, ... of the terms of a sequence are generally
denoted by a1, a2, a3, ..., an, ... and are, respectively, known as first term,
second term, third term, ..., nth term, ... of the sequence. Thus, for the
sequence 1, 3, 5, ..., we use n as the element of the domain and the
general term is an = 2n 1. If an is the nth term of a sequence a, then we
write a = {an}.
A sequence whose domain is the set ¥ of natural numbers and the
range is the subset of the set ¡ is called a real sequence.
Example A1 Find the first four terms of the sequence whose general
term is
(− 1)n −1 n +1 x 2 n −1
(i) 2 n 1 (ii) (iii) (iv)
n +1 n! (2n + 1)!
310 Mathematical Methods
Solution (i) The first term is 21 1 = 20 = 1, the second term is 22 1 = 2,
the third term is 22 = 4 and the fourth term is 23 = 8.
(ii) The first term is 1/2, the second term is 1/3, the third terms is 1/4
and the fourth term is 1/5.
(iii) Here the required terms are
1+1 2 +1 3 +1 4 +1 3 2 5
, , , or 2, , ,
1! 2! 3! 4! 2 3 24
(iv) The first, second, third and fourth terms, respectively, are
x x3 x5 x 7
, , ,
3! 5! 7! 9!
Example A2 Find the general term for each of the following sequences:
(i) 2, 5, 8, 11, 14, ...
(ii) 2.1, 2.01, 2.001, 2.0001, ...
(iii) 1/8, 1/27, 1/64, 1/125, ...
(iv) 2, 2, 6, 2 2, 10, ...
(v) 3/1, 4/2, 5/6, ...
(vi) x, x 3/3!, x 5/5!, x 7/7!, ...
Solution (i) The first term is 3 ⋅ 1 1, the second term is 3 ⋅ 2 1, the
third term is 3 ⋅ 3 1 and so on; the general term is 3n 1.
(ii) The first term is 2 + (1/10), the second term is 2 + (1/10)2, the third
term is 2 + (1/10)3, the fourth term is 2 + (1/10)4 and so on. Thus the
general term is 2 + (1/10)n.
(iii) Here the successive denominators are the cubes of 2, 3, 4, 5, ... or of
1 + 1, 2 + 1, 3 + 1, 4 + 1, ... and the general term is thus ( 1)n1/(n + 1)3.
(iv) The terms of the given sequence can be expressed as 2, 4, 6, 8,
10, ... Thus, the general term is 2n .
(v) The given sequence can also be written as
1+ 2 2 + 2 3+ 2 4 + 2
, , , ,...
1! 2! 3! 4!
Thus the general term is (n + 2)/n!.
(vi) Here the exponents of x are 2 ⋅ 1 1, 2 ⋅ 2 1, 2 ⋅ 3 1, .... The
general term is therefore ( 1)n 1 x2n 1/(2n 1)!.
Appendix A : Arithmetic, Geometric and Harmonic Progressions 311
A2 Arithmetic Progression
A sequence in which each term after the first term is obtained by adding
a fixed quantity to the preceding term is known as an arithmetic
progression. The fixed quantity is called the common difference.
Thus, if an and an+ 1 are the nth and (n + 1)th terms of a sequence
and an + 1 an = constant (= d ) for all n ∈ ¥, then the sequence is an
arithmetic progression (A. P.). Here, the constant difference is the common
difference.
The sequence 3, 6, 9, 12, 15, ... is an arithmetic progression because
6 3 = 9 6 = 12 9 = 15 12 = ... = 3 which is the common difference.
While, the sequence 5, 10, 14, 20, 25 is not an A.P. since 10 5 ≠ 14
10.
If a is the first term, d is the common difference and n denotes the
number of terms of an arithmetic progression, then
a, a + d, a + 2d, a + 3d, ..., a + (n 1)d (1)
are the successive terms of the arithmetic progression. The nth or the
last term l is given by
l = a + (n 1)d (2)
In order to find whether a sequence is in A.P. or not, we first find an
and then replace n by n + 1 in an to get an + 1. Now, calculate an an+ 1. If
this difference is independent of n, then the given sequence is in A.P.;
otherwise not.
Example A4 Show that the sequence 9, 12, 15, 18, ... forms an arithmetic
progression. Find the 16th and the general terms of this sequence.
Solution Here 12 9 = 15 12 = 18 15 = 3, and the given sequence is
in A.P. with common difference being 3. Also, from Eq. (2), we have
16th term = a16 = a + (16 1)d = 9 + 15 × 3 = 54
and
General term = nth term = an = a + (n 1)d = 3n + 6
Example A5 For the sequence 72, 70, 68, 66, ..., find the term which is
40.
Solution Here 70 72 = 68 70 = 66 68 = 2 and the given sequence
is in A.P. The common difference is 2. Let an be the 40th term, then
from Eq. (2), we have 40 = 72 + (n 1) ( 2) which on solving leads to
n = 17. Thus the 17th term of the given sequence is 40.
or
n
Sn = (a + l ) (4)
2
where l = last term = a + (n 1) d.
Result A5 The sum of the terms equidistant from the beginning and end
of a finite A.P. is always same and equals to the sum of the first and last
term. That is ak + an (k1) = a1 + an, for all k = 1, 2, 3, ...,n 1.
Example A10 The digits of a positive integer, having three digits, form
an arithmetic progression. Their sum is 15. The number obtained by
reversing the digits is 594 less than the original number. Find the number.
Solution Let the digits at ones, tens and hundreds place be (a d ), a and
(a + d), respectively. Then, the number is
(a + d ) × 100 + a × 10 + (a d ) = 111a + 99d
The number obtained by reversing the digits is
(a d ) × 100 + a × 10 + (a + d ) = 111a 99d
But given that
(a d ) + a + (a + d ) = 15 and 111a 99d = 111a + 99d 594
Solving these equations, we get a = 5 and d = 3. Therefore, the number
is 111a + 99d = 852.
Example A11 A man has to pay a loan of Rs. 3250 in monthly instalments.
In the first month he pays Rs. 20 and then increases the payment by Rs.
15 every month. How long will it take him to clear the loan?
Solution Let the loan be cleared in n months. The amounts that have to
be paid, according to the problem, are 20, 35, 50, 65, ... which is an A.P.
The first term is 20 and the common difference is 15. Also, given that
the sum of the amounts is 3250. Thus from Eq. (4), we have
n
[2 × 20 + (n 1) × 15] = 3250
2
which on solving leads to n = 20, 65/3. Therefore, the loan is cleared
in 20 months.
Example A12 A body is dropped and the distance s (in feet) through
which it falls freely in t seconds is given by s = 16t 2. (i) Show that the
distance through which the body falls during the first, second, third,
fourth, ... seconds form an arithmetic progression. (ii) How far the body
will fall in the 10th second?
Solution (i) From the given formula s = 16t 2, by taking t = 1, 2, 3, 4, ...,
the distances covered by the body during the first, second, third, fourth,
... seconds, respectively, are 16, 16(2)2 16 = 48, 16(3)2 16(2)3 = 80,
16(4)2 16(3)2 = 112, and so on. Here, 16, 48, 80, 112, ... are the terms
of an arithmetic progression with common difference as 32.
(ii) When n = 10, the distance covered in 10th second, from Eq. (2)
l = a + (n 1)d, is 304 ft.
316 Mathematical Methods
A3 Geometric Progression
A sequence of non-zero numbers in which each term after the first is
obtained by multiplying the preceding term by a fixed number is called a
geometric progression. The fixed number is called the common ratio.
The geometric progression can also be defined as a sequence of numbers
in which the ratio of a term and the term preceding to it is always a
constant quantity. This constant ratio is the common ratio of the geometric
progression (G.P.). Thus, a sequence a1, a2, ..., an, ... is a geometric
progression if an+ 1/an = constant, for all n ∈ ¥.
The sequence 4, 12, 36, 108, ... is a geometric progression. Here,
the first term is 4 and the common ratio is 12/4 = 36/12 = 108/36 = ...
= 3, while the sequence 1, 1/4, 1/16, 1/48, ... is not a geometric progression
because (1/16)/(1/4) ≠ (1/48)/(1/16).
Example A13 Show that the sequence defined by an = 3(2n), for all
n ∈ ¥, is a G.P.
Solution Here an = 3(2n) and an+ 1 = 3(2 n + 1). Thus an+ 1/an = 2 and the
given sequence is in G.P.
If a1, a2, ..., an, ... is a geometric progression, then a1 + a2 + ... +
an + ... is known as a geometric series. It may be noted that a geometric
series is finite or infinite according as the corresponding G.P. consists of
finite or infinite number of terms.
If a is the first term of a G.P. and r is its common ratio, then the nth
term of the G.P. is a n = ar n 1. Thus, geometric progression may be
expressed as
a, ar, ar 2, ar 3, ..., ar n 1 or a, ar, ar 2, ar 3, ..., ar n 1 , ...
according as G.P. is finite or infinite.
For a geometric progression, we have
Result A10 If a is the first term and r is the common ratio of a finite G.P.
consisting of m terms, then the nth term from the end is ar m n.
Result A11 If l is the last term and r is the common ratio of a G.P., then
the nth term from the end is l(1/r)n 1.
Example A14 Find the 9th and the general terms of the progression 1/4,
1/2, 1, 2, ...
Solution Here, the first term is a = 1/4 and the common ratio is r = 2,
and thus the given progression is a G.P. Also, the 9th term is a9 = ar(9 1)
= 64 and the general term is an = ar(n 1) = ( 1)n 1 2n 3.
Appendix A : Arithmetic, Geometric and Harmonic Progressions 317
Example A15 Which term of the G.P. 2, 1, 1/2, 1/4, ... is 1/128?
Solution The first term of the given G.P. is a = 2 and the common ratio is
r = 1/2. If nth term is 1/128, then an = ar n 1 leads to n = 9. Thus, 1/128
is the 9th term of the given G.P.
Example A16 The 4th, 7th and last term of a G.P. are 10, 80 and 2560
respectively. Find the first term and the number of terms in this G.P.
Solution If a is the first term and r the common ratio of the given G.P.,
then a4 = 10, a7 = 80 and ar 3 = 10, ar 6 = 80. Thus ar 6/ar 3 = 80/10 which
leads to r = 2. Put this value of r in ar 3 = 10, we get a = 10/8. Moreover,
if there are n terms in the given G.P., then a n = 2560 and thus
ar n 1 = 2560 leads to n = 12.
Result A12 If a is the first term and r is the common ratio of a G.P., then
the sum of n terms of this G.P. is
⎛ rn − 1 ⎞ ⎛ 1 − rn ⎞
Sn = a ⎜⎜ ⎟⎟ or Sn = a ⎜⎜ ⎟⎟ , r ≠ 1 (6)
⎝ r −1 ⎠ ⎝ 1− r ⎠
Remarks
1. We also have
⎛ rn − 1 ⎞ ⎛ 1 − rn ⎞
Sn = a ⎜⎜ ⎟⎟ for r > 1 and Sn = a ⎜⎜ ⎟⎟, for r < 1 (7)
⎝ r −1 ⎠ ⎝ 1− r ⎠
The two formulas in Eq. (7) are identical, but do not hold for r = 1. In
case when r = 1, the sum of n terms of a G.P. is Sn = na.
2. If l is the last term of a G.P., then l = ar n 1 and we have
a − lr lr − a
Sn = or Sn = , r≠1 (8)
1− r r −1
Example A17 Find the seventh term and the sum of the first seven terms
of the G.P., 12, 16, 64/3, ...
Solution Here a = 12, r = 4/3, n = 7. The seventh term is a7 = arn 1 =
16383/243 and the sum of the first seven terms is
a − rl 56788
S= =
1− r 243
Example A18 Find the sum of the series 2 + 6 + 18 + ... + 4374.
Solution Here a = 2, r = 3 and l = 4374 and the given series is a geometric
series. The required sum is
318 Mathematical Methods
lr − a
Sn = = 6560
r −1
Result A13 If a is the first term and r is the common ratio such that
1 < r < 1 or (| r | < 1) of an infinite G.P., then the sum of this G.P. is
a
S = (9)
1− r
It may be noted that if r ≥ 1, then the sum of an infinite G.P. tends to
infinity.
Example A19 Find the sum to infinity of the G.P. 5/4, 5/16, 5/64, ...
Solution For the given G.P., the first term is a = 5/4 and the common
ratio is r = 1/4. Also, | r | < 1. Thus from Eq. (9), we have
a
S= =1
1− r
Example A20 Find the sum of the infinite geometric series
1 1 1 1 1 1
+ 2 + 3 + 4 + 5 + 6 + ...∞
2 3 2 3 2 3
Solution The given geometric series can be expressed as
1 1 1 1 1 1
+ + + + + + ...∞
2 32 23 34 25 36
⎛1 1 1 ⎞ ⎛ 1 1 1 ⎞
= ⎜ + 3 + 5 + ... ∞ ⎟ + ⎜ 2 + 4 + 6 + ...∞ ⎟
⎝2 2 2 ⎠ ⎝3 3 3 ⎠
1 1
= (an infinite G.P. with a = ,r = 2)
2 2
1 1
+ (an infinite G.P. with a = 2
,r = )
3 32
⎡ (1/ 2) ⎤ ⎡ (1/32 ) ⎤ 19
= ⎢ 2 ⎥
+⎢ 2 ⎥
=
⎣ 1 − (1/ 2 ) ⎦ ⎣ 1 − (1/3 ) ⎦ 24
(using Eq. (5)).
did the ball fall when it struck the ground for the sixth time; and (ii) the
distance covered by the ball from the time when it was dropped until it
struck the ground for the sixth time.
Solution (i) The successive distance through which the ball falls form a
geometric progression for which the first term is a = 81 and the common
ratio is r = 2/3. When n = 6, l = ar n 1 = 32/3 ft.
(ii) The sum of the distances for the first six falls and first five rebounds
is the required distance and we have
a(1 − r n ) 665
For the falls: a = 81, r = 2/3, n = 6 and S = =
1− r 3
a(1 − r n ) 422
For the rebounds: a = 54, r = 2/3, n = 5 and S = =
1− r 3
Therefore the total distance covered by the ball during the falls and
rebounds is (665/3) + (422/3) = 1087/3 ft.
2. If G1, G2, ..., Gn are n geometric means between two given numbers a
and b then a, G1, G2, ..., Gn, b is a geometric progression. Also, if r is the
common ratio of this geometric progression, then
b = (n + 2)th term = ar n + 1 ⇒ r n + 1 = b/a
Therefore
1/( n +1) 2/( n +1) n /( n +1)
⎛b⎞ ⎛b⎞ ⎛b⎞
G1 = ar = a ⎜ ⎟ , G2 = ar 2 = a ⎜ ⎟ ,..., Gn = ar n = a ⎜ ⎟
⎝a⎠ ⎝a⎠ ⎝a⎠
3. If n geometric means are inserted between two numbers, then the
product of n geometric means is the nth power of the single geometric
mean between the two numbers. Thus, if G1, G2, ..., Gn are n geometric
means between the numbers a and b, then G1G2 ... Gn = ( ab ) n = G n,
where G = ab is the single geometric mean between a and b.
5. If A and G are the arithmetic and geometric means between two positive
numbers, then the numbers are A ± A2 − G 2 .
Example A22 Insert four geometric means between 576 and 9.
Solution If G1, G2, G3, G4 are four geometric means between a = 576
and b = 9, then 576, G1, G2, G3, G4, 9 form a geometric progression
whose common ratio is r = 1/2 (using the formula r = (b/a)1/(n + 1)). Thus
G1 = ar = 288, G2 = ar 2 = 144, G3 = ar 3 = 72, G4 = ar 4 = 36.
Therefore 288, 144, 72, 36 are the desired geometric means between 576
and 9.
Solution Let x and y be two numbers. But given that arithmetic mean is
34 and geometric mean is 16, that is
x+ y
= 34 so that x + y = 68
2
and
xy = 16 so that xy = 256
Therefore
(x y)2 = (x + y)2 4xy = 3600 so that x y = 60
Now, solving the two equations
x + y = 68
x y = 60
for x and y, we get x = 64 and y = 4.
A4 Harmonic Progression
If the reciprocals of a set of numbers form an arithmetic progression,
then this set of numbers is said to form a harmonic progression. Thus in
order to solve a problem of harmonic progression, first take the reciprocals
and then apply the appropriate formula of arithmetic progression.
Solution It can be seen very easily that the reciprocals 1/2, 3/2, 5/2, ...
form an arithmetic progression whose 30th term is 59/2. Thus the 30th
term of harmonic progression is 2/59.
322 Mathematical Methods
1 1 + 1
3
= 2 4
=
H 2 8
is the arithmetic mean between 1/2 and 1/4, therefore H = 8/3 is the
harmonic mean between 2 and 4.
EXERCISES
1. Write the first four terms of the sequences whose general terms
are 4n 3; n!; ( 1)n 1 x 2n 2/(n 1)!
[Ans. 1, 5, 9, 13; 1, 2, 6, 24; 1, x 2, x 4/2, x 6/6]
2. Write the general term for each of the sequences: 2, 4, 6, 8, 10, 12,
...; 2, 6, 18, 54, 162, ...; 2, 5, 8, 11, 14, ...; x/2, x2/6, x 3/24,
x 4/120, ...; 3, 4, 5/2, 1, 7/24, ...
[Ans. 2n, 2(3)n 1, ( 1)n 1 (3n 1), x n/(n + 1)!, (n + 2)/(n 1)!]
⎛ a2 ⎞ ⎛ a3 ⎞
3. Show that the sequence log a, log ⎜ ⎟ , log ⎜ ⎟ , ... forms an
⎜ b ⎟ ⎜ b2 ⎟
⎝ ⎠ ⎝ ⎠
arithmetic progression.
4. Show that the sequence log a, log (ab), log (ab 2), log(ab3), ...
forms an arithmetic progression. Find the nth term.
[Ans. log (abn1)]
5. Which term of the sequence 4, 9, 14, 19, ... is 124.
[Ans. 25th term]
6. Is 184 a term of the sequence 3, 7, 11, ...? [Ans. No]
7. Find the sum of all the natural numbers between 250 and 1000
which are exactly divisible by 3. [Ans. 156375]
8. Insert six arithmetic means between 7 and 77.
[Ans. 17, 27, 37, 47, 57, 67]
9. What is the arithmetic mean of 8 and 56. [Ans. 24]
10. Show that the following sequences form a geometric progression.
Find next three terms also:
(i) 4, 8, 16, 32, 64 (ii) 12, 4, 4/3, 4/9
[Ans. (i) 128,256, 512 (ii) 4/27, 4/81, 4/243]
Appendix A : Arithmetic, Geometric and Harmonic Progressions 323
11. Find the 4th term from the end of the G.P. 3, 6, 12, 24, ..., 3072.
[Ans. 384]
12. Which term of the G.P. 5, 10, 20, 40, ... is 5120? [Ans. 11th terms]
13. The first term of a G.P. is 1. The sum of the third and fifth terms is
90. Find the common ratio. [Ans. ± 3]
14. If the fourth and ninth terms of a G.P. are 54 and 13122, respectively.
Find the G.P. [Ans. 2, 6, 18, 54, ...]
15. The fourth and eighth terms of a G.P. are 1 and 1/256, respectively.
Find the tenth term. [Ans. 1/4096]
16. Find the sum of 10 terms of the G.P. 1, 1/2, 1/4, 1/8, ...
[Ans. 1023/512]
17. Find the sum of the G.P. 8, 4, 2, ..., 1/128. [Ans. 683/128]
18. Insert five geometric means between 8 and 1/8.
[Ans. 4, 2, 1, 1/2, 1/4]
19. Insert four geometric means between 81/2 and 16/3.
[Ans. 27, 18, 12, 8]
20. Find the geometric mean of 1/3 and 243. [Ans. 9]
21. Find two positive numbers whose difference is 12 and whose
arithmetic mean exceeds the geometric mean by 2. [Ans. 16, 4]
22. The sum of three numbers in arithmetic progression is 24. If the
first number is decreased by 1 and the second by 2, then the three
numbers are in geometric progression. Find the arithmetic
progression. [Ans. 4, 8, 12 or 13, 8, 3]
23. Find the 16th term of a harmonic progression 3/4, 3/11, 1/6, ...
[Ans. 3/109]
24. Find the 20th term in the harmonic progression whose first term
is 1 and whose 13th term is 1/19. [Ans. 2/59]
25. Show that the harmonic mean between x and y is 2xy/(x + y).
26. Show that the geometric mean between two positive numbers is
also the geometric mean between the arithmetic and harmonic
means of the numbers.
324 Mathematical Methods
Appendix B : Permutation,
Combination and Binomial
Theorem
B1 Permutation
Any arrangement of a set of objects in a specific order is known as a
permutation of the set taken all at a time. For example, xyz, yzx, zxy are
permutations of the set of letters x, y, z taken all at a time.
It may be noted that in a permutation, the order of the arrangement
is important. If the order of the arrangement is changed, we get a different
permutation.
Notations
1. We shall use the symbol nPr or P(n, r) to denote the number of all
permutations of n distinct objects, taken r at a time, where n and r are
positive integers such that 1 ≤ r ≤ n.
2. The symbol n! (read as factorial n) denotes the product of the positive
integers from 1 to n inclusive. That is
n! = 1 ⋅ 2 ⋅ 3⋅ ... ⋅ (n 1) ⋅ n (1)
Thus
1! = 1, 3! = 1⋅ 2 ⋅ 3, 5! = 1 ⋅ 2 ⋅ 3 ⋅ 4 ⋅ 5, etc.
From Eq. (1) we have
n! = 1 ⋅ 2 ⋅ 3 ⋅ ... ⋅ (n 1) ⋅ n = [(n 1)!] n = n(n 1)! (2)
Thus
9! = 9(8!), 7! = 7(6!), 5! = 5(4!), 3! = 3(2!), etc.
It may be noted that the factorial notation is not defined for proper
fractions or negative integers.
We also have
Appendix B : Permutation, Combination and Binomial Theorem 325
nP
n(n − 1) ... (n − r + 1) (n − r )...2 ⋅ 1
r = n(n 1) ... (n r + 1) =
(n − r ) ...2 ⋅ 1
n!
= (3)
(n − r )!
and the number of permutations of n different objects taken n at a time is
given by
nP = n(n 1) ... 2 ⋅ 1 = n! (4)
n
Remark
Take r = n in Eq. (3), we get
n! n!
nP
n
= =
(n − n)! 0!
But from Eq. (4), nP n = n! and the above equation becomes n!
= n!/0! and thus
n!
0! = =1 (5)
n!
Example B2 Evaluate (i) 20!/18! (ii) 10!/6!4!
Solution From Eq. (2), we have
20! 20(19!) (20) (19) (18!)
= = = (20 (19) = 380
18! 18! 18!
and
10! (10) (9) (8) (7)6! (10) (9) (8) (7)
= = = 210
6!4! 6!4! (4) (3) (2) (1)
Example B3 Find n, if (n + 2)! = 2550 × n!.
Solution We have
(n + 2)! = 2550 × n! ⇒ (n + 2) (n + 1) × n! = 2550 × n!
⇒ (n + 2) (n + 1) = 2550 ⇒ n 2 + 3n 2548 = 0 which on solving yields
n = 49 as n ≥ 0.
Solution
(i) From the definition, we have
n! ⎛ n! ⎞
2 P (n, n 2) = 2 = 2⎜ ⎟ = n! = P(n, n)
[n − (n − 2)]! ⎝ 2! ⎠
(ii) We have
n!
P (n, n 1) = = n! = P(n, n)
[n − (n − 1)]!
(iii) From the definition, we have
(n − 1)! (n − 1)!
P (n 1, r) + r P(n 1, r 1) = +r
(n − 1 − r )! [(n − 1) − (r − 1)]!
Appendix B : Permutation, Combination and Binomial Theorem 327
Example B11 Three men have four shirts, five trousers and six caps. In
how many ways can they wear them?
Solution The total number of ways in which three men can wear four
shirts is the number of arrangements of four different shirts taken three
at a time. Thus, three men wear four shirts in 4P3 different ways. Similarly,
328 Mathematical Methods
5P and 6P3 are the number of ways in which three men can wear five
3
trousers and six caps, respectively. Therefore, the required number of
ways = 4P3 × 5P3 × 6P3 = 172800.
Example B12 How many numbers lying between 100 and 1000 can be
formed with the digits 1, 2, 3, 4, 5 if the repetition is not allowed?
Solution Since every number lying between 100 and 1000 is a three
digit number, therefore, we have to obtain the number of permutations
of five digits 1, 2, 3, 4, 5 taken three at a time. Hence, the required
number of permutation is 5P3 = 60.
Example B13 How many words can be formed using all the letters of
the word EQUATION, using each letter exactly once (the meanings of
the words thus formed are not taken into consideration).
Solution The word EQUATION has eight letters in it. Thus, the total
number of words is equal to the number of arrangements of these letters
taken all at a time, and the number of such arrangements is 8P8 = 8!.
Result B4 When two specified objects always occur together, then the
number of all permutations of n different objects taken r at a time is
2!(r 1) (n 2Pr 2).
Example B14 Find the number of ways in which the letters of the word
Appendix B : Permutation, Combination and Binomial Theorem 329
PENCIL be arranged such that (i) N is always next to E (ii) N and E are
always together.
Solution (i) Consider the letters EN as one letter, then we have five
letters which can be arranged in 5P5 = 120 ways. Thus, the number of
ways N is always next to E is 120.
(ii) Take E and N together and consider it as one letter, then we have five
letters which can be arranged in 5P5 = 5! ways. But E and N can be put
together in 2! ways (i.e., EN, NE). Therefore, the total number of ways is
5! × 2! = 240.
Example B15 How many words can be formed from the letters of the
word TRIANGLE and how many of these will begin with T and end
with E?
Solution The word TRIANGLE consists of eight letters. The total number
of words that can be formed with these eight letters is the number of
arrangements of eight letters taken all at a time, which is equal to
8P = 8! = 40320. Moreover, if we fix the letter T in the beginning and
8
the letter E at the end, then the six letters are left which can then be
arranged in 6P6 ways. Thus, the total number of words which begin with
the letter T and end with the letter E is 6!.
Result B5 If there are l objects out of which m are alike of one kind and
n are alike of second kind such that m + n = l, then the number of mutually
distinguishable permutations of l objects taken all at a time is l!/m!n!.
Result B6 If there are l objects out of which m1 are alike of one kind, m2
are alike of second kind, m3 are alike of third kind and so on such that
m1 + m2 + m3+ ... + mr = l, then the number of permutations of l objects
is l!/m1! m2! ... mr!.
Result B7 If there are l objects out of which m1 are alike of one kind, m2
are alike of second kind and the remaining are all distinct, then the
number of permutations of l objects is l!/m1!m2!.
(m1 + m2 + ... + mr )!
m1 !m2 !... mr !
Result B9 The number of permutations of n different objects taken r at a
time, when each may be repeated any number of times in each
arrangement, is nr.
Example B16 Find the number of words that can be formed out of the
letters of the word MISSISSIPPI.
Solution The given word contains eleven letters and in this word there
are four S, four I and two P. Thus the total number of words is the number
of arrangements of eleven words, of which similar four are of one kind,
similar four are of second kind and similar two are of third kind. Hence
11!
total number of words = = 34650
4!4!2!
Example B17 Find the number of arrangements that can be made from
the letters of the word MATHEMATICS.
Example B19 Find the number of three digits that can be formed from
the digits 1, 2, 3, 4, 5 when the repetition of digits is allowed.
Appendix B : Permutation, Combination and Binomial Theorem 331
Solution The units place can be filled in five ways. As the repetition of
the digits are allowed, therefore, tens place and hundreds place can be
filled in five ways. Thus, the number of three digit numbers is 5 × 5 × 5
= 125.
B3 Combination
A selection of objects which is made by taking all or a number of objects,
irrespective of their arrangements, is known as a combination. For
example, the different combinations of the three letters xyz taken two at
a time are xy, xz, yz.
It may be noted that for the combination, the word selection is used,
while for the permutation, the word arrangement is used.
Notation
The number of all combinations of n objects, taken r at a time is denoted
by C(n, r), or nCr. Thus, nCr denotes the number of ways of selecting r
objects from n objects. Moreover, nCr is defined only when n and r are
non-negative integers such that 0 ≤ r ≤ n.
Remarks
1. Put r = n in Eq. (6), we get
n! n!
nC
n = = =1 (7)
(n − n)!n! ( n!) (0!)
2. Put r = 0 in Eq. (6), we get
n! n!
nC = = (8)
0 (n − 0)!0! n!
Thus
nC nC
n= 0 =1
3. From Eq. (6), we have
n! 1 ⎡ n! ⎤ n Pr
nC = = ⎢ = (9)
r
(n − r )! r! r! ⎣ (n − r )! ⎥⎦ r!
Result B11 For 0 ≤ r ≤ n,
nC
= nC n r
r
This result can also be stated as : If x and y are non-negative integers
such that x + y = n, then nCx = nCy and conversely.
n (n 1 Cr 1) = (n r + 1) nCr 1
Example B21 If nCr = 120 and nPr = 720, find the value of r.
Appendix B : Permutation, Combination and Binomial Theorem 333
2nC
2n [1 ⋅ 3 ⋅ 5...(2n − 1)]
n= n!
Solution From the definition, we have
2n! (2n!) (2n) (2n − 1) (2n − 2)...4 ⋅ 3 ⋅ 2 ⋅ 1
2nC
n = = =
(2n − n)!n! n!n! n!n!
Solution Since
n
Cr r +1
n
=
Cr +1 n−r
Therefore
r + 1 84
=
n − r 126
2n 5r = 3 (10)
n
Cr
Now put r = r 1 in , we get
n
Cr +1
n
Cr −1 r 36
n
= =
Cr n − (r − 1) 84
334 Mathematical Methods
rC
3!
2 = 3C 2 = =3
(3 − 2)!2!
Example B24 Determine the values of n and r, if nPr = nPr + 1 and
nC = nC .
r r1
Solution Since nPr = nPr + 1 and nCr = nCr 1 , we have
n! n! n! n!
= and =
(n − r )! (n − r − 1)! (n − r )!r! (n − r + 1)!(r − 1)!
which, after simplifications, leads to
n r = 1 and n 2r = 1
Solving these two equations, we get n = 3 and r = 2.
Example B25 A question paper has two parts, part A and part B. Each
part contains ten questions. If the student has to choose eight questions
from part A and five questions from part B, then find the number of ways
in which the student can choose the questions.
Solution There are ten questions in part A out of which the student can
choose eight questions in 10C8 ways, and similarly the student can choose
five questions from part B in 10C5 ways. Thus, the total number of ways
in which the student can select questions from part A and part B is
10C × 10C = 11340.
8 5
Example B26 Twenty three applications are being received against the
five posts of lecturers in an institution. Out of these five posts, two are
reserved for the candidates belonging to backward classes. If there are
seven candidates belonging to backward class (BC) among the twenty
three applicants, find the number of ways in which the selection can be
made.
Example B27 Find the number of triangles that can be formed by joining
the vertices of a hexagon.
Appendix B : Permutation, Combination and Binomial Theorem 335
Solution Since there are six vertices of a hexagon, one triangle can be
formed by selecting a group of three vertices from the given six vertices.
This can be done in 6C3 ways. Thus
6!
total number of triangles = 6C3= = 20
3!3!
Example B28 Find the number of diagonals in a n-sided polygon.
Solution It is known that a n-sided polygon has n vertices. By joining
any two vertices of the polygon, we either get a side of the polygon, or a
diagonal of the polygon. Thus, the number of line segments obtained by
joining the vertices of a n sided polygon taken two at a time is equal to
n ( n −1)
the number of ways of selecting two out of n, which is nC2 = 2 . Out
of these lines, n lines are the sides of the polygon. Therefore, number of
n(n − 1) n(n − 3)
the diagonals of the polygon = −n= .
2 2
Example B29 There are ten points P, Q, R, ... in a plane such that no
three points lie on a straight line. Find the number of (i) lines which are
determined by these points (ii) lines which are passing through the point
P(iii) triangles determined by the points (iv) triangles having P as a
vertex (v) triangles having PQ as a side.
Solution (i) Since a line is determined by any two points, therefore there
are 10C2 = 45 lines.
(ii) To find a line through P, one more point is to be selected. Thus there
are nine lines through the point P.
(iii) Since a triangle is formed by joining any three points, therefore
there are 10C3 = 120 triangles.
(iv) Here two more points are needed to form a triangle. These two points
may be selected from the nine points in 9C2 = 36 ways, which is the
required number of triangles having P as the vertex.
(v) Here only one additional point is needed to form a triangle. Thus
there are eight triangles having PQ as a side.
Example B30 There are 21 consonants and 5 vowels in the English
alphabet. Determine (i) in how many ways can four consonants and two
vowels be selected? (ii) the number of words formed which consist of
336 Mathematical Methods
four consonants and two vowels (iii) the number of words in (ii) which
begin with R (iv) the number of words in (iii) which contain E.
Solution (i) The four consonants can be selected in 21C4 ways and two
vowels can be selected in 5C2 ways. Thus, the required number of selection
is 21C4 × 5C2 = 59850.
(ii) From each of the selection in (i) above, 6! words may be formed by
permuting the letters. Therefore, (59850) (6!) = 43092000 words can be
formed.
(iii) Since the position of the consonant R is fixed, we must select three
other consonants in 20C3 ways; and two vowels in 5C2 ways. Now, arrange
each selection of five letters in all possible ways. Thus, the required
number of words are 20C3 × 5C2 × 5! = 1368000.
(iv) Here the position of the consonant R is fixed while the position of
the vowel E is not fixed. Thus, three other consonants and one other
vowel must be selected in 20C3 and 4 ways, respectively. Now, arrange
each set of five letters in all possible ways. Therefore, the required number
of words are 20C3 × 4 × 5! = 547200.
B4 Binomial Theorem
An algebraic expression which contains two terms is known as a binomial
⎛ 1 ⎞ ⎛ 16 6
expression. For example, (x + y), (3a 5b), ⎜ a + ⎟ , ⎜ +
⎞ etc.,
⎟,
⎝ b ⎠ ⎝ x x2 ⎠
are binomial expressions.
3rd row 1 3 3 1
4th row 1 4 6 4 1
5th row 1 5 10 10 5 1
In the the above pattern, every row starts with 1 and ends also with
1; and that each of the interior number is the sum of the two numbers
directly above it. Such type of pattern is known as Pascal triangle. This
triangle has a number of interesting properties - one of which is that it
provides coefficients for the expression (x + a)n. Note, for example, that
the 5th row gives the coefficients for (x + a)5. Also, the fifth row can be
expressed as
5C 5C 5C 5C 5C 5C
0 1 2 3 4 5
n
where Cr, (n = 5 and r = 0, 1, 2, 3, 4, 5) is defined by Eq. (6). It may be
noted that nCr occuring in the above expression is also sometimes known
as the binomial coefficient. Thus, (x + a)n, (n = 0, 1, 2, 3, 4, 5), in terms
of binomial coefficient, can also be written as
(x + a)0 = 1C1
(x + a)1 = 1C0 xa0 + 1C1 x0a
(x + a)2 = 2C0 x2a0 + 2C1 ax + 2C2 x0a2
(x + a)3 = 3C0 x3a0 + 3C1x2a + 3C2 xa 2 + 3C3 x0a3
(x + a)4 = 4C0 x4a0 + 4C1 x3a + 4C2 x2a2 + 4C3 xa3 + 4C4 x0a4
(x + a)5 = 5C0 x5a0 + 5C1 x4a + 5C2 x3a2 + 5C3x2a3 + 5C4 xa4 + 5C5 x0a5
The above expressions suggest a general formula for expanding
(x + a)n which is known as the binomial theorem.
Result B16 Binomial theorem for positive integral index. If x and a are
real numbers, then for all natural numbers n
(x + a)n = nC0 x na0 + nC1 x n 1a1 + nC2 x n 2 a2 + ... + nCr x n r ar
+ ... + nCn 1 x1a n 1 + nCn x 0a n (12)
Equation (12) can also be written as
n
(x + a)n = ∑ n Cr x n − r a r (13)
r =0
Remarks
1. From Eq. (13) it may be noted that r can have values from 0 to n,
thus the total number of terms in the expansion is (n + 1).
2. In each term, the sum of the indices of x and a is n.
3. Put a = a in Eq. (13), we get
338 Mathematical Methods
n
(x a)n = ∑ (−1)r n Cr x n −r a r (14)
r =0
which clearly shows that the terms in the expansion (x a)n are
alternatively positive and negative and the last term is positive or negative
according as n is even or odd.
4. Put x = 1 and a = x in Eqs. (12) and (13), we get
(1 + x)n = nC0 + nC1 x + nC2 x 2 + ... + nCr x r + ... + nCn xn (15)
and
n
(1 + x) n = ∑ n Cr x r (16)
r =0
Equation (15)/(16) provides the expansion of (1 + x)n in ascending powers
of x.
5. Put a = 1 in Eqs. (12) and (13), we have
(1 + x)n = nC0 x n + nC1x n `1 + nC2 x n 2
+ ... + nCr x n r + ... + nCn 1 x + nCn (17)
and
n
(1 + x)n = ∑ n Cr x n − r (18)
r =0
which is the expansion of (1 + x)n in descending powers of x.
6. Put x = 1 and a = x in Eqs. (12) and (13), we get
(1 x)n = nC0 nC1x + nC2 x2 + ... + ( 1)r nCr xr + ... + (1)n nCn xn
(19)
and
n
(1 x)n = ∑ (−1)r n Cr x r (20)
r =0
(ii) ( n2+1 )th and ( n 2+3 )th terms are the two middle terms when n is
odd.
Example B31 Expand [(x + y)5 + (x y)5] using binomial theorem and
hence find the value of [( 2 + 1)5 + ( 2 − 1)5 ].
Solution From Eqs. (13) and (14), we have
(x + y)5 + (x y)5 = 2[5C0x5 + 5C2x3y2 + 5C4x1y4] = 2(x5 + 10x3y2 + 5xy4)
Now, put x = 2 and y = 1 in the above equation, we get after
simplification
( 2 + 1)5 + ( 2 − 1)5 = 58 2
( )
12
Example B33 Determine the tenth term in the expansion of 2 x 2 + 1
x
.
Solution Since the (r + 1)th term in the expansion of (x + a)n is
Tr + 1 = nCr x n r ar
( )
12
therefore in the expansion of 2 x 2 + 1
x
, we have (here, n = 12, r = 9,
x = 2x2 and a = 1/x)
9
⎛1⎞ 3⎛ 1 ⎞ 1760
T10 = T9+1 = 12C9 (2x2)129 ⎜ ⎟ = C9 2 ⎜ 3 ⎟ = 3
12
⎝x⎠ ⎝x ⎠ x
Example B34 Prove that the middle term in the expansion of (1 + x)2n is
1 ⋅ 3 ⋅ 5...(2n − 1) n n
2 x
n!
340 Mathematical Methods
(2 x )
11
2
− 3
x
, when x ≠ 0.
( )
11
Solution Let (r + 1)th term contain x10 in the expansion of 2 x 2 − 3
,
x
then
r
⎛ −3 ⎞
Tr + 1 = 11Cr (2x2)11r ⎜ r 11
⎟ = ( 1) Cr 2
11r 3r x223r (22)
⎝ x ⎠
This term will contain x10 only when 22 3r = 10 which yields r = 4.
Thus, (4 + 1)th, i.e. 5th term contains x10. Now, put r = 4 in Eq. (22), we
get
T5 = ( 1)4 11C4 2114 34 x10 = 11C4 27 34 x10
Therefore
the coefficient of x10 = 11C4 27 34
Example B37 Expand (3 + 2x) 4 upto four terms in (i) ascending powers
of x and (ii) descending powers of x. Also, find the values of x for which
the expansion is true in each case.
Solution (i) we have
−4 −4
(3 + 2x) 4 = ⎢⎡ 3⎜⎛ 1 + 2 x ⎟⎞ ⎥⎤ ⎛
= 3− 4 ⎜ 1 +
2x ⎞
⎟
⎣ ⎝ 3 ⎠⎦ ⎝ 3 ⎠
⎡ ⎛ 2 x ⎞ (− 4) (− 4 − 1) ⎛ 2 x ⎞
2
(− 4) (− 4 − 1) (− 4 − 2) ⎛ 2 x ⎞
3 ⎤
= 3− 4 ⎢1 + (− 4) ⎜ ⎟+ ⎜ ⎟ + ⎜ ⎟ + ...⎥
⎢⎣ ⎝ 3 ⎠ 2! ⎝ 3 ⎠ 3! ⎝ 3 ⎠ ⎥⎦
⎛ 8 40 2 160 3 ⎞
= 3− 4 ⎜ 1 − x + x − x + ... ⎟
⎝ 3 9 27 ⎠
This expression is true only when | 2x/3 | < 1, which means that | x | <
3/2 or 3
2
< x < 32 .
(ii) We have
−4 −4
⎡ ⎛ 3 ⎞⎤ ⎛ 3 ⎞
(3 + 2x) 4 = ⎢ 2 x ⎜ 1 + ⎟ = (2 x)− 4 ⎜ 1 + ⎟
⎣ ⎝ 2 x ⎠ ⎥⎦ ⎝ 2x ⎠
1 −4
⎡ ⎛ ⎞ 3 ( − 4) ( − 4 − 1) ⎛ 3 ⎞
2
( − 4) ( − 4 − 1) (− 4 − 2) ⎛ 3 ⎞
3 ⎤
= 16 x ⎢1 + (− 4) ⎜ 2 x ⎟ + ⎜ ⎟ + ⎜ ⎟ + ...⎥
⎢⎣ ⎝ ⎠ 2! ⎝ 2x ⎠ 3! ⎝ 2x ⎠ ⎥⎦
1 −4 ⎛ 45 − 2 135 − 3 ⎞
x ⎜ 1 − 6 x −1 +
= x − x + ... ⎟
16 ⎝ 2 2 ⎠
This expression is true only when | 3/2x | < 1, which means that
3 < | 2x | or | x | > 32 .
Tr + 1 =
( )(
−5
2
−5
2
−1 )( −5
2 ) (
− 2 ...
−5
2
− (r − 1) ) ( 2x) r
r!
( 52 )( 72 )( 92 ) ... ( 2r2+3 )
= ( 1)r ( 1)r 2r x r
r!
5 ⋅ 7 ⋅ 9 ... (2r + 3) 5 ⋅ 7 ⋅ 9 ... (2r + 3) r
= ( 1)2r r
2r x r = x
2 r! r!
Now, if this term is going to contain x 6, then r must be equal to 6.
Therefore
5 ⋅ 7 ⋅ 9 ⋅ 11 ⋅ 13 ⋅ 15 15015
coefficient of x 6 = =
6! 16
Example B40 Find the value of 26 upto four places of decimal.
Solution We have
+
( )( )( ) (52 )−5/2 (1)3 + ( )( )( )( −25 ) (52)7/2 (1)4 + ...
1
2
−1
2
−3
2
1
2
−1
2
−3
2
1⋅ 2 ⋅ 3 1⋅ 2 ⋅ 3 ⋅ 4
⎛ 1⎞⎛1⎞ ⎛ 1 ⎞⎛ 1 ⎞ ⎛ 1 ⎞⎛ 1 ⎞ ⎛ 1 ⎞⎛ 1 ⎞
= 5 + ⎜ ⎟ ⎜ ⎟ − ⎜ 3 ⎟ ⎜ 3 ⎟ + ⎜ 4 ⎟ ⎜ 5 ⎟ − ⎜ 7 ⎟ ⎜ 6 ⎟ + ...
⎝ 2⎠⎝5⎠ ⎝ 2 ⎠⎝5 ⎠ ⎝ 2 ⎠⎝5 ⎠ ⎝ 2 ⎠⎝5 ⎠
= 5.00000 + 0.10000 0.00100 + 0.00002 ... = 5.09902 (approx.)
Therefore 26 = 5.0990, correct to four places of decimals.
It may be noted that if we express 2 1/2
26 as (1 + 5 ) , then using the
binomial theorem, we have
2 1/2
26 = (1 + 5 ) = 1 + 12.5 78.125 + 976.5625 ...
which obviously is not the valid expansion.
Example B41 Find the cube root of 127 correct to four places of decimals.
Solution Since
1/3
⎛ 2 ⎞
(127)1/3 = (125 + 2)1/3 = (125)1/3 ⎜1 + ⎟
⎝ 125 ⎠
Appendix B : Permutation, Combination and Binomial Theorem 345
⎡ 2 ⎛1⎞⎛ 2 ⎞
2
⎛ 5 ⎞⎛ 2 ⎞
3 ⎤
(127)1/3 = ⎢
5 1 + − ⎜ ⎟⎜ ⎟ + ⎜ ⎟⎜ ⎟ + ...⎥
⎢⎣ 375 ⎝ 9 ⎠ ⎝ 125 ⎠ ⎝ 81 ⎠ ⎝ 125 ⎠ ⎥⎦
= 5(1 + 0.005333 0.000028 + 0.000000253 ...)
= 5(1.005333 0.000028) = 5.026525 = 5.0265
( −3) ( −3 − 1) ( −3 − 2)
+ ( 0.02)3 + ...] = 1 + 0.0600 + 0.0024 + ...
3!
= 1.0624 = 1.06 upto two places of decimals
Remarks
While finding the approximate values upto n places of decimals, the
procedure is that first write the value of each term upto (n + 2) places of
decimals and then neglect those terms which contain (n + 1) or more
consecutive zeros just after the decimals.
EXERCISES
1 1 x
1. Find x, when + = . [Ans. 112]
9! 10! 11!
n! n!
2. If and are in the ratio 2 : 1, find the value of
2!(n − 2)! 4!(n − 4)!
n. [Ans. 5]
3. Evaluate P(15, 3) and P(5, 5). [Ans. 2730, 120]
4. If P(n, 4) = 20P(n, 2), find n. [Ans. 7]
5. If P(5, n) = 2P(6, n 1), find n. [Ans. 3]
6. If P(10, n) = 5040, find n. [Ans. 4]
7. 9 9 10
If P5 + 5 P4 = Pn, find n. [Ans. 5]
8. 56 54
If Pn+6 : Pn+3 = 30800 : 1, find n. [Ans. 41]
9. In how many ways can six persons stand in a queue? [Ans. 720]
346 Mathematical Methods
10. How many different signals can be made from any number of flags
from five flags of different colours? [Ans. 325]
11. In how many ways seven paintings can be hung from five painting
nails on a wall? [Ans. 2520]
12. How many four letter words can be formed out of the letters of the
word LOGARITHMS, if the repetition of letters is not allowed
(the meanings of the words thus formed are not taken into
consideration)? [Ans. 5040]
13. How many words can be formed with the letters of the word
ORDINATE such that the vowels occupy the odd place?
[Ans. 576]
14. How many words can be formed from the letters of the word
DAUGHTER such that (i) the vowels always occur together (ii)
the vowels never occur together? [Ans. (i) 4320 (ii) 36000]
15. Find the number of permutations of the words APPLE and
BANANA. [Ans. 60, 60]
16. In how many ways five rings of different types can be worn in four
fingers? [Ans. 45]
∑ j =1 52− j C3 .
5
17. Find the value of 47C4 + [Ans. 52C4]
18. Evaluate (i) 10C8 (ii) 100C98 (iii) 52C52. [Ans. 45, 4950, 1]
19. If 15 = 8, find the value of nC12.
nC nC [Ans. 253]
20. Find the value of n, when 2nC3 : nC3 = 11 : 1. [Ans. 6]
21. Find the number of sides of a polygon which has 44 diagonals.
[Ans. 11]
22. Using binomial theorem, expand the following:
(i) (x2 + 2a)5 [Ans. x10 + 10x8a + 40x6a2 + 80x4a3 + 80x2a4
+ 32a5]
(ii) (2x 3y) [Ans. 16x 96x y + 216x y 216xy + 81y4]
4 4 3 2 2 3
7
⎛ 3 x3 ⎞
24. Find the fourth term from the end in the expansion of ⎜ − ⎟ .
⎜ 2 6 ⎠⎟
⎝x
[Ans. 35x6/48]
7
⎛ x3 ⎞
25. Determine the middle term in the expansion of ⎜ 3x − ⎟ .
⎜ 6 ⎠⎟
⎝
[Ans. 35x15/48]
26. Determine the coefficients of x32 and x17 in the expansion of
⎛ 4 1 ⎞
⎜x − 3 ⎟. [Ans. 1365, 1365]
⎝ x ⎠
27. From the binomial theorem, evaluate (i) (102)6 (ii) (10.1)5.
[Ans. (i) 1126162419264 (ii) 105101.00501]
2
28. Expand (4 3x ) 1/3 to four terms and find the values of x for
which the expansion is valid.
[Ans. 41/3 (1 + (x2/4) + (x4/8) + (7x6/96) +...), (−2/ 3) < x < (2/ 3)]
29. Find the general term in the expansion of (4 5x2)1/2.
⎡ 1 ⋅ 3 ⋅ 5...(2r − 1) 2 r ⎤
⎢ Ans. x ⎥
⎣ r!2r +1 ⎦
2
30. Find the general term in the expansion of (2 3x ) . 2/3
(2n)!/(n!)2.
34. Show that the coefficient of x n in the expansion of (1 2x)1/2 is
(2n)!/2n (n!)2.
35. Determine the coefficient of x7 in the expansion of (x 2x2)3.
[Ans. 67584]
36. Evaluate 23 correct to four places of decimals. [Ans. 4.7958]
348 Mathematical Methods
C1 Algebra
(i) Laws of Exponents
am
a ma n = a m + n = am n
an
(a m) n = a m n (ab) n = a nb n
n
⎛a⎞ an
⎜ ⎟ = n, b≠0 a0 = 1
⎝b⎠ b
(ii) Fractional Exponents
a1/n = n a
where n is called the index and a the radicand.
a m/n = n
a m = ( n a )m
where m is an integer, n is a positive integer and a is a real number. If n
is even then a ≥ 0.
(iii) Operations with Radical Expressions
n
n
a a
anb = n
ab n = n , b≠0
b b
a = mn a
m n cn cm = n m
a a
(iv) Properties of Logarithms
If M and N are positive real numbers, a > 0 and a ≠ 1, then
⎛M ⎞
loga (MN) = loga M + loga N log a ⎜ ⎟ = log M log N
⎝N ⎠ a a
1
loga M n = n loga M log a = log a M
M
Appendix C : Some Useful Formulas 349
1
log a n M = loga M loga 1 = 0
n
loga (a x) = x a (log a x ) = x
C2 Geometry
The following notations have been used in these formulas:
A = area, V = volume, b = base, h = altitude, r = radius (including base
radius), C = circumference, B = base area.
1
Triangle : A = bh.
2
Parallelogram : A = bh.
1
Trapezoid : A = (a + b) h (a and b being the lengths of parallel sides).
2
Circle : C = 2πr, A = πr2.
Ellipse : A = π ab, a and b are semi-major and semi-minor axes.
Parallelopiped : V = Bh.
1
Tetrahedron : V = Bh.
3
Right circular cylinder : Curved surface A = 2πrh, V = πr2h.
1 2
Right circular cone : Curved surface A = πr r + h , V = πr h.
2 2
3
1
General cone, or pyramid : V = Bh.
3
4 3
Sphere : A = 4πr2, V = πr .
3
4
Ellipsoid : V = πabc, a, b and c are the semi axes.
3
C3 Trigonometry
(i) Basic Trigonometric Identities
1 1 1 1
sin θ = , cos θ = , tan θ = , cot θ =
cos θ sec θ cot θ tan θ
1 1 sin θ cos θ
sec θ = , csc θ = , tan θ = , cot θ =
cos θ sin θ cos θ sin θ
350 Mathematical Methods
It may be noted that all the trigonometric ratios are positive in the first
quadrant. In the second quadrant, only sin θ and csc θ are positive. In
the third quadrant, only tan θ and cot θ are positive, while in the fourth
quadrant, only cos θ and sec θ are positive. We also have
sin2 θ + cos2 θ = 1, 1 + tan2 θ = sec2 θ, cot2 θ + 1 = csc2 θ
These identities are also known as Pythagorean identities.
sin ( θ) = sin θ, cos( θ) = cos θ, tan( θ) = tan θ
cot ( θ) = cot θ, sec ( θ) = sec θ, csc ( θ) = csc θ
sin (90° θ) = cos θ, cos(90° θ) = sin θ, tan(90° θ) = cot θ
cot(90° θ) = tan θ, sec(90° θ) = csc θ, csc(90° θ) = sec θ
sin(90° + θ) = cos θ, cos(90° + θ) = sin θ, tan(90° + θ) = cot θ
cot(90° + θ) = tan θ, sec(90° + θ) = csc θ, csc(90° + θ) = sec θ
sin (180° θ) = sin θ, cos (180° θ) = cos θ, tan (180° θ) = tan θ
cot (180° θ) = cot θ, sec(180° θ) = sec θ, csc (180° θ) = csc θ
sin (180° + θ) = sin θ, cos(180° + θ) = cos θ, tan(180° + θ) = tanθ
cot (180° + θ) = cot θ, sec (180° + θ) = sec θ, csc(180° + θ) = csc θ
(ii) Trigonometric Functions for a given Value of θ
2tan A
tan 2A =
1 − tan 2 A
(v) Half-angle Formulas
A 1 − cos A
sin = ±
2 2
A 1 + cos A
cos = ±
2 2
A 1 − cos A
tan =
2 sin A
(vi) Alternate Half-angle Formulas
1
sin2 A = (1 cos 2A)
2
1
cos2 A = (1 + cos 2A)
2
1 − cos 2 A
tan2 A =
1 + cos 2 A
(vii) Formula for Converting the Sum or Difference into Product
⎛ A+ B⎞ ⎛ A−B⎞
sin A + sin B = 2sin ⎜ ⎟ cos ⎜ ⎟
⎝ 2 ⎠ ⎝ 2 ⎠
⎛ A+ B⎞ ⎛ A− B⎞
sin A sin B = 2cos⎜ ⎟ sin ⎜ ⎟
⎝ 2 ⎠ ⎝ 2 ⎠
⎛ A+ B⎞ ⎛ A− B⎞
cos A + cos B = 2cos ⎜ ⎟ cos⎜ ⎟
⎝ 2 ⎠ ⎝ 2 ⎠
⎛ A+ B⎞ ⎛ A−B⎞
cos A cos B = −2sin ⎜ ⎟ sin ⎜ ⎟
⎝ 2 ⎠ ⎝ 2 ⎠
(viii) Formulas for Converting the Product into Sum or Difference
2sin A cos B = sin(A + B) + sin(A B)
2cos A sin B = sin(A + B) sin(A B)
2cos A cos B = cos(A + B) + cos(A B)
2sin A sin B = cos(A B) cos (A + B)
sin(A + B) sin (A B) = sin2A sin2B
cos(A + B) cos(A B) = cos2A sin2B
352 Mathematical Methods
⎛1 + x ⎞ ⎛ x3 x5 ⎞
log e ⎜ ⎟ = 2 ⎜ x + + + ... ∞ ⎟
⎝1− x ⎠ ⎜ 3 5 ⎟
⎝ ⎠
1 1 1 1
log 2 = 1 − + − + − ...
2 3 4 5
1 1 1
log 3 = 1 + + + + ...
12 80 448
x 3 x5
sin x = x − + − ... ∞
3! 5!
x2 x4
cos x = 1 − + − ... ∞
2! 4!
1 3 2 5 17 7
tan x = x + x + x + x + ... ∞
3 15 315
x3 x5 e x − e− x
sinh x = x + + + ... ∞ =
3! 5! 2
x2 x4 e x + e− x
cosh x = 1 + + + ... ∞ =
2! 4! 2
e x − e− x
tanh x =
e x + e− x
ex = cosh x + sinh x
e x = cosh x sinh x
sin nx = nC1 cosn 1 x sin x nC3 cosn3 x sin3 x + ... ∞
cos nx = cosn x nC2 cos n 2 x sin2 x + nC4 cosn 4 x sin4 x + ... ∞
π2 1 1 1 1
= 2
+ 2
+ 2
+ + ...
6 1 2 3 42
π4 1 1 1 1
= 4 + 4 + 4 + 4 + ...
90 1 2 3 4
π2 1 1 1 1
= 2
+ 2
+ 2
+ + ...
8 1 3 5 72
354 Mathematical Methods
π4 1 1 1 1
= 4 + 4 + 4 + 4 + ...
96 1 3 5 7
π2 1 1 1 1
= 2 − 2 + 2 − 2 + ...
12 1 2 3 4
π3 1 1 1 1
= 3 − 3 + 3 − 3 + ...
32 1 3 5 7
7 π4 1 1 1 1
= 4 − 4 + 4 − 4 + ...
720 1 2 3 4
References 355
References
Index