Professional Documents
Culture Documents
ENGINEERING
MATHEMATICS
Worked Examples and Problems
Alan Jeffrey
SECOND EDITION
CHAPMAN & HALL/CRC
www.EngineeringEBooksPdf.com
ESSENTIALS OF
ENGINEERING
MATHEMATICS
Worked Examples and Problems
SECOND EDITION
www.EngineeringEBooksPdf.com
This page intentionally left blank
www.EngineeringEBooksPdf.com
ESSENTIALS OF
ENGINEERING
MATHEMATICS
Worked Examples and Problems
SECOND EDITION
Alan Jeffrey
www.EngineeringEBooksPdf.com
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
© 2004 by Taylor & Francis Group, LLC
CRC Press is an imprint of Taylor & Francis Group, an Informa business
This book contains information obtained from authentic and highly regarded sources. Reasonable
efforts have been made to publish reliable data and information, but the author and publisher cannot
assume responsibility for the validity of all materials or the consequences of their use. The authors and
publishers have attempted to trace the copyright holders of all material reproduced in this publication
and apologize to copyright holders if permission to publish in this form has not been obtained. If any
copyright material has not been acknowledged please write and let us know so we may rectify in any
future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced,
transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or
hereafter invented, including photocopying, microfilming, and recording, or in any information stor-
age or retrieval system, without written permission from the publishers.
For permission to photocopy or use material electronically from this work, please access www.copy-
right.com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222
Rosewood Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that pro-
vides licenses and registration for a variety of users. For organizations that have been granted a photo-
copy license by the CCC, a separate system of payment has been arranged.
Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are
used only for identification and explanation without intent to infringe.
Visit the Taylor & Francis Web site at
http://www.taylorandfrancis.com
and the CRC Press Web site at
http://www.crcpress.com
www.EngineeringEBooksPdf.com
Contents
Preface ix
www.EngineeringEBooksPdf.com
vi ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
CONTENTS vii
Answers 731
Reference information 865
Index 875
www.EngineeringEBooksPdf.com
This page intentionally left blank
www.EngineeringEBooksPdf.com
Preface to the Second Edition
This book evolved from lectures given in Newcastle over many years, and it
presents the essentials of first year engineering mathematics as simply as
possible. It is intended that the book should be suitable both as a text
to supplement a lecture course and also, because it contains a full set of
detailed solutions to problems, as a book for private study.
The success with which the style and content of the first edition was re-
ceived has persuaded me that these features should be preserved when pre-
paring this second edition. Accordingly, the changes made to the original
material have, in the main, been confined to small amendments designed to
improve the understanding of some basic concepts. Typical of these amend-
ments to the first edition is the inclusion in Section 26 of some new problems
involving the mean value theorem for derivatives, an extension of the account
of stationary points of functions of two variables in Section 50 to include
Lagrange multipliers, and the introduction of the concept of the direction field
of a first order differential equation in Section 71, now made possible by the
ready availability of suitable computer software. While making these chan-
ges, the opportunity has also been taken to correct some typographical errors.
More important, however, is the inclusion of a considerable amount of new
material. The first is to be found in Section 85, where the reader is introduced
to the delta function and its uses with the Laplace transform when solving
initial value problems for linear differential equations. The second, which is
far more fundamental, is the inclusion of an introductory account in Section
87 of the use of new computer software that is now widely available. The
purpose of this software is to enable a computer to act in some ways like a
person with pencil and paper, because it allows a computer to perform
symbolic operations, like differentiation, integration, and matrix algebra,
and to give the results in both symbolic and numerical form. The two exam-
ples of software described here are called MAPLE and MATLAB, each of
which names is the registered trademark of a software company quoted in
Section 87. In fact MAPLE, which provides the symbolic capabilities of
MATLAB, was used when preparing the new material for this second edition.
When symbolic software is available the reader is encouraged to take full
advantage of it by using it to explore the properties of functions, mathema-
tical operations, and differential equations, and also by using its excellent
graphical output to gain a better understanding of the geometrical implica-
tions of mathematical results.
Alan Jeffrey
Newcastle upon Tyne
www.EngineeringEBooksPdf.com
This page intentionally left blank
www.EngineeringEBooksPdf.com
Real numbers, inequalities
and intervals 1
The study of the calculus and its many applications depends crucially on the
properties of real numbers. The set of all real numbers is often represented
symbolically by writing either R or R. If x is a real number this is often
shown by writing x R or x /R. Here the symbol / is to be read ‘belongs to’.
The formal mathematical name for this symbol is the set membership relation
symbol. There are three different types of real numbers:
1 Positive integers or natural numbers 1, 2, 3, . . .
2 Rational numbers (fractions) of the form p/q with p, q integers with no
common factor, such as 1/3, 27/5, /5/16, . . .
3 Irrational numbers or numbers such as 2 which cannot be expressed as a
rational number.
Calculations with real numbers depend on what are called the field axioms
for real numbers which determine how real numbers may be combined.
Field axioms
1 Real numbers commute with respect to the operations of addition and
multiplication, in the sense that if x , y are real numbers, then
xy yx and xy yx:
Thus, commutativity means that the order in which real numbers are
added or multiplied is immaterial.
2 Real numbers are associative with respect to the operations of addition
and multiplication, in the sense that if x, y, z are real numbers, then
x(yz)(xy)z and x(yz)(xy)z:
Thus associativity means that the order in which real numbers are
grouped when performing additions or multiplications is immaterial.
3 Real numbers are distributive with respect to multiplication, in the sense
that if x , y, z are real numbers, then
x(yz)xyxz:
Thus the distributivity means that the product of a number and a sum is
equal to the sum of the respective products.
www.EngineeringEBooksPdf.com
2 ESSENTIALS OF ENGINEERING MATHEMATICS
There is a natural order amongst the real numbers which always makes it
possible to say which of two different numbers is the larger. If x and y are
two distinct (different) real numbers, with x greater than y, we write
x y:
This is to be interpreted to mean that x is greater than y if x /y is positive,
written
xy0:
If x /y is negative, we write
xB y
and say x is less than y.
The signs /, B/(respectively read ‘greater than’ and ‘less than’) are called
inequality signs. The obvious modifications
x Ey and x0y
mean, respectively, that x is greater than or equal to y and x is less than or
equal to y.
Extensive use is made of inequalities throughout mathematics and its
many applications. Although they are largely self-evident, the following
elementary inequalities arise sufficiently frequently for it to be worthwhile
listing them for future reference.
www.EngineeringEBooksPdf.com
REAL NUMBERS, INEQUALITIES AND INTERVALS 3
Elementary inequalities
1 If a /b and c E/d , then a/c /b/d.
2 If a /b E/0 and c E/d /0, then ac /bd.
3 If k /0 and a /b, then ka /kb ; and if k B/0 and a /b, then ka B/kb.
4 If 0 B/a B/b, then a2 B/b2; and if a B/b B/0, then a2 /b2.
5 If a B/0 or a /0, then a2 /0.
6 If a /b, then /a B/ /b.
7 If a B/0, b /0, then ab B/0, while if a B/0, b B/0, then ab /0.
8 If a /0, then 1/a /0, while if a B/0, then 1/a B/0.
9 If a /b /0, then 1/b /1/a /0, while if a B/b B/0, then 1/b B/1/a B/0.
When working with real numbers it is necessary to have a measure of the
magnitude (size) of a real number without regard to it sign. This measure is
provided by the absolute value of the number which is defined as follows.
If a is a real number, then its absolute value, written ja j, is defined as
a if aE0
½a½
a if aB 0:
Thus ja j is a non-negative number (i.e., positive or zero, but never negative)
which measures the magnitude of a . For example j/25j/25, j7j/7,
j/2pj/2p and j4/3j/4/3.
Two important and useful properties of the absolute value are that if a and
b are real numbers,
See Example 1.1, which now follows, for a proof of these results.
Example 1.1
(ii) jj
/
a ½a½
k ½k½
provided k "0;
(iii) ja j2 /a2;
www.EngineeringEBooksPdf.com
4 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 1
Solution
(i) We consider each case of a and k positive, negative and zero.
(ii) This result follows directly from (i) by setting K /1/k and using the fact
that jKa j/jK j ja j.
(iii) If a /0, then ja j/a, so ja j2 /a2.
If a B/0, then ja j/ /a, and ja j2 /(/a)2 /a2.
If a /0, then jaj /0 /a and again ja j2 /a2, so the result is proved.
(iv) This equation is best solved using the interpretation of ja /b j as the
distance between a and b, and plotting points on the x -axis. We say
more about such geometrical representations after this problem. Using
(i) we may write
½ ½
1
½2x1½ 2 x ,
2
½ ½
2 x
1
2
½x4½:
This says the distance of x from 4 is twice the distance of x from /1/2.
Thus, in terms of Fig. 1 in which x is at the point B, we see that
BC /2AB. However, AC /9/2 and AC /AB/BC, so
9=2AB2AB 3AB
and thus AB /3/2. Hence
x1=2AB 1=23=21: m
www.EngineeringEBooksPdf.com
REAL NUMBERS, INEQUALITIES AND INTERVALS 5
Fig. 2
example, the number 2.9 is represented by the point distant 2.9 length units
to the right of 0, while the number /1.3 is represented by the point 1.3
length units to the left of 0, as shown in Fig. 2. The set of all real numbers R is
called the real line, and the numbers 2.9 and /1.3 are two particular
numbers belonging to R, so that 2.9 /R and /1.3 /R. As numbers and
points are equivalent in such a representation, the terms ‘number’ and ‘point’
are used interchangeably.
Inequalities are useful for identifying intervals on a line, and these are
necessary when working with functions, and elsewhere. An interval on the
real line R is the set of all points (numbers) between two specified (end)
points on the real line. An interval may be open, closed or half-open, depend-
ing on whether both end points are excluded from the intervals, both are
included, or one is included and the other excluded. Graphically, an end
point excluded from an interval is shown as a small circle on the line and one
which is included as a solid dot.
2 Closed interval
a0x 0b; [a, b]:
3 Half-open interval
aBx 0b; (a, b],
www.EngineeringEBooksPdf.com
6 ESSENTIALS OF ENGINEERING MATHEMATICS
5 Infinite interval
Bx B; (, ):
When using the absolute value to define an interval, it is helpful to interpret
ja/b j as the distance between the points representing a and b on the real line,
with the distance regarded as a non-negative quantity as in Example 1.1 (iv).
Example 1.2
Solution
(i)
(ii)
(iii) Method 1
Let us use the interpretation of the absolute value as a distance. The
inequality jx /3jB/1 then says that the interval contains all the points
(numbers) whose distance from the fixed point 3 is strictly less than 1.
Thus the interval in question is 3 /1B/x B/3/1, or 2B/x B/4:
Method 2
Let us use the definition of the absolute value,
½x3½ x3
if x /3E/0, which is equivalent to x E/3; while
½x3½ (x3)3x
if x /3B/0, which is equivalent to x B/3.
Thus if x E/3,
½x3½ B1 is equivalent to x3B1, or to xB4,
while if x B/3
½x3½ B1 is equivalent to 3xB1, or to 2Bx:
www.EngineeringEBooksPdf.com
REAL NUMBERS, INEQUALITIES AND INTERVALS 7
Fig. 3 '
Example 1.3
Solution
If (x /1)(x/2) /0 we may multiply the original inequality by this product
and leave the sign /unchanged to obtain
(x2)2 x(x1) or x2 4x4x2 x,
which is equivalent to
5x4, or to x4=5:
However, (x /1)(x/2) will be positive if either x /1 and x / /2 (both
factors are positive) or if x B/1 and x B/ /2 (both factors are negative).
www.EngineeringEBooksPdf.com
8 ESSENTIALS OF ENGINEERING MATHEMATICS
Case (i)
The conditions x /1, x / /2 and x / /4/5 will all be satisfied simulta-
neously if x /1.
Case (ii)
The conditions x B/1, x B/ /2 and x / /4/5 can never all be satisfied
simultaneously, so we conclude that when (x/1)(x/2) /0 the original
inequality is satisfied if x /1.
If, however, (x/1)(x/2) B/0, after multiplying the original inequality
by this product we must reverse the sign /to B/to obtain
(x2)2 Bx(x1)
so that now x B/ /4/5. However, (x /1)(x/2) will be negative if its fac-
tors have different signs, so that either x /1 and x B/ /2, or x B/1 and
x / /2.
Case (iii)
The conditions x /1, x B/ /2 and x B/ /4/5 can never all be satisfied
simultaneously.
Case (iv)
The conditions x B/1, x / /2 and x B/ /4/5 are all satified simultaneously
for /2B/x B/ /4/5, so the original inequality is satisfied when x lies in
this interval.
Combining cases (i) and (iv) we see that
x2 x
x1 x2
The next example proves two important and useful inequalities involving
the absolute value. The first is called the triangle inequality, for reasons which
will become clear when complex numbers and vectors are studied. The sec-
ond inequality is derived from the triangle inequality.
Example 1.4
Solution
(i) We have
½ab½2 (ab)2
a2 2abb2
½a½2 2ab½b½2 :
www.EngineeringEBooksPdf.com
REAL NUMBERS, INEQUALITIES AND INTERVALS 9
Also
2 2
(jajjbj)2 jaj 2jajjbjjbj ,
but ab 0/ja j jb j, so
½ab½2 0(jajjbj)2 ,
and hence
½ab½ 0½a½½b½:
(ii) Writing a/(a/b)/b, it follows from the triangle inequality that
½a½ 0½ab½½b½,
and so
½a½½b½ 0½ab½:
Also b /(b /a )/a, so from the triangle inequality we have
½b½ 0½ba½½a½,
or
½ba½ 0½a½½b½:
However, ja /b j/jb/aj, so the result shows that
½ab½0 ½a½½b½ 0½ab½:
Thus jaj /jb j lies in the interval [ /ja /bj, ja/b j] which is equivalent to
writing
½ ½a½½b½ ½0 ½ab½: m
Example 1.5
Find a positive number M such that jx3 /5x2/3j0/M for x in the interval
/3 0/x 0/2.
Solution
x3 5x2 3x3 (5x2 3),
so by the triangle inequality
½x3 5x2 3½ 0½x3 ½½5x2 3½:
After a further application of the triangle inequality to the last term, this
becomes
½x3 5x2 3½0 ½x3 ½½5x2 ½½3½
½x½3 5½x½2 ½3½:
www.EngineeringEBooksPdf.com
10 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 1
Mark on a line the points satisfying the following inequalities, using a circle
to indicate an end point which is omitted from an interval and a dot to
indicate an end point which is included.
1. x B/3, x E/ /1.
2. 2B/x 0/4.
3. x 0/ /1, x E/2.
4. /20/x B/1 and 1B/x 0/3.
Show graphically on a line, and also using inequalities, the values of x for
which the following inequalities are true.
5. (x/2)(x /3) /0.
6. (x/2)(x /3) 0/0.
7. (x/1)(x /2) /0.
8. (x/1)(x /2) B/0.
9. x /1 and x2 0/9.
10. /9 B/x B/1 and x2 B/4.
11. /16 0/x 0/6 and x2 E/4.
12. /4 B/x 0/2 and (x/1)2 E/4.
13. Show that if a B/b, then
ab
aB Bb
2
14. If a /b /0 and k /0, show by considering the differences
bk b bk
and 1
ak a ak
that
b
bk
B B1:
a ak
15. If a /b /0 and k /0, show by considering the differences
a ak ak
and 1
b bk bk
that
www.EngineeringEBooksPdf.com
REAL NUMBERS, INEQUALITIES AND INTERVALS 11
aak
1B B :
bk b
16. Verify inequalities (i) and (ii) in Example 1.4 when
(a) a /3, b/ /4; (b) a/4, b /1;
(c) a / /3, b/ /5; (d) a / /1, b/1.
17. Prove that for a, b any real numbers such that a "/b,
½a½ ½b½
1
0
ab j 1
j
½½a½ ½b½½
0
1
18. Find a positive number M such that jx3 /4x /6j 0/M for
/10/x 0/3.
19. Find a positive number M such that jx4 /2x3/1j 0/M for
/20/x 0/2.
a ½a½
20. What is the value of when (a) a /0 and (b) a B/0 ?
a ½a½
21. Let {a1, a2, . . . , an }, {b1, b2, . . . , bn } and {kn , k2, . . . , kn } be any three
sets of n positive numbers, with m the smallest of the n numbers ki and
M the largest, then
a1 a2 . . . an k a k2 a2 . . . kn an
m 0 1 1
b1 b2 . . . bn b1 b2 . . . bn
a a2 . . . an
0M 1 :
b1 b2 . . . bn
22. Let a and b be any two non-negative numbers (they may be positive or
zero, but not negative) and let p, q be positive integers. By considering
the product (/a p b p )(a q b q ), prove that
a pq b pq E a p b q a q b p :
23. If a /0, b /0 show by considering (a/b)2 /(a/b )2 that
a b pffiffiffiffiffi
E ab:
2
24. This problem outlines a proof by contradiction that 2 is irrational.
Suppose, if possible, the converse is true and 2 is rational, and thus
can be expressed in the from m /n , with m and n integers with no
common factor. By squaring both sides of the expression 2 /m /n ,
show that m and n must have a common factor, thereby contradicting
the original assumption. Conclude from the contradiction that 2
cannot be expressed in the form m /n and so is not rational (it is
irrational ).
www.EngineeringEBooksPdf.com
Function, domain and
2 range
In this example the function is the rule that says ‘to each number x in the
interval /p 0/x 0/3p /4, associate a number y obtained by first finding sin x
and then adding the result to unity’. The interval /p 0/x 0/3p /4 is called
the domain of definition (domain for short) of the function, and the interval
0 0/y 0/2 over which y ranges for all x in the domain is called the range of the
function. The graph of this function, together with its domain and range, is
shown in Fig. 4.
The general definition of a function is that it is a rule (usually a formula)
which assigns to every number in the domain of the function a unique number
in the range of the function.
A function is usually denoted by a symbol such as f, an arbitrary number
in its domain by x , often called the independent variable or argument of f,
and the corresponding number in its range by y, often called the dependent
variable. Thus when we write a general function in the form
yf (x);
Fig. 4
www.EngineeringEBooksPdf.com
FUNCTION, DOMAIN AND RANGE 13
Fig. 5
f is the function, x is the independent variable and y is the dependent
variable. The domain and range are an essential part of the definition of a
function. If the domain is not specified, it is understood to be the largest
interval containing x for which the function is defined.
The graph in Fig. 5 shows a function which is said to be a many /one
function, in the sense that to one value of y there correspond many (more
than one) values of x . In this case, in the interval a 0/x 0/b the values x1, x2,
. . . , x6 of x all correspond to the same value y0. The two graphs in Fig. 6
Fig. 6
show functions which are said to be one /one or monotonic functions. These
are functions which either increase or decrease steadily in a given interval.
The graph in Fig. 6(a) shows a monotonic increasing function, and the one
in Fig. 6(b) shows a monotonic decreasing function. In these cases one x
corresponds to one y and, conversely, one y corresponds to one x .
The graph in Fig. 7 does not represent a function because to one x there
correspond more than one y. This is called a one /many mapping. It can be
represented as a set of functions by dividing it up into several different
monotonic functions, as shown, each with its own domain and range. In
this case it may be represented as the three monotonic functions:
www.EngineeringEBooksPdf.com
14 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 7
Fig. 8
www.EngineeringEBooksPdf.com
FUNCTION, DOMAIN AND RANGE 15
Notice that y and y both have the same domain, but different ranges, so
they are different (monotonic) functions.
Example 2.1
Find the largest possible domain and corresponding range for each of the
following functions:
(i) y /sin x;
(ii) y /(3 /x )1/2, where the positive square root is taken;
(iii) y / /(1 /x2)1/2, where the positive square root is taken;
(iv) y /j1 /x j1/2, where the positive square root is taken.
Solution
(i) sin x is defined for all x (it is periodic with period 2p) so the largest
possible domain is the infinite interval /B/x B/, and the range is
then the closed interval /1 0/y 0/1.
(ii) (3 /x )1/2 is only real when 3/x E/0. Thus the largest possible domain
is the semi-infinite interval x 0/3, and the corresponding range is then
the semi-infinite interval 00/y B/.
(iii) (1 /x2)1/2 is only real when x2 0/1, corresponding to /10/x 0/1. Thus
the largest possible domain is the closed interval /1 0/x 0/1, from which
it follows that /(1 /x2)1/2 then has for its range the closed interval
/10/y 0/0.
(iv) j1 /x jE/0 for all x , so j1/x j1/2 is defined for all x. Thus the largest
possible domain is the infinite interval / B/x B/, and the
corresponding range is then the semi-infinite interval y E/0. m
PROBLEMS 2
www.EngineeringEBooksPdf.com
16 ESSENTIALS OF ENGINEERING MATHEMATICS
Find the largest possible domain and the corresponding range for each of the
following functions.
19. y/1/x/x2.
20. y/3 jsin x j.
21. y/sin {j1 /x j1/2}, where the positive square root is to be taken.
22. y/sin {j1 /x j1/2}, where the positive square root is to be taken.
A function f(x) is said to be bounded below by m and bounded above by M for
a5x 5b if finite numbers m and M can be found such that /mB f (x)BM,
/
www.EngineeringEBooksPdf.com
Basic coordinate geometry 3
Fig. 9
www.EngineeringEBooksPdf.com
18 ESSENTIALS OF ENGINEERING MATHEMATICS
and hence
The graph of
y mxc
is the straight line shown in Fig. 10. The number m is called the gradient
(slope) of the line and tan u/m , where u is the angle between the line and
the x -axis, as measured in Fig. 10. The number c is the intercept of the line on
the y -axis. If m /0, then the line y/mx/c is a monotonic increasing func-
tion, and if m B/0, then it is a monotonic decreasing function. When m /0
the equation of the line reduces to the constant function y /c, whose graph
is the dashed line in the figure parallel to the x -axis and passing through the
point c on the y-axis. Lines parallel to the y-axis are of the form x/c , where
c is a constant.
A straight line is completely specified if:
1 m and c are given,
2 m is given together with a point P (x1, y1) on the line,
3 two points P (x1, y1) and Q (x2, y2) on the line are given.
Fig. 10
www.EngineeringEBooksPdf.com
BASIC COORDINATE GEOMETRY 19
Case 1
If m and c are given, the equation of the straight line
y mxc
can be written down immediately.
Case 2
If m and P (x1, y1) are given, only the constant c in the equation
y mxc
needs to be determined. As the line passes through the point P (x1, y1), it
follows that y/y1 when x /x1, so substituting into the equation we have
y1 mx1 c, or c y1 mx1 :
Thus the equation of the straight line becomes
ymxy1 mx1
or
ym(xx1 )y1 :
Case 3
If the line passes through P (x1, y1) and Q (x2, y2), the gradient m of the line is
y2 y 1
m :
x2 x1
Substituting this value for m into y /mx/c and using the fact that the line
passes through P (x1, y1) (or Q (x2, y2)) determines c and leads to the equa-
tion of the line in the form
y2 y1
yy1 (xx1 )
x2 x1
or, equivalently, to
y2 y1
yy2 (xx2 ):
x2 x1
SHIFT OF ORIGIN
www.EngineeringEBooksPdf.com
20 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 11
Example 3.1
www.EngineeringEBooksPdf.com
BASIC COORDINATE GEOMETRY 21
Solution
(i) This is case 2 in which m /2, x1 /1 and y1 / /3. Thus the equation of
the line is
y2(x1)3 or y 2x5:
(ii) This is case 3 in which x1 / /1, y1 /2, x2 /3 and y2 /4. Thus the
equation of the line is
42 1
y2 (x(1)) or y (x5):
3 (1) 2
(iii) The gradient of the given line is 3, so the gradient of the orthogonal
straight line must be /1/3 (so that m1m2 / /1). Thus the required line
1
is of the form y xc: As the line must pass through (2, /5) it
3
1
follows that5 2c, so c/ /13/3. Hence the required line has
3
the equation
y (x13)=3: m
in which the numbers a0, a1, . . . , an are called the coefficients of the
polynomial, and the number n (the highest power of x in Pn (x)) is called
the degree of the polynomial. A polynomial is defined for all x.
When n is small, the corresponding polynomials are named as follows:
n /0: a constant function (degree zero);
n /1: a linear polynomial (degree 1);
n /2: a quadratic polynomial (degree 2);
n /3: a cubic polynomial (degree 3);
n /4: a quartic polynomial (degree 4);
n /5: a quintic polynomial (degree 5).
THE CIRCLE
The circle of radius R with its centre at the point (a , b) shown in Fig. 12 has
the equation
This is called the standard form of the equation of the circle, and the equa-
tion is derived by applying Pythagoras’ theorem to the triangle ABP where
AB /x /a , PB /y/b and AP /R .
www.EngineeringEBooksPdf.com
22 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 12
An equation of the form
x2 y2 axbyc 0
is the equation of a circle with its centre at (a , b ) where
1 1
a a and b b,
2 2
provided a2/b2 /4c /0, and then its radius is
1=2
1
R (a2 b2 )c :
4
THE ELLIPSE
The ellipse is a symmetrical closed curve of the form shown in Fig. 13, and it
is characterized geometrically by the fact that the sum of the distances from
two points F1 and F2 called the foci to any point P on the ellipse is a constant,
so
d1 d2 const:
The longest chord AB of length 2a is called the major axis of the ellipse
and the shortest chord CD, which is perpendicular to AB, is called the minor
axis and it is of length 2b, with a /b. The points A and B are called the
vertices of the ellipse and point Q the centre of the ellipse.
The number
ec=a,
where c2 /a2 /b2 is called the eccentricity of the ellipse. The eccentricity is
such that 0 0/e B/1, and when e is small the ellipse is nearly circular, but when
it is close to 1 the ellipse is very elongated.
www.EngineeringEBooksPdf.com
BASIC COORDINATE GEOMETRY 23
Fig. 13
The standard equation of an ellipse with its major axis horizontal and its
centre at the point (a , b ) is
(x a)2 (y b)2
1, with a b:
a2 b2
(x a)2 (y b)2
1, with a b:
b2 a2
THE HYPERBOLA
The hyperbola is the curve shown in Fig. 14, and it is characterized geometri-
cally by the fact that every point on the hyperbola is such that the difference
of its distances from two fixed points F1 and F2 called the foci is a constant.
The line on which F1 and F2 lie is called the transverse axis of the hyperbola,
and the line perpendicular to the transverse axis which passes through the
mid-point Q of F1F2 is called the directrix. The point Q is called the centre,
and the points A and B the vertices of the hyperbola. The distance of the
vertices from either side of the centre Q is a.
The standard form of the equation of the hyperbola with its centre at (a , b )
and its transverse axis horizontal is
(x a)2 (y b)2
1:
a2 b2
www.EngineeringEBooksPdf.com
24 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 14
Similarly, the standard form of the equation of the hyperbola with its centre
at (a , b) and its transverse axis vertical is
(y b)2 (x a)2
1,
a2 b2
The distance c of the foci from either side of the centre Q is given by
c2 a2 b2 :
A straight line tangent to a curve at infinity is called an asymptote. The
asymptotes to the hyperbola with its centre at (a , b ) and its transverse axis
horizontal are
Fig. 15
www.EngineeringEBooksPdf.com
BASIC COORDINATE GEOMETRY 25
b
yb9 (xa);
a
the asymptotes to the hyperbola with its centre at (a , b ) and its transverse
axis vertical are
a
yb9 (xa):
b
THE PARABOLA
Fig. 16
The standard form of the equation of a parabola with its axis vertical, its
vertex at the point (a , b ), its focus at the point (a , b/a) and its directrix
along the line y/b/a is
(xa)2 4a(yb):
The vertex of this parabola will be at the bottom (concave-up) if a /0 and at
the top (concave-down) if a B/0. The corresponding standard form of the
equation of a parabola with its axis horizontal, its vertex at the point (a , b),
its focus at the point (a/a , b) and its directrix along the line x /a /a is
(yb)2 4a(xa):
The vertex of this parabola will lie to the left (concave to the right) if a /0 and
www.EngineeringEBooksPdf.com
26 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 17
to the right (concave to the left) if a B/0. Typical examples of these parabolas
are shown in Fig. 17.
Example 3.2
(i) Show that the equation
x2 y2 4x6y90
represents a circle, and find its centre and radius.
(ii) Find the centre and semi-major and semi-minor axes of the ellipse with
the equation
4x2 y2 8x4y80:
(iii) Find the centre of the hyperbola with the equation
9x2 4y2 18x8y310:
Determine whether its axis is horizontal or vertical, write its equation in
standard form and determine its asymptotes.
(iv) Determine whether the axis of the parabola with equation
x2 6x8y17 0
is horizontal or vertical. Write down the standard form of the equation,
and hence find the location of its vertex and focus.
www.EngineeringEBooksPdf.com
BASIC COORDINATE GEOMETRY 27
Solution
(i) Using our previous notation we see that a/ /4, b /6 and c /9. Now
a2 b2 4c 16363616 0,
so this is the equation of a circle. Its centre lies at (a , b) where
1 1
a (4)2 and b (6)3:
2 2
The radius
1=2
1 2
R (a b2 )c 2:
4
(ii) To find the centre at point (a , b ) and the positive constants a and b, we
start by expanding the standard equation for an ellipse with its major
axis horizontal
(x a)2 (y b)2
1
a2 b2
to obtain as our reference equation
2 2 2
a 2 a a
x2 y 2ax2b ya2 b2 a2 0:
b 2 b 2 b2
If it turns out that the major axis of the ellipse in question is vertical we
will find that b /a .
If necessary, we now rewrite the given equation in the same form as
the reference equation, making the coefficient of x2 equal to 1. We will
then compare corresponding coefficients in both the reference equation
and the given equation.
As the coefficient of x2 is 4, we divide the equation by 4 to obtain
1
x2 y2 2xy20:
4
A comparison of corresponding coefficients gives
a2 1
coefficient of y2 : , (A)
b2 4
coefficient of x: 2a 2, (B)
2
a
coefficient of y: 2b 1, (C)
b2
2
a
constants: a2 b2 a2 2: (D)
b2
From (B) we find a / /1; from (A) and (C) we find b / /2; and from
(D) we find
www.EngineeringEBooksPdf.com
28 ESSENTIALS OF ENGINEERING MATHEMATICS
1
(1)2 (2)2 a2 2 or a2 4:
4
As the semi-axes are both positive, it follows from this that a /2, and
after combining this result with (A), that b /4.
Thus the ellipse has its centre at (/1, /2), and when written in
standard form, its equation is
(x 1)2 (y 2)2
1:
22 42
By convention, the semi-major axis is greater than the semi-minor axis,
so the equation is seen to be in the second standard form, corresponding
to the case in which the major axis is vertical. Thus the semi-major axis
is of length 4 and the semi-minor axis is of length 2.
(iii) We start, as in (ii), by expanding the standard equation of a hyperbola
with its axis horizontal
(x a)2 (y b)2
1
a2 b2
in the form
2 2 2
a a a
x2 y2 2ax2b ya2 b2 a2 0:
b2 b2 b2
This is now our reference equation, If a2 and b2 turn out to have opposite
signs (which is in reality impossible), the above reference equation must
be replaced by the corresponding one derived from the standard equa-
tion of a hyperbola with its axis vertical.
As in the given equation, the coefficient of x2 is 9, we must first divide
the equation by 9 to bring it into the form of the reference equation in
which the coefficient of x2 is 1, and as a result obtain
4 8 31
x2 y2 2x y 0:
9 9 9
A comparison of the coefficients of corresponding terms then gives
a2 4
coefficient of y2 : , (E)
b2 9
coefficient of x: 2a
22,
(F)
a 8
coefficient of y: 2b , (G)
b2 9
2
a 31
constants: a2 b2 a2 : (H)
b 2 9
From (F) we have a /1; from (E) and (G) we find b / /1; and from
(H) we find
www.EngineeringEBooksPdf.com
BASIC COORDINATE GEOMETRY 29
4 31
12 (1)2 a2 , or a2 4,
9 9
and after combining this result with (E), we see that b2 /9. The signs of
a2 and b2 are the same, so the axis of the hyperbola is horizontal. As, by
convention, a and b are positive, it follows that a /2 and b /3. The
standard form of the equation is thus
(x 1)2 (y 1)2
1,
4 9
and substituting for a and b in the equations for the asymptotes to a
hyperbola with its axis horizontal gives
3
y19 (x1):
2
(iv) A parabola with its axis vertical will contain a term in x2, and one with
its axis horizontal a term in y2. As the equation in question is quadratic
in x the axis must be vertical.
Expanding the standard form of the equation of a parabola with its
axis vertical
(xa)2 4a(yb),
we obtain
x2 2ax4aya2 4ab 0:
Comparing corresponding coefficients in this equation and in
x2 6x8y170
(we can do this since the coefficient of x2 is 1 in both cases) gives
coefficients of x: 2a 6, (I)
coefficients of y: 4a8, (J)
constants: a2 4ab17: (K)
From (I) we find a /3, from (J) a/2, and from (K) b/1. So the
standard form of the equation of the parabola is
(x3)2 8(y1):
As a /3 and b /1 the vertex is at (3, 1), and as a /3 the focus is at (3, 4).
The parabola is concave-up because the axis is vertical and a3 0: m
THE ASYMPTOTE
www.EngineeringEBooksPdf.com
30 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 3.3
www.EngineeringEBooksPdf.com
BASIC COORDINATE GEOMETRY 31
Fig. 18
www.EngineeringEBooksPdf.com
32 ESSENTIALS OF ENGINEERING MATHEMATICS
Dividing the denominator into the numerator using long division gives
and so
2(x 1)
y x3 :
x2 x
When the numerator and denominator of the last term are divided by x2
this becomes
2[(1=x) (1=x2 )]
y x3 :
1 (1=x)
We see from this that when x becomes large and positive or large and
negative the last term tends to zero, and so the oblique asymptote is
yx3:
The graph of this function, together with its asymptotes, is shown in Fig.
18(c). m
Example 3.4
Find the asymptotes of
2x2 4x 5
y :
½x½
Solution
The denominator vanishes when x /0, for which value the numerator be-
comes 5, so x /0 is a vertical asymptote to the graph of this function. The
degree of the numerator exceeds the degree of the denominator by 1, so there
will be an oblique asymptote.
If x /0, then jx j/x , so after division by x we see that
5
y2x4 :
x
The oblique asymptote for large positive x is thus
y2x4:
If x B/0, then jx j/ /x , so after division by /x we see that
5
y2x4 :
x
www.EngineeringEBooksPdf.com
BASIC COORDINATE GEOMETRY 33
Fig. 19
PROBLEMS 3
Find the centre and radius of each of the following circles and write its
equation in standard form.
1: x2 y2 6x6y20:
2: x2 y4x8y160:
3: x2 y2 4x8y110:
4: x2 y2 4x6y40:
5: x2 y2 8x2y160:
6: x2 y2 4x6y120:
Find the centre of each of the following ellipses, the semi-major and semi-
minor axes, write its equation in standard form and determine whether the
major axis is horizontal or vertical.
7: 9x2 4y2 36x8y40:
8: x2 4y2 2x16y10:
9: x2 9y2 54y800:
10: x2 4y2 2x16y130:
11: 16x2 9y2 32x36y92 0:
12: 4x2 y2 32x4y600:
www.EngineeringEBooksPdf.com
34 ESSENTIALS OF ENGINEERING MATHEMATICS
Find the centre of each of the following hyperbolas, write its equation in
standard form, determine whether its axis is horizontal or vertical and write
down the equations of its asymptotes.
13: 9x2 4y2 18x16y43 0:
14: 9x2 y2 36x2y26 0:
15: 4x2 9y2 8x54y41 0:
16: 4x2 y2 24x2y51 0:
17: 4x2 9y2 16x72y164 0:
18: 4x2 y2 8x2y70:
Find whether the axis of each of the following parabolas is horizontal or
vertical, write its equation in standard form, locate its vertex and focus and
state the direction in which it is concave.
19: x2 4x8y200:
20: y2 12x6y210:
21: y2 4x8y240:
22: x2 6x12y690:
23: x2 6x8y10:
24: y2 12x6y90:
Find the asymptotes associated with each of the following functions.
1 4x
25: y :
1 2x
4x 3x3
26: y :
2x2 5
x2
27: y :
x1
5x 3
28: y :
3 2x
x3
29: y :
x4 6x2 8
x2
30: yx :
x2 1
2x2
31: y :
1 ½x½
www.EngineeringEBooksPdf.com
Polar coordinates 4
The plane polar coordinates (r, u ) identify the position of a point P in the
plane by giving its radial distance r from a fixed origin O (the pole), and the
angle u measured anticlockwise in radians from a fixed reference line
through O called the polar axis, to the radial line joining the origin to point
P. The polar coordinate system is shown in Fig. 20. This figure shows also
that the polar angle u is not unique because for any given r and u the point
P (r, u) will be the same as the points P (r, u9/2np ) for n/0, 1, 2, . . . . To
remove this ambiguity, it is usual to confine u to the interval 0 0/u 0/2p.
The radial distance r is, by convention, taken to be positive. Thus the polar
coordinate system identifies the location of a point in the plane by means of
circles centred on O on which r /constant but around which u varies from 0
to 2p , and radial lines through O on which u/constant but r /0 varies.
This coordinate system of concentric circles and radial lines is shown in Fig.
21, on which the point P (3, p /4) is seen to lie in the first quadrant, the point
Q (2, 4p /3) in the third quadrant and the point R (4, 7p /4) in the fourth
quadrant.
As the positive sense of increase of u is anticlockwise, angles measured
clockwise from the polar axis must be regarded as negative. Thus in Fig. 21
the point R (4, 7p /4) in the fourth quadrant is also the point R (4, /p /4).
It is often necessary to convert between polar and Cartesian coordinates.
This is accomplished by making the origins in both planes coincide and
aligning the polar axis with the x -axis. The connection between the point
P (x, y ) in Cartesian coordinates and the same point P (r, u) in plane polar
coordinates, and conversely, can be seen from Fig. 22.
Polar coordinates to Cartesian coordinates:
Fig. 20
www.EngineeringEBooksPdf.com
36 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 21
Fig. 22
y
r2 x2 y2 , tan u :
x
www.EngineeringEBooksPdf.com
POLAR COORDINATES 37
Example 4.1
(i) Find the Cartesian coordinates of the point with the polar coordinates
(3, 5p /6).
(ii) Find the Cartesian coordinates of the point with the polar coordinates
(7, /p/4).
(iii) Find the polar coordinates of the point with the Cartesian coordinates
(4, 43).
(iv) Find the polar coordinates of the point with the Cartesian coordinates
(23, /2).
Solution
5p 33 5p 3
(i) /x 3 cos , y 3 sin :
6 2 6 2
p 7 p 7
(ii) /x 7 cos , y 7 sin :
4 2 4 2
(iii) r2 /42/(43)2 so r /8. Both x and y are positive, so the angle lies in
the first quadrant, hence
y 43
tan u 3,
x 4
so that
u p=3:
The point with Cartesian coordinates (4, 43) is thus seen to have the
polar coordinates (8, p /3).
(iv) r2 /(23)2/( /2)2, so r /4. In this case x is positive and y is negative,
so the angle must lie in the fourth quadrant. Thus
(2) 1
tan u and so tan u ,
23 3
from which it follows that u / /p /6 or, equivalently, u /11p/6. m
Example 4.2
www.EngineeringEBooksPdf.com
38 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 23
or
where the absolute value is necessary because the left-hand side is non-
negative. This can be further simplified by using the trigonometric identity
cos 2u/cos2 u /sin2 u, for it then reduces to
PROBLEMS 4
1. Find the Cartesian coordinates of the following points with the polar
coordinates.
p 3p
(a) / 3, ; (b) / 3, ;
4 2
5p 15p
(c) / 3:5, ; (d) / 6, :
6 8
2. Find the polar coordinates of the following points with the Cartesian
coordinates.
(a) (4.8446, /1.2370); (b) (1.75, 3.0311);
(c) (/1.8478, 0.7654); (d) ( /2.7716, /1.1481).
Find the Cartesian forms of the following polar representations of
curves.
3. r cos u/a.
4. r/2a sin u.
5. r2 sin 2u /2k .
www.EngineeringEBooksPdf.com
POLAR COORDINATES 39
p
6. /r sin u a2:
4
7. r/a(1/ cos u ).
9
8. / r :
5 4 cos u
9
9. /r :
4 5 cos u
3
10. /r :
1 cos u
11. Sketch the cardioid with the polar representation
r a(1cos u):
12. Sketch the spiral of Archimedes with the polar representation
rku (k 0):
13. Sketch the parabolic spiral with the polar representation
r2 u:
14. Sketch the four petal rose with the polar representation
r sin 4u:
www.EngineeringEBooksPdf.com
5 Mathematical induction
Example 5.1
Step 1
The first of the sequence of n numbers to be summed is 3, and setting
n/1 in Pn , that is in the expression n (n/2), gives 3. Thus Pn is true for
n/1. Hence the ‘sum’ of the first of the sequence of numbers is given by
the formula n(n/2) by setting n /1, so in step 1 we may set n0 /1.
Step 2
In this step we must prove that if Pn is true for n/k /1, then Pn1 is
also true. If Pk is true, then the sum of the first k/1 terms is
k(k 2) (2k 3) k2 4k 3 (k 1)(k 3):
|fflfflfflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflfflfflffl} |fflfflfflfflfflfflffl{zfflfflfflfflfflfflffl}
sum of first k terms (k1)th term
However, if we replace k by k/1 in Pk , the sum of the first k/1 terms is
seen to be (k/1)(k/3) in agreement with the result just obtained by
www.EngineeringEBooksPdf.com
MATHEMATICAL INDUCTION 41
adding the (k/1)th term to the sum of the first k terms. Thus, if pro-
position Pk is true, it implies the truth of proposition Pk1, and so the
truth of step 2 has been established.
Step 3
As proposition P1 is true, and the truth of proposition Pn implies the
truth of proposition Pn1, it follows that Pn is true for n/1, 2, 3, . . . ,
and the result is established for all positive integers n . m
Example 5.2
Prove by mathematical induction that for any positive integer n the number
2n2 /3n /5n/4 is divisible by 25.
Solution
The proposition Pn is equivalent to the statement that 2n2 /3n /5n /4
contains a factor 25 for n/1, 2, . . . .
Step 1
Setting n/1 we have
23 35425,
so the expression is divisible by 25 when n /1, and hence we may set
n0 /1.
Step 2
If we assume Pn to be true for some n/k /1, we need to show that it
implies Pn1 is also true (i.e., contains a factor 25). Replacing k by k/1
to find the form of Pk1 we have
2(k1)2 3k1 5(k 1)462k2 3k 5k 1:
To relate this result to Pk , we use the standard device of adding a
convenient quantity and then subtracting it again. In this case we add
and then subtract the number 25k /24 to obtain
62k2 3k 5k 1(25k 24)(25k 24)
6(2k2 3k 5k 4)25(k 1):
However, by hypothesis, the bracketed expression in the first term is
divisible by 25, and the second term is obviously divisible by 25, so their
sum is also divisible by 25, and hence proposition Pk1 is also true.
Step 3
As proposition P1 is true, and proposition Pn implies proposition Pn1,
the result is true for n /1, 2, . . . . m
Example 5.3
Prove by mathematical induction that for some n0 and all integers n E/n0
3n 6n1:
www.EngineeringEBooksPdf.com
42 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
Proposition Pn is equivalent to the assertion that for n E/n0, the inequality
3n /6n/1 /0 holds.
Step 1
Direct substitution into the inequality shows it to be false for n /1 and
n/2, but to be true for n/3. Thus if we set n0 /3, proposition P3 is
true.
Step 2
We now assume Pn is true for some n/k /3, so that
3k 6k 10:
Consider the expression
D 3k1 6(k 1)1:
This may be rewritten as
D 33k 6k 7,
and by adding and subtracting 4/12k , this becomes
D 3[3k 6k 1]12k 4:
Now if Pk is true, the first term in D is positive. The other terms are also
positive because k E/3, and so
D 3k1 6(k 1)10:
However, this is simply proposition Pk1, so we have established that Pk
implies Pk1, but P3 is true so the proposition is true for every integer
n E/3. m
Example 5.4
Solution
We take the proposition Pn to be that
ja1 a2 . . .an j0ja1 j ja2 j . . .jan j:
Step 1
We know from the triangle inequality that
ja1 a2 j0 ja1 j ja2 j,
so P2 is true and we may set n0 /2.
Step 2
Assume Pn to be true for n/k /2, so that
ja1 a2 . . .an j0ja1 j ja2 j . . .jak j:
We must now prove that this remains true when k is replaced by k/1.
Setting a1/a2/. . ./ak /b, we know from the triangle inequality that
www.EngineeringEBooksPdf.com
MATHEMATICAL INDUCTION 43
PROBLEMS 5
1. /1357. . .(2n1) n2 :
2. /1×22×53×8. . .n(3n1) n2 (n1):
2
3 3 3 3 n(n 1)
3. /1 2 3 . . .n :
2
1 1 1 1 n
4. / . . . :
1×3 3×5 5×7 (2n 1)(2n 1) 2n 1
1 1 1 1 n
5. / . . . :
1 × 4 4 × 7 7 × 10 (3n 2)(3n 1) 3n 1
1 1 1 1 n
6. / . . . :
1 × 6 6 × 11 11 × 16 (5n 4)(5n 1) 5n 1
1 1 1 1 3n1 1
7. /1 2 3 . . . n :
3 3 3 3 2 3n
8. Prove by mathematical induction that 62n /1 is divisible by 35.
9. Prove by mathematical induction that 62n /3n2/3n is divisible by 11.
10. Prove by mathematical induction that 32n1/40n/67 is divisible by 64.
11. Prove by mathematical induction that
1 1 1 1 1
1 1 1 . . . 1 :
2 3 4 n1 n1
12. Prove by mathematical induction that
1 1 1 1 n2
1 1 1 . . . 1 2 :
4 9 10 (n 1) 2n 2
www.EngineeringEBooksPdf.com
6 Binomial theorem
where a, a and b are real numbers with a /0, and the number n !/
1 ×/2 ×/3 ×/. . . ×/n is called factorial n . Thus 1! /1, 2! /1 /2 /2, 3! /1 /2/
3 /6, 4! /1 /2 /3/4/24, and for convenience we define 0! /1.
When a /n is a positive integer, this expansion is finite and contains n/1
terms, and it takes the form
n(n 1) n2 2 n(n 1)(n 2) n3 3
(ab)n an nan1 b a b a b . . .bn :
2! 2!
r
n 0 1 2 3 4 5 6
0 1
1 1 1
2 1 2 1
3 1 3 3 1
4 1 4 6 4 1
5 1 5 10 10 5 1
6 1 6 15 20 15 6 1
www.EngineeringEBooksPdf.com
BINOMIAL THEOREM 45
n
where a signifies that the terms which follow are to be added (summed)
r0
starting with r /0 and ending with r/n. Thus, for example,
X4
4 4r r
(ab)4 a b
r0
r
4 4 4 3 4 2 2 4 4 4
a a b ab ab3 b,
0 1 2 3 4
so
(ab)4 a4 4a3 b6a2 b2 4ab3 b4 ,
where use has been made of the entries corresponding to n/4 in the above
table.
If k is any other real number, either positive or negative, the expansion of
(a/b)k will not terminate after a finite number of terms and so will become
an infinite series. Under these circumstances the expansion is only valid
provided /j b=a jB 1.
It is often more convenient to rewrite (a/b )k as
(ab)k ak (1b=a)k ,
to set c/b/a and to expand (1/c)k to obtain the result
k(k 1) 2 k(k 1)(k 2) 3
(ab)k ak 1kc c c . . . ,
2! 3!
after which the substitution c/b/a is made, yielding
b k(k 1) b 2 k(k 1)(k 2) b 3
(ab)k ak 1k . . . :
a 2! a 3! a
If the numerical constant b in (a/b)k is replaced by the variable x the
binomial expansion provides a power series expansion of the function
(a/x )k valid for /j x=a jB 1.
Example 6.1
Expand
(i) /(1x)1 ;
(ii) /(1x)1 ;
(iii) /(1x)1=2 ;
www.EngineeringEBooksPdf.com
46 ESSENTIALS OF ENGINEERING MATHEMATICS
(iv) /(2x)1=2 :
Solution
ðiÞ (1x)1 1xx2 x3 . . . , for ½ x ½ B1:
1 2 3
ðiiÞ (1x) 1xx x . . . , for j x j B 1:
1 1×3 2 1×3×5 3
ðiiiÞ (1x)1=2 1 x x x . . . , for j x j B 1:
2 2×4 2×4×6
x 1=2 x x2 x3 5 4
ðivÞ (2x)1=2 21=2 1 21=2 1 x . . .
2 4 32 128 2048
for j x=2 j B 1: m
Example 6.2
(1 x)1=2
(iii) / ;
1x
(iv) / (1x)1=2 (12x)1=2 ;
(1 2x)1=2 1
(v) / :
3x
Solution
x x2 x3 5x4 7x5
(1x)1=2 1 . . . , for j x j B 1:
2 8 16 128 256
x2 x3 5x4 7x5
(12x)1=2 1x . . . , for j x j B 1=2:
2 2 8 8
Notice that this second expansion could have been deduced from the first one
by replacing x by 2x .
(i) Adding corresponding terms gives
3x 5x2 9x3 85x4 231x5
(1x)1=2 (12x)1=2 2 . . . , for jxj B 1=2:
2 8 16 128 236
www.EngineeringEBooksPdf.com
BINOMIAL THEOREM 47
Notice that the values of x for which this is true are obtained by finding
the values of x common to both jx jB/1 and jxj B/1/2.
(ii) Subtracting corresponding terms gives
x 3x2 7x3 75x4 217x5
(1x)1=2 (12x)1=2 . . . , for j x j B 1=2:
2 8 16 128 256
and multiply the two series on the right together taking the expansion
of (1 / x ) 1 from Example 6.1 (ii) to obtain
x x2 x3
(1x)1=2 (1x)1 1 . . . (1xx2 x3 . . .):
2 8 16
and so
(1 x)1=2 3 11 23
1 x x2 x3 . . . , for j x j B 1:
1x 2 8 16
Here each series is valid for j x jB/1, so this is the condition on x for the
product of the series.
(iv) Multiplying the series and grouping terms gives
x x2 x3 x2 x3
(1x)1=2 (12x)1=2 1 . . . 1x . . .
2 8 16 2 2
1 1 1 1
1 1 x x2
2 2 2 8
1 1 1 1 3
x . . . :
2 4 8 16
3 1 3
1 x x2 x3 . . . , for j x j B 1=2:
2 8 16
x2 x3 5x4
1 x . . . 1
(1 2x)1=2 1 2 2 8
(v)
3x 3x
1 1 1 5
x x2 x3 . . . , for jxj B 1=2: m
3 6 6 24
www.EngineeringEBooksPdf.com
48 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 6
www.EngineeringEBooksPdf.com
BINOMIAL THEOREM 49
x2 x3 3x4
18: (1x)1=2 (1x)1=2 1x . . . , for j x j B 1:
2 2 8
1 1=4 7x 109 2 865 3
19: 1 x (1x)1 1 x x . . . , for j x j B 1:
2 8 128 1024
x2 2 x3 3x4 5x5
20: 1=2 x . . . , for j x j B 1:
(1 x) 3 8 16
1=2
1x x2 x3
21: 1x . . . , for j x j B 1:
1x 2 2
(1 x2 )1=2 x2 x3
22: 1x . . . , for j x j B 1:
1x 2 2
(1 x)1=2 1 1 1 1 5 3
23: x x2 x . . . , for j x j B 1:
x 2 8 16 128
(1 x)1=2 1 1 1 1
24: x2 x4 . . . , for j x j B 1:
x2 2 8 16
www.EngineeringEBooksPdf.com
7 Combination of functions
New functions are often formed from simpler ones, say f(x) and g (x), by the
algebraic processes of addition, subtraction, multiplication and division.
When such functions are formed, their domains of definition comprise those
values of x which are common to the domain of definition (a , b) associated
with f(x) and the domain of definition (a , b ) associated with g(x ). The
domain of definition of the combined functions is illustrated diagrammati-
cally in Fig. 24.
Fig. 24
Example 7.1
Given
f (x)4x2 1,
g(x)â(9x2 ),
where each function is defined on the largest possible domain of definition,
find
(i) f(x )9/g (x );
(ii) f(x ) g(x );
(iii) f(x )/g (x ),
stating in each case the domain of definition and range of the combined
function.
Solution
www.EngineeringEBooksPdf.com
COMBINATION OF FUNCTIONS 51
Fig. 25 '
www.EngineeringEBooksPdf.com
52 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 7.2
Given that f (x )/3x /1 and g(x )/x2, both defined for all real x , find
f(g (x )) and g ( f(x)).
Solution
f (g(x)) 3(x2 )1 3x2 1,
g( f (x)) (3x1)2 9x2 6x1:
Both of these functions of a function (composite functions) are defined for all
x , but
f (g(x))" g( f (x)): m
Example 7.3
Solution
f(x ) has domain ( /, ) and range [0, ), g(x ) has domain ( /, 1] and
range [0, ). As the range of g is contained in the domain of f the function of
a function f(g (x )) may be constructed to give
f (g(x)) [â(1x)]2 1x:
Thus f (g (x)) has domain ( /, 1] and range [0, ).
When considering f(g (x )) we see that the range of f is not contained in the
domain of g , so g( f (x )) is not defined (see Fig. 26).
There is, however, an interval [0, 1] which belongs to both the range of f
and the domain of g, so if f is restricted so that its range lies in this interval,
then it will be possible to construct a composite function. To do this we
www.EngineeringEBooksPdf.com
COMBINATION OF FUNCTIONS 53
Fig. 26
require 0 0/x2 0/1, which defines the interval /1 0/x 0/1. Thus defining a
new function
fˆ(x) x2
with domain [ /1, 1] and range [0, 1], we see that g(fˆ(x)) is defined, and we
have
g( fˆ(x))â(1x2 ),
PROBLEMS 7
In problems 1 to 8 find f(x )/g(x ), f(x )/g(x ), f (x )g(x ) and f(x )/g (x ),
giving the domain of definition of the combined function in each case.
1. f(x )/2/sin x , g(x )/2x , both defined on the domain (/, ).
2. f(x )/1/x2, g(x )/2/x2, both defined on the domain (/, ).
3. f(x )/sin2 x , g (x) /sin x , both defined on the domain (/, ).
4. f(x )/sin x , g (x )/sin2 x , both defined on the domain (/, ).
1
5. f(x )/sin x2, g(x) , both defined on the domain ( /, ).
1 x2
1
6. f(x )/cos x2, g(x) , both defined on the domain ( /, )
1 x2
but with x "/9/1 in g (x ).
7. f(x )/x2, g(x )/â(4 /x ), with f(x ) defined for ( /, ) and g(x )
for x 0/4.
8. f(x )/â(j 1 /x j), g(x )/x, both defined on the domain (/, ).
In problems 9 to 15 find f(g (x )) and g ( f(x )) (when they exist) and determine
whether f (g (x ))/g ( f(x)).
9. f(x )/x /1, g (x )/2x3/1, both defined on the domain (/, ).
10. f(x )/x2, g(x )/âj 2x/1 j, both defined on the domain (/, ).
11. /f (x)5x3, g(x)(x3)=5, both defined on the domain ( /, ).
12. f(x )/â(9 /x ), g (x) /x2 /2, both defined on the largest possible
domain.
www.EngineeringEBooksPdf.com
54 ESSENTIALS OF ENGINEERING MATHEMATICS
4x 1 2x 1
13. /f (x) , g(x) , both defined on the largest possible
2x 4x
domain.
14. f(x )/j x j/3, g(x )/x2, both defined on the domain (/, ).
15. /f (x)1=(x1), g(x)2=x.
www.EngineeringEBooksPdf.com
Symmetry in functions
and graphs 8
EVEN FUNCTIONS
The graph of a typical even function is shown in Fig. 27. An even function is
said to be symmetric with respect to x .
Fig. 27
ODD FUNCTIONS
www.EngineeringEBooksPdf.com
56 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 28
which the function for x /0 is first reflected in the y-axis, and then the
reflection itself is reflected in the x -axis to produce the function for
x B/0. Examples of odd functions are
x, x3 , sin x, x cos x, x2 sin 2x:
If an odd function f(x ) is finite at the origin then f (0) /0 because f(0) /
/f(0). If an odd function is not finite at the origin, the y -axis will be an
asymptote. An odd function is said to be skew-symmetric with respect to x .
Graphs of typical odd functions are shown in Fig. 28.
Example 8.1
Show that
f (x)4x (1x2 )sin 2 x ½ x ½
is neither even nor odd and represent it as the sum of an even function and an
odd function.
Solution
f (x)4x(1x2 )sin 2 x ½ x ½ ,
but f( /x )"/f(x) and f(/x )"/ /f (x ), so f(x ) is neither even nor odd.
The function
g(x)4sin 2 x ½ x ½
www.EngineeringEBooksPdf.com
SYMMETRY IN FUNCTIONS AND GRAPHS 57
Fig. 29
Example 8.2
Find the equation of the line produced by y /2x /3 when it is reflected in
the line y /x ,
Solution
As y /2x /3 and its reflection y /mx/c are symmetrical about the line
y /x it follows that:
1 Both lines pass through the same point on the line y/x;
2 The intercept of y/2x /3 on the y -axis must equal the intercept of
y /mx/c on the x -axis.
www.EngineeringEBooksPdf.com
58 ESSENTIALS OF ENGINEERING MATHEMATICS
From 1, setting y /x in y /2x /3 shows that x /3, and hence y /3. Thus
the line y /2x /3 passes through the point (3, 3) on the line y/x , as does
the line y /mx/c . Substitution of (3, 3) into y/mx/c gives 3 /3m/c .
From 2, the intercept of y /2x/3 on the y -axis is /3, so the intercept of
y /mx/c on the x -axis must be /3, showing that the line y /mx/c must
pass through the point ( /3, 0). Substituting (/3, 0) into y /mx/c gives
03mc:
Solving the simultaneous equations 3/3m/c and 0/ /3m/c gives
m /1/2, c/3/2, and so the reflected line has the equation
y (x3)=2: m
Fig. 30
PROBLEMS 8
www.EngineeringEBooksPdf.com
SYMMETRY IN FUNCTIONS AND GRAPHS 59
2. x3/x2/1.
3. x2 cos x .
4. (x/1)2.
5. (x2/1)2.
6. (x3/1)3.
7. x3/x cos x .
8. 1/j x j/x2.
9. x j x j / sin 4x .
10. x / 2 j x j.
11. Prove that if f(x ) and g(x ) are even functions, then the product
f(x ) g(x ) is an even function.
12. Prove that if f(x ) and g(x ) are odd functions, then the product f(x) g(x )
is an even function.
13. Prove that if f(x) is an even function and g(x ) is an odd function, then
the product f(x) g(x ) is an odd function.
In problems 14 to 18 find the equation of the straight line obtained when the
given line is reflected in y/x .
14. y/4 /2x .
15. y/5x/11.
16. y/x/2.
17. y/3x /1.
18. y/6 /4x .
19. Find the period of f(x ) /sin x/sin 2x.
x x
20. Find the period of f (x)cos 2sin :
2 2
3x
21. Find the period of f(x ) /3/sin x/sin :
2
x 3x
22. Find the period of f (x)cos sin 1:
2 2
x 2x
23. Find the period of /f (x)sin sin :
3 3
x x
24. Find the period of f (x)2sin 5cos :
4 2
x
25. Find the period of f(x ) /1/3 sin 2x/cos :
2
www.EngineeringEBooksPdf.com
9 Inverse functions
A one /one (monotonic) function f (x) is, by definition, a function with the
property that to one x there corresponds one value of f (x ) and, conversely, to
each value of f (x ) there corresponds only one x . The graph y/f (x) of a typical
one /one function is shown in Fig. 31. The one /one property can be expressed
by saying that no two of the ordered pairs (x , f (x )), which describe the graph
f (x ), have the same second component f (x) with different first components x .
Because of this property another one /one function f 1(x) can be defined,
called the inverse function of f. The inverse function f 1 is derived from f by
interchanging the two components in the ordered pairs defining f. So, in the
inverse function, f (x) becomes the independent variable and x the dependent
variable. We then see that the connection between f and f 1 can be expressed
by saying that if y /f (x), then x/f 1(y ).
Let us now consider f 1 as a function in its own right, and forget for the
moment that it originated from the function f. Then, since by convention x
denotes the independent variable and y the dependent variable, it is appro-
priate to represent the inverse function by writing
1
yf (x):
Fig. 31
www.EngineeringEBooksPdf.com
INVERSE FUNCTIONS 61
Fig. 32
The idea underlying Fig. 32 is clarified if we consider the case of the linear
function
y2x3 (yf (x)):
Solving for x we find the inverse function
1
x (y3)=2 (x f (y)):
Fig. 33
www.EngineeringEBooksPdf.com
62 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 34
The corresponding inverse trigonometric functions which can be defined
are denoted by arcsin x , arccos x and arctan x or, alternatively, by sin1 x ,
cos 1 x , and tan 1 x . These functions are defined as follows:
p p
yarcsin x if sin y x; domain 10x 01, range 0y0 ;
2 2
y arccos x if cos yx; domain 1 0x01, range 00y 0p;
Fig. 35
www.EngineeringEBooksPdf.com
INVERSE FUNCTIONS 63
p p
y arctan x if tan y x; domainBx B, range ByB :
2 2
Graphs of these functions are shown in Fig. 35. When y lies in the interval
/p /2 0/y 0/p /2, 0 0/y 0/p and /p/2 B/y B/p/2 for the respective functions
arcsin x , arccos x and arctan x , it is called the principal value of the inverse
function.
Example 9.1
Evaluate
(i) arcsin [/â3/2];
(ii) arctan 1;
(iii) arccos 0;
(iv) arccos [ /1/â2];
(v) arccos (cos 3p/2).
Solution
(i) y/arcsin [/â3/2] means sin y / /â3/2, with y confined to the inter-
val /p /2 0/y 0/p /2. It then follows that the principal value is
arcsin [â3=2]p=3:
(ii) y/arctan 1 means tan y/1, with y confined to the interval /p /2 0/
y B/p/2. It then follows that the principal value is
arctan 1 p=4:
(iii) y /arccos 0 means cos y/0, with y confined to the interval 0 0/y 0/p .
It then follows that the principal value is
arccos 0 p=2:
(iv) y/arccos [ /1/â2] means cos y / /1/â2, with y confined to the
interval 0 0/y 0/p . It then follows that the principal value is
arccos [1=â2]3p=4:
(v) The basic property of inverse functions that f 1(f(x )) /x does not
apply when the argument lies outside the domain of definition of
f (x ). Here the domain of definition of arccos x is [0, p ], so it does
not contain 3p/2, and thus
arccos (cos 3p=2)"3p=2:
However, cos 3p/2 /0, so
3p
arccos cos arccos 0p=2: m
2
www.EngineeringEBooksPdf.com
64 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 9.2
Solution
(i) arcsin (3x /2) / /p/3 means that
â3
3x2 sin (p=3) ,
2
PROBLEMS 9
In problems 1 to 8, given the function f(x ) find f 1(x ), graph y /f(x) and
y /f 1(x ), and check that each is the reflection of the other in the line y /x .
1. f(x )/3x/16.
2. f(x )/ /(x/2).
3. f(x )/â(9 /x ).
4. f(x )/â(x /4).
5. f(x )/1/x , for / B/x B/, x "/0.
www.EngineeringEBooksPdf.com
INVERSE FUNCTIONS 65
www.EngineeringEBooksPdf.com
Complex numbers:
10 real and imaginary forms
The real number system is such that not every equation can be solved in
terms of real numbers. Thus the simple algebraic equation
x2 10
has no solution in terms of real numbers. To overcome this limitation, the
real number system is extended to become the complex number system, and
this is accomplished by introducing the unit imaginary element i defined as
/ iâ(1):
In terms of this so-called imaginary element, the equation x2/1/0,
which may be written as
x2 1, or as x9â(1),
is seen to have the solutions /x9i: Similarly, the equation x2/16/0 may
be rewritten as
x2 16, or as x9â(16):
If we write /16 /16 /(/1), this last result becomes
x 9â16â(1)94i,
and so the equation is seen to have the two imaginary solutions x /4i and
x / / 4i.
Numbers like i, 4i, /3i are called purely imaginary numbers, and they
represent special cases of the general complex number
aib
in which a, b are real numbers. It is the convention that a general complex
number is denoted by z, so hereafter we set
zaib:
The real number a is called the real part of the complex number z, and its
relationship to z is shown by writing
aRefzg:
The real number b is called the imaginary part of the complex number z , and
www.EngineeringEBooksPdf.com
COMPLEX NUMBERS: REAL AND IMAGINARY FORMS 67
bImfzg:
Thus 3/2i, / 4, 2 /7i and 16i are all special cases of complex numbers.
The complex number z /a/ib is purely real (an ordinary real number) if
b /0 and it is purely imaginary if a /0.
The general quadratic equation
ax2 bxc 0
b 9 â(b2 4ac)
x
2a
for any real a, b and c, and not simply those for which b2 / 4ac E/0. Thus if
b2 / 4ac B/0, then the solution becomes
b9iâ(4ac b2 )
x
2a
Example 10.1
Solve
3x2 x40:
Solution
Applying the quadratic formula with a/3, b / /1 and c /4 gives
Example 10.2
x3 2x2 2x10,
Solution
Inspection shows that x / /1 is a root of this equation, so (x/1) must be a
factor. Dividing x3/2x2/2x/1 by x/1 gives
www.EngineeringEBooksPdf.com
68 ESSENTIALS OF ENGINEERING MATHEMATICS
and so
x3 2x2 2x1 (x1)(x2 x1):
Thus the original equation can be written
(x1)(x2 x1)0,
and this is satisfied if x/1/0, which yields the root x / / 1 found by inspec-
tion, and also if x2/x/1/0. Thus the two remaining roots follow by solving
x2 x10:
Applying the quadratic formula with a/b /c /1 we find that
19â(1 4)
x (19iâ3)=2:
6
Thus the three roots of
x3 2x2 2x10
are
x1, x(1iâ3)=2 and x (1iâ3)=2: m
Example 10.3
www.EngineeringEBooksPdf.com
COMPLEX NUMBERS: REAL AND IMAGINARY FORMS 69
z2 47i:
Solution
z1 z2 (3 4i)(47i)(3 4)(47)i13i,
z1 z2 (3 4i)(47i)(3(4))(47)i711i: m
Product
If z1 /a/ib and z2 /c/id are any two complex numbers, then their
product is
z1 z2 (acbd)i (ad bc):
This is the formal definition of the product z1z2, but when working with
complex numbers, instead of using this definition, it is simpler to multiply
(a/ib ) and (c/id) together in the usual way and then use the fact that
i2 / /1 to simplify the result.
It is an immediate consequence of the definition of a product that if k is a
real number and z/a/ib, then
kz k(aib)kaikb:
Example 10.4
If z1 /2 /3i and z2 / /1/i, find
(i) /z1 z2 ;
(ii) /z1 (2z2 1):
Solution
(i) z1 z2 (23i)(1i)
22i3i3i2
25i3i2 ,
but i2 1, so
z1 z2 25i3(1)15i:
www.EngineeringEBooksPdf.com
70 ESSENTIALS OF ENGINEERING MATHEMATICS
then
z̄aib:
The product
zz̄ a2 b2
is a purely real number. We also have the useful results that
1 1
Refzg (z z̄) and Imfzg (z z̄):
2 2i
Example 10.5
Solution
z2i, so z̄ 2i:
zz̄ (2i) (2i)42i2ii2 4i2 4(1)5: m
Quotient
If z1 /a/ib and z2 /c/id , the quotient
z1 ac bd (bc ad)
i :
z2 c2 d2 (c2 d 2 )
This is the formal definition of the quotient z1/z2, but when working with
complex numbers, instead of using this definition it is simpler to use the
result that
z1 z1 z̄2 z z̄
1 2 :
z2 z2 z̄2 c d 2
2
Example 10.6
Find z1/z2 if z1 /3/2i and z2 /l /3i, and hence determine Re{z1/z2} and
Im{z1/z2}.
Solution
z1 3 2i (3 2i) (1 3i)
z2 1 3i (1 3i) (1 3i)
(3 2i)(1 3i)
12 32
1
[39i2i6i2 ]
10
1
[311i6(1)]
10
www.EngineeringEBooksPdf.com
COMPLEX NUMBERS: REAL AND IMAGINARY FORMS 71
3 11i 3 11i
:
10 10 10
Thus
3 11
Refz1 =z2 g , Imfz1 =z2 g : m
10 10
EQUALITY OF COMPLEX NUMBERS
Example 10.7
Solution
Refz1 g1, Imfz1 g2, Refz2 g1, Imfz2 g1, Refz3 g1 and Imfz3 gk:
Clearly z1 "/z2, because although Re{z1} /Re{z2}, Im{z1} "/Im{z2}.
As Re{z1} /Re{z3}, we can only have z1 /z3 if Im{z1} /Im{z3}, which
only occurs when k / /2.
As Re{z2} /Re{z3}, we can only have z2 /z3 if Im{z2} /Im{z3}, which
only occurs when k /1. m
Example 10.8
Find the real numbers a, b such that z1/z2 /0, given that z1 /3/a i and
z2 /b /5i.
Solution
z1 z2 3aib5i(3b)(a5)i:
Now if z1/z2 /0, then Re{z1/z2}/0 and Im{z1/z2} /0. Thus 3/b/0,
so b/ /3 and a /5 /0, so a /5. m
www.EngineeringEBooksPdf.com
72 ESSENTIALS OF ENGINEERING MATHEMATICS
The above results are consequences of the following general algebraic prop-
erties of complex numbers which are recorded here for reference.
Commutative property
If z1 and z2 are any two complex numbers, then
z1 z2 z2 z1 ,
and
z1 z2 z2 z1 :
Thus the order in which addition or multiplication is performed is immaterial.
Associative property
Distributive property
www.EngineeringEBooksPdf.com
COMPLEX NUMBERS: REAL AND IMAGINARY FORMS 73
Solution
PROBLEMS 10
1. Find (a) i3; (b) i4; (c) i5; (d) i6; (e) (i) 2; (f) (i) 4; and (g) (i) 5.
2. Find (a) â /9; (b) â/25; (c) â / 49; (d) â/p2.
Find the complex numbers in problems 3 to 10 when z1 /3/i, z2 /1 /2i,
z3 /4i and z4 / /1/3i.
www.EngineeringEBooksPdf.com
74 ESSENTIALS OF ENGINEERING MATHEMATICS
12. Find a , b if
2a(3i) (a2bi)2i:
13. Find a , b if
a 2bi
12i:
3 2i
14. Find a , b if
a bi
12i:
1 2i
In the following problems find by inspection a real root of the given cubic
equation and then, with the aid of the quadratic formula, find the other two
roots.
www.EngineeringEBooksPdf.com
Geometry of complex
numbers 11
Fig. 36
www.EngineeringEBooksPdf.com
76 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 37
to z2. The sum z1/z2 then corresponds to the line drawn from the origin to
the tip of the line representing z2.
The geometrical representation of the sum z1/z2, with z1 /a/ib and
z2 /c/id is shown in Fig. 37. The diagrams in Fig. 37(a) and (b) represent,
respectively, z1 /a/ib (the line OA ) and z2 /c/id (the line OB ), while Fig.
37(c) represents the sum z1/z2 /(a/c )/i(b/d) (the line OC ). This geo-
metrical rule for addition is called the triangle law for addition.
Fig. 38
and adding to z1 the complex number /z2. This is illustrated in Fig. 39.
www.EngineeringEBooksPdf.com
GEOMETRY OF COMPLEX NUMBERS 77
Fig. 39
Example 11.1
Solution
(i) z1/z2 /(2/i)/(3/3i) /5/4i
z1 /z2 /(2/i) /(3/3i) / /1 /2i.
Fig. 40
www.EngineeringEBooksPdf.com
78 ESSENTIALS OF ENGINEERING MATHEMATICS
(ii) The sum z1/z2 constructed by means of the triangle law is shown in Fig.
40(a). The end of the directed line OP lies at the point (5, 4) in agree-
ment with the result that z1/z2 /5/4i. The difference z1 /z2 construc-
ted by means of the triangle law by adding z1 and /z2 is shown in Fig.
40(b). The end of the directed line OQ lies at the point ( /1, /2) in
agreement with the result z1 /z2 / /1 /2i. m
The graphical interpretation of the complex conjugate z/a /ib of the
complex number z /a/ib is a reflection of the point (a, b) or of the directed
line from the origin to (a, b) in the real axis, as shown in Fig. 41.
The modulus of the complex number z/a/ib is denoted by writing jzj,
and it is defined as
½z½ (a2 b2 )1=2 :
When expressed in terms of z and z,
½z½2 zz:
It is seen from Fig. 41 that
½z½ OP:
Fig. 41
Example 11.2
Show jzj /½z½ for all z, and find jzj given that
(i) z/2/3i;
(ii) z/ /3;
(iii) z/5i.
Solution
If z/a/ib, then jzj/(a2/b2)1/2, and z/a /ib so ½z½/(a2/(/b )2)1/2
/(a2/b2)1/2, and thus jz j/½z½ for all z .
(i) jz j/(22/32)1/2 /13, ½z½/(22/( /3)2)1/2 /13.
(ii) jz j/(/3)2 /3, ½z½/( /3)2 /3.
(iii) jz j/52 /5, ½z½/(/5)2 /5. m
www.EngineeringEBooksPdf.com
GEOMETRY OF COMPLEX NUMBERS 79
Properties of jzj
1 jzn j /jzjn . 5 jz1/z2j /jz1j/jz2j.
2 jzjm jz jn /jzjmn . 6 jz1/z2j 0/jz1j/jz2j (triangle inequality).
3 jzn j/1/jz jn . 7 j jz1j /jz2j j0/jz1 /z2j.
4 /½zz½/jzj2 /½z½2 :
Example 11.3
Solution
½z1 z2 ½2 (z1 z2 )(z1 z2 )z1 z1 z1 z2 z1 z2 z2 z2 :
However, z1 z1 /jz1j2, z2 z2 /jz2j2 and
z1 z2 z1 z2 2 Re(z1 z2 )02½z1 z2 ½ 2½z1 ½½z2 ½,
so
½z1 z2 ½2 0 ½z1 ½2 2½z1 ½½z2 ½½z2 ½2 (½z1 ½½z2 ½)2 :
Property 6 now follows by taking the square root. Property 7 follows in
similar fashion by writing
½z1 z2 ½2 (z1 z2 )(z1 z2 ):
Thus the required results are established, and it only remains for us to pro-
vide a geometrical interpretation of the first result. As jz j is the length of the
directed line representing z, inspection of Fig. 42 shows that jz1/z2j0/
jz1j/jz2j merely asserts that the length of side AC of the triangle ABC
cannot exceed the sum of the lengths of sides AB and BC. Equality
is possible only when A , B and C are colinear, for then z2 /kz1,
Fig. 42
www.EngineeringEBooksPdf.com
80 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 11.4
Solution
jz1j/2, jz2j /13, jz1/z2j/j3/2ij /13, jz1 /z2j /j/1/4ij/17.
(i) jz1/z2j /13 B/jz1j/jz1j/2/13.
(ii) jjz1j/jz2jj /j2 /13j/13 /2 B/jz1 /z2j/17. m
PROBLEMS 11
In problems 1 to 6 use the given complex numbers z1 and z2 to find z1/z2 and
z1 /z2 , and then verify the results graphically by means of the triangle law.
1. z1 /3/i, z2 /2/2i.
2. z1 /4/3i, z2 / /l/2i.
3. z1 /2/i, z2 /2/i.
4. z1 / /1/2i, z2 /2 /3i.
5. z1 /3/i, z2 /4i.
6. z1 / /3, z2 /3i.
7. Find jzj given (a) z/4/2i; (b) z / /2 /i; (c) z /1/i.
8. Find ½z½ given (a) z/3/i; (b) z /2/i; (c) z / /1 /2i.
9. Verify the inequalities
j z1 z2 j0j z1 j j z2 j
and
j j z1 j j z2 j j0j z1 z2 j
when
(a) z1 /3/4i, z2 /1/i;
(b) z1 /2/4i, z2 /1/2i;
(c) z1 /6/4i, z2 / /3/2i.
www.EngineeringEBooksPdf.com
Modulus argument form
of a complex number
/
12
Fig. 43
www.EngineeringEBooksPdf.com
82 ESSENTIALS OF ENGINEERING MATHEMATICS
Thus if
1 x /0, y /0, u lies in the first quadrant;
2 x B/0, y /0, u lies in the second quadrant;
3 x B/0, y B/0, u lies in the third quadrant;
4 x /0, y B/0, u lies in the fourth quadrant.
Recalling that u/arg z must be selected so that /p B/u 0/p, this leads to
the following rule for determining u .
Example 12.1
(i) Find the Cartesian form of the complex number z for which
½z½ 3 and arg z p=6:
(ii) Find the modulus /argument form of
z553i:
Solution
(i) Here r /3 and u/arg z/p /6, so
x 3 cos p=633=2
and
y 3 sin p=63=2:
www.EngineeringEBooksPdf.com
MODULUS ARGUMENT FORM OF A COMPLEX NUMBER
/ 83
Example 12.2
p p p p
Given z1 2 cos i sin and z2 3 cos i sin find
4 4 3 3
(i) z1 z2;
(ii) z1/z2.
www.EngineeringEBooksPdf.com
84 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
p p p p
z1 z2 23 cos i sin
4 3 4 3
7p 7p
6 cos i sin :
12 12
2 p p p p
z1 =z2 cos i sin
3 4 3 4 3
2 p p
cos i sin
3 12 12
2 p p
cos i sin : m
3 12 12
Example 12.3
Find
(i) (1/i)25;
(ii) (23 / 2i)30.
Solution
(i) Setting z/1/i we see that
r½z½ 2,
and from rule 1 above for determining arg z
uarg zarctan 1 p=4:
Thus
p p 25
z25 2 cos i sin
4 4
25p 25p
(2)25 cos i sin
4 4
p p
225=2 cos i sin
4 4
1 i
225=2
2 2
212 (1i):
(ii) Setting z/23/ 2i we see that
r ½z½ [(23)2 (2)2 ]1=2 4,
www.EngineeringEBooksPdf.com
MODULUS ARGUMENT FORM OF A COMPLEX NUMBER
/ 85
uarg z arctan j j
2
23
arctan
1
3
p=6:
Thus
30
p p
z30 4 cos i sin 430 [cos(5p)i sin(5p)]
6 6
430 [cos 5psin 5p]430 cos p430 : m
Section 49 develops the Maclaurin series for eu , sin u and cos u. Replacing
u by iu in the series for eu , grouping real and imaginary terms and comparing
the series involved with those for cos u and sin u , respectively, gives the Euler
formula
eiu cos ui sin u:
This has many uses and, for example, since (eiu )n /ein u , an application of
the Euler formula yields de Moivre’s theorem
(cos ui sin u)n cos nui sin nu:
Also, as eiu1 ×eiu2 ei(u1 u2 ) , applying the Euler formula gives
(cos u1 i sin u1 )(cos u2 i sin u2 )cos(u1 u2 )i sin(u1 u2 ):
Equating real and imaginary parts then gives rise to the trigonometric iden-
tities for sin(u1/u2) and cos(u1/u2) listed on page 865. Other trigonometric
identities follow in similar fashion.
PROBLEMS 12
www.EngineeringEBooksPdf.com
86 ESSENTIALS OF ENGINEERING MATHEMATICS
13. Given
p p
z1 3 cos i sin
4 4
and
p p
z2 2 cos i sin ,
3 3
find (a) z1z2 and (b) z1/z2.
14. Given
p p
z1 4 cos i sin
6 6
and
p p
z2 3 cos i sin ,
3 3
find (a) z1z2 and (b) z1/z2.
15. Given
p p
z1 4 cos i sin
3 3
and
p p
z2 5 cos i sin ,
4 4
find (a) z1z2 and (b) z1/z2.
16. Find (1/i)30.
5
1i
17. Find :
3 i
20
1 i3
18. Find :
1i
19. Show that
1 i tan u n 1 i tan nu
:
1 i tan u 1 i tan nu
1 i tan u
20. Find jzn j and arg zn when z :
1 i tan u
www.EngineeringEBooksPdf.com
Roots of complex
numbers 13
Example 13.1
Find 8â1.
www.EngineeringEBooksPdf.com
88 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
1 /cos 0/i sin 0, so setting z /1 we see that r/jz j/1 and u /arg z/0.
Thus the eight roots of unity are
2kp 2kp
wk cos sin
8 8
kp kp
cos i sin with k 0, 1, 2, . . . , 7:
4 4
Thus locations of these points around the unit circle jzj/1 (the circle of
radius 1 centred on the origin) are shown in Fig. 44, from which it is seen that
they are equally spaced around the circle with their arguments differing only
by a multiple of p /4.
Fig. 44
It is easily seen that:
w0 1,
w1 (1i)=â2,
w2 i,
w3 (1i)=â2,
w4 1,
w5 (1i)=â2,
www.EngineeringEBooksPdf.com
ROOTS OF COMPLEX NUMBERS 89
w6 i;
w7 (1i)=â2: m
Example 13.2
Solution
We have â3 /i/2[cos( /p /6)/i sin( /p /6)], so setting z /â3 /i we see
that r /jz j/2 and u /arg z / /p/6. Thus the five roots are seen to be given
by
(12k 1)p (12k 1)p
wk 21=5 cos i sin ,
30 30
with k /0, 1, 2, 3, 4.
Consequently the required roots are
11kp 11kp
wk 21=5 cos i sin ,
30 30
with k /0, 1, 2, 3, 4.
The five roots are seen to lie on the circle jz j/21/5 with their arguments
only differing by a multiple of 11p /30. m
Example 13.3
Find i2/3.
Solution
If we find the three cube roots of i, that is, if we solve the equation
w3 i
for the numbers w0, w1 and w2, the three values of i2/3 will be w20 , w21 and/
2 1/3
/w : This follows by setting w /i , because then
2
w3 i,
so that
w2 i2=3 :
Setting z /i /[cos p /2/i sin p/2] it follows that r/jz j/1 and u /arg z /p/
2, and so the three cube roots of i are
p=2 2kp p=2 2kp
wk cos i sin ,
3 3
with k /0, 1, 2.
www.EngineeringEBooksPdf.com
90 ESSENTIALS OF ENGINEERING MATHEMATICS
Hence
p p 1
w0 cos i sin (â3i),
6 6 2
5p 5p1
w1 cos i sin (â3i),
6 6 2
9p 9p
w2 cos i sin i,
6 6
1
w21 (1iâ3),
2
w22 1: m
Example 13.4
Let w "/1 be any one of the n roots of wn /1 (the nth roots of unity). Prove
that for any positive integer n /1
Solution
Set
S 1ww2 . . .wn1
Substracting this result from the expression for S gives S (1 /w )/1 /wn , or
1 wn
S :
1w
However, wn /1, so as w "/1 we see that S /0 and the result is proved. m
We remark for future use that when working with either real or complex
numbers the expression nâam is defined as am /n . Thus 3â52 /52/3, 4â93 /93/4
and 5â[(1/i)4]/(1/i)4/5.
www.EngineeringEBooksPdf.com
ROOTS OF COMPLEX NUMBERS 91
PROBLEMS 13
www.EngineeringEBooksPdf.com
14 Limits
When a limit exists it is unique, but the mere existence of the limit L of f (x )
as x 0/c does not necessarily imply that f(c) /L or, indeed, that f(c ) is even
defined.
The essential ideas underlying the limit of a function are illustrated by
considering the function
x3 x2 x 2
f (x) :
x2
The function f(x ) is defined for all x with the exception of the single point
x /2, at which point both numerator and denominator of f(x ) vanish. When
this occurs f (x ) is not defined, and at such a point f(x) is said to be an
indeterminate form. Roughly speaking, f(x ) is an indeterminate form of this
type if when x /c the function f(x ) reduces to ‘0 }/0’. Factorizing the nu-
merator of f(x ) leads to the result
x3 x2 x2 (x2 x1)(x2),
so
(x2 x 1)(x 2)
f (x) x2 x1,
x2
for x "/2, but it must be remembered that f(x ) is not defined at x /2. The
graph of f(x) is shown in Fig. 45, where the small circle at the point corre-
sponding to x /2 indicates that this point is missing from the graph.
Where the graph is unbroken, as, for example, at the typical point P
corresponding to x / /1, it is seen that as x increases to the value /1,
or decreases to it, so f(x) approaches the actual functional value at P, which
www.EngineeringEBooksPdf.com
LIMITS 93
Fig. 45
x3 x2 x 2
lim 1,
x01 x2
and it is also true here that f(/1) /1. The equality of the limit and the
functional value at the limit is true at any point on the graph of f (x ) through
which the line of the graph passes and is unbroken, but not at a point like Q
corresponding to x /2 where a point is missing. At Q , as x increases to the
value 2, or decreases to it, so f(x ) approaches arbitrarily closely to the value
7, but does not attain the value. Thus in this case
x3 x2 x 2
lim 7,
x02 x2
www.EngineeringEBooksPdf.com
94 ESSENTIALS OF ENGINEERING MATHEMATICS
The following examples illustrate some of the most important ways of eval-
uating limits.
Find
" #
x2 5x 3
lim :
x02 2x3 x 4
Solution
This is not an indeterminate form because setting f(x) /x2/5x/3,
g (x )/2x3 /x/4, the numerator and denominator do not vanish when
x /2. Thus, by property 4 above,
" #
x2 5x 3 lim (x2 5x 3) 17
lim x02 : m
x02 2x3 x 4 lim (2x3 x 4) 18
x02
Example 14.2 (finding a limit by factorization)
Find
" #
2x2 x 3
lim :
x01 x2 x 2
Solution
This example is similar to the one used to introduce limits. It is an indeter-
minate form and factorization of the expression shows that
"
2x2 x 3 (x 1)(2x 3)
lim lim
x02 x2 x 2 x01 (x 1)(x 2)
2x 3 5
lim : m
x01 x2 3
Example 14.3 (a limit as x 0/)
Find 3
2x x2 2x 4
(i) / lim ;
x0 3x3 x2 1
x4 x2 3x 1
(ii) / lim ;
x0 4x3 x2 3
x2 7x 6
(iii) / lim :
x0 x3 4x2 3x 1
www.EngineeringEBooksPdf.com
LIMITS 95
Solution
There are examples of indeterminate forms in which the limiting form of f(x )
looks like ‘ }/’.
(i) Divide numerator and denominator by the highest power of x in the
denominator, namely x3, and then proceed to the limit using the fact
that if n is a positive integer 1/xn 0/0 as x 0/ to obtain
2 1=x 2=x2 4=x3 2
lim :
x0 3 1=x 1=x3 3
(ii) Proceeding as in (i) gives
4
x x2 3x 1 x 1=x 3=x2 1=x3
lim lim :
x0 4x3 x2 3 x0 4 1=x 3=x3
(iii) Proceeding as in (i) gives
x2 7x 6 1=x 7=x2 6=x3
lim lim 0: m
x0 x3 4x2 3x 1 x0 1 4=x 3=x2 1=x3
Find
(1 x) 1
lim :
x00 (1 2x) 1
Solution
This is an indeterminate form, and to evaluate it we expand (1/x) and
(1 /2x ) by the binomial theorem, using only the first few powers of x , and
then proceed to the limit. We have
x x2 x3
(1x) (1x)1=2 1 . . . :
2 8 16
x2 x3
(12x)(12x)1=2 1x . . . :
2 2
Thus
(1 x) 1 [1 x=2 x2 =8 x3 =16 . . .] 1
,
(1 2x) 1 [1 x x2 =2 x3 =2 . . .] 1
x=2 x2 =8 x3 =16 . . .
[x x2 =2 x3 =2 . . .]
and so
www.EngineeringEBooksPdf.com
96 ESSENTIALS OF ENGINEERING MATHEMATICS
(1 x) 1 1=2 x=8 x2 =16 . . . 1
lim lim : m
x00 (1 2x) 1 x00 [1 x=2 x2 =2 . . .] 2
Find
(1 2x)1=3 1 (1 x) 1
lim :
x00 3x (1 2x) 1
Solution
This involves the product of two indeterminate forms, so we use property 3 in
the above list. Setting
(1 2x)1=3 1
f (x)
3x
and
(1 x) 1
g(x) ,
(1 2x) 1
we use the fact that
lim [ f (x)g(x)] lim f (x) lim g(x) :
x00 x00 x00
Now
2x 4x2 40x3
(12x)1=3 1 . . . ,
3 9 81
so
(1 2x)1=3 1 2x=3 4x2 =9 40x3 =81 . . .
3x 3x
2 4x 40x2
. . . ,
9 27 243
and thus
7 4x 40x2 2
lim f (x)lim . . . :
x00 x00 9 27 243 9
www.EngineeringEBooksPdf.com
LIMITS 97
(1 2x)1=3 1 (1 x) 1
lim lim f (x) lim g(x)
x00 3x (1 2x) 1 x00 x00
2 1 1
: m
9 2 9
The following are important and useful trigonometric limits:
sin kx
1 /lim k;
x00 x
tan kx
2 /lim k;
x00 x
1 cos kx
3 /lim 0;
x00 x
1 cos kx k2
4 /lim :
x00 x2 2
Example 14.6
Solution
Inspection of Fig. 46 shows that
area of triangle OAC B area of sector OAC B area of triangle OAB:
In terms of OA which is of unit length and the angle x , the above inequalities
become
1 1 1
sin xB x B tan x:
2 2 2
Fig. 46
www.EngineeringEBooksPdf.com
98 ESSENTIALS OF ENGINEERING MATHEMATICS
and hence to
" #
sin kx
lim k:
x00 x
Example 14.7
Find
" #
tan 4x
lim :
x00 sin 5x
www.EngineeringEBooksPdf.com
LIMITS 99
We have
" #
1
lim 1,
x00 cos 4x
and
" #
x 1
lim ,
x00 sin 5x 5
and so
" #
tan 4x 1 4
lim 14 : m
x00 sin 5x 5 5
PROBLEMS 14
www.EngineeringEBooksPdf.com
100 ESSENTIALS OF ENGINEERING MATHEMATICS
(2x 1) 3
10. lim
/ :
x04 (x 2) 2
(x2 4) 2
11. /lim :
x00 (x2 9) 3
2
sin (x=4)
12. /lim :
x00 x2
sin 5x
13. /lim :
x00 tan 7x
x4 64x
14. /lim :
x04 (x 1) tan 3(x 4)
sin mx
15. /lim :
x00 sin nx
(x2 14) x
16. / lim :
x0 (x2 2) x
(x2 14) x
17. / lim :
x0 (x2 2) x
x1
18. /lim :
x01 sin px
x sin 2x
19. /lim :
x00 x sin 5x
sin x
20. /lim :
x00 sin 6x sin 7x
cos 3x cos 7x
21. /lim :
x00 x2
1
22. By writing 1cos kx 2 sin2 kx, so that
2
2 3 2 32
1 1
6sin kx sin kx
1 cos kx 6 2 7 7 1 1 cos kx 6
6 2 7 7
26 7sin kx and 26 7,
x 4 x 5 2 x2 4 x 5
show that
" # " #
1 cos kx 1 cos kx k2
lim 0 and lim :
x00 x x00 x2 2
www.EngineeringEBooksPdf.com
One-sided limits:
continuity 15
It can happen that although a function does not have a limit as x 0/c in the
sense of Section 14, it does have a limit in a more restricted sense when x
approaches c from one side or the other. Such limits are called one-sided
limits, and although a one-sided limit may exist when x approaches c from
one direction, there may or may not be another one-sided limit when it
approaches c from the other direction.
To work with one-sided limits we need to modify the notation introduced
in Section 14. If x approaches c from the left, that is if x increases to the
value c, we will write x 0/c /. Correspondingly, if x approaches c from the
right, that is if x decreases to the value c , we will write x 0/c/.
We can now define limits from the left and right. The function f(x) will be
said to have a limit from the left L1 if when x is arbitrarily close to the left of
c , f (x ) is arbitrarily close to L1. Analogously, the function f(x ) will be said to
have a limit from the right L2 if when x is arbitrarily close to the right of c ,
f(x ) is arbitrarily close to L2.
Thus we write
lim f (x)L1 and lim f (x)L2 :
x0c x0c
Fig. 47
www.EngineeringEBooksPdf.com
102 ESSENTIALS OF ENGINEERING MATHEMATICS
that
lim f (x)f (a) and lim f (x) f (b),
x0a x0b
because the values of f(x ) corresponding to x /a and x/b lie on the curve,
whereas
lim f (x)L1 and lim f (x)L2
x0c x0c
with L1 "/L2. The function f(x ) shown in the diagram is not defined at x /c .
Show that f(x) /x /jx j has two different one-sided limits as x 0/0.
Solution
The graph of f(x )/x /jx j is shown in Fig. 48, from which we see that
x x
lim 1 and lim 1:
x00 ½x½ x00 ½x½
Fig. 48 '
Solution
The function f(x) /1/(5 /x ) is only defined (in terms of real variables) if
5 /x E/0. Thus a limit can exist as x 0/5/, but it certainly cannot exist as
x 0/5/ because then 5 /x B/0. The function is illustrated in Fig. 49, from
which it is seen that
www.EngineeringEBooksPdf.com
ONE-SIDED LIMITS: CONTINUITY 103
Fig. 49
Given
3
f (x) ,
41=x 7
find
(i) / lim f (x);
x00
Solution
(i) If x is small and negative, 1/x is large and negative, so lim 41=x 0, and
x00
thus
3 3
lim :
x00 41=x 7 7
(ii) If x is small and positive, 1/x is large and positive, so lim 41=x , and
x00
thus
3
lim 0: m
x00 41=x 7
The concept of limits from the left and right leads directly to the definition
of another fundamental idea called continuity. A function f(x ) will be said to
be continuous at x /c if
1 / lim f (x) lim f (x)L;
x0c x0c
2 f(c )/L .
Thus a function is continuous at x /c (and also in its immediate neigh-
bourhood) if the limits of f(x ) from both the left and right at x/c exist
and are equal to L ; moreover, f (c ) is defined and is such that f(c )/L .
Intuitively, this means that in the immediate neighbourhood of x /c , the
www.EngineeringEBooksPdf.com
104 ESSENTIALS OF ENGINEERING MATHEMATICS
but L1 "/L2 the function f(x) is said to be discontinuous at x /c . Such dis-
continuities are often called jump discontinuities. The function shown in Fig.
47 is discontinuous at x /c .
A weak form of discontinuity arises when
lim f (x) lim f (x)L,
x0c x0c
but f(x ) is not defined at x/c . Thus the graph of such a function has a
single point missing at x /c as, for example, at x /2 in Fig. 45. In these
circumstances, if we define f(x ) by setting f(c)/L , then the function be-
comes continuous at (and in the neighbourhood of) x /c. A discontinuity of
this type is called a removable discontinuity.
Example 15.4
Show that
sin x
/ f (x)
x
is a continuous function with a single removable discontinuity at the origin.
Solution
The function f(x ) /(sin x )/x is the quotient of two continuous functions and
it is defined for all x other than at x /0 at which point it becomes an
indeterminate form. Thus its graph will be an unbroken curve except at
x /0. Appealing to Example 14.6 we see that
sin x sin x
lim lim 1:
x00 x x00 x
The equality of the limits from the left and right follows because (sin x )/x is
an even function.
Consequently f(x )/(sin x )/x has a removable discontinuity at x /0, and
if we define f (0) /1, then the function becomes continuous for all x . A graph
of y/(sin x )/x is shown in Fig. 50.
Thus the function
8
<sin x
, for x"0
f (x)
: x
1, for x 0
is continuous for all x. m
www.EngineeringEBooksPdf.com
ONE-SIDED LIMITS: CONTINUITY 105
Fig. 50
Example 15.5
Solution
(i) f (x ) is finite in the open interval 0B/x B/k because the interval does not
contain the value x/0. The graph is represented by an unbroken curve,
so the function is continuous for any k .
(ii) As the closed interval 00/x 0/k contains the value x/0, the function
becomes infinite at the origin and thus is not continuous for any choice
of k . m
Consequences of continuity
Let f(x) and g(x ) be continuous for a 0/x 0/b, then:
1 kf (x) is continuous for a 0/x 0/b (k /const.);
2 f(x )/9/g(x ) is continuous for a 0/x 0/b ;
3 f(x ) g(x ) is continuous for a 0/x 0/b;
4 f(x )/g (x ) is continuous for a 0/x 0/b, provided g (x )"/0;
5 If a B/c B/b, then the composite function f/g(x )/f(g(x )) is continuous
at x/c .
One of the important consequences of continuity is the following theorem
which applies to any function which is continuous on a closed interval.
Intermediate value theorem
If f(x ) is continuous on the closed interval a 0/x 0/b, and k is any number
between f (a ) and f(b), then the graph of y /f(x ) will pass at least once
through the value k .
The meaning of this theorem is illustrated graphically in Fig. 51. It is seen
from the diagram that as the graph of y/f(x ) is an unbroken line (the
function is continuous), starting at (a , f(a)) and ending at (b, f(b)), the
www.EngineeringEBooksPdf.com
106 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 51
line representing the graph must pass at least once through any number k
which lies between f(a ) and f(b). In Fig. 51 the graph of y /f(x) actually
crosses the line y /k three times, corresponding to x /x1, x /x2 and x/x3.
Solution
Set
1
f (x)sin x x,
2
then as sin x and (1/2)x are continuous functions for p /2 0/x 0/p , f (x ) is a
continuous function for /p /2 0/x 0/p , and so the intermediate value the-
orem applies. A simple calculation shows that
f (p=2)0:215
and
f (p)1:571,
so by the intermediate value theorem there must be at least one value of x ,
say x /c (a root of f(x )), strictly between p/2 and p for which f(c )/0, and
the result is proved.
Figure 52 shows a graph of y/sin x /(1/2)x , from which it can be seen
that, approximately, c /1.9 (the point where the graph crosses the x -axis).
For purposes of comparison, the graphs of y /sin x and y/ (1/2)x are also
www.EngineeringEBooksPdf.com
ONE-SIDED LIMITS: CONTINUITY 107
Fig. 52
shown and, of course, the value of x at the point P at which they intersect
corresponds to the required root c . m
PROBLEMS 15
In problems 1 to 10 find the one-sided limits when they exist, and determine
whether the function f (x ) involved has a removable discontinuity.
x3 x3
1. (a) / lim ; (b) / lim :
x03 x2 9 x03 x2 9
www.EngineeringEBooksPdf.com
108 ESSENTIALS OF ENGINEERING MATHEMATICS
1
20. f(g(x )) when f(x )/sin(2x/1) and g (x )/ cos 3x:
2
www.EngineeringEBooksPdf.com
Derivatives 16
When the limit exists, the derivative of the function f (x ) at x /a , denoted
f?(a), is defined as
f (a h) f (a)
f ?(a)lim :
h00 h
The symbol ? used here is called a ‘prime’, and the expression f?(a) is read
‘f prime a’. It follows from this definition that f ?(a ) is a number determined
as the limit of an indeterminate form as x 0/a . If the number a in this
definition is replaced by the variable x , then giving
f (x h) f (x)
f ?(x)lim ,
h00 h
the expression f ?(x ) becomes a function of x , and it is called the first order
derivative of f (x ) with respect to x . Equivalent notations for the first order
derivative of f (x ) with respect to x are
d dy
f ?(x), [ f (x)] and, if y f (x), :
dx dx
The operation of determining the derivative of a function is called differen-
tiation, and a function for which a derivative exists is said to be differentiable.
Inspection of Fig. 53 shows that
Fig. 53
www.EngineeringEBooksPdf.com
110 ESSENTIALS OF ENGINEERING MATHEMATICS
f (a h) f (a) QR
f ?(a)lim lim
h00 h h00 PR
lim [tan u]:
h00
However, as h 0/0, so Q 0/P, and the secant line (chord) PQ approaches the
tangent line PT to the graph of y /f (x ) at x /a . If the tangent line PT is
inclined at an angle a to the x-axis, it then follows that u 0/a as h 0/0, and so
f ?(a)tan a:
Example 16.1
Show that
d
(i) / [k]0;
dx
d
(ii) / [kf (x)] kf ?(x), (k /const.).
dx
Solution
(i) Setting f(x) /k /const., it follows that
f (xh)k
and so
f (xh)f (x) k k 0:
(ii) We must differentiate the function k f(x), with k /const. From the
definition of a derivative:
d kf (x h) kf (x) f (x h) f (x)
[k f (x)] lim k lim kf ?(x):
dx h00 h h00 h
m
www.EngineeringEBooksPdf.com
DERIVATIVES 111
Example 16.2
dy dx
If y /xn , find and :
dx dy
Solution
From the definition of a derivative:
dy d n (x h)n xn
[x ]lim :
dx dx h00 h
However, expanding (x/h)n by the binomial theorem, and retaining only the
first few powers of h because we are only interested in the case when h 0/0,
gives
n(n 1) n2 2
n n1
x nx h x h . . . xn
d n 2!
[x ] lim
dx h00 h
n(n 1)(n 2) n2
lim nxn1 x h. . .
h00 2!
nxn1 ,
and so
dy d
[xn ]n xn1 :
dx dx
As dx=dy1=(dy=dx) it follows that
dx 1
: m
dy n xn1
Example 16.3
Find
d 1
:
dx 1 x
Solution
d 1 1=[1 (x h)] 1=(1 x)
lim
dx 1 x h00 h
1 1
lim : m
h00 (1 x h)(1 x) (1 x)2
Example 16.4
Show that
www.EngineeringEBooksPdf.com
112 ESSENTIALS OF ENGINEERING MATHEMATICS
d
(i) / [sin kx]k cos kx;
dx
d
(ii) / [cos kx]k sin kx (k const:):
dx
Solution
d sin k(x h) sin kx
(i) / [sin kx]lim
dx h00
h
sin kx cos kh cos kx sin kh sin kx
lim
h00 h
cos kh 1 sin kh
lim sin kxcos kx :
h00 h h
However, from Section 14 we have
cos kh 1 sin kh
lim 0 and lim k,
h00 h h00 h
so
d
[sin kx] k cos kx:
dx
d cos k(x h) cos kx
(ii) / [cos kx]lim
dx h00
h
cos kx cos kh sin kx sin kh cos kx
lim
h00 h
cos kh 1 sin kh
lim cos kxsin kx ,
h00 h h
so using the limiting values of the bracketed expressions already quoted
in (i) gives
d
[cos kx]k sin kx: m
dx
Solution
If x /0, then f(x )/x and it follows from Example 16.2 with n/1 that
d
[ ½x½ ] 1; for x0:
dx
If x B/0, then f(x )/ /x and it follows from Example 16.1(ii) with k /
/1 and Example 16.2 with n/1 that
www.EngineeringEBooksPdf.com
DERIVATIVES 113
Fig. 54
d
[ jxj ]1, for xB0:
dx
However, the graph of y/jx j has no tangent at the point x /0, as may be
seen from Fig. 54, so from the geometrical interpretation of a derivative it
follows that f(x) /jx j is not differentiable at the origin. Thus from the
definition of jx j we see that
d x
[jxj] , for x"0: m
dx jxj
f (x ) f ?(x)
k/const. 0
xa axa1
sin x cos x
cos x /sin x
tan x sec2 x
sec x sec x tan x
cosec x /cosec x cot x
cot x /cosec2 x
www.EngineeringEBooksPdf.com
114 ESSENTIALS OF ENGINEERING MATHEMATICS
d
3 [ f (x) g(x)] g(x)f ?(x)f (x)g?(x) (differentiation of a product);
/
dx
d f (x) f ?(x)g(x) f (x)g?(x)
4 / , (g(x )"/0) (differentiation of a
dx g(x) [g(x)]2
quotient);
5 If y /f (u ) and u /g (x), then y /f (g (x)) and
dy df du
(chain rule):
dx du dx
If a function of a function of a function is involved, and y/f [g [h (x)]], then
by setting u/g (v ) and v /h (x) the chain rule generalizes to
dy df du dv
:
dx du dv dx
Example 16.6
d[ f (x)]
(i) Find given that f (x) x3 4 cos x ;
dx
d 3
(ii) Find [x sin x];
dx
d x4
(iii) Find ;
dx 1 x
(iv) Prove that
d
[tan x] sec2 x:
dx
Solution
(i) From rule 2 earlier we have
d d d
[x3 4 cos x] [x3 ] [4 cos x],
dx dx dx
and applying rule 1 to the second term on the right-hand side, this
becomes
d d d
[x3 4 cos x] [x3 ]4 [cos x]:
dx dx dx
www.EngineeringEBooksPdf.com
DERIVATIVES 115
(ii) Applying rule 3 with f(x )/x3 and g (x) /sin x gives
d d d
[x3 sin x] [x3 ]sin xx3 [sin x]
dx dx dx
4x3 (1 x) x4 × 1
(1 x2 )
4x3 3x4
:
(1 x)2
1
In method (b) we use rule 3 with f(x) /x4 and g(x) : Then
1x
4
d x d 4 1 4 d 1
[x ] x ,
dx 1 x dx 1x dx 1 x
and so
4
d x 4x3 x4
dx 1 x 1 x (1 x)2
4x3 3x4
:
(1 x)2
(iv) As tan x /sin x /cos x , we have
d d sin x
[tan x] ,
dx dx cos x
www.EngineeringEBooksPdf.com
116 ESSENTIALS OF ENGINEERING MATHEMATICS
cos2 x sin2 x 1
sec2 x,
2
cos x cos2 x
Example 16.7
Find
d
(i) / [sin(3x2 2x1)];
dx
d
(ii) / [(1x2 )];
dx
d 1
(iii) / ;
dx (1 4x x3 )
d
(iv) / fsin[1cos(x2 3)]g:
dx
Solution
These examples involve the use of the chain rule since they involve differ-
entiation of a function of a function.
(i) Set u /3x2/2x /1 and f (u )/sin u , then from rule 4
d d du
[sin (3x2 2x1)] [sin u]×
dx du dx
d d
[sin u] [3x2 2x1]
du dx
cos u×(6x2),
but u/3x2/2x /1, so
d
[sin(3x2 2x1)] (6x2) cos(3x2 2x1):
dx
(ii) Set u /x2/1 and f(u )/u1/2, then from rule 5
d d du
[(x2 1)1=2 ] [u1=2 ]:
dx du dx
www.EngineeringEBooksPdf.com
DERIVATIVES 117
d d
[u1=2 ]× [x2 1]
du dx
1
u1=2 ×2x,
2
d 1=2 d
[u ]× [14xx3 ]
du dx
1
u3=2 ×(43x2 ),
2
www.EngineeringEBooksPdf.com
118 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 16.8
Solution
(i) By repeated use of the results
d d
[sin x]cos x and [cos x]sin x,
dx dx
we see that
df d d3 f d
[sin x] cos x, [sin x]cos x,
dx dx dx3 dx
d2 f d d4 f d
[cos x]sin x, [cos x]sin x:
dx2 dx dx4 dx
df d d3 f d
(ii) / [cos x]sin x, [cos x]sin x,
dx dx dx3 dx
d2 f d d4 f d
[sin x]cos x, [sin x]cos x:
dx2 dx dx4 dx m
Example 16.9
Find
df d2 f
and given that f (x) x2 sin 3x:
dx dx2
Solution
Setting f(x )/x2, g (x )/sin 3x , it follows from rule 3 that
d 2 d d
[x sin 3x] [x2 ]sin 3xx2 [sin 3x]
dx dx dx
d
2x sin 3xx2 [sin 3x]:
dx
However, appeal to rule 5 with u /3x and f(u )/sin u shows that
d
[sin 3x]3 cos 3x,
dx
www.EngineeringEBooksPdf.com
DERIVATIVES 119
so
df d
[x2 sin 3x] 2x sin 3x3x2 cos 3x:
dx dx
To find d2f/dx2, we must now differentiate this last result with respect to x .
Proceeding in similar fashion we find that
d2 f d df d
[2x sin 3x3x2 cos 3x]
dx2 dx dx dx
d d
[2x sin 3x] [3x2 cos 3x]
dx dx
d d d
[2x]sin 3x2x [sin 3x] [3x2 ]cos 3x
dx dx dx
d
3x2 [cos 3x]
dx
2 sin 3x6x cos 3x6x cos 3x9x2 sin 3x
2 sin 3x12x cos 3x9x2 sin 3x: m
(n) dn f
f (x) , with n1, 2, 3, . . . ,
dxn
so that, for example,
Example 16.10
www.EngineeringEBooksPdf.com
120 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
(1) df d 2 d 2
(i) f
/ (x) [3x ]
dx dx dx x
2
6x
x2
and
(2) d 2 d d 2
f (x) 6x [6x]
dx x2 dx dx x2
4
6 :
x3
Thus
(1) 2 25
f (2)62
22 2
and
(2) 4 158
f (3)6 :
33 27
(1) d d d
(ii) /f (x) [x sin px] [x]sin pxx [sin px]
dx dx dx
sin pxpx cos px,
and
(2) d
f (x) [sin pxpx cos px]
dx
d d
[sin px] [px cos px]
dx dx
d d
p cos pxp [x]cos pxx [cos px]
dx dx
p cos pxp cos pxpx sin px
p(2 cos pxpx sin px):
Thus
(1)
f (2)sin 2p2p cos 2p2p,
and
(2)
f (3)p(2 cos3p3p sin3p)2p: m
www.EngineeringEBooksPdf.com
DERIVATIVES 121
PROBLEMS 16
In problems 1 to 12 find df/dx and f (1)(x0) for the given value of x0.
1. / f (x)3 cos x7 sin x; x0 p=4:
4 2
2. / f (x)x 3x x3; x0 1:
3. /f (x)x2=3 2x1; x0 2:
x
4. /f (x) ; x0 1:
2
x 1
5. / f (x)x(1x); x0 0:
6. / f (x)x(1x2 ); x0 0:
2x 3
7. / f (x) ; x0 1:
x2
5x 5
2 1
8. /f (x) ; x0 1:
2x 1 x
9. / f (x)x3 sin 2x; xp:
sin x cos x
10. f (x)
/ ; x 0:
sin x cos x
1 x
11. /f (x) ; x 2:
1 x
x
12. /f (x) ; x1:
2 x2=3
13. Find the equation of the tangent to the curve
y x3 4x2 3
at x/3.
14. Find the equation of the tangent to the curve
y x 3x4x
at x/1.
15. Find the tangent line to the curve
y5x cos x
at x/p /2.
16. Find the two points on the curve
y 2x3 x2 1
at which the tangent lines to the curve each have gradient 4.
17. Find the equation of the line normal (perpendicular) to the curve
y1sin 2px3 cos px
at the point P corresponding to x /1/2.
www.EngineeringEBooksPdf.com
122 ESSENTIALS OF ENGINEERING MATHEMATICS
sin 3x
22. f (x)
/ :
cos 2x
23. f (x) tan2 3x:
/
cos 2x
24. f (x)
/ :
1 x2
25. f (x) sin(cos 3x):
/
1 cos 5x
26. f (x)
/ :
(x2 1)3=2
27. f (x) 3 cos 2x sin3 (5x1):
/
sin x
38. f (x)
/ :
1x
www.EngineeringEBooksPdf.com
Leibniz’s formula 17
This result is called Leibniz’s formula, and the coefficients n, n (n/1)/2!,
n
n (n /1)(n/2)/3! are seen to be the binomial coefficients : On account
k
of this, Leibniz’s formula may be written more concisely as
Xn
dn n (k)
[ f (x) g(x)] f (x) g(nk) (x),
dx n
k0
k
www.EngineeringEBooksPdf.com
124 ESSENTIALS OF ENGINEERING MATHEMATICS
and compare the results for successive values of n with the results of Example
16.8(i), we have:
np d
(n1) sin x cos x ¼ [sin x]
2 dx
d2
(n2) sin (xp)sin x [sin x]
dx2
3p d3
(n 3) sin x cos x [sin x]
2 dx3
d4
(n4) sin (x2p)sin x [sin x]:
dx4
Further differentiation of sin x will simply repeat the above pattern of results,
so we see that
dn np
[sin x]sin x , for n 0, 1, 2, 3, . . . ,
dxn 2
where we define
d0
[sin x]sin x (the undifferentiated function):
dx0
and
dn np
[cos x]cos x , for n1, 2, . . . ,
dxn 2
www.EngineeringEBooksPdf.com
LEIBNIZ’S FORMULA 125
Example 17.1
Find
dn
[x2 sin x],
dxn
and use the result to find the derivative when n /5 and n /10.
Solution
Set f (x )/x2 and g (x )/sin x in Leibniz’s formula. Then f (x)x2,/
d d2 dn
[ f (x)]2x; 2 [ f (x)] 2 and n [ f (x)] 0 for n /2, while /dn [sin x]=/
dx dx dx
n np
dx sin x : Substitution into Leibniz’s formula gives
2
dn 2 2 np n1
[x sin x]x sin x n(2x) sin x p
dxn 2 2
n(n 1) n2
(2) sin x p
2! 2
dn 2 np n1
[x sin x] x2 sin x 2nx sin x p
dxn 2 2
n2
n(n1)sin x p ,
2
for n E/ 2.
Thus setting n/5 and simplifying the result we find that
d5
[x2 sin x](x2 20) cos x10x sin x,
dx5
Example 17.2
www.EngineeringEBooksPdf.com
126 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
We have
1(1x2 )g(x),
so identifying this with F (x )/f (x ) g (x) in Leibniz’s formula, we see that
F (x )/1 and f(x) /1/x2.
Now
d d2 dn
f (x)1x2 ; [ f (x)]2x, [ f (x)] 2, and [ f (x)]0
dx dx2 dxn
for n /2. Thus substituting into Leibniz’s formula and using the fact that
dn F dn [1]
0,
dxn dxn
gives
dn dn1 n(n 1) dn2
0 (1x2 ) [g(x)]n(2x) [g(x)] (2) [g(x)]
dxn dxn1 2! dxn2
www.EngineeringEBooksPdf.com
LEIBNIZ’S FORMULA 127
and so
d3 g 24x(x2 1)
: m
dx3 (1 x2 )4
PROBLEMS 17
1. Show
dn np
[sin kx]kn sin kx ,
dxn 2
for n /1, 2, . . . .
2. Show
dn n np
[cos kx]k cos kx ,
dxn 2
for n /1, 2, . . . .
3. Use the result of problem 1 to determine
dn 2
[x sin kx]:
dxn
4. Use the result of problem 2 to determine
dn
[x2 cos kx]:
dxn
5. Find a recursion relation connecting the two successive derivatives
dn g/dxn and dn1g /dxn1 given that
1
g(x) ,
1 kx
for n /1, 2, . . . .
6. Find a recursion relation connecting dn g /dxn , dn1g /dxn1 and
dn1g/dn2, given that
1
g(x) :
1 2x2
www.EngineeringEBooksPdf.com
18 Differentials
If y /f (x ), the notation dy/dx signifies the derivative of f(x) with respect to
x so that
dy
f ?(x):
dx
Although suggestive, the notation does not mean that f?(x ) is the quotient of
two finite quantities dy and dx . However, it is often helpful to treat dy /dx as
though this were the case, and to do this we introduce small finite numbers
dx and dy called differentials. This is accomplished by considering a differ-
entiable function y /f(x ) defined for some a B/x B/b, taking a fixed point x0
in this interval, defining the differential of x , written dx , to be any small non-
zero number, and the differential of y corresponding to x /x0, written dy, to
be given by
dy f ?(x0 )dx:
relating dy to dx as a function of x .
www.EngineeringEBooksPdf.com
DIFFERENTIALS 129
Fig. 55
Example 18.1
Solution
(i) Here y /f (x )/3x2 /4x/3, so
f ?(x)6x4,
and thus
dy (6x4)dx:
(ii) Here y /f (x )/x sin 2x , so
f ?(x) sin 2x2x cos 2x,
and thus
dy( sin 2x2x cos 2x) dx:
(iii) Here y /f (x )/(1/x2)1/2, so
x
f ?(x) ,
(1 x2 )1=2
and thus
x
dy dx: m
(1 x2 )1=2
www.EngineeringEBooksPdf.com
130 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 18.2
(i) In a certain piece of test equipment the pressure p is given in terms of the
radius r of a tube by the expression
Solution
(i) A routine calculation shows
dp
75 kr(15r2 )1=2 ,
dr
so
dp75 kr(15r2 )1=2 dr:
The approximate fractional change is dp/p, so
www.EngineeringEBooksPdf.com
DIFFERENTIALS 131
Constant multiple of u:
d[ku]kdu (k const:):
Sum or difference:
d[u9v]du9dv:
Product:
d[uv]udvvdu:
Quotient:
vdu udv
d[u=v] (v" 0):
v2
Example 18.3
Find the differentials in the four cases listed above given that u / cos (2x/1)
and v /x3.
Solution
d[k cos(2x1)]2k sin (2x1)dx,
d[cos(2x1)9x3 ][2 sin(2x1)93x2 ]dx,
d[x3 cos(2x1)][3x2 cos(2x1)2x3 sin(2x1)]dx,
cos(2x 1) 3 cos(2x 1) 2x sin(2x 1)
d dx; x "0: m
x3 x4
PROBLEMS 18
In problems 1 to 14 find the differential dy when y /f(x) and f(x ) has the
given form.
1. f(x )/x3/2.
2. f (x )/ sin (4x /1).
3. f(x )/(1/x2)5/2.
4. f(x )/x cos (5x /3).
5. f(x )/x2 (1 /x2)1/2.
6. f(x )/x cos (3x2 /6).
7. f(x )/x3/ sin 4x.
8. f(x )/tan x /tan 3x .
www.EngineeringEBooksPdf.com
132 ESSENTIALS OF ENGINEERING MATHEMATICS
T 2p gl ,
where g is a constant (acceleration due to gravity). Find the approx-
imate percentage change in T if (a) the length of the pendulum is
increased by 3%, and (b) it is reduced by 5%.
16. The mass M of a cube of metal of side l is given by
M rl 3 ,
where r is the density of the metal. Find the approximate percentage
change in M if (a) the length is decreased by 2%, and (b) it is increased
by 3%.
17. The drag F on a body moving with speed v through the air is given by
F k1 v3=2 k2 v2 ,
where k1 and k2 are constants. Find the approximate fractional change
in F when v is increased by 4%.
www.EngineeringEBooksPdf.com
Differentiation of inverse
trigonometric functions 19
Fig. 56
www.EngineeringEBooksPdf.com
134 ESSENTIALS OF ENGINEERING MATHEMATICS
d x 1 x
arcsin , ½x=a½ 01, p=20arcsin 0p=2,
dx a (a x2 )1=2
2 a
d x a x
arctan , ½x½B, p=2Barctan Bp=2,
dx a a x2
2 a
d x a x
arcsec 1=2 , ½x=a½ E1, 00arcsec 0p ("p=2):
dx a 2 2
½x½(x a ) a
The reason for the occurence of the factor jx j in the denominator of the
derivative of arcsec x /a can be understood by inspection of the graph of y/
arcsec x/a in Fig. 57, which is seen to have a positive gradient, for x /a
positive and such that x /a E/1 and also for x/a negative and such that
x /a 0/ /1. The occurence of jx j in the derivative of arccosec x/a is for a
similar reason, though in this case it is because the gradient of arccosec x /a is
everywhere negative.
A more general form of the three most important derivatives of inverse
trigonometric functions follows by use of the chain rule and leads to the
following results.
www.EngineeringEBooksPdf.com
DIFFERENTIATION OF INVERSE TRIGONOMETRIC FUNCTIONS 135
Fig. 57
Example 19.1
Find
d
(i) / [arcsin 3x];
dx
d x
(ii) / ½arctan ;
dx 4
d
(iii) / [arcsec 2x]:
dx
Solution
(i) Identifying the function with
d x
arcsin
dx a
shows we must set a/1/3, and so
d 3
[arcsin 3x] , for 1=3 0x0 1=3:
dx (1 9x2 )1=2
www.EngineeringEBooksPdf.com
136 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 19.2
Solution
df x d x
(i) / 6x arcsin (13x2 ) arcsin
dx 4 dx 4
x 3x2 1
6x arcsin :
4 (16 x2 )1=2
df d
(ii) / 2x arctan x(1x2 ) [arctan x]
dx dx
2x arctan x1:
(iii) Set u /x2 /3. Then from the chain rule
df d du
[arcsec u]
dx du dx
1
(2x)
½u½(u2 1)1=2
www.EngineeringEBooksPdf.com
DIFFERENTIATION OF INVERSE TRIGONOMETRIC FUNCTIONS 137
2x
:
½x2 3½(x4 6x2 8)1=2
1
(iv) Set u (4x2 ): Then from the chain rule
2
df d du
[arcsin u]
dx du dx
1 x
(1 u2 )1=2 2(4 x2 )1=2
2 x 1
1=2 : m
x 2(4 x ) 2 (4 x2 )1=2
PROBLEMS 19
www.EngineeringEBooksPdf.com
20 Implicit differentiation
Example 20.1
Given that
yx sin y3x2 10,
find
(i) dy/dx in terms of x and y ;
(ii) dy/dx when x /0, y /1;
(iii) d2y/dx2 when x/0, y /1.
www.EngineeringEBooksPdf.com
IMPLICIT DIFFERENTIATION 139
Solution
(i) Differentiation of the equation with respect to x , regarding y as a func-
tion of x and the term x sin y as a product of x and a function of a
function of x gives
dy d
sin yx [sin y]6x0,
dx dx
and thus
dy dy
sin yx cos y 6x 0,
dx dx
or
dy
[1x cos y]sin y6x,
dx
and so
dy sin y 6x
:
dx 1 x cos y
(ii) Substituting x /0, y /1 into the original equation verifies that it is,
indeed, a solution, and so it is appropriate to seek the numerical value of
the derivative dy /dx at x /0, y /1. Using the result in (i) gives
dy sin y 6x
sin 1 0:8415:
dx (0; 1) 1 x cos y (0; 1)
www.EngineeringEBooksPdf.com
140 ESSENTIALS OF ENGINEERING MATHEMATICS
However,
d dy d dy
[cos y]sin y and [sin y]cos y ,
dx dx dx dx
and so
2
d2 y dy dy dy
[1x cos y]cos y x sin y cos y 6,
dx2 dx dx dx
or
2
d2 y dy dy
[1x cos y] 2 cos y x sin y 6:
dx2 dx dx
Substituting x /0, y/1 and (dy /dx)(0, 1) /sin 1 gives
2
dy
2(cos 1)(sin 1)66:9093 m
dx2 (0; 1)
PROBLEMS 20
www.EngineeringEBooksPdf.com
Parametrically defined
curves and parametric
differentiation 21
A more general description of a curve than the one provided by the explicit
representation y /f (x ) occurs when points on a curve in the (x , y)-plane are
defined by setting x/X (t) and y/Y (t), for a 0/t 0/b, with X (t) and Y (t)
given functions of t.
This is called a parametric representation of a curve, with t as the para-
meter. To see that this does indeed define a curve, notice that for any value
of t in a 0/t 0/b there corresponds a single point (X (t), Y (t)) in the
(x, y )-plane. As t traverses the interval from a to b, so the points
(X (t), Y (t)) generate a curve in the (x, y)-plane.
In general, it is usually impossible to eliminate t between x /X (t) and
y /Y (t) in order to obtain an explicit equation for the curve in the form
y /f(x ). It should, however, be clearly understood that a parametrically
defined curve does not necessarily define a function y /f (x ) because it
may describe a curve for which more than one y corresponds to a given
value of x (a one /many mapping), and such a curve may even intersect itself
and form loops. We will see that, provided X (t) and Y (t) are differentiable
functions, a parametrically specified curve is unambiguously defined. It also
has a uniquely defined tangent at each point, provided the point is identified
by its associated value of t.
An enlightening and easy way to construct a parametrically defined curve
is by first drawing the graphs of x and y as functions of t. The curve in the
(x, y)-plane is then constructed by taking a set of points t1 B/t2 B/. . .B/tn in
the interval a 0/t 0/b, for each ti plotting the point (X (ti ), Y (ti )) using the
graphs x /X (t), y /Y (t ) and finally joining up the points to arrive at the
required curve.
Example 21.1 (a non-self-intersecting one /many mapping)
Draw the curve described parametrically by x /X (t) and y /Y (t), with
X (t)t3 3t and Y (t)12tsin t,
for /3 0/t 0/3.
www.EngineeringEBooksPdf.com
142 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 58
Solution
The graphs of x /X (t ) and y /Y (t ) corresponding to the given functions
are shown in Fig. 58(a) and (b), and the graph of the parametrically defined
curve in the (x , y)-plane which is constructed from them is shown in Fig.
58(c). The arrows on the graph show the direction in which t increases, with
point P corresponding to t/ /3, Q to t/0 and R to t/3. It is clear
that the curve in the (x , y)-plane is a one /many mapping because to any
single value of x in the interval /2 B/x B/2, there correspond three values
of y. However, P, Q and R correspond to different values of t, and so in
terms of the parameter t they are uniquely defined, as are all points on the
curve. m
Example 21.2 (a self-intersecting one /many mapping)
Draw the curve represented parametrically by x /X (t) and y /Y (t ), with
X (t)t2 and Y (t)t3 2t
for /4 0/t 0/4.
www.EngineeringEBooksPdf.com
PARAMETRICALLY DEFINED CURVES AND DIFFERENTIATION 143
Fig. 59
Solution
The graphs of x /X (t ) and y /Y (t) are shown in Fig. 59(a) and (b), and the
parametrically defined curve in the (x, y )-plane constructed from these
graphs is shown in Fig. 59(c) which exhibits a loop. Thus this curve is another
example of a one /many mapping because to any single value of x in x /0,
there correspond two values of y. The parameter t increases in the sense
shown by the arrows, and the first time P is reached corresponds to t/ /2
and the second time to t/2. Thus the part of the curve with negative
gradient through P corresponds to t/ /2, and the part with positive
gradient through P to t/2. The curve has two different tangents at P,
but each corresponds to a different value of t. m
Let X (t) and Y (t) be differentiable functions. To find the gradient of any
point on the curve corresponding to a specific value of t we use the fact that,
by definition,
dy Y (t h) Y (t)
lim
dx h00 X (t h) X (t)
www.EngineeringEBooksPdf.com
144 ESSENTIALS OF ENGINEERING MATHEMATICS
Y (t h) Y (t) h
lim :
h00 h X (t h) X (t)
Y (t h) Y (t) h
lim lim
h00 h h00 X (t h) X (t)
dY dt dY dX
×
dt dX
dt = dt
dy dt dY
,
dx dX dt
and omitting y and Y, converts the result from a statement about the rela-
tionship between derivatives to one about operations of differentiation;
namely
d dt d
,
dx dX dt
or
d 1 d
:
dx [dX =dt] dt
This result allows higher order derivatives with respect to x to be deter-
mined because
d2 y d dy
,
dx2 dx dx
and still higher order derivatives may be found by repetition of the same form
of argument.
www.EngineeringEBooksPdf.com
PARAMETRICALLY DEFINED CURVES AND DIFFERENTIATION 145
Example 21.3
Find dy /dx as a function of t when X (t) and Y (t) are the functions given in
Example 21.1. Use the result to find the gradient of the curve at the points
P (t/ /3), Q (t /0) and R (t /3) in Fig. 58(c).
Solution
dX dY
3t2 3 and 2cos t,
dt dt
so
dy 1 dY 2 cos t
:
dx [dX =dt] dt 3t2 3
Thus, as can be seen, dy /dx is itself also determined in terms of t.
Point P corresponds to t / /3, so
dy 2 cos (3) 2 cos 3
:
dx P 3 (3)2 3 6
Setting t / /3 in X (t) and Y (t ) shows P is located at (0, 1 /23 /sin 3).
Point Q corresponds to t/0, so
dy 3
1:
dx Q 3
Setting t/0 in X (t) and Y (t) shows that Q is located at (0, 1).
Point R corresponds to t/3, so
dy 2 cos (3) 2 cos 3
:
dx R 3 (3)2 3 6
Setting t/3 in X (t) and Y (t ) shows that Q is located at (0, 1/2 3
/sin 3). m
Example 21.4
Find dy/dx and d2y /dx2 as functions of t when X (t) and Y (t ) are the
functions given in Example 21.2. Use the result to find the gradients of
the two tangent lines to the curve at P corresponding to t/9/2, and
find the values of d2y /dx2 at P.
Solution
dX dY
2t and 3t2 2,
dt dt
www.EngineeringEBooksPdf.com
146 ESSENTIALS OF ENGINEERING MATHEMATICS
so
dy 1 dY 3t2 2
dx [dX =dt] dt 2t
3 1
t :
2 t
Thus
dy 3 1
2 2,
dx P(t2) 2 2
and
dy 3 1
(2) 2:
dx P(t2) 2 2
d2 y 1 d dy
dx2 [dX =dt] dt dx
1 d 3 1 3t2 2
t :
2t dt 2 t 4t3
If we now substitute the values t /9/2 we obtain
2
dy 3(2)2 2 2
,
dx2 P(t2) 4(2)3 2
and
d2 y 3(2)2 2 2
:
dx2 P(t2) 4(2)3 2
PROBLEMS 21
www.EngineeringEBooksPdf.com
PARAMETRICALLY DEFINED CURVES AND DIFFERENTIATION 147
www.EngineeringEBooksPdf.com
22 The exponential function
The Euler constant e and the associated exponential function ex can be defined
in several different ways. The approach adopted here is a geometrical one,
and it is motivated by consideration of the derivative of the function
yax (a1)
and the behaviour of the tangent line to the graph of this function when
x /0. To be specific, we take as the defining property of the Euler constant e,
that value of a which makes the tangent line to the graph at x /0 have
gradient 1. Thus we define e to be the value of a for which
d x
[a ] 1:
dx x0
The function
y ex
Fig. 60
www.EngineeringEBooksPdf.com
THE EXPONENTIAL FUNCTION 149
Fig. 61
www.EngineeringEBooksPdf.com
150 ESSENTIALS OF ENGINEERING MATHEMATICS
1 n
e lim 1 :
n0 n
The numerical value of e determined not from the above limit, but from a
series to be derived later, is
/ e2:718 281 828 459 . . . :
It can be shown that e is an irrational number, so its decimal representation is
non-recurring.
If in the above argument we had set /h k=n, with k /const., the same
reasoning would have led to the more general result
k n
ek lim 1 :
n0 n
For any a /0, b /0 and for any real numbers x and y :
1 a0 /1;
2 ax ay /axy ;
ax
3 / y axy ;
a
4 (ax )y /axy ;
1
5 /ax x ;
a
6 (ab)x /ax bx ;
x x
a a
7 / x:
b b
Fig. 62
www.EngineeringEBooksPdf.com
THE EXPONENTIAL FUNCTION 151
For reference purposes, graphs of y /ex and y /e x are shown in Fig. 62,
from which it can be seen that each graph is the reflection of the other in the
y -axis. This fact is, of course, a consequence of property 5 listed earlier.
We now determine the derivative of the exponential function
d x
[e ]
dx
when x /x0, for any arbitrary value of x0. By definition,
x0 h
d x e ex0
[e ] lim
dx xx0
h00 h
h
e 1
ex0 lim
h00 h
ex0 :
As x0 was arbitrary the subscript zero may be omitted, causing this to
become the fundamental general result
d x
[e ] ex :
dx
The derivative of e f (x ) follows by applying the chain rule, for setting
u /f(x ) we have
d d du
[e f (x) ] [eu ]
dx du dx
e f (x) f ?(x),
where f?(x ) denotes the derivative of f(x ). Thus we have shown that
d
[e f (x) ]f ?(x)e f (x) :
dx
In particular, when f(x) /kx , it follows directly that
d
[ekx ]kekx :
dx
We remark that an alternative notation for e f (x ) which is often used is
exp [ f(x )], so that
exp [ f (x)] e f (x) :
Example 22.1
Find n
1
(i) / lim 1 ;
n0 3n
www.EngineeringEBooksPdf.com
152 ESSENTIALS OF ENGINEERING MATHEMATICS
n
1
(ii) / lim 1 ;
n0 nk
n 4n
4 2
(iii) / lim :
n0 4n
Solution
(i) Comparison with
k n
lim 1 ek
n0 n
shows k / /1/3, so
1 n
lim 1 e1=3 :
n0 3n
n k nk
1 1 1
(ii) lim 1 lim 1 1
n0 nk n0 nk nk
k nk
1 1
lim 1 lim 1 :
n0 nk n0 nk
Now
k
1
lim 1 1,
n0 nk
and setting m /n/k we see that
nk
1 1 m
lim 1 lim 1 e,
n0 nk m0 m
and thus
n
1
lim 1 e:
n0 nk
Example 22.2
www.EngineeringEBooksPdf.com
THE EXPONENTIAL FUNCTION 153
x
(iii) /exp :
1 x2
Solution
(i) If we identify e3x with ekx by setting k /3, and then use the result
already established that
d
[ekx ]k ekx ,
dx
it follows that
d 3x
[e ]3 e3x :
dx
To obtain the second derivative, we start from the fact that
d2 3x d d 3x d d
[e ] [e ] [3e3x ] 3 [e3x ]:
dx 2 dx dx dx dx
Thus substituting the derivative of e3x shows that
d2
[e3x ]3(3 e3x )9 e3x :
dx2
Alternatively, setting u /3x and using the chain rule gives
d 3x d du
/ [e ] [eu ] eu ×3 3 e3x :
dx du dx
The second derivative follows in similar fashion.
(ii) If we identify esin x with e f (x ) by setting f(x )/sin x, and then use the
result established above that
d
[e f (x) ]f ?(x) e f (x) ,
dx
we have
d sin x d
[e ] e sin x [sin x]e sin x cos x,
dx dx
and so
d sin x
[e ] cos x esin x :
dx
To find the second derivative we differentiate this product, and as a
result obtain
d2 d d
[e sin x ] [cos x]e sin x cos x
[e sin x ]
dx2 dx dx
sin x e sin x cos2 x e sin x ,
www.EngineeringEBooksPdf.com
154 ESSENTIALS OF ENGINEERING MATHEMATICS
and so
d2
[e sin x ](cos2 xsin x) e sin x :
dx2
and so
d x 1 x2 x
exp exp :
dx 1 x2 (1 x2 )2 1 x2
www.EngineeringEBooksPdf.com
THE EXPONENTIAL FUNCTION 155
PROBLEMS 22
1
12: y (ekx ekx ):
2
13: y exp (x):
14: y exp (1x2 ):
In problems 15 and 16 find dy/dx by implicit differentiation.
15: x2 e y 3xy2 2 0:
2
16: x e y 5xyx2 y1 0:
www.EngineeringEBooksPdf.com
23 The logarithmic function
www.EngineeringEBooksPdf.com
THE LOGARITHMIC FUNCTION 157
Fig. 63
may be deduced graphically from the graph of
y ex
by reflection in the line y/x. The result is shown in Fig. 63, where it can be
seen that:
1 The domain of f (x )/ln x is (0, ), and its range is ( /, );
2 The function f(x) /ln x is continuous and one /one;
3 The y-axis is an asymptote and
lim ln x , while lim ln x :
x00 x0
Example 23.1
Use the properties of the natural logarithmic function and its inverse, the
exponential function, to simplify expressions (i) to (vi) and solve (vii) for x :
(i) /log 2 3;
(ii) /ln e5x ;
(iii) /eln 2x ;
(iv) /e2 ln 4x ;
2
(v) /ln ex ln e3x ;
(vi) /ln 10x ;
(vii) /ln (x2 9)2:
Solution
(i) As /log a x ln x=ln a, by setting a/2 and x /3 we have
log2 3ln 3=ln 2 1:098 61=0:6931 471:584 96:
(ii) The natural logarithmic function is the inverse of the exponential func-
tion, so
ln e5x 5x:
www.EngineeringEBooksPdf.com
158 ESSENTIALS OF ENGINEERING MATHEMATICS
(iii) The exponential function is the inverse of the natural logarithmic func-
tion, so
e ln 2x 2x:
(iv) Using property 4 of the logarithmic function (which is true for a /e), we
have 2 ln 4x/ln(4x )2 /ln(16x2), so arguing as in (ii) shows that
e2 ln 4 x 16x2 :
(v) Using property 3 of the logarithmic function we have
x2
x2 3x e
ln e ln e ln
e3x
ln [exp(x2 3x)]
x2 3x:
(vi) Using property 4 of the logarithmic function with a/e gives
ln 10x x ln 10:
(vii) Taking the exponential of both sides of the equation
/ ln (x2 9)2
gives
/ exp [ln (x2 9)] e2 ,
and thus
/ x2 9e2 :
Hence
/ x2 9e2 ,
and so the solution is not unique since it is seen to be given by
x9(9e2 )1=2 : m
The derivative of the natural logarithmic function follows from the fact
that the results y/ln x and x /e y are equivalent, since each is the inverse of
the other. Differentiation of
x e y
with respect to y gives
dx
e y ,
dy
but
dx dy
dy
1 = dx
,
so that
dy 1 1
:
dx ey x
Thus we have proved that
www.EngineeringEBooksPdf.com
THE LOGARITHMIC FUNCTION 159
d 1
[ln x] :
dx x
Find
d
(i) / [ln (3x)];
dx
d
(ii) / [ex ln x];
dx
d
(iii) / [ln (4x2 2 sin x)]:
dx
Solution
(i) Setting u /3x and using the chain rule gives
d d du 1 du 3 1
[ln (3x)] [ln u] :
dx dx dx u dx 3x x
Alternatively, as ln(3x ) /ln 3/ln x , we have
d d du 1 1
[ln (3x)] [ln 3] [ln x]0 :
dx du dx x x
d x d x d
(ii) [e ln x] [e ] ln xex [ln x]
dx dx dx
x
x e x 1
e ln x e ln x :
x x
(iii) Setting u /4/x2/2 sin x and using the chain rule gives
d d [ln u] du
[ln (4x2 2 sin x)]
dx du dx
1 du
u dx
2(x cos x)
: m
4 x2 2 sin x
www.EngineeringEBooksPdf.com
160 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 23.3
Differentiating with respect to x and using the chain rule with u/x/1 in the
first term on the right and v/x2/4 in the second gives
d dy d du 3 d dv
[ln y] 3 [ln u] [ln v] (differentiating)
dy dx du dx 2 dv dx
and so
1 dy 3 3 2x
y dx x1 2 x2 4
3 3x
:
x1 x2 4
Thus
dy 1 x
3y ,
dx x1 x2 4
www.EngineeringEBooksPdf.com
THE LOGARITHMIC FUNCTION 161
dy 3(x 1)2 (4 x)
: m
dx (x2 4)5=2
Example 23.4
Solution
Taking the natural logarithm of each side of the given expression we have
ln yln xx x ln x:
Differentiation with respect to x gives
d d
[ln y] [x ln x],
dx dx
or, applying the chain rule to the left-hand side,
d dy d d
[ln y] [x] ln xx [ln x],
dy dx dx dx
and so
1 dy 1
ln xx
y dx x
ln x1:
Multiplying by y then shows that
dy
(1ln x)xx ,
dx
and so in terms of differentials
dy(1ln x) xx dx: m
The natural logarithmic function is only defined for positive arguments, so
sometimes it is necessary to differentiate ln j f(x ) j. Let us show that the result
can be obtained by ignoring the absolute value sign and formally differen-
tiating ln f(x) without regard to the sign of f (x ).
Set u /f (x ) and consider /d[ln u]=dx. Then if f(x )/0, j u j/u and so
d d du f ?(x)
[ln½ f (x) ½] [ln u] :
dx du dx f (x)
Now suppose f(x) B/0, so that j u j/ /u. Then
d d d½u½
[ln½ f (x) ½] [ln ½ u ½]
dx du dx
www.EngineeringEBooksPdf.com
162 ESSENTIALS OF ENGINEERING MATHEMATICS
1 d½u½
½ u ½ dx
1 d(u)
u dx
u? f ?(x)
:
u f (x)
Example 23.5
Find
d
[ln ½ x3 sin3 x ½]:
dx
Solution
Setting f(x )/x/3 sin3 x, and using the last result, gives
d d
[ln ½ x3 sin3 x ½] [ln ½ f (x) ½]
dx dx
f ?(x) 1 9 sin2 x cos x
: m
f (x) x 3 sin3 x
PROBLEMS 23
Use the properties of the natural logarithmic function and its inverse, the
exponential function, to simplify the expressions in problems 1 to 8.
1. log7 4.
2
2. /ln e(14x) :
3. /exp[12 ln x3 ]:
2
4. /e3 ln 3x :
5. /ln esin x ln ex :
2 2
6. /ln ex ln ex =2 :
7. /ln esin x ln ecos x ln ex :
8. /e2 ln sin x e2 ln cos x :
www.EngineeringEBooksPdf.com
THE LOGARITHMIC FUNCTION 163
1
38. /ln cos x cos2 x:
2
39. Find dy/dx given that x /ln sin (t/2) and y/ln sin t , for 0B/t B/p .
40. Find dy /dx given that x/ln (1/et ) and y/ln (1/e t ), for
/B/t B/.
www.EngineeringEBooksPdf.com
24 Hyperbolic functions
The hyperbolic sine, cosine and tangent functions, written sinh x , cosh x and
tanh x, are defined in terms of the exponential function as follows:
ex ex
sinh x (hyperbolic sine function),
x
2 x
e e
cosh x (hyperbolic cosine function),
2
sinh x
tanh x (hyperbolic tangent function):
cosh x
By analogy with trigonometric functions the hyperbolic cosecant, secant
and cotangent functions written cosech x , sech x and coth x , are defined as
1
cosech x (x" 0) (hyperbolic cosecant function),
sinh x
1
sech x (hyperbolic secant function),
cosh x
Fig. 64
www.EngineeringEBooksPdf.com
HYPERBOLIC FUNCTIONS 165
1
coth x (x" 0) (hyperbolic cotangent function):
tanh x
Their graphs, which are not periodic, are shown in Fig. 64. It can be seen
from the definitions, and also from the graphs, that sinh x, tanh x , cosech x
and coth x are odd functions, while cosh x and sech x are even functions.
A number of useful identities exist relating to hyperbolic functions. The
key identities are listed in Table 3, and each can be verified by direct appeal to
the definitions of the hyperbolic functions involved. The similarities and
dissimilarities between trigonometric and the corresponding hyperbolic iden-
tities should be noticed.
exy e(xy)
sinh (xy),
2
www.EngineeringEBooksPdf.com
166 ESSENTIALS OF ENGINEERING MATHEMATICS
and the result is verified. We could have substituted the exponential form for
sinh(x/y ) on the left-hand side instead, but the subsequent manipulation to
rearrange the result into the form on the right would have been harder.
The derivatives of hyperbolic functions follow by differentiating their
definitions and using the results
d x d x
[e ]ex and [e ]ex :
/
dx dx
Thus
d d ex ex ex ex
[sinh x] cosh x,
dx dx 2 2
and
d d ex ex ex ex
[cosh x] sinh x:
dx dx 2 2
Example 24.1
Solution
(i) Setting u/3x and using the chain rule gives
d d du
[cosh 3x] [cosh u] sinh u × 3,
dx du dx
www.EngineeringEBooksPdf.com
HYPERBOLIC FUNCTIONS 167
so
d
[cosh 3x]3 sinh 3x:
dx
(ii) Setting u/3x2/5x/ 1 and using the chain rule gives
d d du
[tanh (3x2 5x1)] [tanh u] sech2 u (6x5),
dx du dx
so
d
/ [tanh (3x2 5x1)] (6x5) sech2 (3x2 5x1):
dx
(iii) Differentiating the product gives
d d d
[x sinh (x2 3)] [x]sinh (x2 3)x [sinh (x2 2)]:
dx dx dx
Setting u /x2 /3 in the last term and using the chain rule, this becomes
d d du
[x sinh (x2 3)]sinh (x2 3)x [sinh u]
dx du dx
sinh (x2 3)x cosh u(2x)
and so
d
[x sinh (x2 3)] sinh (x2 3)2x2 cosh (x2 3):
dx
(iv) Setting u/(x2/1)l/2 and using the chain rule gives
d d du du
[sech (x2 1)1=2 ] [sech u] sech u tanh u
dx du dx dx
and so
d x
[sech (x2 1)1=2 ] 2
1=2 sech (x 1)
1=2
tanh (x2 1)1=2 :
dx 2
(x 1)
m
PROBLEMS 24
www.EngineeringEBooksPdf.com
168 ESSENTIALS OF ENGINEERING MATHEMATICS
5. Prove
d
/ [tanh x]sech2 x:
dx
6. Prove
d
[coth x]cosech2 x:
dx
7. Prove
d
[sech x]sech x tanh x:
dx
8. Prove
d
[cosech x]cosech x coth x:
dx
19. Given that x/a cosh t and y /a sinh t, for / B/t B/, show that
d3 y 3 cosh t
:
dx3 a2 sinh5 t
www.EngineeringEBooksPdf.com
Inverse hyperbolic
functions 25
www.EngineeringEBooksPdf.com
170 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 65
shows that
u e y x9(x2 1):
However, as e y /0, the positive square root must be taken, so
e y x(x2 1):
Finally, taking natural logarithms gives
y ln[x(x2 1)],
and thus
arsinh xln[x(x2 1)], for Bx B:
Similar arguments give rise to the following list.
www.EngineeringEBooksPdf.com
INVERSE HYPERBOLIC FUNCTIONS 171
1 x1
6 /arcoth x ln , for Bx B and x" 0:
2 x1
Routine differentiation of these results gives rise to the following derivatives.
Example 25.1
Differentiate
(i) /arsinh (4x1);
(ii) /artanh (12x2 );
1
(iii) /arsech :
2 x2
Solution
(i) Setting u /4x/1 and using the chain rule gives
d d d
[arsinh (4x1)] [arsinh u]
dx du du
1
×4
(u2 1)
and so
d 22
[arsinh (4x1)] :
dx (8x2 4x 1)
www.EngineeringEBooksPdf.com
172 ESSENTIALS OF ENGINEERING MATHEMATICS
(ii) Setting u/(1 / 2x2)1/2 and using the chain rule gives
d d du
[artanh (12x2 )] [artanh u]
dx du dx
1 2x
1 u2 (1 2x2 )
and so
d 1
[artanh (12x2 )] :
dx x (1 2x2 )
(iii) Setting u/(2/x2) 1 and using the chain rule gives
d 1 d du
arsech [arsech u]
dx 2x 2 dx dx
2 2x
u (1 u2 ) (2 x2 )2
2x
: m
(1 x )(3 x2 )
2
Example 25.2
1 1 x2 1=2
: m
x 1 x2
Example 25.3
www.EngineeringEBooksPdf.com
INVERSE HYPERBOLIC FUNCTIONS 173
dy dy 1
/ 2x3y3x × 0:
dx dx 1 y2
Solving for dy/dx gives
dy (y2 1)(2x 3y)
: m
dx (3x 3xy2 1)
PROBLEMS 25
1. Prove that
arcosh xln [x(x2 1)], for 10xB :
2. Prove that
1 1x
artanh x ln , for 1Bx B1:
2 1x
3 y2
32x2 x artanh 0:
y2 4
www.EngineeringEBooksPdf.com
Properties and applications
26 of differentiability
Fig. 66
www.EngineeringEBooksPdf.com
PROPERTIES AND APPLICATIONS OF DIFFERENTIABILITY 175
Fig. 67
Fig. 68
www.EngineeringEBooksPdf.com
176 ESSENTIALS OF ENGINEERING MATHEMATICS
These are points at which the tangent line to the graph of y /f (x ) is
horizontal. This is clearly the case at maxima and minima at which f (x ) is
differentiable as, for example, in the three cases illustrated in Fig. 67 and at the
local minimum in Fig. 68. However, it is not the case when an extreme value
occurs at a point where f(x ) is not differentiable, as at x / /1 in Fig. 68.
Thus the extrema of a differentiable function f(x ) can be located by
solving the equation
f ?(x)0
or, equivalently, if we write y/f(x ), by finding the values of x such that
dy
0:
dx
Not every stationary point is necessarily a maximum or minimum because
the function may change monotonically across a stationary point (i.e., either
continue to increase or to decrease across it). For obvious reasons, stationary
points corresponding to maxima or minima are often called turning points.
Example 26.1
Find the stationary points of the following functions and sketch them:
(i) /f (x)x3 x2 x1;
(ii) /f (x)x3 1:
Solution
(i) Differentiation gives
f ?(x) 3x2 2x1,
so solving f ?(x )/0 to determine the stationary points leads to the
equation
3x2 2x10,
with the solutions
x1=3 and x 1:
There are thus two stationary points and the graph of this function has
already been given in Fig. 67(c). The stationary point at x/ /1/3 is seen to
be a local maximum, and the one at x /1 is a local minimum,
(ii) Differentiation gives
f ?(x)3x2 ,
so solving f ?(x )/0 leads to the equation
3x2 0,
with the solution
x0
www.EngineeringEBooksPdf.com
PROPERTIES AND APPLICATIONS OF DIFFERENTIABILITY 177
Fig. 69
Thus this function has only one stationary point and it occurs when x/0.
The graph of this function is given in Fig. 69, from which it is seen that this
stationary point is neither a maximum nor a minimum as the function
increases monotonically across x /0. m
The sign of the derivative f?(x ) to the immediate left and right of a
stationary point can be used to identify its nature. Inspection of Fig. 70
shows how this can be accomplished. We see that f?(x )/0 to the immediate
left of a maximum such as P or R , irrespective of the differentiability
property of f (x ) at these points, while to the immediate right of a maximum
f?(x) B/0. Conversely, we see that f ?(x )B/0 to the immediate left of a
minimum such as Q or S, irrespective of the differentiability property of
f(x ) at these points, while to the immediate right of a minimum f ?(x )/0.
A stationary point across which f(x ) changes monotonically (increases or
decreases steadily) is characterized by the fact that f?(x ) is the same sign to
the immediate left and right of such a point. In Fig. 70 the point T at x /x4 is
a stationary point across which f(x ) increases monotonically, as is also the
point x/0 in Fig. 69. Such stationary points are called points of inflection.
More generally, a point of inflection is a stationary point of f ?(x ), so it occurs
when fƒ(x) /0.
Table 4 Identification of the nature of stationary points using the sign of f ?(x )
Local maximum of f (x ) at x/c . f ?(x ) /0 to the immediate left of x/c and
f ?(x ) B/0 to the immediate right.
Local minimum of f (x ) at x/c . f ?(x ) B/0 to the immediate left of x and
f ?(x ) /0 to the immediate right.
Stationary point at x/c with f (x ) f ?(x ) has the same sign to the immediate left
changing monotonically across and right of x/c . Monotonic increasing if
x/c (point of inflection). f ?(x ) /0 and monotonic decreasing if
f ?(x ) B/0.
www.EngineeringEBooksPdf.com
178 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 70
Example 26.2
Identify by means of the criteria in Table 4 the nature of the stationary points
found in examples considered in Figs. 67 to 69.
Solution
In Fig. 67(a) we have f (x )/4 /x2, so f?(x )/ /2x, and hence the only
stationary point occurs when x /0. To the left of the origin f?(x )/0 and
to the right f?(x )B/0, so x /0 corresponds to a maximum. Inspection of the
nature of the function shows this to be an absolute maximum.
In Fig. 67(b) we have f(x) /x2/1, so f?(x )/2x , and hence the only
stationary point occurs when x /0. To the left of the origin f?(x )B/0 and
to the right f?(x )/0, so x /0 corresponds to a minimum. Inspection of the
nature of the function shows this to be an absolute minimum.
The stationary points of the function f(x )/x3 /x2 /x/1, shown in
Fig. 67(c), were found in Example 26.1 and were shown to be x/ /1/3
and x /1. As in this case
f ?(x)3x2 2x1
it can be shown by routine numerical computation (or algebraically) that
f?(x) /0 to the left of x / /1/3 and f?(x )B/0 to the immediate right so this
must be a local maximum. Similarly, f ?(x )B/0 to the immediate left of x /1
and f?(x )/0 to the right so this must be a local minimum.
To show algebraically, for example, that x /1 is a local minimum, we set
x /1/h where h is small. Then points to the left of x /1 correspond to h B/0
and those to the right correspond to h /1. Setting x/1/h we find that
f ?(x)3x2 2x1
becomes
f ?(1h) 3(1h)2 2(1h)1
or
f ?(1h) 3h2 4h:
www.EngineeringEBooksPdf.com
PROPERTIES AND APPLICATIONS OF DIFFERENTIABILITY 179
so f?(x )/0 when x / /3/5 and f(x ) is not differentiable when x / /1.
The only stationary point occurs when x / /3/5, and a simple calculation
shows f ?(x )B/0 to the immediate left of x/ /3/5 and f?(x )/0 to the
immediate right, so x / /3/5 is a local minimum.
The only other point to be examined is x / /1 where f (x ) is not differ-
entiable. A simple calculation shows f?(x ) is positive to the left of x / /1
and negative to the immediate right, so x/ /1 is a local maximum.
The function f (x )/x3/1 shown in Fig. 69 has its only stationary point
located at the origin. Thus as
f ?(x) 3x2 ,
we see that f?(x )/0 to both the left and right of the origin, so the stationary
point at x /0 is seen to be a point of inflection ( f ƒ(x) 0 at x 0): m
When f(x) is twice differentiable, the sign of f ƒ(x) at a stationary point can
be used to identify its nature. To see how this comes about, consider the
definition of a second derivative at a point x0, namely
f ?(x) f ?(x0 )
f ƒ(x0 ) lim L, say:
x0x0 x x0
Now let x0 be a stationary point, and suppose that L B/0. Then it follows
that f ?(x0 )0, and thus
f ?(x)
f ƒ(x) lim L B0:
x0x0 x x0
If x lies to the left of x0, then x /x0 B/0 and since L B/0 it follows that
f ?(x)0: Conversely, if x lies to the right of x0, then x /x0 /0 and as L B/0
it follows that f ?(x)B0: We deduce from the signs of f ?(x ) to the left and
right of x0 that a (local) maximum of f (x ) must occur at x /x0 if f ?(x0 ) 0
and f ƒ(x0 )B 0:
Correspondingly, if L /0, the same form of argument shows that a (local)
minimum of f (x ) must occur at x /x0 if f ?(x0 )0 and f ƒ(x0 )0: We have
arrived at the second derivative test for maxima and minima.
www.EngineeringEBooksPdf.com
180 ESSENTIALS OF ENGINEERING MATHEMATICS
Second derivative test for maxima and minima
Let f(x ) be twice differentiable with a stationary point at x /x0 at which
f ƒ(x0 )" 0: Then x0 is a (local) maximum if f ƒ(x0 )B0 and a (local) minimum
if f ƒ(x0 ) 0:
To see how this test works, let us apply it to Example 26.1(i) in which
f (x)x3 x2 x1:
It was shown that stationary points occurred at x / /1/3 and x /1. Now
f ?(x)3x2 2x1
and
f ƒ(x)6x2,
so that f ƒ(1=3)4 and f ƒ(1)4: Thus from the second derivative test, as
f ƒ(1=3)B0, x/ /1/3 must be a maximum, whereas since f ƒ(1)0, x /1
must be a minimum.
A similar form of argument may be applied to the function
f (x) x(x1)2=3
shown in Fig. 68, but only at x / /3/5 since f ƒ(x) is not defined at x/ /1.
ROLLE’S THEOREM
Rolle’s theorem
Let the function f (x ) be continuous in the (closed) interval a 0/x 0/b and
differentiable in the (open) interval a B/x B/b and such that f(a) /f(b ). Then
there is at least one number X strictly between a and b such that
f ?(X )0:
The geometrical meaning of this theorem is simple because it gives the
conditions under which the tangent line to the graph of y /f (x ) shown in
Fig. 71
www.EngineeringEBooksPdf.com
PROPERTIES AND APPLICATIONS OF DIFFERENTIABILITY 181
Fig. 71 is parallel to the x -axis at a point (there may be more than one)
strictly between a and b.
To prove this result analytically we proceed as follows. Suppose f(a )/
f(b )/M . Then if f(x )/M the result is obviously true for all X such that
a B/X B/b.
Now suppose that f(X )/M , so that the function must have a maximum at
some point x /X strictly between a and b. As the function is differentiable, it
then follows that f ?(X )0: A similar argument applies if f (X )B/M , so the
result is proved.
Example 26.3
(i) Show that Rolle’s theorem applies to the function
f (x)sin x sin 3x for 00x0 2p,
Solution
(i) The function
f (x)sin x sin 3x
Fig. 72
www.EngineeringEBooksPdf.com
182 ESSENTIALS OF ENGINEERING MATHEMATICS
(ii) Rolle’s theorem does not apply to this function because although f(x ) is
continuous, with f(0) /f(p/2) /0, and differentiable on 0 B/x B/p /4
and p /4 B/x B/p/2, it is not differentiable at x /p /4, as may be seen
from Fig. 72(b). m
One of the main uses for Rolle’s theorem is found in the proof of other
theorems. An important example of such a use is found in the proof to
the mean value theorem, which may be regarded as an extension of Rolle’s
theorem.
Fig. 73
www.EngineeringEBooksPdf.com
PROPERTIES AND APPLICATIONS OF DIFFERENTIABILITY 183
However,
f (b) f (a)
F ?(x) f ?(x) ,
ba
The mean value theorem may be used to simplify the task of determining
limits involving indeterminate forms.
Suppose f(x ) and g (x ) are differentiable in an interval containing the point
x /c and that f(c )/g (c) /0, so
f (x)
lim
x0c g(x)
is an indeterminate form. We now replace f(x) and g (x) using the mean value
theorem as follows. Setting a/c and b /x we obtain
f (x)f (c)(xc)f ?(X ), with c BX B x
and
e ),
g(x)g(c)(xc)(X with e Bx
cB X
(X and X e are not necessarily the same). Since, by hypothesis, f(c) /g (c)/0,
it then follows that
f (x) f ?(X )
:
g(x) g?(X e)
provided the limit on the right-hand side is not itself an indeterminate form.
This method of evaluating indeterminate forms is called L’Hôpital’s rule. If
it happens that the limit on the right-hand side is also an indeterminate form,
a further application of the rule then shows that if f (c )/g(c )/0 and f ?(c)
g?(c)0 but f ƒ(x)=gƒ(x) is not an indeterminate form, then
f (x) f ƒ(x)
lim lim :
x0c g(x) x0c gƒ(x)
www.EngineeringEBooksPdf.com
184 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 26.4
Evaluate
x3 2x2 x 2
lim ,
x01 x2 1
and show the consequence of applying L’Hôpital’s rule to a limit which is not
an indeterminate form.
Solution
The limit is an indeterminate form, so setting f (x )/x3/2x2 /x /2 and
g (x )/x2 /1 and differentiating gives
g?(x)3x2 4x1 and g?(x)2x:
These derivatives do not both vanish as x 0/1, so from L’Hôpital’s rule
2
f (x) f ?(x) 3x 4x 1 6
lim lim lim 3:
x01 g(x) x01 g?(x) x01 2x 2
If, mistakenly, L’Hôpital’s rule is applied once again to this last limit (it is
not an indeterminate form), the result would be
2
3x 4x 1 6x 4
lim lim 5,
x01 2x x01 2
which is incorrect. m
www.EngineeringEBooksPdf.com
PROPERTIES AND APPLICATIONS OF DIFFERENTIABILITY 185
Example 26.5
Evaluate
(1 4x) 1
lim :
x00 3x
Solution
This is an indeterminate form so we start by setting
f (x) (14x)1 and g(x) 3x,
2
f ?(x) and g?(x)3:
(1 4x)1=2
As these are not both zero when x /0 (the value of x at which the limit is
required) we may use the simple form of L’Hôpital’s rule to obtain
(1 4x) 1 f ?(x) 2
lim lim : m
x00 3x x00 g?(x) 3
Example 26.6
Evaluate
2x 8
lim :
x03 sin px
Solution
Setting f(x )/2x /8 and g(x )/sin px and differentiating gives
f ?(x)2x ln 2
and
g?(x)p cos px:
The limit is required as x 0/3 and as f ?(3) and g?(3) do not vanish we may use
the simple form of L’Hôpital’s rule to obtain
x
2 8 f ?(x) 8 ln 2
lim lim :
x03 sin px x03 g?(x) p
This limit could not have been evaluated by using one of the elementary
methods described in Section 14. m
www.EngineeringEBooksPdf.com
186 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 26.7
Evaluate
x sin x x2
lim :
x00 2 cos x 2 x2
Solution
This is an indeterminate form, so we start by setting
f (x)x sin xx2
and
g(x)2 cos x2x2 :
Repeated differentiation of f(x) and g (x) shows that the first three deriva-
tives of each function vanish at x /0 because
f ?(x)sin xx cos x2x, so f ?(0)0;
g?(x)2 sin x2x, so g?(0)0;
As in Example 26.6, this limit could not have been evaluated by using one of
the elementary methods described in Section 14. m
It should be remarked that L’Hôpital’s rule does not always lead to the
evaluation of an indeterminate form because, on occasions, limx 0c [f?(x)/
g ?(x )] is more complicated than the original expression limx 0c [f(x)/g(x )].
This happens, for example, with
www.EngineeringEBooksPdf.com
PROPERTIES AND APPLICATIONS OF DIFFERENTIABILITY 187
ex
lim [xex ] lim :
x0 x0 (1=x)
and although the result is not incorrect, it is a limit which is more compli-
cated than the original one.
L’Hôpital’s rule may also be applied to indeterminate forms of the type
‘}/’ when it takes the following form.
it follows that
f (x) f ?(x)
lim lim L:
x0c g(x) x0c g?(x)
Example 26.8
Evaluate
lim [xex ]:
x0
Solution
Writing the limit as
x x
lim [xe ] lim ,
x0 x0 ex
and
g?(x) ex ,
www.EngineeringEBooksPdf.com
188 ESSENTIALS OF ENGINEERING MATHEMATICS
x
lim [xex ] lim 0 m
x0 x0 ex
Indeterminate forms of the type ‘0 ×/’ arise when the limit concerned has
the form limx 0c [f (x )g(x )], where as x 0/c so f (x )0/0 and g (x) 0/9/. This
may be transformed into a limit of the form ‘0 }/0’ by writing it as
f (x)
lim [ f (x)g(x)]lim ,
x0c x0c 1=g(x)
Example 26.9
Evaluate
1 1
lim :
x00 sin2 x x2
Solution
This limit is of the form ‘ /’. Combining terms gives
x2 sin2 x
lim ,
x00 x2 sin2 x
which is now in the form ‘0}/0’ to which L’Hôpital’s rule may be applied. To
avoid making repeated applications of L’Hôpital’s rule, we will make use of
simple trigonometric identities and the fact that in Section 14 we showed that
limx 00 (sin x /x )/1. This means that for small x , sin x may be approximated
by x. The approximation becomes exact in the limit as x 0/0. Thus for small
x (the only situation which concerns us):
www.EngineeringEBooksPdf.com
PROPERTIES AND APPLICATIONS OF DIFFERENTIABILITY 189
2
1 1 x sin2 x
lim lim :
x00 sin2 x x2 x00 x4
PROBLEMS 26
In problems 1 to 16 locate and identify the stationary points and find the
equations of any asymptotes that exist.
1. / f (x)x3 3x2 :
2. / f (x)6x2 x4 :
x2 2x 2
3. / f (x) :
x1
x4 3
4. / f (x) :
x
8
5. / f (x) :
x2 4
4x 12
6. / f (x) :
(x 2)2
7. / f (x)x(x3)1=2 :
8. / f (x)(x3 3x)1=2 :
9. / f (x)xex :
www.EngineeringEBooksPdf.com
190 ESSENTIALS OF ENGINEERING MATHEMATICS
1 x
10. f (x) x2 ln
/ (a0):
2 a
11. f (x) sin xcos x:
/
x3
12. f (x)
/ :
4(2 x)2
13. f (x) 2x3x2=3 :
/
www.EngineeringEBooksPdf.com
PROPERTIES AND APPLICATIONS OF DIFFERENTIABILITY 191
ln x
27. / lim :
x00 cot x
ln x
28. / lim ; (k 0):
x0 xk
arcsin(1 2x)
29. / lim :
x01=2 4x2 1
2x sin x
30. /lim :
x00 sec x 1
x
35. /lim (px)tan :
x0p 2
ln (kx)
36. / lim ; (k 0):
x00 cot x
1 2
37. /lim :
x01 x 1 x2 1
www.EngineeringEBooksPdf.com
Functions of two
27 variables
is defined for all points in the (x , y)-plane, so, unless otherwise stated, its
domain of definition is the entire plane. However, if the function concerned is
z â(1x2 y2 )
where the positive square root is taken, z is only defined for all points such
that x2/y2 0/1, and so its largest possible domain of definition is the interior
and boundary of a circle of radius 1 centred on the origin.
It is often convenient to define a domain of definition of a function by
means of inequalities as shown by the example which now follows.
Example 27.1
www.EngineeringEBooksPdf.com
FUNCTIONS OF TWO VARIABLES 193
Solution
The inequality
x2 y2 1
describes all points lying strictly outside a circle of radius 1 centred on the
origin. This follows because replacing the sign / by an equality gives x2/
y2 /1, which is the equation of a circle of radius 1 centred on the origin.
Thus the condition x2/y2 /1 defines points strictly outside this circle. We
remark here that had the inequality been x2/y2 B/1, then the points would
have been inside the circle. The region in the (x , y )-plane satisfying this
inequality is shown in Fig. 74(a). The circle x2/y2 /1 is shown as a dashed
line because points on its boundary do not belong to the shaded region.
A similar argument shows that y /x describes all the points strictly above
the line y /x as shown in Fig. 74(b). The line y /x is again shown as a
dashed line because its points do not belong to the shaded region. The
inequality x 0/2 describes the points to the left of and on the line x/2.
These points are shown as the shaded region in Fig. 74(c), to which belong
the points on the line x /2 which, accordingly, is shown as a solid line. The
points in the plane satisfying all these inequalities are obtained by super-
imposing the three regions. The required region, together with its boundaries
obtained in this manner, is shown in Fig. 74(d). m
Fig. 74
www.EngineeringEBooksPdf.com
194 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 75
The surface S can be visualized in two different ways, one of which uses a
cutting plane technique, and the other contour lines.
In this method the curves of intersection of z /f(x , y ) and first the planes
x /constant and then the planes y/constant are constructed. These are
called cutting planes because if the surface z/f(x, y ) is considered as a thin
sheet, these planes ‘cut’ it to form plane curves. An examination of the shape
of these curves for different values of x/constant and y /constant then
enables the shape of the surface to be visualized.
For example, if
z 2x2 y2 ,
the curves of intersection with the plane x /a (the plane parallel to the y -
and z -axes passing through x /a on the x -axis) is
z2a2 y2 ,
which is a parabola. Varying the value of a simply moves the parabola up or
down relative to the (x , y )-plane.
Similarly, the curve of intersection with the plane y/b (the plane parallel
to the x - and z -axes passing through the point y /b on the y-axis) is
z2x2 b2
www.EngineeringEBooksPdf.com
FUNCTIONS OF TWO VARIABLES 195
Fig. 76
which is another parabola. Here also, changing the value of b merely moves
the parabola up or down relative to the (x , y )-plane.
The surface
z 2x2 y2 ,
which is a paraboloid, can be visualized by sketching the curves produced by
these cutting planes, as shown in Fig. 76.
www.EngineeringEBooksPdf.com
196 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 77
The curves in Fig. 77(b) are obtained by projecting the elliptical curves in
Fig. 77(a) on to the (x , y )-plane.
PROBLEMS 27
2 2
6. /f (x; y)(xy)e(x y ) :
x2 6
7. /f (x; y)artanh :
x 2 y2 4
8. f (x; y)(xy) ln (sinh xy):
/
4x2 y2 9
9. f (x; y)
/ :
â(x2 y2 1)
10. f (x; y)[(x1)2 (y1)2 4]1=2 ln (1x2 y2 ):
/
11. Find the equation of the contour lines for the hyperbolic paraboloid
function
x 2 y2
z ,
4 16
www.EngineeringEBooksPdf.com
FUNCTIONS OF TWO VARIABLES 197
Fig. 78
Fig. 79
www.EngineeringEBooksPdf.com
Limits and continuity of
functions of two real
28 variables
Let a function f(x , y ) of the two real variables x and y have domain of defini-
tion D in which there lies the point Q at (x0, y0), and let L be a real number. In
addition, let g be any path (curve in the (x, y)-plane) joining an arbitrary point
P in D to the point Q at (x0, y0). We shall say a point (x , y ) on g approaches
arbitrarily closely to the point (x0, y0), written either x 0/x0, y 0/y0 or (x , y)0/
(x0, y0), if the distance from (x , y) to (x0, y0) becomes arbitrarily small.
The function f (x , y ) will be said to have the limit L as (x , y )0/(x0, y0),
written
lim f (x, y)L,
(x, y)0(x0 , y0 )
www.EngineeringEBooksPdf.com
LIMITS AND CONTINUITY OF FUNCTIONS 199
Fig. 80
½ f (x, y)L½ Bo when [(xx0 )2 (yy0 )2 ]1=2 B d:
To see that the point Q located at (x0, y0) may be approached along
infinitely many different paths, it is only necessary to consider Fig. 80 which
shows three possible paths g1, g2 and g3 in D joining P to Q. Geometrically,
the existence of a limit L of the function f(x , y ) as (x, y )0/(x0, y0) implies
that in the neighbourhood of the point (x0, y0) the surface S represented by
the graph of
z f (x, y)
is unbroken. This follows because in whatever manner (x, y )0/(x0, y0), if the
limit exists f(x, y) must always approach the value L . Notice the important
fact that the value of f(x , y ) at (x0, y0) does not enter into the definition of
the limit. Thus f(x , y ) need not even be defined at (x0, y0) for the limit as
(x, y) 0/(x0, y0) to exist. Indeed, in many important cases f(x, y) becomes an
indeterminate form at a point at which a limit is to be evaluated.
This property is illustrated in Fig. 81, in which a limit of z /f (x , y ) is seen
to exist as both Q located at (x0, y0) and R at (x1, y1) are approached by
Fig. 81
www.EngineeringEBooksPdf.com
200 ESSENTIALS OF ENGINEERING MATHEMATICS
(x , y). The respective values of these limits are L0 and L1. However, f (x , y ) is
not even defined at (x0, y0), whereas it is at (x1, y1) at which point
f(x1, y1) /L1. The small circle in the surface S above Q indicates that in
this case f(x, y ) is not defined at Q. The arrows in the (x, y )-plane indicate,
respectively, different paths of approach to Q and R , while the arrows on the
surface S indicate the corresponding manner of approach to the limiting
values L0 and L1 on S.
Example 28.1
Solution
(i) The function sin xy is a continuous function of its arguments x and y, so
(see Section 15):
p
lim (sin xy)sin 1
(x, y)0(p=2, 1) 2
and, similarly,
p2
lim (x2 y2 1) 2(p2 8)=4,
(x, y)0(p=2, 1) 4
and so
" #
sin xy 4
lim :
(x, y)0(p=2, 1) x2 y2 1 p2 8
(ii) Arguing as in (i),
lim (sin xy)0
(x, y)0(0, 0)
and, similarly,
lim (x2 y2 1)1,
(x, y)0(0, 0)
and so
" #
sin xy 0
lim 0: m
(x, y)0(0, 0) x2 y2 1 1
On occasions a limit does not exist at a particular point, and this is illu-
strated by the following example.
www.EngineeringEBooksPdf.com
LIMITS AND CONTINUITY OF FUNCTIONS 201
Example 28.2
Show that
2x2 3y2
f (x, y)
x2 y2
Solution
Consider any point (a, b) where not both a and b are zero. Then as both
numerator and denominator are continuous functions of their arguments
(see Section 15), it follows that
lim (2x2 3y2 )2a2 3b2
(x, y)0(a, b)
and
lim (x2 y2 )a2 b2 "0:
(x, y)0(a, b)
www.EngineeringEBooksPdf.com
202 ESSENTIALS OF ENGINEERING MATHEMATICS
In geometrical terms this means that f(x , y) is continuous at (x0, y0) if the
surface S represented by the graph of
z f (x, y)
is unbroken at the point corresponding to (x0, y0). This is because when
f(x , y ) is continuous at (x , y0)
lim f (x, y)L and f (x0 , y0 ) L:
(x, y)0(x0 , y0 )
Example 28.3
www.EngineeringEBooksPdf.com
LIMITS AND CONTINUITY OF FUNCTIONS 203
Solution
The denominator sinh x yz is non-vanishing provided xyz "/0, which occurs
when x /0, y/0 or z/0. Thus f (x, y, z) is uniquely defined for any point
(x, y, z ) away from the x -, y- and z -axes. Consequently the function f(x , y,
z ) is continuous at all points away from the x- , y- and z -axes. However, as
sinh xyz vanishes on each axis, the function is discontinuous at each point on
each of these axes. m
PROBLEMS 28
In the following problems determine where, if at all, the functions are dis-
continuous.
x2 y2 1
9. / f (x, y) :
x2 y2 1
10. / f (x, y)exp(2xy1):
8x2 y2 4
11. / f (x, y) :
x2 y
12. / f (x, y)ln[x sin(x2 y2 )]:
www.EngineeringEBooksPdf.com
29 Partial differentiation
provided the limit exists. As these two gradients are evaluated at (x0, y0), it
follows that they are numbers.
The geometrical meaning of these partial derivatives can be understood by
inspection of Fig. 82. It can be seen from this that the partial derivative
@f
@x (x0 , y0 )
www.EngineeringEBooksPdf.com
PARTIAL DIFFERENTIATION 205
Fig. 82
is the gradient of the tangent line l1, to
z f (x, y0 )
at x/x0, while the partial derivative
@f
@y (x0 , y0 )
and
@f f (x, y k) f (x, y)
lim :
@y k00 k
Thus, unlike a function of one variable, the function f(x , y) has two first
order partial derivatives; one is the partial derivative 1f/1x with respect to x ,
and the other is the partial derivative 1f /1y with respect to y.
On occasions, it will be convenient to use a more concise notation for these
partial derivatives which makes use of suffixes to denote partial differentia-
tion. Thus we will write fx in place of 1f/1x and fy in place of 1f/1y, so that
@f @f
fx and fy :
@x @y
www.EngineeringEBooksPdf.com
206 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 29.1
Solution
(i) To determine 1f/1x we differentiate f(x , y ) with respect to x regarding y
as a constant, and as a result obtain
@f @ @ @ @
[x3 ]y2 3 [x2 ]y [x] [5]:
@x @x @x @x @x
However, when partial differentiation with respect to x acts on a func-
tion of x it behaves like an ordinary derivative with respect to x so that
@f
3x2 y2 6xy1:
@x
To determine 1f/1y we differentiate f(x , y ) with respect to y, regarding x
as a constant, and as a result obtain
@f @ @ @ @
x3 [y2 ]3x2 [y] [x] [5]
@y @y @y @y @y
3 2
2x y3x :
This follows because x behaves as a constant when differentiated par-
tially with respect to y so 1[x ]/1y /0, and 5 is an absolute constant, so
1[5]/1y/0.
(ii) Here the independent variables are r and u , so partial differentiation
with respect to r means regarding u as a constant, while partial differ-
entiation with respect to u means regarding r as a constant. Thus
@f @
[r2 ](cos u2 sin u)
@r @r
2r(cos u2 sin u)
and
@f @
r2 [cos u2 sin u]
@u @u
r2 sin u2r2 cos u: m
www.EngineeringEBooksPdf.com
PARTIAL DIFFERENTIATION 207
Example 29.2
Solution
@f
To determine , we differentiate f(x , y ) with respect to x regarding y as a
@x
constant, and as a result obtain
@f @ @
[x2 ]cosh(2x3y)x2 [cosh(2x3y)]:
@x @x @x
x2 sinh u(3),
www.EngineeringEBooksPdf.com
208 ESSENTIALS OF ENGINEERING MATHEMATICS
@f
3x2 sinh(2x3y):
@y
Substituting x /2, y/ /1 then shows that
@f
12 sinh 1: m
@y (2, 1)
Example 29.3
Solution
@f 1 @ 1 @f 1
(i) / [x] , so ;
@x y @x y @x y
@f @f 1 x @f x
x , so :
@y @x y y 2 @y y2
2 2
(ii) Set u /x /y and use the chain rule to obtain
@f d @u @f
[eu ] eu (2x), so 2x exp(x2 y2 );
@x du @x @x
@f d @u @f
[eu ] eu (2y), so 2y exp(x2 y2 ):
@y du @y @y
(iii) Set u /1/(x/2y) and use the chain rule to obtain
@f d @u 1 1
[ln u] ,
@x du @x u (x 2y)2
so
@f 1
,
@x (x 2y)
while
@f d @u 1 2
[ln u] 2 ,
@y du @y u (x 2y)
so
@f 2
:
@y (x 2y)
www.EngineeringEBooksPdf.com
PARTIAL DIFFERENTIATION 209
These results could have been obtained more simply had we used the fact
that
1
f (x, y)ln ln 1ln(x2y)ln(x2y),
x 2y
for setting u /x/2y it follows that
@f d @u 1
[ln u] ,
@x du @x x 2y
while
@f d @u 2
[ln u] :
@x du @y x 2y
(iv) Set u /y /x and use the chain rule to obtain
@f d @u 1 y
[arctan u] :
@x du @x 1 u2 x2
Substituting for u then shows that
@f y
:
@x x2 y2
Similarly,
@f d @u 1 1
[arctan u] ,
@y du 2
@y 1 u x
so substituting for a we arrive at the result
@f x
: m
@y x y2
2
In general 1f /1x and 1f/1y are functions of x and y, so they also may be
differentiated partially with respect to x and y to arrive at second order partial
derivatives. Proceeding in this way we arrive at the four partial derivatives:
@ @f @ @f @ @f @ @f
, , and :
@x @x @x @y @y @x @y @y
There are two different notations for these four partial derivatives, the first
being
@2f @2f @2f @2f
, , and ,
@x2 @x @y @y @x @y2
respectively. Notice that in this notation the order in which differentiations
with respect to x and y are to be performed is to be read from right to left.
www.EngineeringEBooksPdf.com
210 ESSENTIALS OF ENGINEERING MATHEMATICS
The second, more concise, notation represents the same four partial deriva-
tives in the form
fxx , fxy , fyx and fyy ,
respectively.
The derivatives
@ @f @2f
fxy
@x @y @x @y
and
@ @f @2f
fyx
@y @x @y @x
The conditions for this to occur are set out in the following theorem which
will not be proved, but which follows almost directly from the definitions of
continuity and differentiability.
The function defined below is one with mixed derivatives that are unequal
at the origin, but are equal at all other points in the (x , y)-plane:
8 2 2
<xy(x y )
, (x, y)"(0, 0)
f (x, y) 2 2 :
: x y
0, (x, y)(0, 0)
To understand why this is, notice that away from the origin the second
partial derivatives are well defined and continuous, so by the theorem the
mixed derivatives are equal with
x6 9x4 y2 9x2 y4 y6
fxy (x, y)fyx (x, y) , (x, y)"(0,0):
(x2 y2 )3
www.EngineeringEBooksPdf.com
PARTIAL DIFFERENTIATION 211
In this last result set y /mx , denote the resulting expression on the right
by F (m ), and then let x 0/0. The result will be the value of this partial
derivative as y approaches zero along a straight line whose direction depends
on m . If a mixed partial derivative is defined uniquely at the origin, the result
must be independent of m , in which case F (m ) will be equal to some constant
k , implying that fxy (0, 0) /fyx (0, 0)/k . If, however, the expression F (m ) is a
non-constant function of m , the mixed partial derivative at the origin will
depend on the way y approaches zero. This will mean that the limiting
operations involved when finding fxy (0, 0) and fyx (0, 0) will not give the
same result, so then the mixed derivatives will not be equal.
The result of the substitution is
1 9m2 9m4 m6
F (m) ,
(1 m2 )3
Example 29.4
Solution
Setting u /x2/y and using the chain rule gives
@f d @u 2x
[ln u]
@x du @x x2 y
and
@f d @u 1
[ln u] :
@y du 2
@y x y
www.EngineeringEBooksPdf.com
212 ESSENTIALS OF ENGINEERING MATHEMATICS
2 2x
2x
x2 y (x2 y)2
2(y x2 )
:
(x2 y)2
Now, by definition:
@2f @ @f
@y @x @y @x
@ 2x
@y x2 y
@ 1
2x
@y x2 y
1
2x
(x2 y)2
2x
:
(x2 y)2
As 1f/1x , 1f/1y and 12f/1y 1x all exist and are continuous, it follows that
the theorem on mixed derivatives applies, so that 12f/1x 1y also exists and is
given by
@2f 2x
:
@x @y (x y)2
2
2x
:
(x2 y)2
Finally, by definition,
@2f @ @f @ 1
@y2 @y @y @y x2 y
1
: m
(x2 y)2
www.EngineeringEBooksPdf.com
PARTIAL DIFFERENTIATION 213
Example 29.5
Show that if
2y
w arctan ,
x
then
@2w @2w
4 0:
@x2 @y2
Solution
Proceeding in the same manner as in Example 29.3(iv), it is easily established
that
@w 2y @w 2x
and :
@x x2 4y2 @y x2 4y2
and thus
@2w @2w
4 0: m
@x2 @y2
These are evaluated by carrying out the differentiations indicated on the left.
www.EngineeringEBooksPdf.com
214 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 29.6
Solution
To find 1f /1x , we differentiate f(x , y, z ) with respect to x , regarding y and z
as constants, and as a result obtain
@f @ @ @ @
[x2 ]yz3 2 [x]y [yz2 ] [4]
@x @x @x @x @x
2xyz3 2y:
www.EngineeringEBooksPdf.com
PARTIAL DIFFERENTIATION 215
x2 z3 2xz2 :
and
@f @ @ @ @
x2 y [z3 ] [xy]y [z2 ] [4]
@z @x @z @z @z
Finally, by definition,
@2f @ @f
@z @x @z @x
@
[2xyz3 2y]
@z
@ 3 @
2xy [z ]2 [y]
@z @z
6xyz2 : m
PROBLEMS 29
www.EngineeringEBooksPdf.com
216 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
The total differential 30
The choice of the point (x0, y0) was arbitrary, so freeing the point (x0, y0)
we arrive at the general expression for the total differential:
@f @f
dz dx dy:
@x @y
www.EngineeringEBooksPdf.com
218 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 30.1
Solution
Partial differentiation shows that
@f
6x sin y2y sinh 2x
@x
and
@f
3x2 cos ycos yy sin ycosh 2x,
@y
and thus
dz(6x sin y2y sinh 2x)dx[(3x2 1)cos yy sin ycosh 2x]dy: m
The geometrical meaning of the total differential follows directly from the
cutting plane interpretation of the partial derivatives of f(x , y) at the point
(x0, y0). These show that the total differential change
@f @f
dz dx dy,
@x (x0 , y0 ) @y (x0 , y0 )
from the value z0 /f (x0, y0), is the change in z produced by using a tangent
plane approximation to the surface z/f(x , y ) at (x0, y0) and changing x0 to
x0/dx and y0 to y0/dy, and so moving to the point (x0/dx , y0/dy ) on the
plane. This interpretation is shown in Fig. 83, in which the tangent plane to
z /f(x0, y0) at (x0, y0) is shown in Fig. 83(a), and the way in which dx and dy
contribute to dz is shown in Fig. 83(b), in which PX , PY and PZ are parallel
to the x -, y - and z -axes, respectively.
Fig. 83
www.EngineeringEBooksPdf.com
THE TOTAL DIFFERENTIAL 219
It is seen from Fig. 83 that when dx and dy are finite, the total differential
dz is the approximate change in z when x and y are changed by the small
amounts dx and dy, respectively. This result extends in an obvious manner to
the case in which n independent variables x1, x2, . . . , xn are involved and
zf (x1 , x2 , . . . , xn ):
In this case, similar reasoning shows that the total differential
@f @f @f
dz dx1 dx2 . . . dxn :
@x1 @x2 @xn
The next example illustrates how the total differential may sometimes be
used to find the approximate percentage change in z when small changes are
made in dx1, dx2, . . . , dxn .
Example 30.2
Solution
The drag F depends on the three independent variables V, h and u , so it
follows that
@F @F @F
dF dV dh du:
@V @h @u
Now
@F1 @F @F
KV 2=3 hu, KV 1=3 u, KV 1=3 h,
@V 3 @h @u
so
1
dF KV 2=3 hu dV KV 1=3 u dhKV 1=3 h du:
3
Dividing this result by F gives the approximate fractional change in F due to
the changes dV, dh and du in V, h and u , respectively, so multiplying the
result by 100 gives the approximate percentage change in F. Thus
100 dF
approximate percentage change in F
F
and hence
1 1 1
approximate percentage change in F 100 dV dh du : m
3V h u
www.EngineeringEBooksPdf.com
220 ESSENTIALS OF ENGINEERING MATHEMATICS
If in the expression
zf (x, y)
z is kept constant while allowing x and y to vary (we say the constraint z/
constant is imposed) it follows that y is then a function of x . However, unless
the form of f(x, y ) is especially simple, y is usually defined implicitly in terms
of x.
Applying the total differential to
constant zf (x, y)
then gives
@f @f
0 dx dy,
@x @y
Example 30.3
Given that
x sin y2x2 ycosh y10,
find dy/dx .
Solution
To apply the approach described above, we first set
f (x, y)x sin y2x2 ycosh y1,
and then write
zf (x, y)
and constrain z to be constant at z /0.
Then it follows at once that the required derivative
dy @f @f
dx
@x =@y
,
www.EngineeringEBooksPdf.com
THE TOTAL DIFFERENTIAL 221
but
@f
sin y4xy
@x
and
@f
x cos y2x2 sinh y,
@y
so
dy sin y 4xy
:
dx x cos y 2x2 sinh y
www.EngineeringEBooksPdf.com
222 ESSENTIALS OF ENGINEERING MATHEMATICS
@h @h
dz dx dy:
@x @y
Substituting this expression for dz in the above result gives
@f @f @f @h @h
0 dx dy dx dy ,
@x @y @z @x @y
and so
@f @f @h @f @f @h
0 dx dy:
@x @z @x @y @z @y
However, since f(x , y, z) /0, we know the dependent variable z is a
function of the two independent variables x and y, so the differentials dx
and dy must be arbitrary. Hence it follows that for the above result to be true
we must have
@f @f @h @f @f @h
0 and 0:
@x @z @x @y @z @y
However, as z/h(x , y ) this result may be rewritten as
@f @f @z @f @f @z
0 and 0,
@x @z @x @y @z @y
and so the required partial derivatives are
@z @f @f
@x
@x @z =
and
@z @f @f
@y
@y @z
: =
Example 30.4
www.EngineeringEBooksPdf.com
THE TOTAL DIFFERENTIAL 223
@f
2xyz3 cosh(x2y3z):
@z
and
2
@z xz 2 cosh(x 2y 3z)
: m
@y 2xyz 3 cosh(x 2y 3z)
PROBLEMS 30
www.EngineeringEBooksPdf.com
31 The chain rule
www.EngineeringEBooksPdf.com
THE CHAIN RULE 225
This result is called the chain rule for the function w /f(x , y ), and it shows
that the function f (X (t), Y (t)) is a differentiable function with respect to t.
The chain rule also shows how the derivative dw /dt may be determined with-
out the need to differentiate w/f(X (t ), Y (t)) directly with respect to t . For
obvious reasons, the derivative dw /dt computed from w /f(X (t), Y (t )) when
both x and y are functions of t is called the total derivative.
This result extends to the case of a differentiable function
wf (x1 , x2 , . . . , xn )
of the n independent variables x1, x2, . . . , xn in an obvious manner. Suppose
x1, x2, . . . , xn are all differentiable functions of the single variable t with
x1 X1 (t), x2 X2 (t), . . . , xn Xn (t):
Then the chain rule for the function w /f (x1, x2, . . . , xn ) takes the form
dw @f dx1 @f dx2 @f dxn
. . . ,
dt @x1 dt @x2 dt @xn dt
and it shows how the derivative dw /dt may be determined without the need
to differentiate
w f (X1 (t), X2 (t), . . . , Xn (t))
directly with respect to t.
Example 31.1
Given that
w ln(x2 2y2 1),
where
x sin t and yet ,
find dw /dt and hence determine its value when t/0.
Solution
Setting w /f(x, y), with
f (x, y)ln(x2 2y2 1),
it follows that
@f 2x @f 4y
and :
@x x 2y2 1
2 @y x 2y2 1
2
www.EngineeringEBooksPdf.com
226 ESSENTIALS OF ENGINEERING MATHEMATICS
so applying the chain rule and substituting for x and y in terms of t we arrive
at the result
dw @f dx @f dy 2 sin t cos t 4e2t
2
2
:
dt @x dt @y dt sin t 2e2t 1 sin t 2e2t 1
After using the trigonometric identity sin 2t/2 sin t cos t this reduces to
dw sin 2t 4e2t
:
dt sin2 t 2e2t 1
Thus setting t/0 in this last result to determine dw /dt at t/0, that is at the
point (0, 1) in the (x, y)-plane, gives
dw 4
: m
dt (t0) 3
Example 31.2
Given that
wexp (x21 x1 x2 x2 x3 ),
with
1 2 1
x1 , x2 1 and x3 1 ,
t t t
find dw /dt.
Solution
Setting w /f(x1, x2, x3), with
f (x1 , x2 , x3 )exp(x21 x1 x2 x2 x3 ),
differentiation followed by substituting for x1, x2 and x3 in terms of t gives
@f 2 1
(2x1 x2 ) exp (x21 x1 x2 x2 x3 )exp 1 ,
@x1 t t2
@f 2 1
(x1 x3 ) exp (x21 x1 x2 x2 x3 )exp 1 ,
@x2 t t2
@f 2 2 1
x2 exp (x21 x1 x2 x2 x3 ) 1 exp 1 :
@x3 t t t2
www.EngineeringEBooksPdf.com
THE CHAIN RULE 227
so substituting these and the previous results into the chain rule gives
dw @f dx1 @f dx2 @f dx3 2 1 2 1
1 exp 1 : m
dt @x1 dt @x2 dt @x3 dt t2 t t t2
and thus
dw @f @f @g @g
dx @x @y @x = @y
:
Example 31.3
Given that
w x2 4xy1,
and
xsin (x3y)0,
find dw /dx .
www.EngineeringEBooksPdf.com
228 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
Setting w /f(x, y), with
f (x, y)x2 4xy1,
it follows that
@f @f
2x4y and 4x:
@x @y
Making the identification
g(x, y)xsin (x3y),
we have
@g @g
1cos (x3y) and 3cos (x3y):
@x @y
gives
dw 4x[1 cos (x 3y)]
2x4y :
dx 3 cos (x 3y)
Notice that the implicit relationship between x and y means that dw /dz is
also determined implicity. The values of x and y in the expression for dw /dz
are not independent, but must satisfy g(x , y )/0. m
PROBLEMS 31
www.EngineeringEBooksPdf.com
THE CHAIN RULE 229
and
cosh (xy)x3 0:
6. Find dw/dx given that
w ln (xy4),
and
xyln (x2 y)0:
www.EngineeringEBooksPdf.com
Change of variable in
32 partial differentiation
and
@F @f
dw du dv: (B)
@u @v
www.EngineeringEBooksPdf.com
CHANGE OF VARIABLE IN PARTIAL DIFFERENTIATION 231
and
@Y @Y
dy du dv
@u @v
and
@y @y
dy du dv:
@u @v
@F @f @x @f @y
:
@v @x @v @y @v
@F @x @f @y @f
:
@v @v @x @v @y
Omitting the functions F and f from these results converts them from rela-
tionships between derivatives to the following relationships between partial
differentiation operations:
@ @x @ @y @
@u @u @x @u @y
www.EngineeringEBooksPdf.com
232 ESSENTIALS OF ENGINEERING MATHEMATICS
@ @x @ @y @
:
@v @v @x @v @y
The rule for change of variables extends to functions of n independent
variables in an obvious manner. Let
w f (x1 , x2 , . . . , xn )
be a differentiable function of the n independent variables x1, x2, . . . , xn and
let u1, u2, . . . , un be n new independent variables such that
x1 X1 (u1 , u2 , . . . , un )
x2 X2 (u1 , u2 , . . . , un )
n
xn Xn (u1 , u2 , . . . , un ),
where X1, X2, . . . , Xn are differentiable functions of their arguments. Then if
w /f(x1, x2, . . . , Xn ) becomes the function w /F (u1, u2, . . . , un ) under this
change of variable, the rule for changing variables becomes
@F @f @x1 @f @x2 @f @xn
. . .
@u1 @x1 @u1 @x2 @u1 @xn @u1
@F @f @x1 @f @x2 @f @xn
. . .
@u2 @x1 @u2 @x2 @u2 @xn @u2
n
@F @f @x1 @f @x2 @f @xn
. . . :
@un @x1 @un @x2 @un @xn @un
The connection between partial differentiation operations for functions of
two independent variables may be extended in an obvious manner to give
@ @x1 @ @x2 @ @xn @
. . .
@u1 @u1 @x1 @u1 @x2 @u1 @xn
@ @x1 @ @x2 @ @xn @
. . .
@u2 @u2 @x1 @u2 @x2 @u2 @xn
n
@ @x1 @ @x2 @ @xn @
. . . :
@un @un @x1 @un @x2 @un @xn
An important and frequently used change of variable involves the trans-
formation from the Cartesian coordinates (x , y ) to the cylindrical polar
coordinates (r, u ), in which (see Section 4)
x r cos u and y r sin u:
The first example shows how partial derivatives with respect to r and u are
related to partial derivatives with respect to x and y.
www.EngineeringEBooksPdf.com
CHANGE OF VARIABLE IN PARTIAL DIFFERENTIATION 233
Example 32.1
The differentiable function f(x, y ) becomes the function F (r, u) under the
change of variable
x r cos u, yr sin u:
Find 1F /1r and 1F /1u in terms of partial derivatives of f with respect to x
and y.
Solution
Partial differentiation with respect to r means regarding u as a constant,
while partial differentiation with respect to u means regarding r as a con-
stant, so
@x @x
cos u, r sin u
@r @u
@y @y
sin u, r cos u:
@r @u
Thus the rule for change of variable becomes (here we have r, u in place of
u , v)
@F @f @x @f @y @f @f
cos u sin u
@r @x @r @y @r @x @y
and
@F @f @x @f @y @f @f
(r sin u) r cos u
@u @x @u @y @u @x @y
@f @f
r sin u r cos u :
@x @y
Example 32.2
The twice differentiable function f(x, y) becomes the function F (u, v ) under
the change of variable:
www.EngineeringEBooksPdf.com
234 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
Partial differentiation of x and y with respect to u and v shows that
@x @x
2u, 2v,
@u @v
@y @y
v, u,
@u @v
where we have used the fact that in partial differentiation with respect to u we
regard v as a constant, while in partial differentiation with respect to v we
regard u as a constant. Thus the rule for change of variable becomes
@F @f @f
2u v
@u @x @y
@F @f @f
2v u :
@v @x @y
These, then, are the required first order partial derivatives of F with respect to
u and v expressed in terms of partial derivatives of f with respect to x and y.
Now, by definition.
@2F @ @F @ @f @f
2u v :
@u2 @u @u @u @x @y
Thus performing the indicated differentiation, and recalling that partial dif-
ferentiation with respect to u regards v as a constant, we have
@2F @f @ @f @ @f
2 2u v :
@u2 @x @u @x @u @y
so
@2F @f @ @ @f @ @ @f
2 2u 2u v v 2u v
@u2 @x @x @y @x @x @y @y
www.EngineeringEBooksPdf.com
CHANGE OF VARIABLE IN PARTIAL DIFFERENTIATION 235
However,
@ @ @
2v u ,
@v @x @y
so
@2F @ @ @f @f @ @ @f
2u 2v u v 2v u
@v@u @x @y @x @y @x @y @y
PROBLEMS 32
www.EngineeringEBooksPdf.com
236 ESSENTIALS OF ENGINEERING MATHEMATICS
Show that
@2F @f @2f @2f @2f
2 4u2 8uv : 4v2
@u2 @x @x2 @xdy @y2
2. The function f(x , y ) becomes the function F (s, t) under the change of
variable
x s3 2s and y st:
Find 1F /1s and 1F /1t in terms of 1f/1x and 1f /1y and show that
@2F @f @2f @2f
(3s3 2s) : st
@t@s @y @x@y @y2
3. The function f(x , y) becomes the function F (u , v ) under the change of
variable
x u2 v2 and y st:
Find 1F /1u and 1F /1v, and show that
@2F @f @2f @2f @2f
2 4u2 4uv v2 :
@u2 @x @x2 @x@y @y2
4. The function f(x, y) becomes the function F (r, u ) under the change of
variable
x r cos u and yr sin u:
Use the results of Example 32.1 to show that
@2F @2f @2f @2f
cos2 u 2 sin u cos u sin2 u
@r2 @x2 @x@y @y2
and
@2F @F 2
2
2 @ f 2 @2f 2
2
2 @ f
r r sin u 2r sin u cos u r cos u ,
@u2 @r @x2 @x@y @y2
and hence that
@ 2 F 1 @F 1 @ 2 F @ 2 f @ 2 f
:
@r2 r @r r2 @u2 @x2 @y2
5. The function f(x , y) becomes the function F (u , v ) under the change of
variable
x u2 v2 and y2uv:
Show that
2 2 2 2
@F @F 2 2 @f @f
4(u v ) :
@u @v @x @y
www.EngineeringEBooksPdf.com
CHANGE OF VARIABLE IN PARTIAL DIFFERENTIATION 237
and
1 @v @V @V
es t :
2y @y @s @t
Show that
@F @f @f
(v2 u2 ) 2uv
@x @u @v
and
@F @f @f
2uv (v2 u2 ) :
@y @u @v
www.EngineeringEBooksPdf.com
Antidifferentiation
33 (integration)
or, equivalently,
dF
f (x):
dx
This suggests that antiderivatives are not unique, but that any two antider-
ivatives of f(x ) can only differ by an arbitrary constant. This conclusion is,
indeed, true and it is contained in the following important result which we
shall prove.
www.EngineeringEBooksPdf.com
ANTIDIFFERENTIATION (INTEGRATION) 239
The proof of this result involves two steps. In the first step we show that
G ?(x ) /F ?(x )/f(x ). This follows because for a 0/x 0/b :
d d
G?(x) [F (x)C]F ?(x) [C]F ?(x)0 f (x):
dx dx
The second step involves showing that if F (x ) and G (x ) are any two anti-
derivatives of f (x ), then they can only differ by a constant. Set K (x )/
G (x )/F (x ) and suppose, if possible, that K (x ) is non-constant for
a 0/x 0/b.
Then we can find an interval a 0/x 0/b inside a 0/x 0/b in which K (a )"/
K (b). Now F (x ) and G (x ) are differentiable, so K (x) is also differentiable,
thus by the mean value theorem we can find some d between a and b such
that
K(b) K(a)
K?(d) :
ba
dy
f (x),
dx
dyf (x)dx:
g
y f (x) dxF (x)C:
www.EngineeringEBooksPdf.com
240 ESSENTIALS OF ENGINEERING MATHEMATICS
while
d
dx g f (x) dx f (x):
The first result asserts that the operation of integration is the inverse of
differentiation, while the second asserts that the operation of differentiation
is the inverse of integration.
An illustration of the first of these two general results is provided by the
fact that x4/C is an antiderivative of 4x3. The second result is illustrated by
setting f(x )/sin x , for it then becomes
d
dx g
sin x dx sin x:
The practical significance of these results lies in the fact that they allow us
to find antiderivatives (indefinite integrals) by using tables of derivatives in
reverse. The following list of integrals has been compiled by using in reverse
the derivatives of functions established in previous sections.
1
g k f (x) dxkg f (x) dx (k const:):
2
g [ f (x)9g(x)] dx g f (x) dx9g g(x) dx:
x n1
3
g xn dx
n1
C (n"1):
dx
4
g x ln j x j C:
ax
5
g a x dx
ln a
C (a"1, a0):
1
6
ge ax
dx e ax C
a
(a" 0):
www.EngineeringEBooksPdf.com
ANTIDIFFERENTIATION (INTEGRATION) 241
1
7
g sin ax dx a cos axC (a" 0):
1
8
g cos ax dx a sin axC (a "0):
1
9
g sec ax dx a tan axC
2
(a "0):
1
10
g sec ax tan ax dx a sec axC (a" 0):
1
11
g cosec ax dx a cos axC
2
(a"0):
1
12
g cosec ax cot ax dx
a
cosec axC (a "0):
1
13
g sinh ax dx cosh axC
a
(a"0):
1
14
g cosh ax dx a sinh axC (a"0):
1
15
g sech ax dx a tanh axC
2
(a" 0):
1
16
g sech ax tanh ax dx a sech axC (a "0):
1
17
g cosec ax coth ax dx a cosech axC (a"0):
dx x
18
g (a x ) arcsin a C
2 2
(a0):
dx 1 x
19
g (a x ) a arctan a C
2 2
(a" 0):
8
x <
dx arcsinh C
20
g
(a2 x2 ) :
a
ln [x(a2 x2 )]C (a "0):
8
< x
dx arcosh C if x a0
21
g 2 2
(x a )
: a
ln [x(x2 a2 )]C if ½x½ a0:
www.EngineeringEBooksPdf.com
242 ESSENTIALS OF ENGINEERING MATHEMATICS
8
>
> 1 x
>
< arctanh C if ½x½ B½a½
dx a a
22
g
a2 x2 > 1
> ln
>
:
2a j a
ax
x
C j if ½x½ B½a½ (a0):
Example 33.1
Find
1
F (x)
g 2x2 sin 3x dx:
4
Solution
From entry 2 in the list we have
1
g
F (x) 2x2 dx
g 4 sin 3x dx,
and after using entry 1 this simplifies to
1
g
F (x)2 x2 dx
4 g sin 3x dx:
Setting n /2 in entry 3 gives
x3
g x2 dx
3
C1 ,
www.EngineeringEBooksPdf.com
ANTIDIFFERENTIATION (INTEGRATION) 243
Example 33.2
Find
dx
F (x)
g x 4
2
Solution
As it stands, this antiderivative does not appear in the above list. Entry 22,
which is the closest in form, has the integrand 1/(a2 /x2) with jx jB/ja j,
whereas in this case the integrand is 1/(x2 /4) subject to the condition that
jxj B/2.
The difficulty is easily resolved because 1/(x2 /4) / /l/(4 /x2), so
dx dx 1 2x
F (x)
g
x2 4
g 4 x2
ln
4 2x
C,
Example 33.3
Find
g
F (x) cosh2 2x dx:
Solution
The integrand cosh2 2x is not contained in the list, but it can be transformed
into expressions which are. Using the identity
cosh (AB)cosh A cosh Bsinh A sinh B,
and setting A /B /2x , shows that
cosh 4xcosh2 2xsinh2 2x:
www.EngineeringEBooksPdf.com
244 ESSENTIALS OF ENGINEERING MATHEMATICS
However,
cosh2 2xsinh2 2x1,
so
cosh 4x 2 cosh2 2x1,
and thus
1
cosh2 2x (1cosh 4x):
2
Thus
1
g 2 (1cosh 4x) dx
F (x)
1 1
2g 2g
1×dx cosh 4x dx
x 1
sinh 4xC:
2 8
Example 33.4
Find
g
F (x) [(x1)1][(x1)1] dx:
Solution
Multiplying the factors in the integrand gives
[(x1)1][(x1)1]x2,
so
g
F (x) [(x1)1][(x1)1] dx
g g
x dx2 1×dx
x2
2xC:
2
Notice that this result is only true for x E/1 because only if x E/1 are the
terms (x /1) in the integrand real. m
www.EngineeringEBooksPdf.com
ANTIDIFFERENTIATION (INTEGRATION) 245
Example 33.5
Find
2x
e 1
F (x)
g e2x 1
cosh x dx:
Solution
Multiplying the numerator and denominator of the integrand by ex gives
2x x
e 1 e ex
cosh x cosh x:
e2x 1 ex ex
However,
ex ex
cosh x ,
2
so
2x
e 1 ex ex ex ex
cosh x
e2x 1 ex ex 2
ex ex
sinh x:
2
Thus
2x
e 1
F (x)
g e2x 1
cosh x dx
g
sinh x dx
cosh xC: m
The last two examples illustrate the need for better methods for finding
antiderivatives than by appealing directly to entries in the list on pages
240 /242.
Example 33.6
g
Find F (x) sinh (3x5) dx:
Solution
This integral does not appear as an entry in the list, but Rsinh ax dx and
Rcosh ax dx are listed. To use these entries, we make use of the hyperbolic
www.EngineeringEBooksPdf.com
246 ESSENTIALS OF ENGINEERING MATHEMATICS
identity
sinh (AB)sinh A cosh Bcosh A sinh B
g
F (x) sinh (3x5) dx
g
(sinh 3x cosh 5cosh 3x sinh 5) dx
g g
cosh 5 sinh 3x dxsinh 5 cosh 3x dx
1 1
cosh 5 cosh 3x sinh 5 sinh 3xC
3 3
1
cosh (3x5)C
3
The simple form of the solution coupled with the close relationship it bears
to the integrand (apart from the factor 1/3, the solution is the derivative of
the integrand) suggests there should be a simpler way by which to obtain this
result. This is, indeed, the case and the appropriate method, called integra-
tion by substitution, will be discussed in the next section. m
Example 33.7
Find
g
F (x) x (1x2 )5 dx:
www.EngineeringEBooksPdf.com
ANTIDIFFERENTIATION (INTEGRATION) 247
Solution
The integrand x (1/x2)5 is not contained in the list, but expanding (1/x2)5
gives
(1x2 )5 15x2 10x4 10x6 5x8 x10 ,
so
x (1x2 )5 x5x3 10x5 10x7 5x9 x11 :
or
1 5 5 5 1 1
g
F (x) x (1x2 )5 dx x2 x4 x6 x8 x10 x12 C:
2 4 3 4 2 12
1
If we now set C C?, where C ? is another arbitrary constant, this
12
result can be written
1
g x (1x ) dx 12 (16x 15x 20x 15x 6x
2 5 2 4 6 8 10
x12 )C?:
1:
g (x 3x1)
2
dx:
x3
2:
g x dx: 3
3:
g (x 3x ) dx:
1=2 1=4
4:
g (e 1) dx:
7x
5:
g (cos 4x2x) dx:
www.EngineeringEBooksPdf.com
248 ESSENTIALS OF ENGINEERING MATHEMATICS
x3 5x 3
6:
g x 2
dx:
4
7:
g x 9 dx:
2
8:
g sin x cos x dx: (Hint: use sin 2x2 sin x cos x:)
9:
g x(1x ) dx: 2 3
5
10:
g (4 x ) dx: 2
3
11:
g (9 4x ) dx: 2
dx
12:
g x 10 :
2
2=3
x x
13:
g x 1=3
dx:
14:
g (x1)(xx1) dx:
15. Use the approach of Example 33.3 to find
g sinh x dx:2
g cos 2x dx:
2
g sin 2x dx:
2
g e sinh x dx:
x
www.EngineeringEBooksPdf.com
Integration by substitution 34
Example 34.1
Find
www.EngineeringEBooksPdf.com
250 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
Step 1
An obvious choice of substitution is u /4x /9.
Step 2
In terms of u /4x /9, the integrand cosh (4x /9) becomes cosh u .
Step 3
Differentiating u/4x /9 and writing the result in differential form gives
du 4 dx
and so
1
dx du:
4
Step 4
Substituting into the original integral shows that
cosh u 1
g cosh (4x9) dx g 4
du
4 g cosh u du
1
sinh uC:
4
Step 5
To arrive at the required result in terms of the original variable x , we now
substitute u/4x /9 into the solution found in step 4 to obtain
1
g cosh (4x9) dx 4 sinh (4x9)C: m
Example 34.2
Find
g x(1x ) dx:
2 5
Solution
Step 1
As the integrand involves a power of 1/x2, let us attempt to simplify it by
making the substitution
u1x2 :
www.EngineeringEBooksPdf.com
INTEGRATION BY SUBSTITUTION 251
Step 2
Using the substitution u /1/x2 in the integrand x (1/x2)5 gives x u5. For
the time being we do not try to express x in terms of u , in the hope that this
will be unnecessary after the incorporation of dx into the result.
Step 3
Differentiating u /1/x2 with respect to x and writing the result in differ-
ential form gives
du
2x,
dx
and so
du2x dx,
or
1
dx du:
2x
Step 4
Combining steps 2 and 3 shows that
du 1
g x (1x ) dx g xu
2 5 5
2x
2 g u du
5
1 6
u C:
12
This shows that we were fully justified in not trying to eliminate x from the
result xu5 because it cancelled when dx was expressed in terms of du .
Step 5
To arrive at the solution in terms of the original variable x, we substitute
u /1/x2 into the solution found in step 4 to obtain.
1
g x (1x ) dx 12 (1x ) C:
2 5 2 6
m
For the sake of conciseness, in the remaining examples we will omit the
reference to steps 1 /5.
Example 34.3
Find
sin âx
g âx
dx:
www.EngineeringEBooksPdf.com
252 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
The best choice of substitution is not immediately apparent. However, as
sin âx is complicated, let us attempt to simplify the integral by using the
substitution âx/X , or x /X2, when
sin âx sin X
:
âx X
g
2 sin X dX
Example 34.4
Find
x (x2 2)
g â(5 x2 )
dx:
Solution
Here also the choice of substitution is not at once apparent. So recognizing
that the term â(5/x2) is the most complicated one in the integrand, let us
attempt to simplify the result by writing u2 /5/x2.
It then follows that in terms of u, the factor (x2/2) in the numerator
becomes (u2 /3), and for the time being we leave the factor x in the
numerator unchanged. Thus we see that
www.EngineeringEBooksPdf.com
INTEGRATION BY SUBSTITUTION 253
x (x2 2) x (u2 3)
:
â(5 x2 ) u
1
u3 3uC:
3
(5 x2 )1=2 (x2 4)
C: m
3
www.EngineeringEBooksPdf.com
254 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 34.5
Reexpress
32xx2
by completing the square.
Solution
Identifying coefficients shows that
a1, b 2 and c3:
Thus
b c b2
a 1 and k 4,
2a a 4a2
so
www.EngineeringEBooksPdf.com
INTEGRATION BY SUBSTITUTION 255
4(x1)2 : m
Example 34.6
Find
dx
g (3 2x x ) 2 1=2
:
Solution
Using the result of Example 34.5 shows that
dx dx
g (3 2x x ) 2 1=2
g â(4 (x 1) ) : 2
dx dX
g (3 2x x ) 2 1=2
g â(4 X ) : 2
dx X
g (3 2x x2 )1=2
arcsin
2
C,
but X /x/1, so
dx x1
g (3 2x x2 )1=2
arcsin
2
C: m
www.EngineeringEBooksPdf.com
256 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 34.7
Find
x1
g â(a x ) dx:
2 2
Solution
We first rewrite the integral in the form
x1 x dx
g â(a x ) dx g â(a x ) dx g â(a x ) :
2 2 2 2 2 2
Let us now evaluate the first integral by using the substitution x /a sin u ,
from which it follows that
dxa cos u du:
Thus
x a sin u
g â(a x ) dx g a â(1 sin u) a cos u du
2 2 2
sin u cos u
a
g cos u
du
g
a sin u dua cos uD,
Finally, incorporating result (B) into (A) and combining the two arbitrary
constants to form another arbitrary constant K brings us to the result
x1 x
g â(a2 x2 )
2 2 1=2
dx (a x ) arcsin
a
K: m
www.EngineeringEBooksPdf.com
INTEGRATION BY SUBSTITUTION 257
Find
dx
g 5 4 cos x :
Solution
Making the substitutions
x 1 t2 2 dt
ttan , cos x and dx
2 1 t2 1 t2
www.EngineeringEBooksPdf.com
258 ESSENTIALS OF ENGINEERING MATHEMATICS
2 t
arctan C:
3 3
Thus writing /ttan x=2, we arrive at the solution
dx 2 1 x
g arctan
5 4 cos x 3 3
tan
2
C: m
When in the integral /f f (x) dx, the integrand f(x ) is of the form
N(x)
f (x) ,
D(x)
with N (x) and D (x ) sums of even powers of sin x and cos x, make the
substitutions
T2 1 dT
T tan x, sin2 x , cos2 x and dx :
1 T2 1 T2 1 T2
The compatibility of these substitutions is easily verified by arguments simi-
lar to those used to check the substitutions involving /ttan x=2.
Example 34.9
Find
dx
g 4 cos x sin x :
2 2
Solution
Making the substitutions
T2 1 dT
T tan x, sin2 x , cos2 x and dx
1 T2 1 T2 1 T2
reduces the integral to
dx dT
g 4 cos x sin x g 4 T
2 2 2
www.EngineeringEBooksPdf.com
INTEGRATION BY SUBSTITUTION 259
1 T
arctan C
2 2
1 1
arctan tan x C: m
2 2
PROBLEMS 34
5:
g sin (32x) dx:
6:
g sinh (14x) dx:
g (5x4) dx:
5
7:
8:
g x (1x ) dx:
2 3 7
9:
g x (12x ) dx:
2
2 5
x
10:
g â(2x 5) dx:
3
cos x
11:
g 3 sin x 5 dx:
4 sin x
12:
g 2 cos x 7 dx:
13:
g x exp (4x ) dx: 2
5x
14:
g 2x 3 dx:
2
dx
15:
g â(5x 3) :
x
16:
g â(1 x ) dx: 4
2
x
17:
g â(x 1) dx:
6
www.EngineeringEBooksPdf.com
260 ESSENTIALS OF ENGINEERING MATHEMATICS
ln x
18:
g x dx:
ln 3x
19:
g 2x dx:
sin (ln x)
20:
g x dx:
x1
21:
g â(x 1) dx:
2
x1
22:
g â(1 x ) dx: 2
dx
23:
g x (ln x) : 2
dx
24:
g âe : x
dx
25:
g âe : 3x
1
26:
g [exp (2x 1)] dx: 1=2
1
27:
g 2x x 1 dx:
2
1
28:
g x 4x 1 dx:
2
1
29:
g (x x 1) dx:
2 1=2
1
30:
g (x 2x 4) dx
2 1=2
1
31:
g (4 2x x ) dx: 2 1=2
1
32:
g (4 2x x ) dx: 2 1=2
1
33:
g (x 2x ) 2 1=2
dx:
1
34:
g (4x x) 2 1=2 dx:
2x
35:
g (1 4x x ) 2 1=2
dx:
dx
36:
g xâ(x 1) : 2
www.EngineeringEBooksPdf.com
INTEGRATION BY SUBSTITUTION 261
dx
37:
g xâ(x 1) :
2
2
x
38:
g â(1 x ) dx: 2
4
sinh âx sech âx
39:
g âx
dx: (Hint: set u cosh âx:)
40:
g â[(x1)(2x)] dx: (Hint: set x 1sin u:)
2
2
sec x
41:
g 1 3 tan x dx: 2
1
42:
g (1 cos x) dx: 2
sinx
43:
g sin x cos x dx:
dx
44:
g cos x 9 sin x :
2 2
dx
45:
g 4 cos x sin x :
2 2
2
sin x
46:
g cos x 9 sin x dx:
2 2
dx
47:
g 4 cos x : 2
tan x
48:
g tan x 1 dx:
www.EngineeringEBooksPdf.com
Some useful standard
35 forms
Three special cases, or standard forms as they are often called, are discussed
in this section. Each result follows by first differentiating a commonly
occurring functional form, and then using the result in reverse to determine
an antiderivative.
The three basic results from which we start are:
d n
[f f (x)g ]nf ?(x)[ f (x)]n1 ;
dx
d f ?(x)
[ln ½ f (x) ½ ] ;
dx f (x)
d
[e f (x) ] f ?(x)e f (x) :
dx
Reading each of these results in reverse gives the three useful standard forms
of an antiderivative;
1
1
g f ?(x)[ f (x)] n1
dx [ f (x)]n C;
n
f ?(x)
2
g f (x) dxln ½ f (x) ½C;
3
g f ?(x) e dxe C:
f (x) f (x)
Example 35.1
Find
Solution
Apart from a numerical factor, this integral is of the form shown in (1), with
f(x )/cos 3x and n /1 /5, so n /6. Now as
www.EngineeringEBooksPdf.com
SOME USEFUL STANDARD FORMS 263
d
[cos 3x]3 sin 3x,
dx
and the multiplier of cos5 3x in the integrand is only sin 3x, it follows that if
we set n/6 and f(x )/cos 3x in antiderivative 1, we must divide the result
by /3 to arrive at the required result. Thus we have
1
g sin 3x cos 3x dx18 cos 3xC:
5 6
m
Example 35.2
Find
g tan x dx:
Solution
Writing
sin x
g tan x dx g cos x dx,
and comparing the result with antiderivative 2, shows it to be of the form
f ?(x)
g f (x) dx
with f(x) /cos x .
Thus it follows at once that
Example 35.3
Find
Solution
Apart from a numerical factor, this integral is of the form shown in 3 with
f(x )/sin2 x . However,
d
[sin2 x] 2 sin x cos x,
dx
so when setting f(x )/sin2 x in antiderivative 3, it will be necessary to divide
the result by 2 in order to arrive at the required result. Thus we find that
www.EngineeringEBooksPdf.com
264 ESSENTIALS OF ENGINEERING MATHEMATICS
1
g sin x cos x e sin2 x 2
dx e sin x C:
2
PROBLEMS 35
1:
g cos 4x sin 4x dx:
6
2:
g sin 2x cos 2x dx:
3
3:
g sinh 3x cosh 3x dx:
7
4:
g cosh 5x sinh 5x dx:
4
5:
g sech x tanh x dx:
2 3
x2
8:
g x 4x 1 dx:
2
4x 1
9:
g 2x2 x1
dx:
10:
g cot 4x dx:
www.EngineeringEBooksPdf.com
SOME USEFUL STANDARD FORMS 265
11:
g tanh 3x dx:
12:
g coth 6x dx:
13:
g x e dx:
3 x4
14:
g cos 2x e dx:sin 2x
15:
g (x1) exp (x 2x3) dx:
2
16:
g sec 2x e dx:
2 tan 2x
1
17:
g sin x cos x exp
2
(1cos 2x) dx:
1 tan2 x
18:
g tan x
dx:
www.EngineeringEBooksPdf.com
36 Integration by parts
No general method exists for the integration of the product of two functions.
However, the method of integration by parts which we now derive is the one
which comes the closest to meeting this requirement, and it provides a power-
ful and extremely useful integration technique.
To derive the method, we start from the derivative of the product of two
differentiable functions u (x ) and v (x),
d d d
[ u (x) v (x)]u (x) [ v (x)]v (x) [ u (x)]:
dx dx dx
Integrating this result and rearranging terms then gives the following for-
mula for integration by parts of an indefinite integral:
d d
g u (x) dx [ v (x)] dxu (x) v (x) g v (x) dx [ u (x)] dx:
Since, in differential form,
d d
du [ u (x)] dx and dv [ v (x)] dx,
dx dx
the formula for integration by parts is often written in the simplified form
g u dvuv g v du,
and it is in this easily remembered but less precise form that it is most
frequently found in textbooks.
The idea underlying this method is that the integral
d
g v (x) dx [ u (x)] dx
appearing on the right-hand side of the formula is often simpler than the
original integral
d
g u (x) dx [ v (x)] dx:
The method of integration by parts is not always applicable, and when it is,
it may be necessary to apply it more than once in order to arrive at the
www.EngineeringEBooksPdf.com
INTEGRATION BY PARTS 267
required result. This happens, for example, when applying it to certain types
of integrals with integrands depending on trigonometric or hyperbolic func-
tions, and elsewhere.
When applying the method to the integral f f (x) dx, the problem is to
choose a suitable pair of functions u (x ) and v(x ) such that
d
f (x)u (x) [ v (x)]:
dx
Example 36.1
Find
g x sin x dx:
Solution
We wish to write the integrand in the form
d
x sin x u (x) [ v (x)]:
dx
Thus if we choose to set u (x ) /x , it follows that v(x ) must be such that
dv
sin x,
dx
so
g
v (x) sin x dxcos x:
www.EngineeringEBooksPdf.com
268 ESSENTIALS OF ENGINEERING MATHEMATICS
gives
d
g x sin x dxx cos x g (cos x) dx [x] dx
g
x cos x cos x dx
1
Substituting u (x )/sin x , v (x) x2 into the general formula for integration
2
by parts gives
x2 1
g x sin x
2
sin x
2 g x cos x dx:
2
This result is correct, but the integral on the right-hand side is harder than
the original integral. This tells us that we have made the wrong choice for
u (x ). m
Example 36.2
Find
Solution
As
d 1
[ ln x] ,
dx x
www.EngineeringEBooksPdf.com
INTEGRATION BY PARTS 269
2 1 2 2 1
x3 x2 4x ln x
3 2 3
x x4 dx
2 g
2 1 2 1
x3 x2 4x ln x x3 x2 4xC: m
3 2 9 4
Example 36.3
Find
g ln ½ x ½ dx:
Solution
At first, examination of the integral suggests no obvious way in which to
choose u (x ) and v (x) because the integrand is simply ln jx j. However, if we
write it as
( ln ½ x ½)×1,
then this can be rewritten as
d
ln ½ x ½ [x]:
dx
Thus
d[x]
g ln ½ x ½ dx g ln ½ x ½ dx
dx,
x ln ½ x ½xC: m
www.EngineeringEBooksPdf.com
270 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 36.4
Find
g x sinh x dx:
2
Solution
To simplify the integration when using integration by parts, it is necessary to
choose u (x ) so that the integral
d
g v (x) dx [ u (x)] dx
is simpler than the original expression. This suggests setting u (x) /x2, so
that v(x ) must satisfy
dv
sinh x,
dx
so
g
v (x) sinh x dx cosh x:
Substituting u(x )/x2, v (x )/cosh x into the general formula for integra-
tion by parts gives
We now use integration by parts again on the integral on the right-hand side
with u(x )/x, so that v(x ) must satisfy
dv
cosh x,
dx
corresponding to
g
v (x) cosh x dxsinh x:
Thus substituting into the general formula for integration by parts gives
g 2 2
g
x sinh x dx x cosh x2 x sinh x sinh x dx
www.EngineeringEBooksPdf.com
INTEGRATION BY PARTS 271
Example 36.5
Find
ge 2x
sin 3x dx:
Solution
Let us set u (x )/e2x so that
dv
sin 3x,
dx
corresponding to
1
v (x) cos 3x:
3
Then substituting into the general formula for integration by parts gives
1 2
ge 2x
sin 3x dx
3
e2x cos 3x
3 ge 2x
cos 3x dx: (A)
To proceed further we now use integration by parts again, but this time on
the integral on the right-hand side of (A) with u (x )/e2x , so that v(x ) must
satisfy
dv
cos 3x:
dx
Thus integration shows that
1
g
v (x) cos 3x dx sin 3x:
3
When integration by parts is applied to the last term in (A), the resulting
form for (A) becomes
1 2x 2 1 2x 2 2x
g 2x
e sin 3x dx e cos 3x
3 3 3
e sin 3x
3
e sin 3x dx C:
g
At first sight it would appear that integration by parts has been unsuccess-
ful because two applications of the method have returned us to the original
form of integral. However, on closer inspection, we see that the multiplier of
the integral is different on each side of the equation, so combining terms and
simplifying the result give
www.EngineeringEBooksPdf.com
272 ESSENTIALS OF ENGINEERING MATHEMATICS
1
ge 2x
sin 3x dx
13
e2x (2 sin 3x3 cos 3x)C: m
Example 36.6
Given that
g
In ( ln ½ x ½)n dx for n E0,
1
g
n n1
x ( ln ½ x ½) x n ( ln ½ x ½) × dx
x
g
n n1
x ( ln ½ x ½) n ( ln ½ x ½) dx:
g
In1 ( ln ½ x ½)n1 dx,
so it follows that
www.EngineeringEBooksPdf.com
INTEGRATION BY PARTS 273
In x ( ln ½ x ½)n n In1 :
Notice that after each application of this reduction formula the parameter n
steps down by 1.
Starting from, say, n /N, N successive applications of this reduction for-
mula will reduce the evaluation of IN to the determination of
g
I0 1× dx x:
Example 36.7
Given that
g
In (1x3 )n dx for nE0,
g
In x (1x3 )n x n (1x3 )n1 (3x2 ) dx
g
x (1x ) 3n x3 (1x3 )n1 dx:
3 n
www.EngineeringEBooksPdf.com
274 ESSENTIALS OF ENGINEERING MATHEMATICS
g
In x (1x3 )n 3n [(x3 1)1](1x3 )n1 dx
3 n
g g
x (1x ) 3n (1x ) dx3n (1x )3 n 3 n1
dx:
Now,
g
In (1x3 )n dx and
g
In1 (1x3 )n1 dx,
so
In x (1x3 )n 3 n In 3 n In1 ,
and thus
(13 n) In x(1x3 )n 3 n In1 :
Notice that each application of this reduction formula will reduce the value
of the parameter n by 1. m
The last example shows how the use of trigonometric identities is some-
times necessary when deriving a reduction formula.
Example 36.8
Given that
g
In sinn x dx for nE0,
Solution
Write In as
g
In sinn1 x sin x dx,
g
In cos x sinn1 x (cos x) (n1) (sinn2 x) (cos x) dx
www.EngineeringEBooksPdf.com
INTEGRATION BY PARTS 275
or
g
In cos x sinn1 x(n1) cos2 x sinn2 x dx:
g
In cos x sinn1 x(n1) (1 sin2 x) sinn2 x dx
cos x sinn1
g
x(n1) sin n2
g
x dx(n1) sinn x dx
n1
cos x sin x(n1) In2 (n1) In :
Notice that when this reduction formula is applied, the parameter n steps
down by 2. This is typical of reduction formulas involving trigonometric
functions. m
PROBLEMS 36
3. /
g x e dx:
x
4. /
g e sin x dx:
x
5. /
g e cos x dx:
2x
6. /
g x ln ½ x ½ dx:
ln ½ x ½
7. /
g x dx: 2
8. /
g x sin x dx: 2
9. /
g x arctan x dx:
10. /
g x e dx:
2 x
11. /
g ln (x 1) dx: 2
www.EngineeringEBooksPdf.com
276 ESSENTIALS OF ENGINEERING MATHEMATICS
12.
g cos ( ln ½ x ½) dx:
/
13.
g x arcsin x dx:
/
14.
g x sin 3x dx:
/
2
15.
g sin ( ln ½ x ½) dx:
/
x
16.
g 2 dx:
/
x
g
In cos x (1sin2 x)n dx for nE 0,
g
In secn x dx for nE 0,
g
In x cosn x dx for nE0,
www.EngineeringEBooksPdf.com
Partial fractions and
integration of rational
functions 37
So far, we have seen how to evaluate integrals in which the integrand is of the
form 1/(ax/b) or 1/(ax2/bx/c). These are special cases of an integrand of
the form
N(x)
,
D(x)
in which N (x ) and D (x ) are both arbitrary polynomials. Such expressions
are called rational functions of x. To evaluate the integral of a general rational
function
N(x)
g D(x) dx,
it is necessary to decompose N (x )/D (x ) into a sum of simple rational functions
to which, if the degree of N (x ) equals or exceeds the degree of D (x ), there must
be added a polynomial. Each term resulting from such a decomposition can
then be integrated by one of the techniques discussed so far. This process of
decomposition is called expressing N (x )/D (x ) in terms of partial fractions.
Step 1
Factorize D (x ) into a product of real linear and quadratic factors and write it
in the form
D (x)(a1 xb1 )r1 . . . (aM xbM )rM (A1 x2 B1 xC1 )S1 . . . (AN x2 BN xCN )SN :
www.EngineeringEBooksPdf.com
278 ESSENTIALS OF ENGINEERING MATHEMATICS
Step 2
To each linear factor (ax/b)r, include in the decomposition the terms
P1 P2 Pr
. . . ,
ax b (ax b)2 (ax b)r
with the Pi undetermined coefficients (constants).
Step 3
To each quadratic factor (Ax2/Bx/C )s , include in the decomposition the
terms
Q1 x R1 Q2 x R2 Qs x Rs
2 . . . ,
2 2
(Ax Bx C) (Ax Bx C) (Ax Bx C)s
2
Example 37.1
Find
x4
g 2x 9x 10 dx:
2
Solution
Step 1
2x2 9x10(x2) (2x5),
so the denominator comprises two linear factors, each with multiplicity 1.
www.EngineeringEBooksPdf.com
PARTIAL FRACTIONS AND INTEGRATION 279
Step 2
Include in the partial fraction decomposition the terms
/ A B
:
x 2 2x 5
Steps 3 and 4
These steps contribute no terms to the partial fraction decomposition.
Step 5
Set
/ x4 A B
:
(x 2) (2x 5) x 2 2x 5
Step 6
Multiplication of the result of step 5 by (x/2) (2x/5) gives
x4 A (2x5)B (x2): (A)
Equating the coefficients of x on each side of (A) gives
1 2AB:
Equating the constant terms (the coefficients of x0) on each side of (A) gives
4 5A2B:
Solving these two simultaneous equations for A and B, we find
A 2 and B 3,
so
x4 2 3
:
2x2 9x 10 x 2 2x 5
Integrating the partial fraction decomposition gives
x4 2 3
g 2x 9x 10 dx g x 2 dx g 2x 5 dx
2
3
2 ln ½ x2 ½ ln ½ 2x5 ½C:
2
www.EngineeringEBooksPdf.com
280 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 37.2
Find
3x 1
g x 4x 4 dx:
/
Solution
Step 1
D (x)x2 4x4 (x2)2 ,
so the sole linear factor x/2 appears with multiplicity 2.
Step 2
Since D (x ) /(x/2)2, we must include in the partial fraction decomposition
the terms
A B
:
x 2 (x 2)2
Steps 3 and 4
These contribute no terms to the partial function decomposition.
Step 5
3x 1 A B
2 :
(x 2) x 2 (x 2)2
Step 6
Multiplication of the result of step 5 by (x/2)2 gives
3x1A(x2)B:
www.EngineeringEBooksPdf.com
PARTIAL FRACTIONS AND INTEGRATION 281
7
3 ln ½ x2 ½ C:
x2
Notice that had the cover-up rule been used in this case, it would only have
led to the determination of A . This is because it only applies to linear factors
with multiplicity 1. m
Example 37.3
Find
2x2 1
g (x 1)
2 2 dx:
Solution
Step 1
This has already been accomplished.
Step 2
There are no terms to be included from this step as there are no real linear
factors in the denominator.
Step 3
Owing to the sole quadratic factor x2/1, which occurs in the denominator
with multiplicity 2, we must include in the partial fraction decomposition
terms of the form
Ax B Cx D
:
x2 1 (x2 1)2
Step 4
There are no terms to be included from this step.
www.EngineeringEBooksPdf.com
282 ESSENTIALS OF ENGINEERING MATHEMATICS
Step 5
Set
2x2 1 Ax B Cx D
:
(x2 1)2 x2 1 (x2 1)2
Step 6
Multiply the expression in step 5 by (x2/1)2 to obtain
2x2 1(AxB) (x2 1)CxD:
Equating the coefficients of x3 on either side of this result gives
0A:
Equating the coefficients of x2 on either side of this result gives
2 B:
Equating the coefficients of x on either side of this result gives
0 AC, so C 0:
Equating the constant terms (the coefficients of x0) on either side of this
result gives
/ 1 BD, so D 3,
and so
2x2 1 2 3
2 2 :
2
(x 1) x 1 (x 1)2
2
Thus
2x2 1 dx dx
g (x 1) dx 2g x 1 3g (x 1)
2 2 2 2 2
dx
2 arctan x3
g (x 1) : 2 2
u 1
sin 2uC:
2 4
www.EngineeringEBooksPdf.com
PARTIAL FRACTIONS AND INTEGRATION 283
Example 37.4
Find
x4 x2 2x 1
g (x 1) (x 2x 2) dx:
2
Solution
Step 1
This has already been accomplished.
Step 2
Because of the factor (x/1) we must include in the partial fraction decom-
position the term A /(x/1).
Step 3
As the factor x2/2x/2, which only occurs once in the denominator, cannot
be expressed as the product of two real linear factors, it follows that we must
include in the partial fraction decomposition the term
/ Bx C
:
x2 2x 2
Step 4
The degree of the numerator exceeds that of the denominator by 1 (p/1), so
we must include in the partial fraction decomposition the polynomial
DxE:
Step 5
Combining steps 2 to 5 shows we must set
x4 x2 2x 1 A Bx C
DxE:
(x 1) (x2 2x 2) x1 x2 2x 2
www.EngineeringEBooksPdf.com
284 ESSENTIALS OF ENGINEERING MATHEMATICS
Step 6
Multiplying the result in step 5 by (x/1) (x2/2x/2) gives
x4 x2 2x1A (x2 2x2)(Bxc) (x1)
(DxE) (x1) (x2 2x2):
Equating the coefficients of x4 on either side of this result gives
1D:
Equating the coefficients of x3 on either side of this result gives
0 3DE:
Equating coefficients of x2 on either side of this result gives
1AB4D3E:
Equating coefficients of x on either side of this result gives
2 2ABC 2D4E:
Equating constant terms (the coefficients of x0) on either side of this result
gives
/ 12AC 2E:
Solving the five simultaneous equations for the unknown constants we find
that
/ A1, B 5, C 9, D 1, E 3,
so
x4 x2 2x 1 1 5x 9
x3:
(x 1) (x2 2x 2) x 1 x2 2x 2
Thus
x4 x2 2x 1 dx 5x 9
g (x 1) (x 2x 2) dxg x 1 g x 2x 2 dx g x dx g 3 dx
2 2
2
5x 9 x
ln ½ x1 ½
g x 2x 2 dx 2 3x:
2
To evaluate
5x 9
g x2 2x 2
dx,
we first complete the square in the denominator and write the integral as
5x 9
g (x 1) 1 dx:
2
www.EngineeringEBooksPdf.com
PARTIAL FRACTIONS AND INTEGRATION 285
5
ln ½ u2 1 ½4 arctan uC
2
5
ln ½ x2 2x2 ½4 arctan (x1)C,
2
x2
ln ½ x1 ½3xC:
2
The determination of the partial fractions would have been simpler had we
first divided the denominator into the numerator to arrive at the polynomial
x /3, and then proceeded to the determination of the partial fraction de-
composition of the remainder. The argument would then have proceeded as
follows.
Expanding the denominator gives
(x1) (x2 2x2)x3 3x2 4x2,
so
and thus
x4 x2 2x 1 4x2 12x 7
x3 :
(x 1) (x2 2x 2) (x 1) (x2 2x 2)
www.EngineeringEBooksPdf.com
286 ESSENTIALS OF ENGINEERING MATHEMATICS
Ax B
3 /
g
(ax2 bx c)n
dx should be written as
A 2ax b Ab dx
2a 2 g
(ax bx c) n dx B
2a (ax bx c)n
2
:
g
Then, in this form, use should then be made of the following results,
2ax b 1 1
g (ax bx c)
2 n dx
(n 1) (ax bx c)n1
2
C (n" 1),
2ax b
g ax2 bx c
dx ln ½ ax2 bxc ½C (n1):
When n /1,
dx 1 dx
g ax2 bx c
a g (x b=(2a)) (c=a b =(4a )) ,
2 2 2
PROBLEMS 37
Evaluate the following integrals after making use of the method of partial
fractions.
4x 5
1. /
g (2x 1) (1 x) dx:
7x 1
2. /
g x 1 dx:
2
dx
3. /
g (x 2) (x 1) : 2
2
1 4x x
4. /
g (x 1) (x 1) dx: 2
x2
5. /
g (2x 1) dx: 3
2
x x1
6. /
g (x 1) dx: 3
www.EngineeringEBooksPdf.com
PARTIAL FRACTIONS AND INTEGRATION 287
x3 2x2 x 1
7.
g
/
x2 x 2
dx:
3 2
2x x 1
8.
g x x 1 dx:
/
2
3 2
x x 2
9.
g (x 4) dx:
/
2 2
3 2
x 3x x 1
10.
g (x 1) (2x 2x 1) dx:
/
2 2
2
3x 4
11.
g (x 1) (x 2) dx:
/
2 2
4
x
12.
g (x 1) dx:
/
2
2
x 5x 1
13.
g (x 4) (x 1) dx:
/
2
2
x x2
14.
g x x 1 dx:
/
2
x2
15.
g (x 1) (x x 3) dx:
/
3x 1
16.
g (x 1) dx:
/
4
www.EngineeringEBooksPdf.com
38 The definite integral
D1 f 1 D2 f 2 . . .Dn f n 0I
X
n
f i Di 0I:
i1
Fig. 84
www.EngineeringEBooksPdf.com
THE DEFINITE INTEGRAL 289
Fig. 85
The expression on the left of this inequality is called the lower approximating
sum over the interval a 0/x 0/b.
Similarly, in Fig. 85(b) the area I is estimated as the sum of the areas of the
n shaded rectangular strips of widths Di , where this time the heights of the
strips f 1 , f 2 , . . . , f n are taken to be the greatest values of f(x ) in D1, D2, . . . ,
Dn . It then follows that
/
I 0f 1 D1 f 2 D2 . . .f n Dn
or, in terms of the summation notation
X
n
I0 f i Di :
i1
The expression on the right of this inequality is called the upper approximat-
ing sum over the interval a 0/x 0/b.
If the limits
X
n X
n
I1 lim f i Di and I2 lim f i Di
n0 n0
i1 i1
exist as the number of strips increases and all the widths Di 0/0, and
I1 /I2 /I, we say that f(x ) is integrable over the interval a 0/x 0/b and
that the value of the definite integral of f(x ) from a to b equals I. This
definite integral is denoted by modifying the indefinite integral notation
by adding the lower limit a and upper limit b to the integral sign and writing
b
I
g a
f (x) dx:
A more careful argument shows that we may define this same integral as
www.EngineeringEBooksPdf.com
290 ESSENTIALS OF ENGINEERING MATHEMATICS
b X
n
I
g a
f (x) dx lim
n0
i1
f (ji ) Di ,
where ji is any point inside the ith interval Di . Such an integral is called the
Riemann integral of f(x) between the lower limit x/a and the upper limit
x /b.
Clearly, if f (x ) is continuous for a 0/x 0/b, it follows that I1 /I2 /I , and
we may determine I as the limit of either the lower or upper approximating
sums.
To show that this definition can actually be used to evaluate a definite
integral involving a simple function, let us determine
b
I
g a
f (x) dx,
where
f (x)x2 :
For simplicity, we shall divide the interval a 0/x 0/b into n equal parts, so the
width of each strip is
ba
D :
n
Then xr, the left end point of the (r/1)th interval, is given by
ba
xr ar , for r0, 1, . . . , n1:
n
www.EngineeringEBooksPdf.com
THE DEFINITE INTEGRAL 291
Fig. 86
and
n
ba X ba 2
Sn ar :
n r1 n
Expanding s n, we obtain
n
2
ba X 2 ba 2 ba
sn a 2a (r1)(r1) ,
n r1 n n
so that
n n n
ba X 2 ba X ba 2X
sn a 2a (r1) (r1)2 ,
n r1 n r1 n r1
or
n 2 X
ba ba X ba n
sn na2 2a (r1) (r1)2 :
n n r1 n r1
www.EngineeringEBooksPdf.com
292 ESSENTIALS OF ENGINEERING MATHEMATICS
and
X
n
n(n 1)(2n 1)
(r1)2 02 12 22 . . .(n1)2 (sum of squares):
|fflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflffl} 6
r1
n terms
Using these results in s n reduces it to
ba b a 2 n (n 1) (2n 1)
sn na2 a (ba) (n1) :
n n 6
Taking the limit as n 0/, so the number of strips tends to infinity as their
width D 0/0, we have
2 2 n1 3 (n 1) (2n 1)
lim s n lim (ba) a a (ba) (ba)
n0 n0 n 6n2
1
(ba) a2 a (ba)2 (ba)3
3
1 2 1
(ba) ab b2 ab a2
3 3 3
2
b ab a2
(ba)
3
1
(b3 a3 ):
3
and thus the limit of I of both the lower and upper approximating sums is the
same, and hence
b 1
I
g a
x2 dx (b3 a3 ):
3
The expression on the right-hand side is the value of required definite inte-
gral.
This use of the definition has served two quite different purposes:
1 It has shown that the definition has practical significance since it can be
used to evaluate a definite integral;
2 It will have convinced the reader that a better method is needed by which
to evaluate definite integrals.
However, before developing such a method, let us use the definition to
establish a number of fundamental properties of definite integrals.
www.EngineeringEBooksPdf.com
THE DEFINITE INTEGRAL 293
g a
k f (x) dx k
g a
f (x) dx:
This result follows directly from the definition because the constant factor
k may be removed from inside to outside the summation and hence from
inside to outside the integral.
2 If f(x ) and g (x ) are integrable for a 0/x 0/b, then
b b b
g a
( f (x) 9 g(x)) dx
g a
f (x) dx9
g g(x) dx (linearity of the definite integral):
a
g a
f (x) dx
g c
f (x) dx
g a
f (x) dx:
This result asserts that the definite integral of f(x) over the interval a 0/
x 0/b is the sum of the integral of f(x ) over any two adjacent subintervals
into which a 0/x 0/b is divided. The result follows from the interpretation
of the definite integral as an area. It uses the fact that if the area below
y /f(x ) for a 0/x 0/b is divided into two parts, then the total area is the
sum of the areas of each of the separate parts.
4 If f(x) is integrable for a 0/x 0/b and c is any internal point of this
interval, then
c
g c
f (x) dx 0,
where c/ is the limit as c is approached from the left and c/ is the limit
as it is approached from the right. This result asserts the obvious fact that
the integral of f(x ) over a strip of finite height and zero width is zero.
5 If f(x ) is continuous and integrable for a 0/x 0/c/ and also for c/ B/
x 0/b, but it is discontinuous with a finite jump at x /c, then
b c b
g a
f (x) dx
g a
f (x) dx
g c
f (x) dx:
This result asserts that if f(x ) is discontinuous at the point x /c inside the
interval a 0/x 0/b, then the integral over a 0/x 0/b is the sum of the
integrals over the intervals in which f(x) is continuous. When proving
this result, use is made of property 4 above to ‘cut out’ the discontinuity of
f(x ) at x/c .
www.EngineeringEBooksPdf.com
294 ESSENTIALS OF ENGINEERING MATHEMATICS
g a
f (x) dx
g b
f (x) dx:
This result asserts that reversing the limits of integration reverses the sign
of the integral. The property follows from the fact that the interval widths
(increments) Di in the definition of a definite integral have a sign which is
positive when x increases and negative when it decreases.
7 Areas determined by a definite integral have a positive sign when they lie
above the x -axis and a negative sign when they lie below it. This is the case
because when integrating f(x) from a to b, each strip width Di is positive.
However, the element of area associated with any width Di will have the
sign of f(x ) in the interval Di .
8 The role of the symbol x in the definite integral
b
I
g a
f (x) dx
Fig. 87
www.EngineeringEBooksPdf.com
THE DEFINITE INTEGRAL 295
b
m (ba)0
g a
f (x) dx0M (ba),
because area S1 /m (b/a ) and area S2 /M (b/a), while the area below the
b
curve, which is intermediate between S1 and S2, is
g a
f (x) dx: Let us rewrite
this result as
b
1
m0
ba g a
f (x) dx 0M:
This result is called the mean value theorem for integrals, and it will be
used in the next section when proving the fundamental theorem of integral
calculus.
It is possible to verify this theorem in a special case since we have already
proved that
b 1
g a
x2 dx (b3 a3 ):
3
Thus in this case, as f(x )/x2, it follows that
b b
1 1 1 1 3 1
ba a g f (x) dx
ba a g 2
x dx
ba 3
(b a3 ) (b2 aba2 ):
3
However, by the mean value theorem, this result should equal f(j )/j2 for
some j such that a B/j B/b. This is indeed the case because as a B/b we have
1 2
a2 B (b aba2 )Bb2 ,
3
and thus
1
j (b2 aba2 )1=2 ,
3
with a B/j B/b.
www.EngineeringEBooksPdf.com
The fundamental theorem
of integral calculus and
the evaluation of definite
39 integrals
However, from the third property of the definite integrals in Section 38, this
may be rewritten as
1 xh
F ?(x)lim
h00 h a g
f (t) dt :
Applying the mean value theorem for integrals to the expression inside the
limit gives
F ?(x)lim f f (j)g,
h00
where j is such that x B/j B/x/h (it is some value of t intermediate between
x and x/h). In the limit as h 0/0, we thus have j 0/x , and so
www.EngineeringEBooksPdf.com
INTEGRAL CALCULUS 297
F ?(x)f (x):
This has proved that F (x ) is an antiderivative of f (x ), so it follows from this
that
x
F (x)
g a
f (t) dtC,
g a
f (t) dtF (b)F (a):
g a
f (x) dxF (b)F (a):
Any methods for finding antiderivatives which have already been discussed
may be used to evaluate definite integrals. However, care must be taken with
the limits on a definite integral when using integration by substitution or
integration by parts.
g a
f (x) dx
www.EngineeringEBooksPdf.com
298 ESSENTIALS OF ENGINEERING MATHEMATICS
is to be evaluated, the lower limit a and the upper limit b are the limits to be
applied to the argument x of function f(x). If this definite integral is to be
evaluated by substitution, say by setting u/U (x), with U (x ) some function
of x , then when changing to the variable u under the integral sign, as de-
scribed in Section 34, the limits on the integral must also be changed so that
they refer to the new argument u . Thus the lower limit will become u /U (a )
and the upper limit will become u /U (b ).
j
[ u (x) v (x)] u (b)v(b)u (a)v (a),
a
j g
b b
d d
g a
u (x)
dx
[ v (x)] dx[ u (x) v (x)]
a a
v (x)
dx
[ u (x)] dx
j g
b b
g a
u dv(u v)
a a
v du:
Notice that this differs from the formula for integration by parts of an
indefinite integral by the inclusion of limits on both the integrals and on the
u (x ) v (x ) term.
www.EngineeringEBooksPdf.com
INTEGRAL CALCULUS 299
Example 39.1
Find
b
g a
x2 dx:
Solution
1
An antiderivative of x2 is x3 , so
3
b
1 3 1 3
ga
2
x dx
3
x
xb
3
x
xa
1 3
(b a3 ):
3
This is, of course, in agreement with the result obtained earlier in which we
started from first principles and used upper and lower approximating
sums. m
Example 39.2
Find
p=2 p=2
I1
g 0
sin x dx and I2
g p=2
sin x dx:
Solution
An antiderivative of sin x is /cos x, so
p=2
j
p=2
I1
g 0
sin x dx (cos x)
0
p
cos (cos 0)01 1
2
while
p=2
j
p=2
I
g p=2
sin x dx (cos x)
p=2
p p
cos cos
2 2
000:
www.EngineeringEBooksPdf.com
300 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 88 '
Example 39.3
Find
p=2
dx
g p=3 (4 x2 )
:
Solution
An antiderivative of (4 /x2)1/2 is arcsin (x /2), so
p=2
dx x x
gp=3 (4 x )
2
arcsin
2 xp=2
arcsin
2 xp=3
p p
arcsin arcsin
4 6
0:903340:55107 0:35227: m
Example 39.4
Find
9
1
g 5
cosh
4
x1 dx:
Solution
1 1
Integrate by using the substitution u x1, so du dx, and thus
4 4
dx 4 du:
www.EngineeringEBooksPdf.com
INTEGRAL CALCULUS 301
5=4
(4 sinh u) j 1=4
Example 39.5
Find
2
g 1
ln (1x2 )dx:
Solution
Writing the integral as
d
ln (1x2 )×1ln (1x2 ) [ x]
dx
and applying the formula for integration by parts for a definite integral with
u (x )/ln (1/x2) and v (x) /x gives
2
j g
2 2 d
g 1
ln (1x2 ) dx [ x ln (1x2 )]
1 1
x
dx
[ ln (1x2 )] dx
2
2x2
2 ln 5ln 2
g 1 1 x2
dx:
2 2
2 ln 5ln 2[ 2x] [ 2 arctan x] j 1
j1
Example 39.6
Show that if
p=2
Jn
g 0
xn cos x dx for nE0,
www.EngineeringEBooksPdf.com
302 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
Writing the integrand as
d
xn [ sin x],
dx
and applying the formula for integration by parts for definite integrals with
u (x )/xn and v (x) /sin x , gives
p=2
Jn
g 0
xn cos x dx
p=2
j
p=2
[ xn sin x]
n 0
n
g 0
xn1 sin x dx
p=2
p
2
n
g 0
n1
x sin x dx:
However,
p=2 p=2 d
g 0
xn1 sin x dx
g 0
xn1
dx
[cos x] dx,
so again using integration by parts, but this time with u (x )/xn1 and
v (x )/ /cos x , gives
p=2
j
p=2 p=2
g 0
xn1 sin dx [xn1 cos x]
0
(n1)
g 0
xn2 cos x dx
p=2
0(n1)
g 0
xn2 cos x dx
(n1) Jn2 :
Combining results, we obtain the required reduction formula
n
p
Jn n (n1) Jn2 , for nE2:
2
We now make use of this reduction formula in reverse to find J4. Setting
n /0 in the integral defining Jn gives
p=2
j
p=2
J0
g 0
cos x dx (sin x)
0
1:
www.EngineeringEBooksPdf.com
INTEGRAL CALCULUS 303
Example 39.7
Prove that
p
g p
sin mx cos nx dx0
Solution
We start from the identities
sin (AB)sin A cos Bcos A sin B
and
sin (AB)sin A cos Bcos A sin B:
Adding the results gives
sin (AB)sin (AB) 2 sin A cos B:
Thus setting A /mx and B /nx , this becomes
sin [ (mn)x]sin [ (mn)x]2 sin mx cos nx,
and so
p 1 p 1 p
g p
sin mx cos nx dx
2 g p
sin [ (mn)x] dx
2 g p
sin [ (mn)x] dx:
www.EngineeringEBooksPdf.com
304 ESSENTIALS OF ENGINEERING MATHEMATICS
g
1 cos ([ (m n) x] 1 cos [ (m n) x]
sin mx cos nx dx 0,
p 2 mn p
2 mn p
g p
sin mx cos nx dx0
for m , n /0, 1, 2, . . . . m
Example 39.8
Prove that
p
0 for m "n
g p
sin mx sin nx dx
p for m n"0:
Solution
This time we start from the trigonometric identities
cos (AB)cos A cos Bsin A sin B
and
cos (AB)cos A cos Bsin A sin B:
Subtracting the first result from the second gives
cos (AB)cos (AB) 2 sin A sin B,
so setting A /mx and B /nx gives
cos [ (mn) x]cos [ (mn) x]2 sin mx sin nx:
Thus
p p p
1 1
g p
sin mx sin nx dx
2 g p
cos [ (mn)x] dx
2 g p
cos [ (mn)x] dx
www.EngineeringEBooksPdf.com
INTEGRAL CALCULUS 305
The result is obviously true if m /0 or n/0 for then the integrand is
identically zero, so it only remains for us to consider the case in which
m /n "/0. Our identity becomes
1
sin2 nx (1cos 2 nx),
2
from which we see that
p p
1
g p
sin2 nx dx
g p 2
(1cos 2 nx)dx
1 p 1 p
2 g p
1× dx
2 g cos 2 nx dx
p
p
p
1
4n
sin 2 nx j p
p,
because the sine of any integral multiple of p is zero.
Thus we have proved that
p
0 for m "n
gp
sin mx sin nx dx
p for m n"0:
m
Example 39.9
Prove that
8
p <0 for m "n
g p
cos mx cos nx dx p for
:
2p for
m n" 0
m n 0:
Solution
Consider first the case m /n /0. The integral then reduces to
p
g p
1× dx2p,
www.EngineeringEBooksPdf.com
306 ESSENTIALS OF ENGINEERING MATHEMATICS
Thus if m "/n
p p
j j
p
1 sin [ (m n) x] 1 sin [ (m n) x]
g p
cos mx cos nx dx
2 mn p
2 mn p
0,
g p
cos2 nx dx:
so
p p
1
g p
cos 2 nx dx
g p 2
(1cos 2 nx) dx
p
j
p
1 1 sin 2 nx
2 g p
1× dx
2 2n p
p,
because the sine of an integral multiple of p is zero. Thus we have proved the
result that
8
p <0 for m "n
p g
cos mx cos nx dx p
:
2p
for
for
m n" 0
m n" 0: m
PROBLEMS 39
3
2. /
g 1
(1sinh x) dx:
www.EngineeringEBooksPdf.com
INTEGRAL CALCULUS 307
p=2
3.
g
/
1
(2x3 cos x) dx:
4
4.
g
/
0
(x1=3 x1=4 ) dx:
1=3
dx
5.
g
/
1 (2 5x2 )
:
1
dx
6.
g
/
0 (2 x2 )
:
2
dx
7.
g
/
0 2x 5
:
3
dx
8.
g
/
1 5x
:
2
dx
9.
g
/
2
2 (5 4x x )
:
6
dx
10.
g
/
4 (1 4x x2 )
:
8
11.
g
/
2
(x2) dx:
4
12.
g
/
1
(x1) dx:
p=4
dx
13.
g
/
0 x2 1
:
2
dx
14.
g
/
4 x2 1
:
1
dx
15.
g
/
0 x2 4x 5
:
4
dx
16.
g
/
3 x2 3x 2
:
1
y2
17.
g
/
0 1 y6
dy:
1=2
dt
18.
g
/
2 (1 t2 )
:
www.EngineeringEBooksPdf.com
308 ESSENTIALS OF ENGINEERING MATHEMATICS
p=4
19.
g
/
0
cos2 u du:
p=4
20.
g
/
0
sin2 u du:
p=4
21.
g
/
p=4
tan x dx:
1
ex
22.
g
/
0 1 e2x
dx:
p=3
23.
g
/
0
sin2 4x dx:
1
dx
24.
g
/
0 (1 x2 )
:
1
dx
25.
g
/
0 1 ex
:
1
26.
g
/
0
ln (1x)dx:
1
27.
g
/
0
(1x2 )dx:
g
1=2
x
28. / dx:
0 1x
4
dx
29.
g
/
0 1 (2x 1)
:
1
30.
g
/
0
arcsin x dx:
1
31.
g
/
0
arctan x dx:
1
32.
g
/
0
x arcsin x dx:
1
33.
g
/
0
x arctan x dx:
2
34.
g
/
0
x2 (4x2 )dx:
www.EngineeringEBooksPdf.com
INTEGRAL CALCULUS 309
p=2
35.
g
/
0
x sin x dx:
p=4
36.
g
/
0
x cos x dx:
1
37.
g
/
0
x e2x dx:
2
38.
g
/
0
x2 ex dx:
3
39.
g
/
2
x2 ln x dx:
2
x
40.
g
/
1 (x 1) (x 2)2
dx:
3
dx
41.
g
/
2 (x2 1)2
:
2
2x
42.
g
/
0 x (1 x2 )
dx:
1
2 x2
43.
g
/
0 (1 x) (1 x2 )
dx:
1=2
dx
44.
g
/
0 1 x4
:
45. Set
p=2
Jn
g 0
sinn x dx for nE0,
www.EngineeringEBooksPdf.com
310 ESSENTIALS OF ENGINEERING MATHEMATICS
n1
Jn Jn2 for nE2:
n
Use this result to determine J2, J4 and J6.
47. Set
p=2
Jn
g 0
x cosn x dx for n E0,
www.EngineeringEBooksPdf.com
Improper integrals 40
There is an important group of definite integrals, which has not yet been
considered, containing what are called improper integrals. These are definite
integrals in which either the integrand becomes infinite at some point in the
interval of integration, or in which the length of the interval of integration
itself is infinite in length; some integrals are improper in both of these ways.
The question to be answered in such cases is whether the integral has a finite
value. If the value of the integral can be shown to be a finite number I, the
integral is said to be convergent, and to converge to the value I . If the value of
the integral is infinite, or undefined, then the integral is said to be divergent.
The two basic types of improper integrals are illustrated in Fig. 89. In
Fig. 89(a) the integrand f(x ) becomes infinite at x /c (an asymptote to y/
f(x )) inside the interval of integration a 0/x 0/b, while in Fig. 89(b) the
interval of integration is a 0/x B/ and the x-axis is an asymptote to y /
f(x ) as x 0/.
We say the improper integral illustrated in Fig. 89(a) converges to the value
I if
co b
I lim
o00 g a
f (x) dxlim
d00 g cd
f (x) dx
exists and is finite when o and d tend to zero through positive values. If either
or both of these limits is infinite, or undefined, we say the improper integral is
divergent.
If the infinity of the integrand occurs at the left-hand end point x /a , the
above limiting process is modified in an obvious manner by setting
Fig. 89
www.EngineeringEBooksPdf.com
312 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 90
b
I lim
o00 g ao
f (x) dx,
where o tends to zero through positive values. Here also we say the integral
converges to the value I if this limit exists and is finite. If, however, the limit is
infinite or undefined, we say the integral is divergent. The way in which the
limiting operation is performed is illustrated in Fig. 90(a).
Similarly, if the infinity of the integrand occurs at the right-hand end point
x /b, as in Fig. 90(b), we set
bd
I lim
d00 g a
f (x) dx,
where d tends to zero through positive values. Again, the integral will be said
to be convergent to the value I if this limit exists and is finite, and it will be
said to be divergent if the limit is infinite or undefined.
The improper integral of the other type, which is illustrated in Fig. 89(b),
will be said to converge to the value I if
R
I lim
R0 g a
f (x) dx
exists and is finite. If the value of the limit is infinite, or undefined, the
improper integral will be said to be divergent.
Example 40.1
Solution
This is an improper integral because the integrand 1/(1 /x2) becomes
infinite at the upper limit x /1, as illustrated in Fig. 90(b).
www.EngineeringEBooksPdf.com
IMPROPER INTEGRALS 313
Thus I is finite and equal to p /2, so the integral converges to this value,
and hence
1d
dx p
I lim
d00 g 0
2
:
(1 x ) 2
m
Example 40.2
Solution
This is an improper integral because although the integrand remains finite,
the interval of integration is infinite in length; as in Fig. 89(b).
Thus to determine the convergence properties, we must examine
R dx
I lim
R0 g 1 1 x2
:
p=2p=4p=4:
Thus I is finite and equal to p /4, so the integral converges to this value,
and hence
www.EngineeringEBooksPdf.com
314 ESSENTIALS OF ENGINEERING MATHEMATICS
dx
g 1 1 x2
p=4: m
Example 40.3
Solution
This is an improper integral because the integrand 1/x becomes infinite at the
lower limit x/0, as illustrated in Fig. 90(a).
Thus to determine the convergence properties we must examine
1 dx
I lim
o00 g o x
:
An antiderivative of 1/x is ln jx j, so
1
I lim ( ln ½ x ½ ) j o
o00
lim [ ln 1ln o]
o00
Example 40.4
Solution
This is an improper integral because although cos x is bounded for all x , the
interval of integration is infinite, as in Fig. 89(b).
Thus we must consider the behaviour of
R
I lim
R0 g p=2
cos x dx:
www.EngineeringEBooksPdf.com
IMPROPER INTEGRALS 315
However, lim sin R does not exist (the function oscillates boundedly
R0
between 9/1) so the integral is divergent. m
Example 40.5
Solution
This is an improper integral because the interval of integration is infinite, as
in Fig. 89(b).
Thus we must consider the behaviour of
R
I lim
R0 g 0
x ex dx:
R R
(x ex )j 0
g 0
ex dx
R eR 1eR :
so
I lim [R eR 1eR ]
R0
0101:
g 0
x ex dx1: m
www.EngineeringEBooksPdf.com
316 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 40
1 x2
:
1
dx
2.
g
/
0 x
:
2
dx
3.
g
/
0 (2 x)
:
4
dx
4.
g
/
0 (x 2)2
:
dx
5.
g
/
1 4 x2
:
ln x
6.
g
/
2 x
dx:
3
x
7.
g
/
0 (9 x2 )
:
8.
g
/
1
ex sin x dx:
dx
9.
g
/
0 (x 2) (x 5)
:
1=2
1=2
1 2x
10.
g
/
1=2 1 2x
dx:
dx
11.
g
/
1 xl
, for l 0:
g
2
12. / x ex dx:
2
dx
13.
g
/
0 1 x2
:
1=2
dx
14.
g
/
0 x ln x
:
www.EngineeringEBooksPdf.com
Numerical integration 41
the interval of integration a 0/x 0/b is first divided into n equal strips
(divisions) of width h , with
h(ba)=n (n an integer):
Now set
fr f (xr ), with r1, 2, . . . , n, n1,
so the fr are the functional values assumed by f(x ) at the ends of the strips,
with f1 /f (a ) and fn1 /f(b ).
Now approximate the graph of y /f (x ) for a 0/x 0/b by the polygonal line
shown in Fig. 91. The approximate value of the definite integral I (inter-
preted as the area below the curve) is then seen to be given by the sum of the
areas of the n shaded trapezia.
www.EngineeringEBooksPdf.com
318 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 91
1
The area of the rth trapezium is h( fr fr1 ), so
2
1 1 1 1
I : h( f1 f2 ) h( f2 f3 ). . . h( fn1 fn ) h( fn fn1 ),
2 2 2 2
or
1 1
I h f1 f2 f3 . . .fn fn1 :
2 2
1 1
This is the trapezoidal rule, and the numbers , 1, 1, 1, . . . , 1, multiplying
2 2
the ordinates fi are called the weight coefficients for the trapezoidal rule.
The magnitude of the error involved can be estimated by means of the
error estimate given in the following rule, though we will not discuss its
derivation.
Trapezoidal rule
To evaluate
b
I
g f (x)dx
a
www.EngineeringEBooksPdf.com
NUMERICAL INTEGRATION 319
h2 (b a)
½ET ½ 0 MT ,
12
SIMPSON’S RULE
In the derivation of this rule, the interval a 0/x 0/b is divided into an even
number of strips n , so
h (ba)=n (n an even integer):
A parabola (quadratic function) is then fitted so that it passes through the
functional values at the two end points and mid-point of successive pairs of
adjacent intervals (strips), and each of the n /2 quadratic expressions so
obtained is then integrated analytically. We omit the details, but the rule
that results is Simpson’s rule. This rule, together with its error estimate, is
stated below.
Simpson’s rule
To evaluate
b
I
g f (x) dx
a
where
MS max ½d4 f =dx4 ½ for a 0x0b:
The numbers 1, 4, 2, 4, 2, . . . , 4, 1 multiplying the ordinates fi are called the
weight coefficients for Simpson’s rule.
www.EngineeringEBooksPdf.com
320 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 41.1
Find
2
I
g x ln x dx
1
by the trapezoidal rule and Simpson’s rule using four strips in each case.
Estimate the magnitude of the error involved when using each rule and
compare the results of the numerical integrations with the analytical result.
Solution
The lower limit a /1, the upper limit b /2 and there are four strips (n /4) so
h /(b /a )/n/0.25 and xr /1/(r/ 1)/4 (Table 6).
Table 6
r xr fr /xr ln xr Trapezoidal weights Simpson weights
and products and products
(1) (2) (3) (4) (5) (6) (7)
1 1.0 0 0.5 0 1 0
2 1.25 0.278 93 1 0.278 93 4 1.115 72
3 1.5 0.608 20 1 0.608 20 2 1.216 40
4 1.75 0.979 33 1 0.979 33 4 3.917 32
5 2.0 1.386 29 0.5 0.693 15 1 1.386 29
Let
X X
T
sum of column 5 and S
sum of column 7,
so that
X X
T
2:559 61 and S
7:635 73:
Then
X
Itrapezoid h T
0:252:559 61 0:639 90
and
hX 0:25
ISimpson S
7:635 73 0:636 31:
3 3
Thus the trapezoidal estimate is seen to differ from the Simpson estimate
by an amount of order 0.003.
To estimate the magnitude of the actual errors involved in each case, we
proceed as follows:
www.EngineeringEBooksPdf.com
NUMERICAL INTEGRATION 321
df d2 f 1
f (x)x ln x, 1ln x,
dx dx2 x
d3 f 1 d4 f 2
and :
dx 3 x2 dx 4 x3
while
MS max ½d4 f =dx4 ½ for 1 0x02,
so
MS max ½2=x3 ½ 2:
10x02
Thus
(0:25)2
½ET ½ 0 10:005 21
12
while
(0:25)4
½ES ½0 20:000 09:
180
Consequently,
I 0:639 9090:005 21 (trapezoidal estimate)
and
I 0:636 3190:000 09 (Simpson estimate):
The values of MS and MT used in the error estimates are not always as
easily determined as in the above example. Thus, in practice, MT is
often replaced by the average of the values of jd2f /dx2j at the points xr in
a 0/x 0/b. Similarly, MS is often replaced by the average of the values of
jd4f/dx4j at the points xr in a 0/x 0/b.
When a quadrature rule is used on a computer, the analytical estimate of
the magnitude of the error is usually omitted. In its place, the accuracy is
estimated by comparing the value obtained using a given strip width h and
the one obtained by doubling the number of strips (h becomes h /2).
www.EngineeringEBooksPdf.com
322 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 41
1. Using the trapezium rule and Simpson’s rule, each with eight strips,
and working to five decimal places, estimate ln 3 by evaluating
3
dx
g 1 x
:
g ln(1x ) dx:
1
2
Using Simpson’s rule, first with four strips and then with eight strips,
and working to five decimal places, find
5
g f (x) dx:
0
Compare your result with the tabulated value of 1.549 93. The function
x
sin t
Si(x)
g 0 t
dt,
for which you have found Si(5) is called the sine integral.
4. Using the trapezoidal rule and Simpson’s rule, each with eight strips,
find
2
g x e dx:
0
x
www.EngineeringEBooksPdf.com
NUMERICAL INTEGRATION 323
g 0
½sin x½(1cos2 x) dx:
g 0
x sin x dx:
www.EngineeringEBooksPdf.com
Geometrical applications
42 of definite integrals
DETERMINATION OF AREAS
g g
f (x)dx g(x)dx:
a a
The sign convention for areas in terms of definite integrals means that A will
be the actual area between the curves because f(x )/g (x) E/0, so A will be
positive.
Example 42.1
Find the area enclosed between the line y/x/2 and the parabola y /x2 /4
for /2 0/x 0/3.
Solution
The area A between the two curves is shown in Fig. 92. As the line y /x/2
lies above the parabola y /x2 /4 for /2 0/x 0/3, it follows that
3
A
g 2
[x2(x2 4)] dx
3
g 2
(6xx2 ) dx
125=6:
www.EngineeringEBooksPdf.com
GEOMETRICAL APPLICATIONS OF DEFINITE INTEGRALS 325
Fig. 92 '
ARC LENGTH
The length of an arc of a curve y /f(x ) between x /a and x/b may be
determined in terms of a definite integral. The situation is illustrated in
Fig. 93, in which P and Q are two adjacent points on the curve y /f(x )
whose x -coordinates differ by Dx . If Ds is the length of the chord PQ , it
follows from Pythagoras’ theorem that
Then, as Dx 0/0, so Ds 0/ds the differential element of arc length along the
curve. Dividing by (Dx)2 and letting Dx 0/0 this becomes
2 2
ds dy
1 ,
dx dx
Fig. 93
www.EngineeringEBooksPdf.com
326 ESSENTIALS OF ENGINEERING MATHEMATICS
B b
s
g A
ds
g f1[ f ?(x)] gdx:
a
2
Example 42.2
Find the length of the arc of the curve x2/y2 /a2 in the first quadrant from
x /a to x /b , where 00/a B/b 0/a.
Solution
The curve x2/y2 /a2 is a circle of radius a, centred on the origin, as shown
in Fig. 94. Writing this in the form y /f (x ), with f(x )/(a2 /x2), differ-
entiation with respect to x gives
f ?(x)x=(a2 x2 ),
and thus
a
f1[ f ?(x)]2 g :
(a2 x2 )
Using this result in the above formula gives
b
j
b a x
s
g 2 2
a (a x )
dx a arcsin
a a
,
and so
b a p p
s=a arcsin arcsin u2 u1 (u1 u2 ),
a a 2 2
as would be expected. If a /0 and b /a , this reduces to s /ap /2 which is
simply the arc length of a quadrant of a circle.
Fig. 94 '
www.EngineeringEBooksPdf.com
GEOMETRICAL APPLICATIONS OF DEFINITE INTEGRALS 327
The formula for arc length along a curve is easily adapted to the case in
which the curve is specified in terms of a parameter u. Let a curve be specified
in the parametric form x /X (u ) and y/Y (u ), where u is a parameter, and
suppose we wish to determine the length of the arc of this curve between the
points on the curve corresponding to u/a to u /b .
Starting from the result
2
ds 1
dy
dx
dx,
Example 42.3
Solution
The section OPA of the cycloid in question is shown in Fig. 95, to which
point O corresponds to u /0, point P to u /p and point A to u/2p.
Now
X ?(u) a(1cos u) and Y ?(u)a sin u,
so substituting into the formula for arc length gives
2
g
2p sin u
s 1 a(1cos u) du
0 1 cos u
g
2p 2 2 cos u
a (1cos u) du
0 (1 cos u)2
www.EngineeringEBooksPdf.com
328 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 95
2p
a
g 0
[22 cos u] du:
1
Using the result 1cos u2 sin2 u brings this to the form
2
2p
1
s2a
g 0
sin u du,
2
2p
1
4a cos u
2 0
8a, j
and so the required length of the arc OPA is seen to be
s8a: m
If an arc of a curve y/f(x ) lying between x/a and x /b is rotated about
the x-axis, it generates a surface of revolution about the x-axis as shown in
Fig. 96. The area S of this surface of revolution comprises the sum of all
strips of differential area dS contained between parallel planes normal to the
x -axis and separated by the differential dx . The strip dS has a circular cross-
section of radius jyj/j f(x )j. We denote the radius by j f(x)j rather than f (x )
because a radius of a circle is always considered to be non-negative.
If the differential element of arc length along this strip is ds, it follows that
dS (circumference of strip)ds,
Fig. 96
www.EngineeringEBooksPdf.com
GEOMETRICAL APPLICATIONS OF DEFINITE INTEGRALS 329
so
dS 2p½ f (x)½ ds:
Now we have already seen that
dsf1[ f ?(x)]2 g dx,
so
dS 2p½ f (x)½f1[ f ?(x)]2 g dx:
Thus integrating from x /a to x/b gives
b
S 2p
g ½ f (x)½f1[ f ?(x)] g dx:
a
2
Example 42.4
Find the area of the surface of revolution obtained when the curve x2/y2 /
a2 is rotated about the x -axis between x /a and x /a, with 0 0/a B/a.
Solution
The curve x2/y2 /a2 is a circle of radius a centred on the origin. Thus
rotating it about the x -axis will generate a spherical surface centred on the
origin of radius a . The portion of this surface contained between x/a and
x /a is a spherical cap, as shown in Fig. 97.
Fig. 97
www.EngineeringEBooksPdf.com
330 ESSENTIALS OF ENGINEERING MATHEMATICS
Thus as
½ f (x)½(a2 x2 ),
it follows from the above formula that
a
S 2p
g ½ f (x)½f1[ f ?(x)] gdx
a
2
a a
2p
g [(a x )] (a x ) dx
a
2 2
2 2
a
2p a
g dx,
a
and so
S 2p a(aa):
As would be expected, if a /0, the spherical cap becomes a hemispherical
surface with area A /2pa2. m
Note that a surface of revolution may also be generated if the arc of the
curve y/f(x ) in Fig. 96 is rotated about the y -axis. An analogous argument
then establishes the following result.
Fig. 98
www.EngineeringEBooksPdf.com
GEOMETRICAL APPLICATIONS OF DEFINITE INTEGRALS 331
Example 42.5
Solution
We are required to find the volume contained within the spherical cap shown
in Fig. 97. As y2 /a2 /x2, it follows from the above formula that
a
V p
g (a x ) dx
a
2 2
p
pa2 (aa) (a3 a3 ):
3
www.EngineeringEBooksPdf.com
332 ESSENTIALS OF ENGINEERING MATHEMATICS
p
V (2a3 3aa2 a3 ):
3
Notice that when a /0 this reduces to the volume of a hemisphere 2p a3/3, as
would be expected. m
PROBLEMS 42
1. Find the area between the curves y/3/sin 2x and y 12 cos x from
x /0 to x/p .
2. Find the area between the curves y /sin x and y/cos x from x /0 to
x /p . (Hint : remember that sin x
| / cos x for all x in 00/x 0/p.)
3. Find the length of arc along the curve y /cosh x from x/1 to x/3.
4. Find the length of arc along the curve y /2x3/2/1 from x/0 to x /1.
5. Find the length of arc along the curve y/lnj(1/sin x )/cos xj from
x /0 to x/p /4.
x5 1
6. Find the length of arc along the curve y 3 from x/1 to
10 6x
x /3.
7. The four pointed, star-shaped curve defined in terms of the parameter
u by x /a cos3 u and y /a sin3 u is called an astroid. Show that if the
arc length s along the curve is required to increase with u , then by
making a suitable choice of sign in the square root, ds/du /3/2. Hence
find the length of the arc of this astroid between the two adjacent
‘points’ on the star corresponding to u /0 and u /p /2, and deduce
the total length of the curve.
8. Find the area of the surface of revolution obtained by rotating y/
cosh x about the x -axis between x /1 and x /2.
9. Find the area of the surface of revolution generated when y /x3 is
rotated about the x -axis from x /1 to x /2.
10. Find the area of the surface of revolution generated when y/3/x is
rotated about the y -axis from x/1 to x /3.
11. Find the volume contained within the surface of revolution generated
when y /cosh x is rotated about the x-axis from x /0 to x /2.
12. Find the volume contained within the surface of revolution generated
when y /sin x is rotated about the x -axis from x/p/4 to x /p/2.
13. Find the volume contained within the surface of revolution generated
when y /arcsin x is rotated about the x -axis from x/0 to x /1.
14. Find the volume contained within the surface of revolution generated
when y /arsinh x is rotated about the x -axis from x/2 to x /4.
www.EngineeringEBooksPdf.com
Centre of mass of a
plane lamina (centroid) 43
To understand the notion of the centre of mass (CM) (or centre of gravity
(CG)) of a two-dimensional (plane) lamina, we start by considering a dis-
tribution of n point masses m1, m2, . . . , mn in the plane. Imagine the plane in
which the masses are located to be horizontal, weightless and rigid. Then the
moment of these masses about a line L in the plane measures their combined
turning effect about the line L . The magnitude ML of the moment is defined
to be
Fig. 99
www.EngineeringEBooksPdf.com
334 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 100
www.EngineeringEBooksPdf.com
CENTRE OF MASS OF A PLANE LAMINA (CENTROID) 335
A similar argument shows that the moment of the lamina about the y-axis is
b
My
g xr(x)[ f (x)g(x)]dx,
a
2g
2 2
Mx r(x)f[ f (x)] [g(x)] g dx,
a
b
My
g xr(x)[ f (x)g(x)]dx,
a
and
b
M
g r(x)[ f (x)g(x)]dx,
a
the centre of mass of the lamina is located at the point (x̄, ȳ), where
My Mx
x̄ and y :
M M
www.EngineeringEBooksPdf.com
336 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 43.1
Solution
From symmetry, the centre of mass must lie on one of the medians of the
equilateral triangle. To take advantage of this, let us locate the (x , y ) axes as
shown in Fig. 101. The upper edge of the triangle then has the equation
y /a /x /3, and the lower edge has the equation y / /a/x /3, for 00/
x 0/a 3.
Fig. 101
Let the centre of mass be located at the point (x̄, 0): Then using the
notation of the rule for the determination of the centre of mass, f(x )/
a /x /3, g(x )/ /a/x 3 and r (x) /r0, so
a3
1 1
My r0
g
0
x a
3
x a
3
x dx
a3 1
2r
0g x a
3
x dx
r0 a3 ,
while
a3
1 1
M r0
g
0 3
x a
a
3
x dx
a3
1
2r0
0 g a
3
x dx
r0 a2 3:
Thus
www.EngineeringEBooksPdf.com
CENTRE OF MASS OF A PLANE LAMINA (CENTROID) 337
My r0 a3 a
x̄ ,
M r0 a2 3 3
Example 43.2
A lamina in the form of the equilateral triangle shown in Fig. 101 has a mass
distribution r (x) /r0(1/kx ) per unit area in the x-direction, with r0 and k
constants. Find the position of its centre of mass.
Solution
As the mass distribution only changes in the x -direction and it is symmetrical
about the x -axis, the centre of mass must lie on the x -axis.
Using the notation of the rule for the determination of the centre of mass
we see that, as in Example 43.1, f(x )/a/x/3, g (x )/ /a/x /3, but
now r (x ) /r0(1/kx ). Thus
a3
1 1
My r0
g 0
x(1kx) a
3
x a
3
x dx
1
r0 a3 (2ak3)
2
and
a3
1 1
M r0
g 0
x(1kx) a
3
x a
3
x dx
r0 a2 (3ak):
Thus
My 1 2 ak3
x̄ a ,
M 2 3 ak
www.EngineeringEBooksPdf.com
338 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 43
Find the location of the centre of mass of each of the laminas shown in
problems 1 to 8 when the mass distribution in the lamina is uniform with
r (x) /r0.
1.
2.
3.
4.
www.EngineeringEBooksPdf.com
CENTRE OF MASS OF A PLANE LAMINA (CENTROID) 339
5.
6.
7.
8.
www.EngineeringEBooksPdf.com
340 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
Application of integration
to the hydrostatic
pressure on a plate 44
where r is the fluid density, S is the area of the plate and d is the depth of the
centroid of the plate below the surface, and g is the acceleration due to
gravity.
To see why this is, let us calculate the total force acting on the vertical plate
of arbitrary shape and area S shown in Fig. 102. The force DF acting normal
to the horizontal strip AB of area DS located at a depth h/y below the
surface is
www.EngineeringEBooksPdf.com
342 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 102
DF rg(hy) DS,
where r is the density of the fluid. Thus, summing all such forces acting on
the plate and letting DS 0/0, the force F is seen to be given by the integral
F
g Plate
rg(hy) dS,
so
F rg
g Plate
(hy) dS: (B)
g Plate
(hy) dS Sd,
where d is the distance of the centroid C below the surface of the fluid.
Combining these results then gives the required formula
F rgSd:
If the location of the centroid is unknown, the determination of F will require
the direct evaluation of integral (B) over the plate. To illustrate both the
convenience of formula (A), and the way in which integral (B) is to be
evaluated, the force F is obtained by each method in the two examples which
follow.
Example 44.1
www.EngineeringEBooksPdf.com
HYDROSTATIC PRESSURE 343
Fig. 103
Solution
Finding F by formula (A )
The area of the plate is S a2 3 and we know from Example 43.1 that the
centroid is located at a distance a=3 below the point P in Fig. 103. Thus the
depth of the centroid below the fluid surface is d h2a=3: Applying
formula (A) we find that
F rga2 3(h2a=3)
and so
F rga2 (h32a):
Finding F by integral (B )
The equations of the inclined sides of the triangle are y /3x and 0 0/x 0/a
and y / /3x for /a 0/x 0/0.
The area of the strip AB is
DS 2xDy
but x /y /3
2
DS yDy:
3
Integrating this result from y /0 to y/a3 (i.e., over the plate) and
letting Dy 0/0, we see that the total force F acting on one side of the plate
is given by the definite integral
2rg a3
F
3 g 0
y(hy)dy
www.EngineeringEBooksPdf.com
344 ESSENTIALS OF ENGINEERING MATHEMATICS
1
rga2 (33a2 8ah23h2 ):
2
We see from symmetry that the centre of pressure must lie on the y-axis, so
let it be located at the point (0, ȳ): Then the moment about L produced by the
total force F concentrated at the centroid is F (h ȳ), so
F (h ȳ)ML :
Substituting for F and ML and solving for ȳ gives
h 33a 3h2
ȳ ,
8 4 8(3h 2a)
In the special case in which the top of the triangular plate coincides with
the surface of the fluid h /a 3. The force F and position of the centre of
pressure ȳ then reduce to
3a
F rga3 and ȳ : m
2
Example 44.2
Find the total force acting on a plane circular window of radius R in the
vertical side of a swimming pool, if the window is completely immersed with
its centre at a depth h below the surface of the water. Determine the location
of the centre of pressure.
Solution
Finding F from formula (A )
The area of the window is S /pR2, and as by symmetry its centroid is at its
centre, it follows that the centroid is at a distance d /h below the surface of
www.EngineeringEBooksPdf.com
HYDROSTATIC PRESSURE 345
Fig. 104
so as it is at a depth h /y below the surface, the force acting on it is
and so
R R
F 2rgh
g R
(R2 y2 )dy2rg
g R
y(R2 y2 )dy:
Only the first integral needs to be evaluated since the second one is zero. To
see this, we first recall the interpretation of a definite integral in terms of
signed areas. With this in mind, we see that as the integrand y (R2 /y2) is
an odd function, and the limits are symmetric about the origin, it follows that
the integral is equivalent to the sum of two equal areas with opposite signs,
and so vanishes.
www.EngineeringEBooksPdf.com
346 ESSENTIALS OF ENGINEERING MATHEMATICS
p=2
2rghR2
g p=2
cos2 u du:
1
As cos2 u (1cos 2u), this may be rewritten as
2
p=2
F rghR2
g p=2
(1cos 2u) du,
R R
2rgh2
g R
(R2 y2 )dy4rgh
g R
y(R2 y2 )dy
R
2rg
g R
y2 (R2 y2 )dy:
and that the second integral is zero, so we only need to determine the last
integral. Thus
R
ML rgpR2 h2 2rg
g R
y2 (R2 y2 )dy:
www.EngineeringEBooksPdf.com
HYDROSTATIC PRESSURE 347
PROBLEMS 44
www.EngineeringEBooksPdf.com
45 Moments of inertia
where fbody represents integration over the region occupied by the body.
Example 45.1
Find the moment of inertia and radius of gyration about the y -axis of a thin
rod of length a in the interval 0 0/x 0/a if the mass per unit length of the rod
is given by
2x
r(x)m 1 :
a
Solution
The situation is shown in Fig. 105. The mass of the element AB of length Dx
located at a distance x from 0 is
www.EngineeringEBooksPdf.com
MOMENTS OF INERTIA 349
Fig. 105
2x
Dm m 1 Dx,
a
Thus letting Dx 0/0 and integrating over the length of the rod gives
a
2x
0g
Iy m x2 1
a
dx
5ma3
:
6
2am,
so the radius of gyration about the y -axis is
Example 45.2
Find the moment of inertia and radius of gyration of a disc of radius a and
mass M about an axis L through its centre which is normal to its plane.
Solution
The area of the disc is pa2 so its mass per unit area r /M /p a2.
If we now divide the disc into annular rings and consider the one extending
from r to r/Dr, where r is the radius of the inside of the annulus, as the area
of the annulus is 2p rDr, its mass will be
DM (M=pa2 )2prDr:
www.EngineeringEBooksPdf.com
350 ESSENTIALS OF ENGINEERING MATHEMATICS
As this is at a distance r from the axis L , its moment of inertia about L will
be
2M
DIL r3 Dr:
a2
Thus letting Dr 0/0 and integrating over the disc from r /0 to r /a gives
a
2M 1
IL
a2 g r dr 2 Ma :
0
3 2
PROBLEMS 45
www.EngineeringEBooksPdf.com
Sequences 46
www.EngineeringEBooksPdf.com
352 ESSENTIALS OF ENGINEERING MATHEMATICS
6 (1/x2) cos p, (2/x4) cos (2p ), (3/x6) cos (3p ), . . . ; {un } with general
term un /(n/x2n ) cos (np );
1 2 3
7 / sin x, sin 2x, sin 3x, . . . ; fun g with general
11 1 22 1 32
n
term un sin nx:
1 n2
Of particular importance when we come to consider series will be the idea
of the limit of a sequence. A sequence {un } will be said to have the limit L if
once n has exceeded, say, a suitably large number N, all the remaining terms
in the sequence are arbitrarily close to L. When this condition is satisfied, we
say the sequence {un } converges to the limit L and write
lim un L:
n0
When a limit exists, it is unique. Any sequence which is not convergent will be
said to be divergent.
The idea of a limit of a sequence can be made mathematically rigorous as
follows. Let o /0 be some arbitrarily small real number. Then {un } has the
limit L if it is possible to find a number N such that
j un L j Bo for n N:
We will not make use of this rigorous definition, but merely consider cases
in which the limit can be found by inspection.
The numerical sequence in 1 above is divergent because un /2n increases
without bound as n 0/. The numerical sequences in both 2 and 3 converge
to the limit L /0 because
1 (1)n1
lim 0 and lim 0:
n0 n! n0 n (n 1)
However, the sequence will diverge if jx j/1 for then the n th term un /xn
increases without bound, and alternates in sign if x is negative. The sequence
www.EngineeringEBooksPdf.com
SEQUENCES 353
converges to the value L /1, if x /1 for then every term is identically equal
to 1, but it diverges if x/ /1 for then the terms oscillate boundedly between
9/1.
The sequence in 6 is divergent because the multiplier (n/x2n ) in the gen-
eral term increases without bound as n 0/, while cos (np )/(/1)n simply
alternates in sign. Finally in 7, the sequence is seen to converge to the limit
L /0 because the multiplier /n=(1n2 ) 0 0 as n 0/, while sin nx oscillates
boundedly between 9/1.
PROBLEMS 46
(1)n
5: un :
(n 2) (n 3)
p
6: un xn sin (2n1) :
2
3n
7: un sin nx:
2n 4
2
n
8: un cos nx:
3
n 1
9: un cos n2 x:
10: un ex =n!:
www.EngineeringEBooksPdf.com
47 Infinite numerical series
where an is called the nth term, or general term, of the series. When speaking
X
about an arbitrary infinite series, this notation is often contracted to an :
A finite series is one with a finite number of terms and, for example, when
using the summation notation, the finite series a3/a4/. . ./a20 would be
written
X
20
an :
n3
The following are four examples of infinite series with numerical terms.
Series (a):
2 3 X
2 2 2 2 n1
1 . . . :
3 3 3 n1 3
Series (b):
1 1 1 X
1
1 . . . :
2 3 4 n1 n
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 355
Series (c):
X
3 4 n1
ln 2ln ln . . . ln :
2 3 n1 n
Series (d):
1 1 1 X
1
. . . :
1×2 2×3 3×4 n1 n (n 1)
The connection between the sum of an infinite series and the limit of a
sequence may be established as follows. Consider the infinite series of
numerical terms
/ X
an ,
n1
and set
X
n
Sn a1 a2 a3 . . .an ar :
r1
Notice the use of the dummy summation index r in the last expression, which
tells us to sum the terms ar starting with r/1 and ending with r/n. Had we
used n as the summation index, there would have been confusion between the
fixed number of terms to be added (namely n ) and the numbering of the
individual terms in the series.
We call Sn the n th partial sum of the series
X
an ,
n1
because it is the sum of the first n terms. The numbers S1, S2, . . . , form a
sequence {Sn } with general term Sn . We say the infinite series converges to
the sum L if
lim Sn L:
n0
If this limit does not exist, the series will be said to be divergent.
The question of the convergence or divergence of a finite series cannot
arise because the sum of a finite number of terms must be finite, so all finite
series converge.
In general, the sum of an infinite series with numerical terms cannot be
expressed in closed form (that is, it cannot be expressed as a specific number)
and so must be estimated numerically. Thus before any numerical calcula-
tions are performed on a series, it is necessary to know that the series
converges. Various tests called convergence tests are available for this
purpose. As a general rule, they do not give information about the sum of
a series, but merely about whether the series is convergent.
www.EngineeringEBooksPdf.com
356 ESSENTIALS OF ENGINEERING MATHEMATICS
but this is the sum of a geometric series with n terms in which r / /2/3, so
1 (2=3)n 3
Sn [1(2=3)n ]:
1 (2=3) 5
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 357
1 1 1 1 1 1 1 1
. . . ,
1 2 2 3 3 4 n n1
and after removing the brackets and cancelling terms, this becomes
1
Sn 1 :
n1
This process is called the telescoping of a series. Thus we have
1
lim Sn lim 1 1
n0 n0 n1
so this series converges to the sum 1.
Before discussing convergence tests, let us first examine the behaviour of
series (b) more closely. Consider the partial sum S2n involving the first 2n
terms of the series, so
1 1 1
/
S2n 1 . . . n :
Then 2 3 2
1 1 1 1 1 1 1 1 1
S2n 1 . . . . . . ,
2 3 4 5 6 7 8 2n1 1 2n
and so by underestimating terms in the brackets we find that
1 1 1 1 1 1 1 1 1 1
S2n 1 . . . . . .
2 4 4 8 8 8 8 2n 2n 2n
|fflfflfflfflffl{zfflfflfflfflffl} |fflfflfflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflfflfflffl} |fflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflfflffl}
1=2 1=2 1=2
leading to the result
1 1 1
S2n 1 . . . :
2 2 2
|fflfflfflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflfflfflffl}
n terms
Thus
n
/ S2n 1 ,
2
but
/ n
lim 1
n0 2
so
lim S2n
and we have proved that series (b) is divergent. The series in (b), namely the
series
1 1 1 X
1
1 . . . ,
2 3 4 n1 n
www.EngineeringEBooksPdf.com
358 ESSENTIALS OF ENGINEERING MATHEMATICS
is called the harmonic series. It has many uses, one of which is to serve as a
X
basis for comparison with other series. If a series of positive terms an is
X X
such that an E/ l/n, then term for term, an exceeds or equals 1=n:
X X
However 1=n is divergent, so an must also be divergent.
This is a typical example of what is called a comparison test, and as stated is
a test for divergence.
Example 47.1
Determine the convergence property of
X
2n2
:
n1 3n3 1
Solution
The general term
2n2 2
un ,
3n3 1 3n (1=n2 )
so
2
/ un ,
3n
and thus
X
2n2 2X
1
:
n1 3 n3 1 3 n1 n
However, the series on the right is divergent (it is the harmonic series) so
X
2n2
n1 3 n3 1
is divergent. m
A general comparison test for divergence may be formulated in the follow-
ing obvious manner.
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 359
X
An important property of a convergent series is that if an is convergent,
X
then lim an 0: This follows from the fact that if an converges to the
n0
limit L , then
/
X
an lim Sn L,
n0
n1
but
Sn Sn1 an ,
and as
/
lim Sn lim Sn1 L,
n0
we must have
lim an 0:
n0
lim an "0,
n0
Example 47.2
X
2n
:
n1 5n 3
Solution
As
2n
/ an
5n 3
www.EngineeringEBooksPdf.com
360 ESSENTIALS OF ENGINEERING MATHEMATICS
we see that
2n 2
lim an lim "0,
n0 n0 5n 3 5
Example 47.3
Solution
X n X n
1 (1=4)n
1 1 20
(i) 5 5 5 lim :
n0 4 n0 4
n0 1 (1=4) 3
n
X n n
X n
X
1 1 1 1
(ii)
n0 2 3 n0 2 n0 3
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 361
n n
1 (1=2) 1 (1=3)
lim lim
n0 1 (1=2) n0 1 (1=3)
3 7
2 :
2 2
n
X n
X
X
1 1 n 1 1 n
(iii)
n0 2 2 2
n0 n0 2
n
1 (1=2) 1 (1=2)n
lim lim
n0 1 (1=2) n0 1 (1=2)
2 8
2 : m
3 3
The series
X
(1)n1 an ,
n1
with an /0 for all n is called an alternating series (the signs of the terms
alternate between / and /). The convergence properties of these series are
easily determined by using the following test.
then the series converges. Furthermore, if the sum of the series is approxi-
mated by the n th partial sum
Sn a1 a2 a3 . . .(1)n an ,
the magnitude of the error cannot exceed an1.
Proof
The sum of the first 2n terms is
S2n a1 a2 a3 a4 . . .a2n1 a2n
(a1 a2 )(a3 a4 ). . .(a2n1 a2n )0,
because each bracketed pair of terms is positive since an1 B/an . Further-
more
www.EngineeringEBooksPdf.com
362 ESSENTIALS OF ENGINEERING MATHEMATICS
S2n a1 (a2 a3 )(a4 a5 ). . .(a2n2 a2n1 )a2n B a1 ,
since each bracketed pair of terms is positive and a2n /0. Thus we have the
estimate
0BS2n Ba1 , for all n:
Now
S2n1 S2n a2n1
and if the series is convergent to the sum S
lim S2n1 lim S2n S,
n0 n0
so we must have
lim a2n1 0:
n0
This same argument shows that the magnitude of the error made when the
sum approximated by Sn cannot exceed an1, so the result is proved.
Example 47.4
Solution
(i) This is an alternating series with an /1/n . As 1/(n/1) B/1/n it follows
that an1 B/an , and lim (1=n)0, so the series is convergent. If the sum
n0
S is approximated by
1 1 1 (1)n
Sn 1 . . . ,
2 3 4 n
then it follows from the last part of the alternating series test that
1
/ ½S Sn ½ B :
n1
Thus the series converges very slowly, and to attain an accuracy of 0.001
when summing the series numerically would require 1000 terms.
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 363
so the series is convergent. The magnitude of the error made when the
sum S is approximated by the n th partial sum
1 1 (1)n1
Sn 1 . . .
2! 3! n!
is such that
1
/ ½S Sn ½ B :
(n 1)!
This series converges rapidly, and even if the sum is approximated
by only five terms, the magnitude of the error will not exceed
1/6! /1/720. m
In general, series contain both positive and negative terms, but they are not
necessarily alternating series so other tests for convergence are needed. The
nature of some tests for convergence make it important to distinguish
between different types of series containing positive and negative terms.
This is accomplished by Xintroducing the idea of absolute and conditional
convergence. If a series an containing both positive and negative terms is
X
convergent, and the sum of the absolute values ½an ½ is also convergent, the
X
series an will be said to be absolutely convergent. If, however, the series
X X X
an is convergent, but the series ½an ½ is divergent, the series an will be
said to be conditionally convergent.
Example 47.5
Determine the convergence properties of
X
(1)n1
(i) / ;
n1
n
X n
n1 1
(ii) / (1) :
n1
5
www.EngineeringEBooksPdf.com
364 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
(i) We have seen in Example 47.4(i) that this series is convergent. However,
the sum of the absolute values is
X
(1)n X 1
n1
j
n
n1 n
j,
X
(1)n1
n1 n
is conditionally convergent.
(ii) As an /(1/5)n and
(1=5)n1 B(1=5)n ,
X
n X n
n1
j
(1)n
1
5 j
1
n1 5
,
is absolutely convergent. m
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 365
Example 47.6
Use the comparison test to determine the convergence properties of
X
n
1 1
[3(1)n 1] :
n1 6n 1 5
Solution
Setting
n
n 1 1
bn [ 3 (1) 1] ,
6n 1 5
we see that
www.EngineeringEBooksPdf.com
366 ESSENTIALS OF ENGINEERING MATHEMATICS
n
4 1
bn B :
6n 1 5
is convergent since it is a geometric series with r/1/5 B/1. Then as jbn j B/an
X
the comparison test shows that bn is absolutely convergent. m
n1
Ratio test
X
If a series an is such that an "/0, and
n1
lim
n0 j j
an1
an
L,
then X
1 The series an is absolutely convergent if L B/1;
X
2 The series an is divergent if L /1;
Proof
Suppose the ratio janl /an j is always defined and that
lim
n0 j j
an1
an
L
with L B/1. Then for some fixed number r, such that L B/r B/1, it follows
from the existence of the limit that for some suitably large integer N
½ an1 ½ Br ½ an ½ if nN:
Thus we have
½ aN2 ½ Br ½ aN1 ½, ½ aN3 ½B r ½ aN2 ½ Br 2 ½ aN1 ½, . . . ,
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 367
so that in general
½ aNm1 ½ Br m ½ aN1 ½:
Writing
X
X
N X
an an an ,
n1 n1 nN1
so that
X
RN an
nN1
Example 47.7
Test the following series for convergence by using the ratio test
X
(1)n1
(i) / ;
n1
n!
X
(1)n1
(ii) / :
n1
n2
Solution
(1) n1
(i) Setting an we have
n!
an1 n ! 1
,
an (n 1) ! n 1
so
/
j j j
an1
an
1
n1
1
n1
: j
Now
L lim
n0 j j
an1
an
lim
1
n0 n 1
0,
www.EngineeringEBooksPdf.com
368 ESSENTIALS OF ENGINEERING MATHEMATICS
both
X
(1)n1 X
1
and
n1 n! n1 n !
are convergent.
(ii) Setting
(1) n1
an ,
n2
we have
an1 n2
,
an (n 1)2
so
n2 n2
j j j
an1
an
(n 1) 2 j
(n 1)2
:
Now
n2
L lim
n0 j j
an1
an
lim
n0 (n 1)2
1,
so as L/1 the test fails and we are unable to determine whether the
series is absolutely convergent on the basis of this test.
We know from the alternating series test that the series is convergent,
but as yet we are unable to determine whether it is absolutely convergent
(it is). m
A test which can be proved in a manner analogous to that used for the
ratio test is as follows.
nth root test
X
If the series an is such that an "/0, and
n1
lim ½ an ½1=n L,
n0
then
X
1 The series an is absolutely convergent if L B/1;
X
2 The series an is divergent if L /1;
3 The
X test provides no information about the convergence or divergence of
an if L /1.
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 369
Example 47.8
Test for convergence the series
X 2 3
n n 1 2 3
. . . :
n1 3n 1 4 7 10
Solution
Set
n
n
an ,
3n 1
then
n
n
½ an ½ ,
3n 1
so
n
/ ½ an ½1=n :
3n 1
Now
n 1
L lim ½ an ½1=n lim
n0 n0 3n 1 3
so as L B/1 the series is absolutely convergent. m
For our last test we describe the integral test which, although it is only
applicable to series of positive terms, is both powerful and useful.
Integral test
Let f(x) be a positive, continuous and decreasing function for x E/1 and set
an /f(n). Then the series
X
/
an
n1
g 1
f (x) dx
converges or diverges.
Proof
Consider the diagrams in Fig. 106. Then, using the interpretation of the
definite integral as an area, we have the obvious area inequalities
X
n n X
n1 X
n
r2
f (r)0
g 1
f (x) dx0
r1
f (r)0
r1
f (r):
www.EngineeringEBooksPdf.com
370 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 106
Here, the summation to the left of the integral is the area of the shaded
rectangles in Fig. 106(a), while the sum to the immediate right is the area of
the shaded rectangles in Fig. 106(b). The summation to the extreme right has
one additional term which further reinforces the inequality.
As ar /f(r ) this becomes
X
n n X
n
r2
ar 0
g 1
f (x) dx0
r1
ar :
The summation on the right only differs from the one on the left by the single
term a1, so the series and the integral converge or diverge together as n 0/.
Example 47.9
where p is a parameter in the range 0 B/p B/. Such series are often called
p -series.
Solution
The general term of the series is
/ 1
an ,
np
so we set f(x )/1/x p , for then an /f(n ) as required by the integral test. Now
f(x ) is defined for 1 0/x B/, is continuous and decreases to zero as x 0/,
so the integral test may be used:
n n
dx 1 1
g 1
f (x) dx
g1 x
p
1 p xp1
1 :
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 371
1
,
p1
X
1
n1 np
X
(1) n1
,
n1 n2
first attempted in Example 47.7(ii). The ratio test failed, but we know from
the alternating series test that the series is convergent. It will be absolutely
convergent if the series
X
1
n1 n2
is convergent. This is, indeed, the case because it is a p -series with p /1, so
X
(1) n1
n1 n2
is absolutely convergent.
www.EngineeringEBooksPdf.com
372 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 47
X n n
1 6
4: :
n1 3 5
X
1
5: :
n1 n
X n
2 3n
6: :
n0 6n
X
7: (1)n :
n0
X n
3 1
8: :
n1 3n
X
1 1 n
9: :
n1 n 2
X
n1
10: ln 2 ln :
n2 n1
X
1
11: :
n1 n (n 2)
X
1
12: :
n1 (2n 1) (2n 1)
X
n
13: :
n1 2n
X
n
14: :
n1 3n 1
X
2n 1
15: :
n1 (2)n
www.EngineeringEBooksPdf.com
INFINITE NUMERICAL SERIES 373
X
(1) n1
16: :
n1 2n 1
X
(1)n1
17: :
n1 n
X
(1)n1 n
18: :
n1 2n
X
2 n
19: (1) (n n)=2 :
n1 3n
X
(1)n1 (3n 1)
20: :
n1 n (n 1)
1 1 1
21: . . . :
4 7 10
X
n1 n
22: :
n1 4 n 1
X 2n1
n
23: :
n1 4 n 1
X
n
24: :
n1 (n 1)3
X
n
25: :
n1 1 n2
X
1
26: :
n1 (2n 1)2 1
X
n
27: :
n1 n4 1
X
sin na
28: :
n1 n2
X n
1
29: :
n2 ln (2n 1)
X ln nn
30: :
n2 n
www.EngineeringEBooksPdf.com
48 Power series
in which the coefficients an of the power series are numbers and x0 is some
given numerical value of the variable x . The power series is said to be
expanded about the point x0. For any fixed numerical value of x this infinite
series in powers of x/x0 will become an infinite numerical series of the type
considered in the previous section, and so will either converge or diverge.
Thus a power series in x/x0 will define a function of x for all x in the
interval in which the series converges. In terms of the summation notation,
we can write the power series as
X
an (xx0 )n ,
n0
and if the function to which this infinite series converges is denoted by f(x),
often called its sum function, we may write
X
f (x) an (xx0 )n :
n0
The interval in which this power series will converge will depend on the
coefficients an , the point (number) x0 about which the series is expanded and
x itself. To determine the convergence properties, let us apply the ratio test to
the power series, in which the nth term is an (x /x0)n and the (n/1)th term is
an1 (xx0 )n1 :
Then we know from the ratio test that the power series will converge if
an1 (x x0 )n1
lim
n0 j an (x x0 )n j B1,
which is equivalent to
lim
n0 j j
an1
an
j xx0 j B1
www.EngineeringEBooksPdf.com
POWER SERIES 375
lim
n0 j j
an1
an
j xx0 j B1:
j xx0 j B lim
n0 j j
an
an1
:
r lim
n0 j j an
an1
,
we see that the power series converges absolutely (the ratio test is a test for
absolute convergence) if
j xx0 j Br:
This inequality defines the interval
x0 rBx Bx0 r
in which the power series is absolutely convergent. The number r is called the
radius of convergence of the power series, and the interval x0 /r B/x B/x0/r
is called the interval of convergence. As the ratio test fails when L /1, it is not
possible to say on the basis of the above argument whether the series con-
verges at the end points of the interval of convergence.
If necessary, the convergence properties of the series at the end points of
the interval of convergence must be investigated separately (by using other
tests when x /x09/r).
For any x outside the interval of convergence, a power series will diverge.
Thus the meaning of the interval of convergence can be illustrated diagram-
matically as in Fig. 107, in which the behaviour of the series at points P and
Q requires special investigation.
When it is more convenient, the n th root test may also be used to deter-
mine the radius and interval of convergence of a power series, for this test is
also a test for absolute convergence. The same form of argument then shows
that the radius of convergence r is given by
r lim j 1=an j1=n :
n0
Fig. 107
www.EngineeringEBooksPdf.com
376 ESSENTIALS OF ENGINEERING MATHEMATICS
be such that an "/0. Then the radius of convergence of the series is given by
r lim
n0 j j an
an1
,
or by
1=n
r lim
n0 j j
1
an
,
Example 48.1
x2 x3 x4 X
xn
x . . . (1)n1 :
2 3 4 n1 n
Solution
This series is expanded about the point x0 /0 (the origin) and the n th
coefficient
(1)n1
an :
n
Thus
(1)n1 (n 1)
j j j
an
an1
n
×
(1)n2
n1
n
, j
and so the radius of convergence
r lim
n0 j j an
an1
lim
n0
n1
n
1:
www.EngineeringEBooksPdf.com
POWER SERIES 377
the alternating series test, but when x / /1 it becomes the harmonic series,
and so it is divergent. Thus the series is convergent for /1B/x 0/1, and
divergent outside this interval. m
Example 48.2
x2 x3 X
xn
1x . . . (1)n :
2! 3! n0 n!
Solution
The series is expanded about the point x0 /0 and the n th coefficient
(1)n
an :
n!
Thus
(1)n (n 1)!
j jj
an
an1
n1
(1) n!
j
1 × 2 × 3 . . . n(n 1)
1 × 2 × 3...n
n1,
r lim
n0 j j
an
an1
:
Example 48.3
1 1 1 X
(1)n
1 (x1) (x1)2 (x1)3 . . . (x1)n :
22 24 26 n0 22n
Solution
The series is expanded about the point x0 /1 and the n th coefficient
(1)n
an :
22n
Thus
(1)n 22(n1)
j j j
an
an1
(1)n1 22n j 4,
www.EngineeringEBooksPdf.com
378 ESSENTIALS OF ENGINEERING MATHEMATICS
r lim
n0 j jan
an1
4:
Example 48.4
x2 x4 X
x2n
1 . . . :
2! 4! n0 (2n)!
Solution
This series is expanded about the point x0 /0, but it only contains even
powers of x , so the n th coefficient
8
< 1 , if n is even
>
an (2n)!
>
:
0, if n is odd:
The ratio test which gave rise to the formula for r requires an "/0, so it cannot
be applied directly.
To overcome the difficulty, set z/x2, for then the series becomes the
power series in z
z z2 X
zn
1 . . . ,
2! 4! n0 (2n!)
j j
an
an1
[ 2 (n 1)]!
(2n)!
(2n1) (2n2):
Thus
r lim
n0 j j
an
an1
lim [ (2n1) (2n2)] ,
n0
www.EngineeringEBooksPdf.com
POWER SERIES 379
the radius of convergence with respect to x is also infinite. Thus the series
converges for /B/x B/. m
Example 48.5
Solution
The series is expanded about the point x0 /2 and the n th coefficient
n1 n
an (1)n :
5n 3
The form of an suggests that we make use of the formula for the radius of
convergence based on the nth root test. Thus
1=n
r lim
n0 j j
1
an
1=n
5n 3 n
n0
j
lim (1)n
n1
j
lim
n0 j
5n 3
n1 j
5:
As the series is expanded about the point x0 /2, it follows that the interval
of convergence is
3 Bx B 7: m
PROBLEMS 48
Find the radius and interval of convergence for each of the following power
series.
X
1: xn :
n0
X
xn
2: :
n0 3n (n 1)
www.EngineeringEBooksPdf.com
380 ESSENTIALS OF ENGINEERING MATHEMATICS
X
xn
3: :
n1 n × 2
n
X
(x 1)n
4: :
n1 (2n 1) × 2n
X
(x 1)n
5: :
n1 n × 4n1
X
(x 2)n
6: :
n1 n2
X
7: n!xn :
n1
X
n!
8: xn :
n1 nn
X
xn
9: :
n1 nn
X n
n x
10: :
n1 n1 2
X
(x 2)n
11: :
n0 n!
X
10n xn
12: :
n1 n
X
(x 4)n
13: :
n1 (n 1)
X
xn
14: :
n1 n × 2n
X
2n xn
15: :
n0 [(4n 1)=5n ]
X
2n xn
16: :
n0 (2n 1)2 (3n)
www.EngineeringEBooksPdf.com
POWER SERIES 381
X n2
1
17: 1 (x2)n :
n1 n
X
2n
2n 1
18: (1)n1 (x1)n :
n1 3n 2
X
(1)n1 x2n1
19: :
n1 5n (n 1)
X
(x 1)2n1
20: :
n1 (2n 1)
X
(x 3)n
21: :
n1 n × 5n
X
22: nn (x5)n :
n1
X
x2n
23: :
n1 (2n)2 22n
X
x2n1
24: :
n1 3n
X
(n 1)5
25: x2n :
n0 2n 1
X
26: xn! :
n1
www.EngineeringEBooksPdf.com
Taylor and Maclaurin
49 series
In the previous section, we saw how a power series defines a function, and
how to determine the interval of convergence of the function represented by
this series. We will now consider the converse of this situation, by discovering
how a given function may be expressed in the form of a power series expan-
ded about some convenient point.
Let f(x ) be a function which may be differentiated arbitrarily many times
at x/x0, and let us seek to represent f(x ) in the form of the power series
X
f (x) an (xx0 )n :
n0
Our task is then to determine the coefficients an in terms of the given function
f (x ). For the sake of simplicity, instead of using the summation notation, we
will work with the series in the form
f (x)a0 a1 (xx0 )a2 (xx0 )2 a3 (xx0 )3 . . . :
Setting x /x0 shows that
a0 f (x0 ):
Differentiating the series gives
f (1)
(x) a1 2a2 (xx0 )3a3 (xx0 )2 . . . ,
where, as usual, f (1)(x )/df/dx .
Again setting x /x0 we find from this that
(1)
a1 f (x0 ):
A further differentiation yields
(2)
f (x)2a2 2×3a3 (xx0 ). . . ,
so once again setting x /x0 we obtain the
1 (2) 1 (2)
a2 f (x0 ) f (x0 ):
2 2!
A repetition of this process shows that
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 383
1 (n)
an f (x0 ),
n!
where f (n) (x0 )(dn f =dxn )xx0 :
Substituting these coefficients into the original series gives
or
X
(x x0 )n f (n)
(x0 )
f (x) ,
n0 n!
where, for convenience, we define f (0)(x0) /f (x0).
This power series expansion of f(x) is called the Taylor series expansion
of f (x ) about the point x0. When x0 /0 the Taylor series expansion reduces
to the Maclaurin series expansion of f(x) (a Maclaurin series is always an
expansion about the origin)
X
xn f (n)
(0)
f (x) :
n0 n!
or
X
(x x0 )n f (n)
(x0 )
f (x) :
n0 n!
When the expansion of f(x ) is about the origin (x0 /0), the series is called
the Maclaurin series expansion of f(x) and it has the form
/ x2 xn
f (x)f (0)xf (1) (0) f (2) (0). . . f (n) (0). . . ,
2! n!
or
/ X
xn f (n) (0)
f (x) :
n0
n!
The four examples which follow illustrate the determination of Maclaurin
series.
Example 49.1
www.EngineeringEBooksPdf.com
384 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
We must set f(x) /sin x and determine the values of successive derivatives of
f(x ) at x /0. Substitution of these values into the general Maclaurin series
given above will then yield the required expansion. We have
f (0) sin 00,
f (x)cos x, so f (1) (0) 1,
(1)
Example 49.2
Solution
Setting f(x )/ex , and using the fact that
dn x
[e ]ex ,
dxn
we find that f (0) /1 and, in general, f (n )(0) /1.
Thus, substituting the values of f (n )(0) into the general Maclaurin series
gives as the Maclaurin series for ex
x2 x3
ex 1x . . . ,
2! 3!
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 385
or
X
xn
ex (remember, by definition,0!1):
n0 n!
Solution
Setting f(x )/ln (1/x) we have
f (0) 0,
(1) 1
f (x) , so f (1) (0)1,
1x
1
f (2) (x) , so f (2) (0)1,
(1 x)2
1×2
f (3) (x) , so f (3) (0)2!
(1 x)3
and, in general,
(1)n1 (n 1)!
f (n)
(x) , so f (n)
(0)(1)n1 (n 1)!,
(1 x)n
for n/1, 2, 3, . . . .
Substituting these values of f (n )(0) into the general Maclaurin series shows
that the Maclaurin series for ln (1/x ) is
x2 x3 x4 ( 1)n1
ln(1x)x . . . . . . ,
2 3 4 n
or X ( 1)n1 xn
/ ln(1x) :
n1
n
This series was examined in Example 48.1, where it was shown to converge
for / 1 B/x 0/1. m
Although the general term in the Maclaurin series considered so far has
been easy to find by inspection, this is usually not the case. The last example
shows how the successive derivatives of f(x) often follow no simple pattern,
so that then each term of the Maclaurin series must be found by direct
calculation.
www.EngineeringEBooksPdf.com
386 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 49.4
Solution
We have
f (x)tan x, so f (0)0,
f (x) sec2 x, so f (1) (0)1,
(1)
Solution
To determine the required Taylor series we must set f(x )/cos x and x0 /a ,
and then compute the derivatives f (n )(a ), prior to substituting them into the
general Taylor series expansion.
We have
f (x)cos x, so f (a)cos a,
(1)
f (x)sin x, so f (1) (a)sin a,
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 387
As a special case, by setting a /0 we obtain from this the Maclaurin series
expansion of cos x
X
( 1)n x2n
cos x : m
n0 (2n)!
Example 49.6
Find the Taylor series expansion of (2/x ) 1/2 about the point 1.
Solution
To develop the required Taylor series we must set f(x )/(2/x )1/2 and x0 /1,
and then compute the derivatives f (n )(1), prior to substituting them into the
general form of the Taylor series.
We have
1 1
f (x) 1=2 , so f (1) ,
(2 x) 3 1=2
1 1 1 1
f (1) (x) × 3=2 , so f (1) (1) × ,
2 (2 x) 2 33=2
www.EngineeringEBooksPdf.com
388 ESSENTIALS OF ENGINEERING MATHEMATICS
(2) 1 3 1 1×3
f (x) × × 5=2 , so f (2) (1) ,
2 2 (2 x) 23 35=2
1 3 5 1 1×3×5
f (3) (x) × × × 7=2 , so f (3) (1) ,
2 2 2 (2 x) 23 37=2
and an inspection of the general pattern of the results, together with some
experimentation, shows that
1 × 3 × 5 . . . (2n 1)
f (n)
(1) (1)n :
2n 3(2n1)=2
Substituting the values for f (n )(1) into the general form of the Taylor series
and setting x0 /1, we see that the required Taylor series expansion of
(2/x )1/2 about the point 1 is
1 1 (x 1) 1 × 3 (x 1)2
(2x)1=2
31=2 2 × 33=2 1! 22 × 35=2 2!
1 × 3 × 5 (x 1)3 1 × 3 × 5 . . . (2n 1) (x 1)n
. . .(1)n . . . :
32 × 37=2 3! 22 × 3(2n1)=2 2!
This result could also have been obtained by means of the binomial the-
orem. First we introduce the term (x / 1) into the function (2/x ) 1/2 by
writing it as
1 1 1 1
,
(2 x)1=2 [3 (x 1)]1=2 31=2 x 1 1=2
1
3
1 1=2
(1a) ,
31=2
with a/(x/ 1)/3. Expanding this expression by the binomial theorem
(Section 6) gives
1 1 1 1×3 2 1×3×5 3
1 a a a . . . :
(2 x)1=2 31=2 2 2×4 2×4×6
Substituting for a we obtain
1 1 1 1 × 3 (x 1)2 1 × 3 × 5 (x 1)3
1 (x 1) . . .
(2 x)1=2 31=2 2×3 22 × 32 2! 23 × 33 3!
2
1 1 1 × 3 (x 1) 1 × 3 × 5 (x 1)3
(x 1) . . . ,
31=2 2 × 33=2 22 × 35=2 2! 22 × 37=2 3!
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 389
The justification for this is provided by writing the Taylor series of f(x )
about the point x0 in the form
(2)
f (x0 )
f (x)f (x0 )(x x0 ) f (1)
(x0 )(x x0 )2 . . .
2!
(n 1)
f (x0 )
(x x0 )n 1 Rn (x),
(n 1)!
where Rn (x) is the remainder after n terms, and then showing that
/
lim Rn (x)0
n0
for x is the interval of convergence. When expressed in this form, the result is
called Taylor’s theorem, from which Maclaurin’s theorem follows by setting
x0 /0.
The precise form of the remainder term Rn (x ) is given below in the state-
ment of the Taylor and Maclaurin theorems.
www.EngineeringEBooksPdf.com
390 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 49.7
Solution
We set f(x) /ex /2 and x0 /1. Then we have
f (x) ex=2 , so f (1)e1=2 ,
1 x=2 1 1=2
f (1) (x) e , so f (1) (1) e ,
2 2
1 1
f (2) (x) ex=2 , so f (2) (1) e1=2 ,
4 4
1 1 x=2
f (3) (x) ex=2 , so f (3) (x) e ,
8 8
and
/ (4) 1 x=2 (4) 1 j=2
f (x) e , so f (j) e , 20j 02:
16 16
Substituting into Taylor’s theorem we find that
e1=2 (x 1) e1=2 (x 1)2 e1=2 (x 1)3 ej=2 (x 1)4
ex=2 e1=2 × ,
2 1! 4 2! 8 3! 16 4!
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 391
In point of fact this is a gross overestimate of the error, as may be seen from
Table 7.
Table 7
x T3(x ) e x /2
The greatest error of 0.178 44 occurs when x / / 2, but even here it is well
within the error estimate. m
It can be shown that within its radius of convergence, the differentiation
and integration of the power series (Taylor or Maclaurin series) representing
a function f (x ) will yield the power series for d[ f(x)]/dx and Rf (x )dx ,
respectively. We now state this important result formally, though we will
not prove it.
Example 49.8
Deduce the series expansion of cos x from the Maclaurin series expansion for
sin x .
Solution
We saw in Example 49.1 that
x3 x5 x7 x9
sin x x ...,
3! 5! 7! 9!
www.EngineeringEBooksPdf.com
392 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 49.9
Solution
From the binomial theorem we have
1
1 tt 2 t3 . . .(1)n t. . . ,
1t
which we know to be absolutely convergent for / 1 B/t B/1. Thus we may
integrate this result from 0 to x to obtain
x x x x x x
dt
g 0 1t
g 0
dt
g 0
t dt
g 0
t 2 dt
g 0
t 3 dt. . .(1)n
g t dt. . . ,
0
n
so
x2 x3 x4 xn1
ln (1x)x . . .(1)n . . . ,
2 3 4 n1
for / 1 B/x B/1, in agreement with the result obtained in Example 49.3. m
Example 49.10
Solution
From the binomial theorem we have
1
1 t 2 t 4 t 6 . . .(1)n t 2n . . . ,
1 t2
which is absolutely convergent for / 1B/t B/1. Thus we may integrate this
result from 0 to x to obtain
x x x x x
dt
g 0 1 t2
g 0
dt
g 0
t 2 dt
g 0
t 4 dt. . .(1)n
gt
0
2n
dt. . . ,
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 393
so
x3 x5 x7 x2n 1
arctan x x . . .(1)n1 . . . ,
3 5 7 2n 1
for / 1 B/x B/1. m
Often when working with Maclaurin series only the first few terms are
required. In such circumstances, when the function f(x ) involved is the
product of two functions with known Maclaurin series, the simplest
way of finding first few terms of the required expansion of f (x ) may be by
multiplication of the two series.
Example 49.11
Find the first three non-zero terms of the Maclaurin series expansion of
(i) x ln (1/x2);
(ii) ex sin 2x.
Solution
(i) We saw in Example 49.3 that
x2 x2 x4
ln (1x)x . . . ,
2 3 4
thus replacing x by x2 gives
x4 x6 x8
ln (1x2 )x2 . . . ,
2 3 4
so
x5 x7
x ln (1x2 )x3 . . . ,
2 3
for / 1B/x B/1 (the interval of convergence of ln (1/x) and thus of
ln (1/x2)).
(ii) We saw in Example 49.2 that
x2 x3
ex 1x . . . ,
2! 3!
for / B/x B/, so replacing x by / x gives
x2 x3
ex 1 x . . . ,
2! 3!
for / B/x B/.
In Example 49.1 we found that
x3 x5 x7
sin x x . . . ,
3! 5! 7!
www.EngineeringEBooksPdf.com
394 ESSENTIALS OF ENGINEERING MATHEMATICS
When carrying out this operation care must always be taken to see that
each function is expanded far enough to ensure that all terms of the required
degree are contained in the answer. m
Example 49.12
Use the Maclaurin series expansion of ex to find the Maclaurin series ex-
pansions of sinh x and cosh x.
Solution
We have from Example 49.2 that
x2 x3 x4
ex 1x . . .
2! 3! 4!
for / B/x B/, so replacing x by / x gives
x2 x3 x4
ex 1 x ... ,
2! 3! 4!
for / B/x B/.
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 395
Recalling that
ex ex ex ex
sinh x and cosh x ,
2 2
it follows by addition and subtraction of these series that
x3 x5 x7 x2n1
sinh x x . . . . . . ,
3! 5! 7! (2n 1)!
and
x2 x4 x6 x2n
cosh x1 . . . . . . ,
2! 4! 6! (2n)!
for / B/x B/. m
www.EngineeringEBooksPdf.com
396 ESSENTIALS OF ENGINEERING MATHEMATICS
x2 x3 x4 xn
8 ln (1x)x . . .(1)n1 . . . ,
2 3 4 n
The solution of many problems in both science and engineering depends for
its success on finding the zeros of a function f(x). Let us make clear at the
outset the relationship between the roots of an equation and the zeros of a
function. The numbers x1, x2, . . ., which satisfy the equation
f (x)0
are called the roots of the equation. Thus the roots of the quadratic equation
ax2 bxc 0
can be found from the familiar quadratic formula
b9(b2 4ac)
x :
2a
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 397
f (x0 )
h0 :
f ?(x0 )
f (x1 )
x2 x1 h1 , where h1 :
f ?(x1 )
where
f (xn )
/ hn :
f ?(xn )
Example 49.13
1
f (x)sin x x:
2
Solution
The required zero occurs at the positive value of x at which the graphs
1
y /sin x and y x intersect. Inspection of Fig. 108 shows that intersection
2
occurs for positive x at the approximate value x /2. Thus in Newton’s
method we set x0 /2.
The calculation then proceeds as follows.
www.EngineeringEBooksPdf.com
398 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 108
As
1
f (x)sin x x,
2
it follows that
1
f ?(x)cos x :
2
where
!
sin xn 12 xn
hn 1
:
cos xn 2
First iteration
0 1
1
sin 2 2
×2
x0 2, so h0 @ 1
A 0:099 004,
cos 2 2
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 399
Fourth iteration
!
sin x3 12 x3
x3 1:895 494, so h3 1
2:67107 ,
cos x3 2
If a bad choice is made for the initial approximation to the zero of f(x ), the
method may either converge to a different zero (if there is more than one) or
it may diverge, in which case successive iterates will increase rapidly in mag-
nitude and will usually oscillate in sign. This is an indication that a better
choice is needed for the initial approximation to the zero.
Consider, for example, the quadratic equation
50x2 15x10,
which has the roots x /1/10 and x /1/5. Suppose the smaller of the two
roots was required and a rough calculation suggested that a reasonable
choice for x0 was x0 /0.15. Then in this case the method would, indeed,
converge to the value x /0.1. However, had we made the choice x0 /0.16 it
would have converged to the root x /0.2.
PROBLEMS 49
In problems 1 to 20 find the first four non-zero terms in the Maclaurin series
expansion of the given functions.
1. /f (x)x ex :
2. /f (x)cos 2x:
a
3. /f (x)(1x) (a real):
4. /f (x)cosh 3x:
1
5. /f (x)sinh x:
2
6. /f (x)ln (32x):
1=2
7. /f (x) ln(1x ):
2 1=2
8. /f (x)(1x ) :
x
9. /f (x)e sin x:
2x
10. /f (x)e sinh x:
x
11. /f (x)e ln (1 x):
www.EngineeringEBooksPdf.com
400 ESSENTIALS OF ENGINEERING MATHEMATICS
x
12. /f (x) :
(1 x)
13. /f (x)ax (a0):
14. /f (x)sin2 x:
15. /f (x)tanh x:
16. /f (x)sec x:
p
17. /f (x)sin x :
6
18. /f (x)ln [x(1x2 )]:
x
19. /f (x) :
4 x2
2x 1
20. /f (x) :
(x 1)2
In problems 21 to 26 find the first four terms of the Taylor series expansion of
the function about the stated point.
21. ln x about the point 1.
22. f(x ) /1/x about the point 1.
23. f(x ) /1/x2 about the point / 1.
24. f(x ) /ex about the point / 2.
25. f(x ) /x about the point 4.
26. f(x ) /cos x about the point p /2.
0
x
1 cos t
28.
g t dt:
/
0
2
x
ln (1 2t)
29.
g t dt:
/
0
x
30.
g (1t
/
0
) dt:
2 1=3
x t 2
1 e
31.
g t dt:
/
0
2
x
1 cosh 2t
32.
g
/
0 t
dt: 2
www.EngineeringEBooksPdf.com
TAYLOR AND MACLAURIN SERIES 401
www.EngineeringEBooksPdf.com
402 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
Taylor’s theorem for
functions of two variables:
stationary points and their
identification 50
(1) (x x0 )2 (2)
f (x)f (x0 )(xx0 ) f (x0 ) f (x0 ). . .
2!
We now expand each term on the right-hand side in similar fashion, where
now it is in terms of the variable y/y0/k . As a result we obtain
@f k2 @ 2 f
f (x0 , y0 k)f (x0 , y0 )k . . . ,
@x (x0 , y0 ) 2! @x2 (x0 , y0 k)
2 3
@f @f @ f k2 @ f
k . . . ,
@x (x0 , y0 k) @x (x0 , y0 ) 2
@x @x (x0 , y0 ) 2! @ y @x (x0 , y0 )
2 2 3
@ f @ f @ f
k . . . ,
2
@x (x0 , y0 k) 2
@x (x0 , y0 ) @y @x2 (x0 , y0 )
www.EngineeringEBooksPdf.com
404 ESSENTIALS OF ENGINEERING MATHEMATICS
Substituting these expressions into the original Taylor series, and collect-
ing together derivatives of the same order, gives
@f @f
f (x0 h, y0 k)f (x0 , y0 ) h k
@x (x0 , y0 ) @y (x0 ,y0 )
2 2 2
1 @ f @ f @ f
h2 2hk k2 . . .
2! @x2 (x0 , y0 ) @x @y (x0 , y0 ) @y2 (x0 , y0 )
remainder term
where use has been made of the fact that because the derivatives are con-
tinuous @ 2 f =@x @y@ 2 f =@y @x:
To formulate Taylor’s theorem for the function f(x , y) of two variables in a
concise form we need to introduce a new notation for repeated differentia-
tion.
Let us agree to understand by the expression
@ @ r
(xx0 ) (yy0 )
@x @y
the differentiation operation obtained by expanding the expression by the
binomial theorem and interpreting products such as
@ @ @ @ @
× and × ×
@x @y @x @y @y
as the differentiation operations
@2 @3
and :
@x @y @x @y2
Let us also use convenient notation
@ @ r
(xx0 ) (yy0 ) f (x0 , y0 )
@x @y
to represent the result of applying the above differentiation operation to f (x , y)
and then setting x/x0, y /y0 only in the derivatives. Thus, for example,
2
@ @ 2 @2f
(xx0 ) (yy0 ) f (x0 , y0 ) (xx0 )
@x @y @x2 (x0 , y0 )
2 2
@ f 2 @ f
2 (xx0 ) (yy0 ) (yy0 )
@x @y (x0 , y0 ) @y2 (x0 , y0 )
Then, after taking account of the remainder terms, we arrive at the
following form of Taylor’s theorem.
www.EngineeringEBooksPdf.com
TAYLOR’S THEOREM FOR FUNCTIONS OF TWO VARIABLES 405
X
n1
1 @ @ r
f (x, y)f (x0 , y0 ) (xx0 ) (yy0 ) f (x0 , y0 )
r1 r! @x @y
1 @ @ n
(xx0 ) (yy0 ) f (j, h),
n! @x @y
where j lies between x0 and x and h between y0 and y in the remainder term.
Example 50.1
Solution
The Taylor series up to and including terms in x and y of degree 2 is
@f @f
f (x, y)f (x0 , y0 )(xx0 ) (yy0 )
@x (x0 , y0 ) @y (x0 , y0 )
2 2
1 @ f @ f
(xx0 )2 2 (xx0 ) (yy0 )
2! @x2 (x0 , y0 ) @x @y (x0 , y0 )
@2f
(yy0 )2 . . . :
@y2 (x0 , y0 )
www.EngineeringEBooksPdf.com
406 ESSENTIALS OF ENGINEERING MATHEMATICS
The most important use of Taylor’s theorem for a function of two variables
to be considered here is the identification of the nature of the stationary
points of a twice differentiable function z /f(x , y).
By definition, the stationary points of f(x , y) are the points at which
@f @f
0 and 0,
@x @y
so they are points at which the tangent plane to the graph of z/f(x, y ) is
Fig. 109
www.EngineeringEBooksPdf.com
TAYLOR’S THEOREM FOR FUNCTIONS OF TWO VARIABLES 407
2
@ f
2
(yy0 ) :
@y2 (j, h)
so that
1
f (x, y)f (x0 , y0 ) [h2 A2hkBk2 C],
2
www.EngineeringEBooksPdf.com
408 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 50.2
www.EngineeringEBooksPdf.com
TAYLOR’S THEOREM FOR FUNCTIONS OF TWO VARIABLES 409
@f @f
0 and 0:
@x @y
We have
@f
2x4y:
@x
@f
4x2y:
@y
So 1f/1x /0 and 1f/1y/0 implies
2x4y0, or x 2y
and
4x2y0, or xy=2:
The only solution to this pair of linear equations is x/y/0. Thus f(x , y )
only has a stationary point at the origin (0, 0).
To identify the nature of this stationary point, we must first find the partial
derivatives 12f/1x2, 12f/1x 1y and 12f /1y2. We have
@2f @2f @2f
2, 4 and 2:
@x2 @x @y @y2
Thus
2 2
@2f @2f @ f
(2)(2) 42 12 B0,
@x2 @y2 @x @y
so by condition 2 the single stationary point of f(x, y) located at the origin
(0, 0) must be a saddle point. m
Example 50.3
Show that
f (x, y)13x4 8x3 y72x2 24y2 3
has five stationary points and identify their nature.
Solution
To locate the stationary points we must solve
@f @f
0 and 0:
@x @y
We have
@f
52x3 24x2 y144x,
@x
www.EngineeringEBooksPdf.com
410 ESSENTIALS OF ENGINEERING MATHEMATICS
@f
8x3 48y,
@y
so 1f/1x/0 and 1f/1y /0 implies
13x3 6x2 y36x 0,
x3 6y0,
which must be solved simultaneously.
Substituting for y in the first equation using the second equation gives
3
3 2 x
13x 6x 36x 0,
6
or
/ x(x4 13x2 36)0:
Thus either x /0 or
x4 13x2 360:
This is a biquadratic equation, so to solve it we set x2 /u and find that
u2 13u360:
Thus using the quadratic formula gives
139(169 144) 1395
u ,
2 2
and so u /9 and u/4, and thus x /9/3 and x /9/2. However, y/x3/6, so
the stationary points are (0, 0), (2, 4/3), (/2, /4/3), (3, 9/2) and (/3, /9/2).
Now we must use the test, so first we find the second order partial deri-
vatives
@2f
156x2 48xy144
@x2
@2f
24x2
@x @y
@2f
48:
@y2
At (0, 0)
2 2
@2f @2f @ f
6912B0,
2
@x @y 2 @x @y
so (0, 0) is a saddle point.
At (2, 4/3) and (/2, /4/3)
2 2
@2f @2f @ f
76800, but fxx 3520,
2
@x @y 2 @x @y
www.EngineeringEBooksPdf.com
TAYLOR’S THEOREM FOR FUNCTIONS OF TWO VARIABLES 411
so (2, 4/3) and ( /2, /4/3) are local minima.
At (3, 9/2) and (/3, /9/2)
2 2
@2f @2f @ f
17 280B 0,
@x2 @y2 @x @y
Locate and identify the stationary points of f(x, y) /xy subject to the con-
straint x/y/1.
Solution
The constraint x/y /1 is the straight line y/1/x , so the problem is
to find the stationary points of f(x , y )/xy along this line. Substituting
y / 1/x into f (x , y ), which then becomes a function F (x ) depending only
on x , gives F (x )/x/x2. The stationary points of this function occur when
F ?(x)0, corresponding to 1 /2x /0. As this equation has only the single
solution x /1/2, there is only one stationary point. As F ƒ(x)2, the
second derivative test shows this stationary point to be a maximum.
Substituting x /1/2 into the constraint condition x/y/ 1 gives y /1/2,
so at the point (1/2, 1/2) the function f(x , y )/xy attains its maximum value
of 1/4. m
www.EngineeringEBooksPdf.com
412 ESSENTIALS OF ENGINEERING MATHEMATICS
We now describe the Lagrange multiplier method when used to find the
stationary points of a function f(x , y ) subject to a general constraint
condition g(x , y )/0. Setting z /f (x , y ) and forming the total derivative
(see Section 30) gives
dz @f @f dy
,
dx @x @y dx
and forming the total derivative of the constraint condition gives
@g @g dy
0 :
@x @y dx
Then, provided @g=@y"0 , on the constraint curve we have
dy @g @g
dx
@x = @y
,
www.EngineeringEBooksPdf.com
TAYLOR’S THEOREM FOR FUNCTIONS OF TWO VARIABLES 413
Solutions
Using the method described above we form the function
w xyl(xy1):
Then
wx yl and wy xl,
so wx /wy /0, when y / /l and x / /l . Substituting for x and y in the
constraint condition x/y/1 shows that l / /(1/2). It now follows directly
that a stationary point occurs when x /y/ 1/2, so at the point (1/2, 1/2) we
have f(x , y )/xy /1/4.
www.EngineeringEBooksPdf.com
414 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 50.6
Solution
In this case the stationary points of f(x, y) are required on the circle of unit
radius x2/y2 /1 centered on the origin. Forming the function w (x , y ) we
have
w (x,y)64x3yl (x2 y2 1),
so the equations wx /0 and wy /0 lead to the two equations
42 lx 0 and 32ly 0,
each of which is subject to the constraint condition
x2 y2 1:
Solving wx /wy /0 for x and y gives
2 3
x , y :
l 2l
Substituting these results into the constraint condition to find the permitted
values of l leads to the equation 25 /4l2, from which the two possible values
of the Lagrange multiplier l are seen to be l1 5=2 and l2 5=2 :
When l/l1 we have x1 4=5 and y1 3=5, and when l /l2 we have
x1 4=5 and y1 3=5, so two stationary points occur at (4=5,
/ 3=5) and (4=5, 3=5): At these two points the respective values of
f(x , y ) are 11 and 1, so clearly the point (4=5, 3=5) is a maximum
and the point (4=5, 3=5) is a minimum. m
PROBLEMS 50
In problems 1 to 4, find the Taylor series expansion about the given point of
each of the functions up to and including terms of degree 3.
1. /f (x, y)ex cos y about the point (0, 0):
1y
2. /f (x, y)(1x) about the point (0, 0):
www.EngineeringEBooksPdf.com
TAYLOR’S THEOREM FOR FUNCTIONS OF TWO VARIABLES 415
In the following problems locate and identify the nature of the stationary
points.
5. / f (x, y)x2 y2 2x4y6:
6. /f (x, y)x2 y2 2x4y6:
2 2
7. /f (x, y)32x2y2x 2xyy :
www.EngineeringEBooksPdf.com
51 Fourier series
A Fourier series on the interval /p 0/x 0/p is a way of representing a given
function f(x) in the form of a trigonometric series of the form
1 X
a0 (an cos nxbn sin nx),
2 n1
Fig. 110
www.EngineeringEBooksPdf.com
FOURIER SERIES 417
p
p
sin mx cos nx dx 0;
0 for m "n
2
g
/
p
sin mx sin nxdx
8
p for m n "0;
p 0 for m "n
<
3
g
/
p
cos mx cos nx dx
p for m n "0
:
2p for m n0;
for all integers m , n /0, 1, . . . .
These relationships between sin mx and cos nx are expressed in mathema-
tical terms by saying that these functions are orthogonal over the interval
/p 0/x 0/p.
To determine the coefficients an and bn , we first set
1 X
f (x) a0 (am cos mxbm sin mx):
2 m1
p X
g p
cos nx
m1
(am cos mxbm sin mx) dx:
p X
p
1
a0
2 g p
cos nx dx
m1
am
g p
cos mx cos nx dx
X
p
m1
bm
g p
sin mx cos nx dx :
www.EngineeringEBooksPdf.com
418 ESSENTIALS OF ENGINEERING MATHEMATICS
p
1
a0
p g p
f (x) dx,
since all the terms in the first summation vanish because of integral (3), while
all the terms in the second summation vanish because of integral (1).
When n "/0, because of integral (3), all the terms in the first summation
vanish with the exception of the one for which m /n, while once again all the
terms in the second summation vanish, showing that
1 p
an
p g p
f (x) cos nx dx,
for n /1, 2 . . . .
Examination of the expression determining a0 shows that 12 a0 is the
average value of f(x) over the interval /p 0/x 0/p .
To determine the coefficients bn , we use the same form of argument, but
this time, we multiply the Fourier series by sin nx and again integrate over the
fundamental interval /p 0/x 0/p . As a result, we obtain the formula
1 p
bn
p g p
f (x) sin nx dx,
for n /1, 2, . . . .
Combining these arguments brings us to the following fundamental result.
Fourier series representation of f(x) over the interval /p0/x 0/p
The function f (x ) defined in the interval /p 0/x 0/p has the Fourier series
representation
1 X
f (x) a0 (an cos nxbn sin nx),
2 n1
p p
1 1
an
p g p
f (x) cos nx dx and bn
p g p
f (x) sin nx dx,
www.EngineeringEBooksPdf.com
FOURIER SERIES 419
Example 51.1
Solution
We start by determining a0, which is usually best to calculate separately. In
this case, f(x ) is defined differently on the intervals /p B/x B/0 and
0 B/x B/p , so we must replace the integral over the fundamental interval
/p 0/x 0/p used to define a0 by the sum of an integral over the interval
/p 0/x 0/0 and one over 00/x 0/p as follows:
1 p
a0
p g p
f (x) dx
1 0 1 p
p g p
(1) dx
p g 0
(1) dx
1 1
(p) (p) 0
p p
0 p
1 1
p g p
(1) cos nx dx
p g 0
(1) cos nx dx
0 p
1 1 1 1
sin nx sin nx 0,
p n p p n 0
for n/1, 2, . . . . Notice that we could not have determined a0 from this result
because of the occurrence of the factor n in the denominator when the
definite integrals are evaluated.
Similarly,
p
1
bn
p g p
f (x)cos nx dx
0 p
1 1
p g p
(1) sin nx dx
p g 0
(1) sin nx dx
0 p
1 1 1 1
cos nx cos nx
p n p p n 0
www.EngineeringEBooksPdf.com
420 ESSENTIALS OF ENGINEERING MATHEMATICS
2
(1cos np),
np
for n /1, 2, . . . .
Now cos np /(/1)n , so
2
bn [1(1)n ],
np
and thus
4
np
when n is odd
bn
0 when n is even,
for n /1, 2, . . . .
This type of behaviour, in which the even-numbered coefficients are defined
differently from the odd-numbered ones, occurs frequently in Fourier series.
Since for any integer n the number 2n is even, it follows that the number
2n /1 is odd. Thus we have shown that
/ an 0, for all n 0, 1, 2, . . . ,
and
4
bn , for n1, 2, . . . :
(2n 1)p
4X
N
sin (2n 1)x
SN (x) :
p n1 2n 1
Notice that although f(x ) was discontinuous at x /0, and was not in fact
even defined there, the Fourier series representation of f(x ) is defined at x /0
where it passes through the mid-point of the discontinuity. This is character-
istic of the behaviour of a Fourier series representation at a discontinuity. m
www.EngineeringEBooksPdf.com
FOURIER SERIES 421
g 0
f (u) du
g 0
f (x) dx:
However, since f(x) is odd, f(/u) / /f(u ), so substituting this into the first
integral gives
p p
I
g 0
f (u) du
g 0
f (x) dx,
www.EngineeringEBooksPdf.com
422 ESSENTIALS OF ENGINEERING MATHEMATICS
The same form of argument also shows that if f(x) is even, so that
f( /x )/f(x), then
p p
1 2
an
p g p
f (x) cos nx dx
p g 0
f (x) cos nx dx,
Fig. 112
www.EngineeringEBooksPdf.com
FOURIER SERIES 423
0 p
1 1
an
p g p
(x) cos nx dx
p g 0
x cos nx dx,
for n/0, 1, 2, . . . .
However, this leads to unnecessary work for we know that if f (x ) is an even
function, then
p
2
an
p g 0
f (x) cos nx dx,
for n/0, 1, 2, . . . .
Setting n/0 to determine a0 first gives
2 p
a0
p g 0
x dxp:
2
[ cos np1]
p n2
2
[ (1)n 1],
p n2
and so
8
< 4
, when n is odd
an p n2
:
0, when n is even,
for n/1, 2, 3, . . . .
Thus, arguing as in Example 51.1, we may write
4
an ,
p (2n 1)2
for n/1, 2, . . . .
www.EngineeringEBooksPdf.com
424 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 113
Substituting for a0 and an , with n /1, 2, . . . , into the Fourier series shows
that
p 4X
cos (2n 1) x
f (x) ,
2 p n1 (2n 1)2
p 4X N
cos (2n 1) x
SN (x) :
2 p n1 (2n 1)2
These graphs show how with this function, which is everywhere continuous,
even the low order approximation S3(x ) provides a reasonable approximation
to f(x ) /jx j. m
We now summarize the basic properties of Fourier series, but offer no
proof of the important properties 3 and 4 which are stated here in a simplified
form suitable for all practical purposes.
BASIC PROPERTIES
1 If f(x) is an even function on the interval /p 0/x 0/p , then its Fourier
series contains no sine functions (all bn /0).
2 If f (x ) is an odd function on the interval /p 0/x 0/p , then its Fourier
series contains no cosine functions (all an /0).
3 At points in the interval /p 0/x 0/p at which f (x ) is continuous the
Fourier series of f (x ) converges to f(x).
4 At points in the interval /p 0/x 0/p at which f(x) is discontinuous the
Fourier series of f(x) converges to the average of the values of f(x ) to the
immediate left and right of the discontinuity.
www.EngineeringEBooksPdf.com
FOURIER SERIES 425
Example 51.3
Use Example 51.1 to deduce a series for p/4, and Example 51.2 to deduce a
series for p2/8.
Solution
From property 3 and Example 51.1 we know that the Fourier series
4 sin 3x sin 5x
sin x . . .
p 3 5
will converge to
1 for pB xB0
f (x)
1 for 0B xBp
for any x at which f(x) is continuous. Setting x /p /2 for which f (x ) is
continuous and equal to 1, it follows that
4 p sin 3p sin 5p
1 sin . . .
p 2 3 5
and so
p 1 1 1
1 . . . ,
4 3 5 7
or
p X (1)n1
:
4 n1 (2n 1)
4 X cos (2n 1) x
p
,
2 p n1 (2n 1)2
will converge to f(x) /jx j which is continuous for all x. Thus setting x/0,
when f(0) /0 we find that
p 4X
1
0 ,
2 p n1 (2n 1)2
and so
www.EngineeringEBooksPdf.com
426 ESSENTIALS OF ENGINEERING MATHEMATICS
p2 X
1
:
8 n1 (2n 1)2
This series converges fairly quickly and, for example, summing the first
100 terms yields the estimate 1.231 20 for p2/8 which is in error by 0.2%
(low). m
Example 51.4
Fig. 114
www.EngineeringEBooksPdf.com
FOURIER SERIES 427
so
8
< 0, for n even
an 4
: , for n odd:
p (2 n) (2 n)
Similarly,
p
1
bn
p g 0
sin 2x sin nx dx
for n/1, 2, . . . .
Now
1
sinA sin B [ cos(AB)cos(AB)],
2
so setting A /2x , B /nx and using the result in the integral for bn gives
1 p 1 p
bn
2p g 0
cos (n2) x dx
2p 0
cos (n2) x dx
g
p p
1 sin (n 2)x
2p (n 2) 0
1 sin (n 2)x
2p (n 2) j
0
0, j
provided n "/2.
When n /2
1 p
b2
p g 0
sin2 2x dx,
www.EngineeringEBooksPdf.com
428 ESSENTIALS OF ENGINEERING MATHEMATICS
1
so as sin2 2x (1cos 4x) we have
2
p
1 1
b2
2p g 0
(1cos 4x) dx :
2
Thus 1
2
for n 2
/ bn
0, for all other n:
Combining results gives
1 4 cos x cos 3x cos 5x cos 7x
f (x) sin 2x . . . ,
2 p 1×3 1×5 3×7 5×9
4 X cos (2n 1) x
1
f (x) sin 2x ,
2 p n1 (3 2n) (1 2n)
Solution
The function f (x ) is shown in Fig. 115 for /p B/x B/p , together with two of its
periodic extensions, with the mid-point of the jump at cosh p shown as a dot.
Fig. 115
www.EngineeringEBooksPdf.com
FOURIER SERIES 429
We have
1 p ep ep 2 sinh p
pg
a0 ex dx ,
p p p
and
1 p
an
p g p
ex cos nx dx, for n 1, 2, . . . :
Similarly,
p
1
bn
p g p
ex sin nx dx, for n1, 2, . . . ,
1 (1)n n
(ep ep )
p 1 n2
2n sinh p
(1)n1 × , for n 1, 2, . . . :
1 n2 p
Substituting for an and bn into the general form of the Fourier series gives
X
www.EngineeringEBooksPdf.com
430 ESSENTIALS OF ENGINEERING MATHEMATICS
X
(1)n
sinh p
1 12 ,
2
p n1 1 n
and thus
p X
(1)n
p cosech p12 :
sinh p n1 1 n2
However, the function f (x ) is discontinuous at x /p , at which point by
property 4 the Fourier series converges to 12(ep ep )cosh p: Thus setting
x /p in the Fourier series and using the fact that cos np/(/1)n we have
X
sinh p 1
cosh p 12 ,
2
p n1 1 n
and so
X
1
p coth p 12 : m
n1 1 n2
The following property of Fourier series is both important and useful,
since it often simplifies the determination of the Fourier coefficients.
1 X
f (x) a0 (an cos nxbn sin nx),
2 n1
where
1 a2p 1 p
an
p g a
f (x) cos nx dx
p g p
f (x) cos nx dx,
for n /1, 2, . . . .
The proof of this result is simple. Let h (x ) be periodic with period 2p, and
consider the integral
www.EngineeringEBooksPdf.com
FOURIER SERIES 431
a2p
I
g a
h (x) dx:
Then since h (x ) is defined for all x we may use the property of definite
integrals to write
a2p p p a2p
I
g a
h (x) dx
g a
h (x) dx
g p
h (x) dx
g p
h (x) dx:
g a
h (x) dx
g a2p
h (u2p) du
g p
h (u2p) dx:
g a
h (x) dx
g p
h (u) du
g p
h (x) dx,
where we have changed the dummy variable back from u to x . Thus using
this result in the expression for I gives
a2p a2p p a2p
I
g a
h (x) dx
g p
h (x) dx
g p
h (x) dx
g p
h (x) dx:
p
g p
h (x) dx:
The required result then follows by first setting h (x) p1 f (x)cosnx, when it
follows that
a2p p
1 1
an
p g a
f (x) cos nx dx
p g p
f (x) cos nx dx,
and then setting h (x) p1 f (x) sin nx to establish the corresponding result for
bn .
The last example makes use of a different approach by shifting the origin
to simplify the task of finding a Fourier series.
Example 51.6
Find the Fourier series for the function f(x ) shown in Fig. 116, given that
f(x ) is periodic with period 2p .
Solution
The function f(x ) is neither even nor odd, but a shift of origin to the right by
p /2 makes the new function g(x )/f (x/p/2) the odd function shown on the
interval /p B/x B/p in Fig. 117.
www.EngineeringEBooksPdf.com
432 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 116
As the new function g (x ) is odd, its Fourier series must be a sine series with
0 p=2
1 1
bn
p g p=2
(1) sin nx dx
p g 0
(1) sin nx dx
p=2
2
p g 0
sin nx dx
p=2
2 cos nx
p n 0
j
2 1 cos (np=2)
,
p n
for n /1, 2, 3, . . . .
So
2 X 1 cos (np=2)
g (x) sin nx
p n1 n
Fig. 117
www.EngineeringEBooksPdf.com
FOURIER SERIES 433
2 sin 3x sin 5x sin 6x sin 7x sin 9x
sin xsin 2x . . . ,
p 3 5 3 7 9
for /p B/x B/p . The Fourier series for f (x ) now follows by replacing x by
x /p /2 in this series. Simplification of g (x /p/2) gives
2 cos 3x cos 5x sin 6x cos 7x
f (x) cos xsin 2x . . . : m
p 3 5 3 7
PROBLEMS 51
www.EngineeringEBooksPdf.com
434 ESSENTIALS OF ENGINEERING MATHEMATICS
X
1
ðbÞ :
2
n1 n
7. Find the Fourier series for the function
0, for p0x 00
f (x)
sin 3x, for 00x 0p:
8. Find the Fourier series for the function
0, for p0x 00
f (x)
sin x, for 00x 0p:
9. Find the Fourier series for the function
1, for p0x0 0
f (x)
cos x, for 00x0 p:
10. Find the Fourier series for the function
f (x) ½ cos x ½, for p0x 0p:
11. Find the Fourier series for the function
f (x)½ sin x ½, for pB xBp:
12. Find the Fourier series for the function
8
<px, for p0x0p=2
f (x) ½x½, for p=20x 0p=2
:
px, for p=20x 0p:
www.EngineeringEBooksPdf.com
Determinants 52
and
x1 3
(x1)(x2)23 x2 x8:
2 x2
www.EngineeringEBooksPdf.com
436 ESSENTIALS OF ENGINEERING MATHEMATICS
a11 a12 . . . a1n
a a22 . . . a2n
21 ,
× × × ×
a an2 . . . ann
n1
with the elements a11 , a22 , . . . , ann comprising the leading diagonal.
Example 52.1
Construct the second order determinant with the elements a11 1, a12 3,/
a21 4, a22 2, and find its value.
Solution
The determinant is
1 3
(1)(2)(3)(4) 14: m
4 2
Example 52.2
Solution
As the determinant is of order 3 it follows that i/1, 2, 3 and j/1, 2, 3. So
calculating the elements we find a11 /(1/3) /12 /3, a12 /(1/3) /22 /0,
a13 /(1/3) /32 / /5, a21 /(1/6) /12 /6, a22 /(1/6) /22 /3, a23 /
(1/6) /32 / /2, a31 /(1/9) /12 /9, a32 /(1/9) /22 /6, a33 /(1/
9) /32 /1, and so the determinant is
3 0 5
6 3 2: m
9 6 1
Example 52.3
www.EngineeringEBooksPdf.com
DETERMINANTS 437
1 2 0
3 1 4:
1 0 2
Solution
To find the minor M11 of this third order determinant, we must delete the
elements in row 1 and column 1 to obtain
1 4
M11 2:
0 2
To find the minor M12, we must delete the elements in row 1 and column 2 to
obtain
3 4
M12 2:
1 2
Next we introduce the cofactor Cij associated with the element aij in an n th
order determinant. We define the cofactor Cij in terms of the minor Mij to be
Cij (1)ij Mij :
Notice that the factor ( /1)ij is /1 when i/j is an even number and /1
when i/j is an odd number. Thus the cofactor and minor of the element aij
in an n th order determinant are identical when i/j is even, and one is the
negative of the other when i/j is odd.
Example 52.4
Solution
This is the determinant whose minors were obtained in Example 52.3, where
it was found that:
M11 2, M12 2, M13 1,
www.EngineeringEBooksPdf.com
438 ESSENTIALS OF ENGINEERING MATHEMATICS
Thus the value of the determinant is seen to be equal to the sum of the
products of the elements and their cofactors in any row or column of the
determinant.
The process of finding the value of a determinant by summing the products
of the elements and their cofactors in row r is called expanding the determi-
nant in terms of the elements of the r th row. Correspondingly, the process of
finding the value of a determinant by summing the products of the elements
and their cofactors in column s is called expanding the determinant in terms
of the elements of the sth column.
Example 52.5
www.EngineeringEBooksPdf.com
DETERMINANTS 439
Example 52.6
Solution
This is the determinant whose cofactors were found in Example 52.4, so we
will make use of them.
(i) Expanding in terms of the elements of column 1 gives
D C11 3C21 C31
2(3)(4)8 2:
(ii) Expanding in terms of the elements of row 2 gives
D 3C21 C22 4C23
(3)(4)2(4)(2) 2:
(iii) Expanding in terms of the elements of row 1 gives
D C11 2C12
2(2)(2) 2:
www.EngineeringEBooksPdf.com
440 ESSENTIALS OF ENGINEERING MATHEMATICS
Expanding a determinant
The value of a determinant of any order is equal to the sum of the products of
the elements of the determinant and their cofactors in any row or column.
Example 52.7
Solution
As the second row contains two zero elements, it will be best to expand D in
terms of the elements of row 2. We have
D 3C21 2C23 ,
where
8 2 3 1 8 3
C21 (1)21 2 1 2 and C23 (1)23 1 2 2:
1 2 1 1 1 1
(8)(3)(2)(4)(3)(5) 47,
and
1 8 3
2 2 1 2 1 2
1 2
2 1× 8×(1)
(3)×
1 1 1 1 1 1
1 1 1 |fflfflfflffl{zfflfflfflffl} |fflfflfflfflfflfflfflfflffl{zfflfflfflfflfflfflfflfflffl} |fflfflfflfflfflffl{zfflfflfflfflfflffl}
C11 C12 C13
www.EngineeringEBooksPdf.com
DETERMINANTS 441
Example 52.8
3 0 0 0
2 1 0 0
(ii) D :
0 1 2 0
0 0 0 3
www.EngineeringEBooksPdf.com
442 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
(i) D (1)(0)(5) 0;
(ii) D (3)(1)(2)(3) 18: m
We list below, without formal proof, a number of simple properties of
determinants, which simplify their manipulation.
Rules for the manipulation of determinants
1 If all the elements in a row or column of a determinant are zero, the value
of the determinant is zero.
2 If two rows or two columns in a determinant are identical, the value of the
determinant is zero.
3 If two rows or two columns in a determinant are interchanged, the de-
terminant changes sign.
4 If all the elements in any row or column of a determinant are multiplied
by a number l, the value of the determinant is multiplied by l.
5 The value of a determinant is unaltered by adding to the elements of any
row (or column) a constant multiple of the corresponding elements of any
other row (or column).
Outline proofs
1 Expand the determinant in terms of the elements of the row or column
of zeros.
2 /4 These follow by induction from the fact that the results are true for a
second order determinant.
5 This follows from 2 and 3.
Example 52.9
Given that
3 1 2
D 8 5 7 35,
4 0 1
find, without using the expansion rule, the value of the following determinants:
3 2 2
(i) 8 7 10;
4 1 0
3 1 2
(ii) 4 5 6;
4 0 1
11 1 2
(iii) 20 5 7:
0 0 1
www.EngineeringEBooksPdf.com
DETERMINANTS 443
Solution
Example 52.10
www.EngineeringEBooksPdf.com
444 ESSENTIALS OF ENGINEERING MATHEMATICS
1 5 5
D (1) 2 1 0:
4 2 2
To simplify D still further, we now subtract column (3) from column (2) to
obtain:
1 0 5
D (1) 2 1 0 New column (2) old column (2)
4 0 2 old column (3):
Example 52.11
Example 52.12
Prove that
1 1 1
a b c (cb) (ca) (ba):
a2 b2 c2
A determinant of this form is called an alternant of order 3.
www.EngineeringEBooksPdf.com
DETERMINANTS 445
Solution
New column (2) old
1 1 1 1 1 1
column (2)old column (1):
a b c a (ba) (ca)
New column (3) old
a2 b2 c2 a2 (b2 a2 ) (c2 a2 )
column (3)old column (1):
1 0 0 Remove factor (ba) from
(ba)(ca) a 1 1 column (2) and factor (ca)
a2 (ba) (ca) from column (3):
1 0 0
New column (3) old
(ba)(ca) a 1 0
a2 column (3)old column (2):
(ba) (cb)
(ba)(ca)(cb),
because this is now a lower-triangular determinant. m
The system of linear simultaneous equations
a11 x1 a12 x2 k1
a21 x1 a22 x2 k2
is said to be non-homogeneous (inhomogeneous) if at least one of the numbers
k1 and k2 is non-zero. If may be solved by elimination to yield the solution
k1 a22 k2 a12
x1
a11 a22 a12 a21
and
k2 a11 k1 a21
x2 ,
a11 a22 a12 a21
we see that
D1 D2
x1 and x2 :
D D
Notice that D1, is obtained from D by replacing the first column by the
non-homogeneous terms, and D2 is obtained from D by replacing the second
column by the non-homogeneous terms. Generalizing this result to a system
of n non-homogeneous linear simultaneous equations leads to Cramer’s rule.
www.EngineeringEBooksPdf.com
446 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 52.13
www.EngineeringEBooksPdf.com
DETERMINANTS 447
Thus
48 72 24
x1 2, x2 3, x3 1: m
24 24 24
PROBLEMS 52
www.EngineeringEBooksPdf.com
448 ESSENTIALS OF ENGINEERING MATHEMATICS
13. Verify the Laplace expansion rule for determinants by (a) expanding the
following determinant in terms of elements of row (2) and (b) in terms
of elements of column (3):
4 2 3
1 4 1 :
2 2 3
14. Verify the Laplace expansion rule for determinants by (a) expanding the
following determinant in terms of elements of column (1) and (b) in
terms of elements of column (2):
3 4 1
2 1 0 :
2 4 3
15. Expand
(3l) 3 0
2 (1l) 1 :
1 2 (2l)
16. Expand
(2l) 2 1
0 (2l) 3 :
2 1 (1l)
17. Given that
1 4 3
4 2 1 8,
1 2 2
www.EngineeringEBooksPdf.com
DETERMINANTS 449
19. Evaluate
1 1 1
D 2 3 4 :
4 9 16
20. Evaluate
1 1 1
D pq pr ps :
(pq)2 (pr)2 (ps)2
www.EngineeringEBooksPdf.com
Matrices: equality,
addition, subtraction,
53 scaling and transposition
is a 4/2 matrix;
2 3
1 3 1
42 1 25
1 1 0
www.EngineeringEBooksPdf.com
MATRICES 451
www.EngineeringEBooksPdf.com
452 ESSENTIALS OF ENGINEERING MATHEMATICS
AB B A:
The following example illustrates matrix addition and subtraction. If
1 3 1 2 4 3
A and B ,
2 1 0 1 2 1
then
(12) (3 4) (13) 3 1 4
AB ,
(21) (12) (01) 3 1 1
and
(12) (3(4)) (13) 1 7 2
AB :
(21) (12) (01) 1 3 1
If l is a number and matrix A has the general element aij , the matrix l A is
defined as the matrix with the general element l aij . This process is called
scaling a matrix by the number l.
Thus if l/ /2 and
2 3
2 4 3
A4 1 4 25 ,
1 2 1
the matrix
2 3
4 8 6
lA 2A 42 8 45:
2 4 2
Correspondingly, if
2 1 4 1 2 3
A and B ,
1 2 1 2 1 1
then
2 1 4 1 2 3
3A2B 3 2
1 2 1 2 1 1
6 3 12 2 4 6
3 6 3 4 2 2
(62) (3 4) (126)
(3 4) (62) (32)
8 1 18
:
1 4 5
www.EngineeringEBooksPdf.com
MATRICES 453
2 3
3 1 7
A4 2 4 15 ,
5 2 3
then
2 3 2 3
3 1 7 1 0 0
AlI 4 2 4 15 l40 1 05
5 2 3 0 0 1
2 3 2 3
3 1 7 l 0 0
4 2 4 15 4 0 l 05
5 2 3 0 0 l
2 3
(3l) 1 7
4 2 (4l) 1 5:
5 2 (3l)
The transpose of an m /n matrix A , denoted by AT (sometimes also by
A ?), is the n /m matrix obtained from A by interchanging its rows and
columns. Thus row 1 of A becomes column 1 of AT, row 2 of A becomes
column 2 of AT . . . , and row m of A becomes column m of AT.
If
2 3
3 1
3 4 2
A 4 4 25, then AT ,
1 2 6
2 6
and if
2 3 2 3
1 3 7 1 2 1
A 42 1 45, then A 43 1
T
25 :
1 2 1 7 4 1
It is clear that transposing a transposed matrix yields the original matrix, so
(AT )T A:
If A is square and AT /A we say A is a symmetric matrix, and if AT / /A
we say A is a skew-symmetric matrix. Thus
2 3
1 5 7
4 5 2 65
7 6 3
is a symmetric matrix, but
2 3
0 3 7
4 3 0 65
7 6 0
is a skew-symmetric matrix. It follows at once that the elements on the
leading diagonal of a skew-symmetric matrix are all zero.
www.EngineeringEBooksPdf.com
454 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 53
1. If
2 1 1 2
A , B ,
3 4 2 1
find
AB; AB and 2A3B:
2. If
2 1 4 4 2 1
A , B ,
2 1 0 2 1 1
find
AB; AB and A2B:
3. When they are defined, find the sum and difference of the following
matrices:
2 3 2 3
1 2
2 1
2 1 1 2
A , B 43 15, C , D4 2 35:
3 2 2 1
1 0 1 2
4. If
3 a 2 d 1 2
A and B
b 1 c 4 e 7
find the condition that A /B.
5. If
2 3 2 3
a 2 2 c
A 43 75 and B 46 d 5
b 4 4 e
find the condition that 2A /B.
6. Find and simplify the matrix sum A/B, given that
sin A cos B cos A cos B
A
cosh A cosh B sinh A cosh B
and
cos A sin B sin A sin B
B :
sinh A sinh B cosh A sinh B
7. Given that
2 3 2 3
1 4 2 1 5 9
A 47 6 15 and B 4 5 0 65
9 2 4 9 6 3
find AT and BT.
www.EngineeringEBooksPdf.com
MATRICES 455
8. Given that
2 3
0 5 6 1
1 3 7 2 65 0 3 27
A and B 6
46
7
0 2 5 3 3 0 15
1 2 1 0
find AT and BT.
www.EngineeringEBooksPdf.com
54 Matrix multiplication
Example 54.1
Solution
(i) /uv(1) (3)(2) (2)(1) (1) 6:
(ii) /uv(3) (1)(1) (2)(2) (1)(0) (2)7: m
If A and B are any two matrices, the matrix product AB is only defined if
the number of columns in A equals the number of rows in B. The product
www.EngineeringEBooksPdf.com
MATRIX MULTIPLICATION 457
Example 54.2
Given
2 3 2 3
1 2 1 0 0
1 2 3
A , B 4 2 35 and I 40 1 05,
2 1 0
1 2 0 0 1
find
(i) AB ;
(ii) BA ;
(iii) AI .
Solution
(i) The product AB is defined and will yield a 2 /2 matrix:
2 3
1 2
1 2 3 4
AB 2 35
2 1 0
1 2
(1) (1)(2) (2)(3) (1) (1) (2)(2) (3)(3) (2)
(2) (1)(1) (2)(0) (1) (2) (2)(1) (3)(0) (2)
6 14
:
4 1
(ii) The product BA is defined and will yield a 3 /3 matrix:
www.EngineeringEBooksPdf.com
458 ESSENTIALS OF ENGINEERING MATHEMATICS
2 3
1 2
1 2 3
BA 4 2 35
2 1 0
1 2
2 3
(1) (1)(2) (2) (1) (2)(2) (1) (1) (3)(2) (0)
4(2) (1)(3) (2) (2) (2)(3) (1) (2) (3)(3) (0) 5
(1) (1)(2) (2) (1) (2)(2) (1) (1) (3)(2) (0)
2 3
3 4 3
48 1 65:
5 0 3
(iii) The product AI is defined and will yield a 2 /3 matrix:
2 3
1 0 0
1 2 3 4
AI 0 1 05
2 1 0
0 0 1
(1) (1)(2) (0)(3) (0) (1) (0)(2) (1)(3) (0) (1) (0)(2) (0)(3) (1)
(2) (1)(1) (0)(0) (0) (2) (0)(1) (1)(0) (0) (2) (0)(1) (0)(0) (0)
1 2 3
A: m
2 1 0
The last example has shown that, in general, the order in which matrices
are multiplied influences the result. To make this order perfectly clear, when
speaking of matrix multiplication we say that in the matrix product AB the
matrix A premultiplies B (multiplies it from the left) and that the matrix B
postmultiplies A (multiplies it from the right).
Example 54.3
Given that
2 3
2
2 1
A [1, 2, 3], B 415, C [1, 4] and D ,
0 3
2
find all possible matrix products involving pairs of matrices.
Solution
2 3
2
AB [2, 2, 3]415 (2) (2)(2) (1)(3) (2)8:
2
2 3 2 3
2 (2) (2) (2) (2) (2) (3)
BA 415[2, 2, 3] 4(1) (2) (1) (2) (1) (3)5
2 (2) (2) (2) (2) (2) (3)
www.EngineeringEBooksPdf.com
MATRIX MULTIPLICATION 459
2 3
4 4 6
42 2 35:
4 4 6
AC, CA , AD, DA and DC are not defined.
2 1
CD[1, 4] [(1) (2)(4) (0) (1) (1)(4) (3)]
0 3
[2, 13]: m
Example 54.4
Given that
4 1 3=14 1=14
A and B ,
2 3 1=7 2=7
show that AB /BA /I.
Solution
4 1 3=14 1=14
AB
2 3 1=7 2=7
(4) (3=14)(1) (1=7) (4) (1=14)(1) (2=7)
(2) (3=14)3(1=7) (2) (1=14)(3) (2=7)
1 0
0 1
3=14 1=14 4 1
BA
1=7 2=7 2 3
(3=14) (4)(1=14) (2) (3=14) (1)(1=14) (3)
(1=7) (4)(2=7) (2) (1=7) (1)(2=7) (3)
1 0
: m
0 1
Example 54.5
Given that
2 3 2 3 2 3
3 2 1 x 2
A 44 3 65, X 4y5 and B 4 55 ,
1 4 2 z 6
expand and interpret the matrix equation AX /B.
www.EngineeringEBooksPdf.com
460 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
The matrix equation AX /B is
2 32 3 2 3
3 2 1 x 2
44 3 65 4 y 5 4 55 ,
1 4 2 z 6
However, the equality of two matrices means the equality of their corre-
sponding elements, so the above result is equivalent to the set of three
simultaneous equations:
3x2yz2
4x3y6z5
x 4y2z 6: m
Example 54.6
x7y9z1
3x4y3z17
Solution
Consideration of Example 54.5 shows that the coefficient matrix (the matrix
of multipliers of x , y and z) is
2 3
2 5 1
A 41 7 95 ,
3 4 3
www.EngineeringEBooksPdf.com
MATRIX MULTIPLICATION 461
2 3
6
B 415: m
17
Provided the matrix products are defined, it follows from the definitions of
the sum, product and transpose of matrices that:
1 A (B/C )/AB/AC ;
2 A (BC )/(AB ) C ;
3 AI /IA (where I is the appropriate unit matrix);
4 /An A×A . . . A;
|fflfflfflfflfflfflffl{zfflfflfflfflfflfflffl}
n times
5 I n /I;
6 (AB )T /BTAT.
Example 54.7
Given
1 4 2 1 1 1
A , B and C ,
1 3 0 2 2 3
www.EngineeringEBooksPdf.com
462 ESSENTIALS OF ENGINEERING MATHEMATICS
2 9 9 11 11 20
,
2 5 5 10 3 15
1 4 4 1 20 25
(ii) A (BC )
1 3 4 6 8 17
|fflfflfflfflffl{zfflfflfflfflffl} |fflfflffl{zfflfflffl}
A BC
2 9 1 1 20 25
(AB) C
2 5 2 3 8 17
|fflfflfflfflffl{zfflfflfflfflffl} |fflfflfflfflffl{zfflfflfflfflffl}
AB C
and thus we have verified the property that
A(BC ) (AB)C:
3 2 1 4 3 16 19 36
(iii) A AA
1 3 4 5 9 1
|fflfflfflfflffl{zfflfflfflfflffl} |fflfflfflfflfflfflffl{zfflfflfflfflfflfflffl}
A A2
and, of course,
3 16 1 4 19 36
A3A2 A :
4 5 1 3 9 1
|fflfflfflfflfflfflffl{zfflfflfflfflfflfflffl} |fflfflfflfflffl{zfflfflfflfflffl}
A2 A
1 4 2 1 2 9
(iv) AB , so
1 3 0 2 2 5
2 2
(AB)T
9 5
2 0 1 1 2 2
BT AT , m
1 2 4 3 9 5
|fflfflffl{zfflfflffl} |fflfflfflfflffl{zfflfflfflfflffl}
BT AT
(AB)T B T AT :
www.EngineeringEBooksPdf.com
MATRIX MULTIPLICATION 463
PROBLEMS 54
1. Given that
1 4 2 5
A and B ,
6 2 2 1
find AB and BA .
2. Given that
2 3 2 3
1 2 1 2 6
A 42 0 65 and B 41 15,
4 1 2 3 2
find AB.
3. Given that
23
2
617
A [1, 4, 3, 2] and B 6 7
4 25,
6
find AB and BA .
4. Given that
2 3
1 4 1 2
3 4 1
A4 2 0 1 35 and B ,
2 2 4
1 2 0 4
find AB and BA .
7. Given that
13i 2i 3i 1i
A and B ,
4 2i 1i 1i
find AB and BA .
www.EngineeringEBooksPdf.com
464 ESSENTIALS OF ENGINEERING MATHEMATICS
8. Given that
1x 3 1x 2
A and B ,
2x 1x 2 1x
find AB and BA .
9. Given that
2 3
1 2 1 2 3
1 2
3 1 4 62 1 17
A 6
, B 4 7 and C 44 25 ,
2 1 2 3 0 15
6 1
1 2 4
find A3.
12. Given that
2 3
0 0 1
A 40 1 05,
1 0 0
verify that
A(B C)AB AC:
14. Using the matrices A , B and C in problem 13 verify that
A(BC)(AB)C:
15. Given that
1 3 2 4
A and B ,
2 1 3 2
www.EngineeringEBooksPdf.com
MATRIX MULTIPLICATION 465
www.EngineeringEBooksPdf.com
466 ESSENTIALS OF ENGINEERING MATHEMATICS
show that QA /I, where I is the 2/2 unit matrix. Write the system of
equations
4xy1
3x2y1
as the matrix equation
AX B,
and by premultiplying this result by Q find x and y.
23. Given that
2 3 2 3
1 3 4 x
A 43 2 15 and X 4y5,
4 1 2 z
find XTAX .
24. Given that
2 3 2 3
2 1 3 x
A 41 1 25 and X 4y5,
3 2 5 z
find XTAX .
www.EngineeringEBooksPdf.com
The inverse matrix 55
Matrix division is not defined, but provided a square matrix A has a non-zero
associated determinant jA j, a multiplicative inverse A 1 exists with the
property that
A1 A AA1 I:
Thus A1 and A are mutually inverse, in the sense that A 1 is the multi-
plicative inverse of A , and A is the multiplicative inverse of A 1. To discover
how to compute A1 from A , we need to make use of the Laplace expansion
rule for determinants and a result mentioned only in Problem 25 of Problems
52 that the sum of the products of the elements in any row (or column) of a
determinant with the corresponding cofactors of a different row (or column)
is zero. It then follows that if C is the matrix of cofactors of A ,
2 3
½A½ 0 0 0
6 0 ½A½ 0 0 7
6 7
AC T C T A 6 6 0 0 ½ A ½ 0 7 ½ A ½ I,
7
4 × × × × 5
0 0 0 ½A½
www.EngineeringEBooksPdf.com
468 ESSENTIALS OF ENGINEERING MATHEMATICS
Step 3
The inverse matrix A 1 is then given by
adj A
A1 :
½A½
Example 55.1
3 1
A :
2 4
Solution
Step 1
jA j/10, so A is non-singular and we may proceed to find A1. The matrix
of cofactors is
4 2
C :
1 3
Step 2
The adjoint matrix adj A is
4 1
adj A C T :
2 3
Step 3
The inverse matrix A 1 is thus
adj A 1 4 1
A1
½A½ 10 2 3
2=5 1=10
: m
1=5 3=10
www.EngineeringEBooksPdf.com
THE INVERSE MATRIX 469
Example 55.2
Solution
Step 1
The matrix of cofactors
2 3
3 6 2
C 45 3 15,
1 2 3
Step 3
The inverse matrix A 1 is thus
2 3
3 5 1
adj A 1 4
A1 6 3 25
½A½ 7 2 1 3
2 3
3=7 5=7 1=7
4 6=7 3=7 2=75: m
2=7 1=7 3=7
Example 55.3
Verify that
2 3
4 3 1
A 42 1 35
2 2 2
www.EngineeringEBooksPdf.com
470 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
jA j/0 because
Row(3) of A Row(1)Row(2),
and so A is singular.
The matrix of cofactors
2 3
8 10 2
C 4 8 10 25,
8 10 2
so
2 3
8 8 8
adj A C T 4 10 10 105:
2 2 2
www.EngineeringEBooksPdf.com
THE INVERSE MATRIX 471
Example 55.4
Solution
We will use the notation R3 /R3 /2R1/R2 to signify that the new row (3) is
formed from the combination row (3) /2 row (1) / row (2) of the old rows.
We start by writing A and I side-by-side as follows:
2 32 3
1 0 1 1 0 0
4 1 3 0 5 4 0 1 05 :
4 0 2 0 0 1
R1 R1 2 32 3
1 0 0 1 0 1=2
R2 13R2 40 1 0541=3 1=3 1=65:
R3 12R3 0 0 1 2 0 1=2
www.EngineeringEBooksPdf.com
472 ESSENTIALS OF ENGINEERING MATHEMATICS
2 3
1 0 1=2
A1 41=3 1=3 1=65: m
2 0 1=2
PROBLEMS 55
1 3
1. /A :
9 2
4 5
2. /A :
5 1
4 6
3. /A :
2 1
6 7
4. /A :
1 2
i 1i
5. /A :
i 2i
1i 3i
6. /A :
2i 1i
2 3
1 4 9
7. /A
42 4 05:
0 1 1
2 3
0 0 1
8. /A
40 1 05:
1 1 0
2 3
2 4 1
9. /A
4 0 2 05:
1 2 1
2 3
0 1 4
10. /A
4 2 1 15:
2 2 3
11. Given that
2 3
2 4 1
A 43 1 05,
2 2 1
www.EngineeringEBooksPdf.com
THE INVERSE MATRIX 473
1 4 1 3 2 1
A ; B and C ,
2 1 1 2 0 3
4 3 1 3
A and B ,
1 2 1 1
www.EngineeringEBooksPdf.com
Solution of a system
of linear equations:
56 Gaussian elimination
We return to the problem touched upon in the previous section, and discuss
the Gaussian elimination method for solving the following system of n linear
simultaneous equations in the n unknowns x1, x2, . . . , xn
a11 x1 a12 x2 a1n xn k1
a21 x1 a22 x2 a2n xn k2
× × × × ×
an1 x1 an2 x2 ann xn kn :
where
2 3 2 3 2 3
a11 a12 a1n x1 k1
6a21 a22 a2n 7 6 7 6k2 7
6
A4 7, X 6x2 7 and 6
B 4 7 :
× × × 5 4n5 n5
an1 an2 ann xn kn
www.EngineeringEBooksPdf.com
SOLUTION OF A SYSTEM OF LINEAR EQUATIONS 475
Example 56.1
www.EngineeringEBooksPdf.com
476 ESSENTIALS OF ENGINEERING MATHEMATICS
x1 2x2 3x3 4
x2 2x3 3
3x3 7:
Solving by back-substitution gives, in this order, x3 /7/3, x2 / /23/3 and
x1 /37/3. m
The examples which follow show how Gaussian elimination may be used in
some different but typical cases to which matrix inverse methods do not
apply.
Example 56.2
The inconsistency in the last result tells us that this system has no solution
(the first two equations contradict the last equation). Systems such as this are
said to be inconsistent. m
Example 56.3
www.EngineeringEBooksPdf.com
SOLUTION OF A SYSTEM OF LINEAR EQUATIONS 477
Solution
Here again the coefficient matrix is singular, so we must use Gaussian elim-
ination. Eliminating x1 from the last two equations by subtracting from them
suitable multiples of the first equation gives:
2x1 4x2 x3 1
2x2 3x3 1
6x2 9x3 3:
Using the second equation to eliminate x2 from the last equation shows
that:
2x1 4x2 x3 1
2x2 3x3 1
00:
1 1
x2 (13x3 ) (13k),
2 2
1
x1 (15k),
2
1 1
x1 (15k), x2 (13k), x3 k,
2 2
Example 56.4
www.EngineeringEBooksPdf.com
478 ESSENTIALS OF ENGINEERING MATHEMATICS
x1 x2 1
2x1 x2 5
x1 px2 0,
with p a parameter.
Solution
In this case we have more equations than unknowns, so it is to be expected
that this system might be inconsistent.
Using the first equation to eliminate x1 from the second and third equa-
tions leads to the result:
x1 x2 1
3x2 3
(p1)x2 1:
These are seen to be inconsistent if p "/1, for then the last equation shows
x2 /0, while the second equation shows that x2 / / 1. If p /1 the last
equation is satisfied by any x2, while from the second equation we have
x2 / /1 and from the first equation we see that x1 /2.
Thus these equations are inconsistent, and so have no solution if p "/1, but
they are consistent and have the unique solution x1 /2, x2 / /1 when
p /1. m
Example 56.5
www.EngineeringEBooksPdf.com
SOLUTION OF A SYSTEM OF LINEAR EQUATIONS 479
uninteresting solution)
x1 x2 x3 0:
This could have been found by matrix methods because the determinant of
the coefficient matrix A is 28, so the matrix
2 3
1 2 3
A 42 4 55
1 2 6
is non-singular and thus an inverse matrix A 1 exists. As the equations can
be written in the form
AX 0,
we have
A1 AX A1 0
or
2 3
0
X 0 405: m
0
Example 56.6
www.EngineeringEBooksPdf.com
480 ESSENTIALS OF ENGINEERING MATHEMATICS
x1 5x2 3x3 0
24x2 16x3 0
0 0,
so the equations are consistent, but there are only two equations connecting
the three variables x1, x2 and x3. Setting x3 /k , with k an arbitrary para-
meter, and using back-substitution to solve for x2 and x1 gives:
1 2
x1 k, x2 k and x3 k:
3 3
We now express the result demonstrated by this last example in the form of
a general property of a homogeneous system with a singular coefficient
matrix.
www.EngineeringEBooksPdf.com
SOLUTION OF A SYSTEM OF LINEAR EQUATIONS 481
www.EngineeringEBooksPdf.com
482 ESSENTIALS OF ENGINEERING MATHEMATICS
Subtracting twice the first row of D from the third row, and then adding five
times the second row to the third row of D, both of which operations will
leave the value of the determinant unchanged, gives
2 3 6
D 1 2 3:
0 0 0
This determinant has a row of zeros, so its value must be zero. This shows
by example that a consequence of the linear dependence of n linear expres-
sions in n variables x1, x2, . . . , xn is that the determinant of the coefficient
www.EngineeringEBooksPdf.com
SOLUTION OF A SYSTEM OF LINEAR EQUATIONS 483
matrix is zero. If in the above example the three equations had been linearly
independent, it would have been impossible to produce a row of zeros in the
determinant by adding and/or subtracting multiples of other rows, with the
result that then /D "0:
We have arrived at the following test for linear independence of a set of
n linear expressions in n variables.
Then the set of linear expressions will be linearly dependent if D /0, and
linearly independent if /D "0:
Each of the n linear expressions in the above test is described by a row in
the coefficient matrix
2 3
a11 a12 a1n
6a21 a22 a2n 7
A 64 n
7,
n n n 5
an1 an2 ann
so the test also determines the linear independence of the n row vectors
[a11 , a12 ,. . ., a1n ], [a21 , a22 ,. . ., a2n ],. . ., [an1 , an2 ,. . ., ann ]
Let us now consider the general set of n non-homogeneous linear equa-
tions in the n variables x1, x2,. . ., xn given by
a11 x1 a12 x2 . . ., an1 xn k1
a12 x1 a21 x2 . . .an1 xn k2
: : ... : :
an1 x1 an2 x2 . . .ann xn kn :
When performing Gaussian elimination on this system, only the numerical
coefficients of x1, x2,.., xn and the non-homogeneous terms k1, k2, . . . , kn
enter into the calculation. Thus the actual variables x1, x2, . . . , xn may be
omitted, and the operations performed instead on the coefficient matrix of
www.EngineeringEBooksPdf.com
484 ESSENTIALS OF ENGINEERING MATHEMATICS
the system of equations to which, on the right, has been adjoined a column
containing the non-homogeneous terms. This new matrix is called the aug-
mented matrix, in which the element ajm in the j th row and m th column, with
j/1, 2, . . . , n and m /1, 2, . . . , n will be the multiplier of xm in the jth row,
and the last element in the jth row of the augmented matrix will be the non-
homogeneous term kj .
The augmented matrix for this system of n equations is
2 3
a11 a12 a1n n k1
6a21 a22 a2n n k2 7
6 7,
4 n n n n n n5
an1 an2 ann n kn
where the column of dots to the left of the non-homogeneous terms
k1, k2, . . ., kn can be taken to represent the equality signs in the system of
equations.
When this approach is applied to Example 56.1, the augmented matrix
becomes
2 3
1 2 3 n 4
41 3 5 n 15 :
1 5 12 n 2
We will use the notation R1 /R1/3R2 /2R3 to signify that the new row
(1) is obtained as the combination row (1)/3 row (2) /2 row (3) of the old
rows. The calculations in Example 56.1 may then be represented as follows:
2 3 2 3
1 2 3 n 4 R1 R1 1 2 3 n 4
41 3 5 n 15, R2 R2 R1 40 1 2 n 35
1 5 12 n 2 R3 R3 R1 0 3 9 n 2
2 3
R1 R1 1 2 3 n 4
R2 R2 40 1 2 n 35:
R3 R3 3R2 0 0 3 n 7
This augmented matrix is seen to be equivalent to
x1 2x2 3x3 4
x2 2x3 3
3x3 7,
so, as before, back-substitution gives x3 /7/3, x2 / /23/3 and x1 /37/3.
After m steps in the Gaussian elimination process, it may happen that the
coefficient amm of the m th modified equation becomes zero, in which case
using this equation to eliminate coefficients in the m th column below amm
becomes impossible. Should this difficulty arise it can be overcome by inter-
changing this modified m th row of the matrix with a row below it, say the s th
row with s /m , in which the corresponding coefficient asm is not equal to
zero. This interchange of equations cannot alter the solution of the system,
but it will allow the process of Gaussian elimination to continue.
www.EngineeringEBooksPdf.com
SOLUTION OF A SYSTEM OF LINEAR EQUATIONS 485
The example just solved using Gaussian elimination applied to the aug-
mented matrix operated on complete rows of the augmented matrix, and
hence combined both the left and right sides of the equations involved in the
same manner. The result was straightforward and it gave rise to a unique
solution. Other situations that can arise occur when (a) only n /m of the
equations are linearly independent and (b) when the equations are inconsistent.
In case (a) the effect of Gaussian elimination, if necessary with the inter-
change of equations, will lead to a situation in which n/m of the variables
x1, x2, . . ., xn are determined in terms of the remaining m variables, each of
which can be assigned an arbitrary value, as was the case in Example 56.3
with n/3 and m /1. There the augmented matrix was
2 3
2 4 1 n 1
43 5 0 n 15 ,
5 13 7 n 4
and after the application of Gaussian elimination this reduced to
2 3
2 4 1 n 1
40 2 3 n 15:
0 0 0 n 0
So setting x3 /k (arbitrary), back-substitution expresses x1 and x2 in terms
of x3 /k , as
x1 12(15k), x2 12(13k), x3 k :
Case (b) was illustrated in Example 56.2, in which the augmented matrix
was
2 3
1 2 3 n 4
45 6 7 n 25 :
8 9 10 n 4
After the application of Gaussian elimination this reduced to
2 3
1 2 3 n 4
40 3 6 n 15,
0 0 0 n 2
from which the inconsistency of the set of linear equations can be seen from
the fact that the last row implies /0x3 2, which is impossible.
PROBLEMS 56
1. /x3y 1
/ 3x7y4:
www.EngineeringEBooksPdf.com
486 ESSENTIALS OF ENGINEERING MATHEMATICS
2. /2x5y 3
/3x3y 2:
3. /2x5y 7
/ 5x3y 2:
4. /4x3y 4
/3x2y 1:
5. /2:1x7:3y4:6
/0:9x2:1y 3:2:
6. /1:2x3:1y2:5
/ 2:5x1:4y 1:5:
7. /3xy2z 1
/2xy3z2
/2x3yz4:
8. /x2yz 5
/2xy2z1
/x5yz4:
9. /2xy4z 3
/x4y2z1
/4x2yz 4:
10. /3xyz3
/6x2yz 4
/2xy3z 1:
11. /4:2x1:4y2:1z4:2
/3:1x2:4y3:6z2:4
/2:1x2:4y3:2z1:3:
12. /3:2x1:7y4:1z0:4
/1:3x2:5y3:7z0:9
/2:7x1:3y2:8z0:6:
13. /1:4x3:7y0:9z1:5
/0:8x1:9y3:1z0:4:
/1:9x2:1y1:4z0:
14. /2:7x1:4y2:9z0:8
/2:1x2:5y1:5z0:7
/1:8x3:1y1:6z3:2:
15. /3xy3z4
/x3yz 3
/5xy5z 6:
www.EngineeringEBooksPdf.com
SOLUTION OF A SYSTEM OF LINEAR EQUATIONS 487
16. /3xy3z4
/x3yz 3
/5xy5z 5:
17. /x3y2z1
/2xy4z 3
/3x5y10z 7:
18. /xyz4
/3x2y3z 1
/7x8y7z 5:
19. /xyz0
/2xyz 0
/x5y5z 0:
20. /x3y2z0
/2xy3z 0
/4x2y7z 0:
21. /3xyz0
/2x4y6z 0
/5x11y15z 0:
22. /xyz0
/3x2y3z 0
/5x4y5z 0:
23. /2xy1
/x3y 11
/xpy 1,
with p a parameter./
24. /3xy2z0
/2x4yz 0
/xpyz 0,
with p a parameter.
25. Repeat problem 7 using the augmented matrix approach.
26. Repeat problem 8 using the augmented matrix approach.
27. Repeat problem 9 using the augmented matrix approach.
28. Repeat problem 10 using the augmented matrix approach.
29. x1/3x2/x3
2x1 /x2/4x3
/x1/2x2 /3x3
30. 3x1/2x2 /4x3
2x1/3x2/x3
4x1/x2 /9x3
www.EngineeringEBooksPdf.com
488 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
The Gauss Seidel
iterative method
/
57
for some suitably small number o and all /m 1, 2, . . . , n: Thus, if o /104,
the iterations would be terminated when the approximations to x1, x2, . . . , xn ,
had all converged to four decimal places.
If the iteration process fails to converge owing to oscillation of the iterates,
when the magnitude of the difference between iterates usually increases as r
increases, the process is said to diverge. Divergence of an iterative process
www.EngineeringEBooksPdf.com
490 ESSENTIALS OF ENGINEERING MATHEMATICS
does not mean that no solution exists, but simply that it cannot be found by
that particular iterative method starting from the given initial approxima-
tion.
To arrive at the Gauss /Seidel iterative scheme, we start by solving the first
equation for x1, the second for x2, . . . , and the last for xn , to obtain
x1 (k1 a12 x2 a13 x3 a14 x4 . . .a1n xn )=a11 ,
x2 (k2 a21 x1 a23 x3 a24 x4 . . .a2n xn )=a22 ,
x3 (k3 a31 x1 a32 x2 a34 x4 . . .a3n xn )=a33
n n n n
xn (kn an1 x1 an2 x2 an3 x3 . . .ann1 xn1 )=ann :
To convert this to an iterative process, in each of the above equations we
now make use of the best available estimate of the solution at that stage.
Thus the (r/1)th iterates are obtained from the rth iterates by means of the
following scheme, which makes use of the (r/1) iterates themselves whenever
possible.
www.EngineeringEBooksPdf.com
THE GAUSS SEIDEL ITERATIVE METHOD
/ 491
or
x(0) (0) (0)
1 x2 . . .xn 1:
Perform six iterations using the Gauss /Seidel scheme working to four dec-
imal places to determine the approximate solution of the following system,
starting:
(i) With x1(0) x(0) (0)
2 x3 0;
www.EngineeringEBooksPdf.com
492 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
The equations are not in diagonally dominant form as they stand, but they
can be brought into this form by interchanging the first two equations to
obtain
7x1 2x2 3x3 19
3x1 5x2 x3 14
2x1 x2 6x3 17:
To check these for diagonal dominance, we see that from the first equation
½7½ ½2½½3½,
from the second equation
½5½ ½3½½1½
and from the third equation
½6½ ½2½½1½:
Thus the Gauss /Seidel scheme for the system in the rearranged form is
x1(r1) (192x2(r) 3x(r)
3 )=7
www.EngineeringEBooksPdf.com
THE GAUSS SEIDEL ITERATIVE METHOD
/ 493
Table 8
n / x(n)
1 / x2(n) / x3(n)
0 0 0 0
1 2.7143 /4.4286 1.1905
2 0.9388 /3.1252 1.9995
3 0.9644 /2.9787 2.0154
4 0.9995 /2.9966 2.0007
5 1.0007 /3.0002 1.9997
6 1 /3.0001 2
solution x1 /1, x2 / /3 and x3 /2, with only an error of 0.0001 in x2 after
six iterations.
(ii) Starting the iteration process with x1(0) x2(0) x3(0) 1, and repeating
the above calculations, gives the results shown in Table 9. Here also the
convergence is rapid, and it is seen that in this case the choice of the initial
approximation has had little effect on the rate of convergence. In general, if a
good initial approximation is used, the convergence will be accelerated.
Table 9
n / x1(n) / x2(n) / x3(n)
0 1 1 1
1 2.5714 /4.1429 1.2857
2 0.9796 /3.1306 1.9850
3 0.9691 /2.9845 2.0129
4 0.9989 /2.9968 2.0009
5 1.0005 /3.0001 1.9998
6 1 /3.0001 2 m
To see the effect of applying the Gauss /Seidel scheme to a system, which is
not in diagonally dominant form, we need only consider the system of equa-
tions in Example 57.1 in their original form. Table 10 shows the effect of
starting with the initial approximation x(0) (0) (0)
1 x2 x3 0 and using the
Gauss /Seidel scheme, which then becomes
x1(r1) (145x(r) (r)
2 x3 )=3
The unrestricted growth of the iterates and their alternation in sign is typical
of a numerically divergent scheme.
In conclusion, we remark that since diagonal dominance is only a suffi-
cient condition for the convergence of the Gauss /Seidel scheme, the method
may still converge if, although a system cannot be rearranged to bring it into
www.EngineeringEBooksPdf.com
494 ESSENTIALS OF ENGINEERING MATHEMATICS
Table 10
n / x(n)
1 / x2(n) / x3(n)
0 0 0 0
1 /4.6667 /25.8333 0.0833
2 38.4167 125.0833 10.8750
3 /209.5139 /726.4861 /48.4097
4 1.19 /103 4.08 /103 286.65
PROBLEMS 57
www.EngineeringEBooksPdf.com
THE GAUSS SEIDEL ITERATIVE METHOD
/ 495
www.EngineeringEBooksPdf.com
The algebraic eigenvalue
58 problem
The study of many problems in engineering and science gives rise to what is
known as the algebraic eigenvalue problem. The problem involves finding for
what values of the parameter l the system of linear algebraic equations
a11 x1 a12 x2 a13 x3 . . .a1n xn l x1
a21 x1 a22 x2 a23 x3 . . .a2n xn l x2
× × × ×
× × × ×
× × × ×
an1 x1 an2 x2 an3 x3 . . .ann xn l xn ,
has non-trivial solutions (not all the x1, x2, . . . , xn vanish), and then finding
the form of these solutions.
At first sight the system appears to be non-homogeneous, but when it is
rewritten in the equivalent form
(a11 l)x1 a12 x2 a13 x3 . . .a1n xn 0
a21 x1 (a22 l)x2 a23 x3 . . .a2n xn 0
a31 x1 a32 x2 (a33 l)x3 . . .a3n xn 0
× × × ×
× × × ×
× × × ×
an1 x1 an2 x2 an3 x3 . . .(ann l)xn 0,
it is seen to be homogeneous.
If the coefficient matrix of the original system is denoted by A , I is the
n /n unit matrix and X is the column vector with the elements x1, x2, . . . , xn ,
the original system can be written
AX l X,
where here the 0 is the n element null column matrix (the n /1 vector whose
elements are all zeros).
www.EngineeringEBooksPdf.com
THE ALGEBRAIC EIGENVALUE PROBLEM 497
we set
k (91)=(c2 c22 . . .c2n )1=2
and define the normalized eigenvector X̂r to be
2 3
c1
(91) 6 c2 7
X̂r 2 6 7:
(c1 c22 . . . c2n )1=2 4n 5
cn
The choice of sign in the factor (9/1) is arbitrary, and it reflects the fact
that when solving for n /1 variables in terms of the nth variable, the sign of
that variable may be either positive or negative.
www.EngineeringEBooksPdf.com
498 ESSENTIALS OF ENGINEERING MATHEMATICS
cn
is
2 3
c1
(91) 6 c2 7
X̂r 2 6 7:
(c1 c22 . . . c2n )1=2 4n 5
cn
Example 58.1
Solution
Step 1
The eigenvalues are the roots of the characteristic equation
jAl Ij 0,
which in this case becomes
3l 2
0:
1 2l
www.EngineeringEBooksPdf.com
THE ALGEBRAIC EIGENVALUE PROBLEM 499
l2 5l40:
This has the roots l /1 and l /4, which are thus the eigenvalues of A . It
is convenient to arrange these eigenvalues in numerical order and to number
them
l1 1 and l2 4:
Steps 2 and 3
To find the eigenvector X1 corresponding to l/l1, we must solve the system
of equations
3l1 2 x1 0
:
1 2l1 x2 0
To find the second eigenvector X2, we must solve the system of equations
3l2 2 x1 0
:
1 2l2 x2 0
The equations are equivalent and we again have only the one equation
x1 /2x2 relating the two variables x1 and x2, in which we may take x2 to be
arbitrary. Setting x2 /1 shows the second eigenvector to be
www.EngineeringEBooksPdf.com
500 ESSENTIALS OF ENGINEERING MATHEMATICS
2
X2 :
1
After normalization, the normalized eigenvector X̂2 is seen to be
(91) 2
X̂2 :
â5 1
Example 58.2
www.EngineeringEBooksPdf.com
THE ALGEBRAIC EIGENVALUE PROBLEM 501
www.EngineeringEBooksPdf.com
502 ESSENTIALS OF ENGINEERING MATHEMATICS
x2 2x1 , x3 2x1 ,
www.EngineeringEBooksPdf.com
THE ALGEBRAIC EIGENVALUE PROBLEM 503
2 3 2 3 2 3
2 1 2
X1 4 25, X2 4 25 and X3 415,
1 2 2
while the corresponding normalized eigenvectors are
2 3 2 3 2 3
2 1 2
(91) 4 5 (91) 4 5 (91) 4 5
X̂1 2 , X̂2 2 and X̂3 1 : m
3 1 3 2 3 2
PROBLEMS 58
www.EngineeringEBooksPdf.com
504 ESSENTIALS OF ENGINEERING MATHEMATICS
2 3
2 0 1
9: A 4 1 2 15:
1 2 0
2 3
1 9 5
10: A 49 15 95,
5 9 1
given that l / /3 is a root of the characteristic equation.
2 3
1 2 2
11: A 4 2 2 25:
3 6 6
2 3
1 6 12
12: A 4 0 13 305,
0 9 20
given that l /5 is a root of the characteristic equation.
www.EngineeringEBooksPdf.com
Scalars, vectors and
vector addition 59
AB a,
and the two representations of this vector are illustrated in Fig. 118, in which
the two lines are parallel, of equal length and have arrows in the same
direction. The choice of the proportionality constant is arbitrary, but it is
often chosen such that a line segment of length 1 represents a vector of
magnitude 1 (in appropriate units).
www.EngineeringEBooksPdf.com
506 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 118
The essential property underlying vectors is the definition of vector addi-
tion. The sum of the two vectors a and b is defined to be a third vector a/b
determined by the parallelogram or triangle law for addition.
Fig. 119
The magnitude, or modulus, of a vector a /AB is the length of the line AB,
and it is convenient to denote the magnitude of a vector denoted by the bold
face symbol a by jaj and to write this simply as a, so that if a/AB, then
AB ½a½ a:
½â½ 1:
www.EngineeringEBooksPdf.com
SCALARS, VECTORS AND VECTOR ADDITION 507
Commutative law
abba
This follows from the parallelogram law which is seen to comprise two
triangle laws, one of which gives a/b and the other gives b/a, both repre-
sented by the same diagonal. Thus the order in which vectors are added is
immaterial.
Associative law
a(bc)(ab)c
The proof of this follows by considering Fig. 120. We see from this that
bcAC,
so
a(bc)OC,
but
abOB,
so
(ab)c OC,
and thus
a(bc)(ab)c:
This last result means that a sum such as a/b/. . ./c is unique (the order
in which the vectors are added does not influence their sum).
Thus a/a is a vector with magnitude 2 jaj and the direction of a, so we
write this as 2a. In general, if k , l are scalars, we have
kala (k l)a,
kakbk(ab),
Fig. 120
www.EngineeringEBooksPdf.com
508 ESSENTIALS OF ENGINEERING MATHEMATICS
and
k(la)l(ka)kla:
If we now set k /jaj and l/1/jaj, we see from this last result that
1
½a½ a a,
½a½
but
1
a â (the unit vector in the direction of a),
½a½
so we have arrived at the general result that
a ½a½ â:
In words, this expresses the fact that any vector a may be expressed as the
product of the unit vector â in the direction of a scaled by the magnitude of a.
SUBTRACTION OF VECTORS
The vector /b is defined to be the vector with the same magnitude as b,
but with the opposite direction. Thus the vector difference c /a /b is de-
fined to be the vector sum
ca(b):
This is illustrated in Fig. 121 in which first the bases of a and b are brought
into coincidence. Then the direction of b is reversed to form /b, after which
a and /b are added by the parallelogram law to form the difference a /b.
Fig. 121
If b/a, then a /a /0 is the zero or null vector. All null vectors are
regarded as equal and they have magnitude zero but no direction.
SCALING VECTORS
www.EngineeringEBooksPdf.com
SCALARS, VECTORS AND VECTOR ADDITION 509
Fig. 122
a number m, its magnitude becomes jmj jaj (here jmj is the absolute value of
m), and its direction is unchanged if m /0 but is reversed if m B/0. Figure 122
shows the effect of scaling the vector a by various factors m.
The position of a point in space is a vector quantity when referred to a
fixed origin O. Such vectors, called position vectors, are of considerable im-
portance in the study of vectors. If, for example, the point O in Fig. 120 is
taken to be the origin, then the position vectors of points A , B and C are,
respectively, a, a/b and a/b/c.
PROBLEMS 59
Fig. 123
4. Find the vector x in terms of a, b and c, where a, b, c and x are as
shown in Fig. 124.
Fig. 124
www.EngineeringEBooksPdf.com
510 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 125
5. Find the position vector r of the point R shown in Fig. 125 which
divides the line AB in the ratio m : n, given that the position vectors of
A and B are, respectively, a and b.
6. If A and B have the respective position vectors a and b, find the vector
x which is oppositely directed to the position vector r of the mid-point
P of AB and twice its magnitude.
7. Find the position vector x of the mid-point M of the median BP, in
terms of the position vectors a, b and c of the respective vertices A , B
and C of the triangle in Fig. 126.
8. Let a unit vector represent a force of unit magnitude acting in its
direction. What is the magnitude of the sum of forces of magnitudes
1, 2 and 3 which are mutually perpendicular, and how can the direction
of this resultant force be found?
Fig. 126
www.EngineeringEBooksPdf.com
Vectors in component
form 60
The rule for vector addition may be used to express an arbitrary vector as the
sum of multiples of three mutually perpendicular unit vectors. When working
with Cartesian coordinates, these unit vectors are denoted by i, j and k. We
will take them to be directed in the positive sense along the three Cartesian
axes Ox , Oy and Oz , respectively, as shown in Fig. 127. Notice that the axes
are arranged so that the z -axis points in the direction in which a right-handed
screw will advance if turned from x to y. This is called a right-handed set of
axes, and we will always work with such a set. The set of vectors i, j, k is called
a right-handed set of unit vectors or, sometimes, an orthogonal triad of unit
vectors, where by orthogonal vectors we mean mutually perpendicular vec-
tors.
If a point P has the Cartesian coordinates P (x , y, z ) it follows that OA /
x , OB /y and OC /z. Thus OA /xi, OB /y j and OC /zk, and by vector
addition we see that the position vector of P relative to O is
rOP xiyjzk:
The numbers x , y and z are called the components of vector r, and the
representation r/x i/y j/zk is called the Cartesian form of vector r.
It follows from Pythagoras’ theorem that the modulus
r½r½ (x2 y2 z2 )1=2 :
This can be seen from Fig. 127 because
OP2 OQ2 QP2 OQ2 z2 ,
but
OQ2 x2 y2 ,
so
OP2 x2 y2 z2 ,
and thus
r½r½ (x2 y2 z2 )1=2 :
If a, b and g are the angles between OP and the x -, y - and z-axes,
respectively, we see from Fig. 127 that if we set
www.EngineeringEBooksPdf.com
512 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 127
l cos a, m cos b, n cos g,
it follows that
x r cos a rl
yr cos brm
z r cos grn:
Consequently,
r rlirmjrnk
r(limjnk),
and thus
r
r̂limjnk:
r
The numbers (l , m , n ), in this order, are called the direction cosines of r and
since
r̂ limjnk
it follows that l, m and n are related by the expression
l 2 m2 n2 1:
In terms of r and the components of r, it is seen that
l x=r, m y=r, and nz=r:
www.EngineeringEBooksPdf.com
VECTORS IN COMPONENT FORM 513
Example 60.1
Solution
r½r½[82 42 (1)2 ]1=2 9:
r 1
r̂ (8i4jk)
r 9
8 4 1
i j k:
9 9 9
The direction cosines follow from this last result, since l, m and n are the
coefficients of i, j and k, in the representation of the unit vector r̂: Thus we see
that
l 8=9, m 4=9 and n1=9: m
Example 60.2
If
a2i7jk and b3i2j5k,
find
(i) 2a;
(ii) /3b;
www.EngineeringEBooksPdf.com
514 ESSENTIALS OF ENGINEERING MATHEMATICS
(iii) 3a/b;
(iv) A unit vector in the direction of a.
Solution
(i) 2a/4i/14j/2k.
(ii) /3b/ /9i/6j/15k.
(iii) 3a/b/6i/21j/3k/(3i/2j /5k)
6i21j3k3i2j5k
3i23j8k:
a 2i 7j k
(iv) /â
½a½ [(2)2 (7)2 (1)2 ]1=2
1
(2i7jk): m
54
Example 60.3
Given that A is the point (5, /2, 3) and B is the point (2, 1, /2), find
(i) The position vectors of A and B relative to the origin;
(ii) The vector AB ;
(iii) The position of the mid-point P of AB.
Solution
(i) a/OA /5i/2j/3k and b /OB /2i/j/2k.
(ii) The configuration is illustrated in Fig. 128. We have
OAAB OB,
or
aAB b,
and so
AB ba
(2ij2k)(5i2j3k)
3i3j5k:
(iii) /r OP OAAP
1
a AB
2
1
a (ba)
2
1
(ab):
2
www.EngineeringEBooksPdf.com
VECTORS IN COMPONENT FORM 515
Example 60.4
A man travelling due east at 24 km/h finds the wind appears to blow from the
north. If he doubles his speed, he finds it appears to blow from the northeast.
Find the velocity of the wind.
Solution
Take a unit vector i pointing east and a unit vector k pointing north, and let a
unit vector represent a velocity of 1 km/h. Then the man’s velocity is 24i, and
the relative velocity u of the wind with respect to the man is /u k, where
u /juj. The situation is illustrated in Fig. 129(a), in which the true velocity of
the wind V (relative to a fixed observer) blows as shown with the angle u as
yet undetermined.
Fig. 129
On doubling his speed, the man’s velocity becomes 48i, the true velocity of
the wind V remains unchanged, but relative to the man the wind now blows
along CD in Fig. 129(b), with the angle BCD equal to p/4. Comparison of
Figs. 129(a) and (b) shows that AB /BC /24, and as angle BCD is equal to
p /4 and BD is perpendicular to AC, the angle BAD must also equal p/4.
www.EngineeringEBooksPdf.com
516 ESSENTIALS OF ENGINEERING MATHEMATICS
24i(24k)
so
V 24(ik),
Example 60.5
A force F of magnitude 3 newtons acts along the line of the vector /2i/3j/
k and another force G of magnitude 2 newtons acts along the line of the
vector /3i/j/2k. Find
(i) Unit vectors fˆ and ĝ in the direction of F and G;
(ii) The resultant R of F and G and jRj.
Solution
(i) fˆ 2i 3j k 1
2 1=2 (2i3j2k)
2 2
[(2) 3 1 ] 14
and
3i j 2k 1
ĝ 2 (3ij2k):
[(3) 12 22 ]1=2 14
3 2
(2i3jk) (3ij2k)
14 14
www.EngineeringEBooksPdf.com
VECTORS IN COMPONENT FORM 517
1
(12i11j7k):
14
PROBLEMS 60
1. Given
a 4i2j3k, b2i3jk,
www.EngineeringEBooksPdf.com
518 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
The straight line 61
or
r aAP:
A vector equation is, in fact, three scalar equations, for it implies the equal-
ity of the i, j and k components on either side of the equation. Thus the
ordinary Cartesian equations of the straight line L are
Fig. 130
www.EngineeringEBooksPdf.com
520 ESSENTIALS OF ENGINEERING MATHEMATICS
x a1 l b1
ya2 l b2
z a3 l b3 ,
in which l is a parameter such that / B/l B/. Giving different values to
l determines different points (x , y, z ) on L .
Eliminating l between these three equations we find that the Cartesian
equations of L are
x a1 y a2 z a3
(l):
b1 b2 b3
When expressed in this form, the Cartesian equations of L are said to be in
standard (or canonical) form. Notice the important fact that when the equa-
tions are in standard form, the coefficients of x , y and z are all equal to unity.
When the Cartesian equations of a line L are in standard form, equating
the numerator of each of the three expressions to zero determines the co-
ordinates of a point on L , while the denominators of the expressions are the
direction ratios of L .
Example 61.1
Write down the Cartesian equations of the straight line L passing through
the point with position vector a/ /3i/2j/7k in the direction of the vector
b /2i/3j/5k.
Solution
As the vector equation of L is
ral b,
it follows at once that the Cartesian equations of L are
x3 y2 z7
: m
2 3 5
Example 61.2
Find the position vector of a point on the line L and a vector along L given
that its Cartesian equations are
3x 1 y 7 2z 1
:
2 3 4
Solution
First we express the equations in standard form (we make the coefficients of
x , y and z equal to 1), when they become
www.EngineeringEBooksPdf.com
THE STRAIGHT LINE 521
Then equating each numerator to zero shows that the x , y and z coordi-
nates of a point on L are (/1/3, 7, 1/2). The denominators of each expres-
sion now determine the direction ratios of a vector parallel to L , which are
seen to be (2/3, 3, /2). Thus the position vector of a point on L is
1 1
a i7j k,
3 2
and a vector b along L is
2
b i3j2k: m
3
Example 61.3
Write down the vector equation of the straight line L with the Cartesian
equations
3x 1 z7
:
2 5
Solution
When expressed in standard form, the equations become
x (1=3) z7
:
(2=3) 5
Thus, by inspection, as y is absent we see that a point on L has the coordi-
nates (1/3, 0, /7) and the direction ratios of a vector along the line are
(/2/3, 0, 5). Thus the position vector of a point on L is
a(1=3)i7k
and a vector along L is
b(2=3)i5k:
Thus the vector equation of the line is
r(1=3)i7kl[(2=3)i5k]:
The component of the unit vector j is identically zero, so the line lies in the
(x, z)-plane. m
Example 61.4
Find the Cartesian equations of the line L through the point a/i/2j/k in
the direction of the vector b/ /2j/3k.
www.EngineeringEBooksPdf.com
522 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
r (i2jk)l(2j3k),
so
x1 y2 z1
(l):
0 2 3
The first quotient is only possible if x /1, so the Cartesian equations of the
line L are
x1, 3y2z40,
showing that the line lies in the plane x /1. m
PROBLEMS 61
4x 1 y 3 z 4
1. / :
3 2 1
3x 7 2y 3 3z 5
2. / :
9 4 1
2x 3 4z 9
3. / :
2 3
x 9 y 6 z 16
4. / :
4 2 5
5. Find the vector and Cartesian equations of the line L passing through
the points (1, 1, 1) and ( /2, /1, 3).
6. Given that the vector equation of a straight line L is
ral b
where a /2i/j/k and b /3i/2j/3k, find the points on L corre-
sponding to l/ /1, l/1 and l/2.
7. Find the Cartesian equations of the straight line L which passes
through the point (1, 2, 3) and is parallel to the line joining the points
(2, 3, 1) and (5, 4, 2).
8. Find the Cartesian equations of the straight line L which passes
through the point (3, /1, 2) and has the direction ratios 3 : 2 : /6.
www.EngineeringEBooksPdf.com
The scalar product
(dot product) 62
Fig. 131
www.EngineeringEBooksPdf.com
524 ESSENTIALS OF ENGINEERING MATHEMATICS
i×ij×jk×k 1:
while
i×j j×ii×k k×i j×k k×j0:
The scalar product also obeys the distributive law
a×(bc)a×ba×c:
This last result is used to evaluate scalar products when a and b are given in
their Cartesian form. If aa1 ia2 ja3 k and bb1 ib2 jb3 k, we have
a×b(a1 ia2 ja3 k) × (b1 ib2 jb3 k),
and an application of the distributive law coupled with the results for scalar
products involving i, j and k gives the fundamental result
a×b a1 b1 a2 b2 a3 b3 :
Equating the two definitions of a×b gives
½a½ ½b½ cos u a×b,
so the angle u between a and b follows from
a×b
cos u :
½a½ ½b½
This last result is seen to be equivalent to
cos u â× b̂,
so the cosine of the angle between a and b equals the scalar product of the
unit vectors â and b̂ along a and b, respectively.
Example 62.1
If a i2jk and b 3ij2k find a×b and the angle between a and b.
Solution
The scalar product
a×b (1)(3)(2)(1)(1)(2) 3:
As jaj/6 and jbj/l4 if u is the angle between a and b, then
a×b 3 3
cos u ,
½a½ ½b½ 614 84
and so u /70.898. m
The scalar product may be used to express the work W done when a force F
moves its point of application a distance jsj in the direction of the unit vector
ŝ along s. We see from Fig. 132 that the work W is the product of the
component of F along s with the actual displacement jsj. Thus
www.EngineeringEBooksPdf.com
THE SCALAR PRODUCT (DOT PRODUCT) 525
Fig. 132
Example 62.2
Find the work done when a force of magnitude six force units in the direction
i/j/3k moves its point of application a distance two length units parallel to
2i/j/k.
Solution
A unit vector fˆ parallel to i/j/3k is
1
fˆ (ij3k),
11
while a unit vector d̂ parallel to 2i /j/k is
1
d̂ (2ijk):
6
If we let the unit vector fˆ represent a force of one unit, then a force F of six
units is
6
F (ij3k):
11
If d̂ represents a displacement of one unit in the direction 2i/j/k, a dis-
placement s of two units in this direction is
2
s (2ijk):
6
Thus the work W done by the force is
6 2
W F×s (ij3k) × (2ijk)
11 6
12 48
[(1)(2)(1)(1)(3)(1)] work units: m
66 66
The effect of forming the scalar product of a vector a and an arbitrary unit
vector n̂ is to give the projection of a in the direction of n̂; with the projection
www.EngineeringEBooksPdf.com
526 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 133
being non-negative if 00/u B/p/2 and negative if p /2 B/u 0/p . This follows
from the fact that
a× n̂½a½ ½n̂½ cos u½a½ cos u:
The result is illustrated in Fig. 133, both for the case 0 0/u 0/p /2 and for
p /2 B/u 0/p . Notice that the projection is positive when 00/u 0/p/2 and
negative when p /2 B/u B/p. If the length of the projection is required, then
since length is non-negative, it is necessary to take the absolute value of the
scalar product.
Example 62.3
Solution
(i) To find the projection of a in the direction of b, we must form the scalar
product a× b̂: We have
1
a× b̂(i4jk) × (2i3jk)
11 14
:
14
(ii) To find the projection of b in the direction of a, we must form the scalar
product â×b: We have
1
â×b (i4jk) ×(2i3jk)
18
11
: m
18
www.EngineeringEBooksPdf.com
THE SCALAR PRODUCT (DOT PRODUCT) 527
PROBLEMS 62
1. Given a /i/3j/k and b/2i/j/k, find a×b and the angle between
the vectors.
2. Given a/2i/2j/k and b /i/4j/3k, find a×b and the angle
between the vectors.
3. Given a /3i/j/2k and b / /6i /2j/4k, find a×b and the angle
between the vectors.
4. Given a /3i /j/2k and b/2i/4j/k, find a×b and the angle
between the vectors.
5. Which pairs of the vectors a, b, c and d are orthogonal, given that
ai3jk; b 4i3jk; c 2ijk; d5i2jk?
6. Given that a /5i/3j/4k, b /2i/j/k and c /i/2j/3k, verify that
a×(bc)a×ba×c:
7. For what value of a will the vectors a/5i/2j/3k and b/2i/a j/a k
be orthogonal?
8. Find the work done when a force of magnitude eight force units in the
direction i/j/k moves its point of application a distance five length
units in the direction 2i /j/3k.
9. Given that a /i/j/k and b /3i/2j/4k, find (a) the projection of a
in the direction of b and (b) the projection of b in the direction of a.
10. Given that a / /4i/2j/2k and b/3i/2j/k, find (a) the length of
the projection of a in the direction of b and (b) the length of the
projection of b in the direction of a.
11. Find numbers n1, n2 and n3 such that the vector n/n1i/n2j/n3k is
orthogonal to both a /i/j/k and b/3i/2j/2k.
www.EngineeringEBooksPdf.com
63 The plane
Fig. 134
www.EngineeringEBooksPdf.com
THE PLANE 529
Example 63.1
Find the Cartesian form of the equation of the plane through the point
(3, /2, 1) with a normal N /4i/7j/4k. Determine the perpendicular dis-
tance of the plane from the origin.
Solution
In terms of the previous notation, a /3i/2j/k and N /4i/7j/4k, so the
vector equation of the plane
r×N a×N
becomes
(xiyjzk) × (4i7j4k)(3i2jk) × (4i7j4k):
When expanded, this gives the Cartesian equation of the plane
4x7y4z6:
The perpendicular distance d of the plane from the origin is
d a× j j N
½N½
j 1
(3i2jk) × (4i7j4k)
9 j
j j
6
9
2
:
3
m
The angle between two planes is the angle between their normals. Thus if
the planes have the vector equations
www.EngineeringEBooksPdf.com
530 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 63.2
www.EngineeringEBooksPdf.com
THE PLANE 531
This result takes on a particularly simple form if the equation of the plane
is expressed in Cartesian form. For if the plane has the equation
pxqyrzs,
and B is the point (x0, y0, z0) so its position vector b/x0i/y0j/z0k, we see
that
N piqjrk,
Example 63.3
Find the distance d of the point (2, /1, /4) from the plane
4x12y3z7
Solution
(i) Inspection shows that
N 4i12j3k, ½N½ 13 and a×N 7:
Setting b/2i/j/4k we find that b×N 32, so from the vector formula
for d we have
½a × N b × N½ ½7 32½ 25
d :
½N½ 13 13
(ii) Making the identifications x0 /2, y0 / /1, z0 / /4, p /4, q/ /12,
r / /3 and s/7 and substituting into the Cartesian formula for d gives
½7 32½ 25
d : m
13 13
www.EngineeringEBooksPdf.com
532 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 63
1. Find the Cartesian equation of the plane with normal 3i/j/2k which
contains the point (1, 1, 1).
2. Find the Cartesian equation of the plane with normal 7i /j/3k which
contains the point (1, 2, /1).
3. Find the Cartesian equation of the plane with normal 3i/6j/4k
which contains the point at the origin.
4. Find the angle between the two planes with the equations 2x /y/z/4
and x/4y/3z /1.
5. Find a vector N which is normal to the plane
4x2y5z 4:
What is the perpendicular distance d of this plane from the origin?
6. Find a unit vector n̂ which is normal to the plane
3x4y2z 0:
What is the perpendicular distance d of this plane from the origin?
7. Find the perpendicular distance d of the point (2, 1, /3) from the
plane with normal i/2j/k which passes through the point (1, 1, /1).
8. Find the equation of the plane through the point (2, 3, /1) normal to
the line joining this point to the origin.
9. Find the distances of the point (2, 3, /5) and the origin from the
plane
x2y2z 9:
Are these two points on the same side of the plane?
www.EngineeringEBooksPdf.com
The vector product
(cross product) 64
Fig. 135
www.EngineeringEBooksPdf.com
534 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 64.1
Solution
i j k
ab 1 2 1
2 1 1
2 1 1 1 1 2
i j k
1 1 2 1 2 1
i3j5k: m
Example 64.2
Solution
By definition, a vector (not necessarily a unit vector) perpendicular to both a
and b is the vector n/a /b. Thus a unit vector perpendicular to both a and b
www.EngineeringEBooksPdf.com
THE VECTOR PRODUCT (CROSS PRODUCT) 535
is
ab
n̂ :
½a b½
1
(i2jk): m
6
The scalar and vector products can be combined in certain ways to form
triple products of different types. As a×b is a scalar, no further vector opera-
tions can be performed on it, but a /b is a vector, so it may either be
combined with a third vector c to form a scalar product or a vector product.
The triple scalar product (ab)×c is a scalar which has a simple geome-
trical interpretation, as may be seen from Fig. 136.
The parallelepiped shown is formed from the vectors a, b and c involved in
a triple scalar product. We have already seen that the area S of the paralle-
logram OAFB is given by
S ½ab½:
Fig. 136
www.EngineeringEBooksPdf.com
536 ESSENTIALS OF ENGINEERING MATHEMATICS
The scalar product n̂×c is the projection of c in the direction of n̂; so that
½n̂×c½ is the height of the parallelepiped. Thus if we consider the triple scalar
product (ab)×c we see that
½(ab)×c½ V
the volume of the parallelepiped. This result provides a useful test by which
to establish if the vectors a, b and c are coplanar (all in the same plane). If
they are coplanar then V /0, otherwise V "/0.
The volume V is independent of the manner in which it is calculated, so by
using different faces of the parallelepiped as base we see that
a×(bc)b×(ca) c×(ab):
but interchanging the order of the vectors in the vector product will change
the sign of the triple scalar product.
When expressed in component form, since
ab (a2 b3 a3 b2 )i(a3 b1 a1 b3 )j(a1 b2 a2 b1 )k,
which is simply
a1 a2 a3
(ab)×c b1 b2 b3 :
c c2 c3
1
Notice that the order of the rows of the determinant is the same as the order
of the vectors a, b and c in the triple scalar product. In a triple scalar product
the × and /may be interchanged without altering the result, but the order of
the vectors must not be changed.
Example 64.3
Solution
1 2 0
(ab)×c 0 3 16: m
1 1 1
www.EngineeringEBooksPdf.com
THE VECTOR PRODUCT (CROSS PRODUCT) 537
Example 64.4
Prove that the vectors a /i /2j/k, b /2i/5j/3k and c /4i/j/k are
coplanar.
Solution
1 2 1
(ab)×c 2 5 3 0,
4 1 1
so a, b and c are coplanar. m
The triple vector product (a /b)/c is a vector perpendicular to both c and
a /b, and so lies in the plane of a and b. A routine calculation establishes the
basic result that
(ab)c(a×c) b(b×c) a:
The order and the brackets in a triple vector product must not be changed,
for to do so will alter the result.
If c is normal to the plane of a and b then (a /b)/c /0. This result may
be used as a test to determine whether c is perpendicular to the vectors a and b.
Example 64.5
Find (a /b)/c and a /(b/c), given that a /i/2j/k, b /2i/j /k and
c /i/3j/2k.
Solution
(ab)c(a×c) b(b×c) a:
5b3a
13ij8k:
a(bc)(bc)a
[(b×a) c(c×a) b]
c5b
9i8j7k: m
Example 64.6
www.EngineeringEBooksPdf.com
538 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
We may use the triple vector product as a test because if r is orthogonal to
both p and q, then (p /q) /r /0.
(ab)c(a×c) b(b×c) a
b2a3i3k" 0,
so c is not orthogonal to both a and b.
(ab)d(a×d) b(b×d) a
0b0a 0,
so d is orthogonal to both a and b. m
PROBLEMS 64
1. Find a /b, a /c and b/c given that a /2i/j /k, b/3i/2j/2k
and c /i/j/k.
2. Find u /a /b, v /b/c and u/v given that a/3i/j/k, b /i/2j/
2k and c/ /i/3j/k.
3. Find the area of the parallelogram with two adjacent sides a /4i/j/
2k and b/3i/j/4k.
4. Find the area of the parallelogram with two adjacent sides a /i/j/
4k and b/ /6i/2j/4k.
5. Verify the distributive law
a(bc)abac,
given that a /3i/2j/k, b /i/2j /3k and c /i/7j/3k.
6. Find a unit vector normal to a /2i /j/4k and b/i/3j/2k.
7. Find a×(bc) given that a /i/3j/4k, b /2i/j/4k and c/3i/
2j/3k.
8. Find b×(ca) given that a/2i/2j/k, b/i/2j/3k and c/3i/k.
9. Given that a /2i/2j/3k and b /i/j/4k, find the number a such
that c /i/j/a k is coplanar with a and b.
10. Find (a/b)/c and a /(b /c) given that a/i/2j/4k, and b/i/
6k and c/2i/3j/k.
11. Find (a/b)/c and a /(b /c), given that a/i/j/k, b/i/j/2k
and c /i/j/k.
12. Find a such that the vector c / /8i/a j/6k is orthogonal to both
a/i/j/k and b /i /2j/2k.
13. Consider Fig. 137, and justify the result that
abc0:
www.EngineeringEBooksPdf.com
THE VECTOR PRODUCT (CROSS PRODUCT) 539
Fig. 137
By forming the vector product of this result first with a and then with
b, prove the sine rule
sin A sin B sin C
,
a b c
where a/jaj, b /jbj and c /jcj.
14. If vectors a, b and c are such that
abc0,
form the triple scalar product (ab)×c and hence show that c is or-
thogonal to both a and b.
www.EngineeringEBooksPdf.com
Applications of the
65 vector product
If u is the angle between vectors a and b, as shown in Fig. 135, it follows from
the definition of the vector product that
½a b½
sin u :
½a½ ½b½
This result is less convenient to use than the one used so far, namely,
a×b
cos u ,
½a½ ½b½
since the scalar product a ×/ b is easier to evaluate than the vector product
a /b.
Example 65.1
Use the vector product to find the angle between a /i/2j/2k and
b /2i /2j/k.
Solution
i j k
jaj/3, jbj/3 and ab 1 2 22i5j6k, so ja /bj/65.
2 2 1
Thus we have
½a b½ 65
sin u ,
½a½ ½b½ 9
and thus
u 1:110 rad (63:61 ): m
www.EngineeringEBooksPdf.com
APPLICATIONS OF THE VECTOR PRODUCT 541
three points in the plane which are not collinear (not in a straight line). Let a,
b and c be the position vectors of three such points A , B and C. Then a /b
and a /c are vectors in the plane containing A , B and C. Thus the vector
m (ab)(ac)
is normal to the plane, and as a is the position vector of a point in the plane it
follows from Section 63 that the vector equation of the plane is
(ra)×m 0:
Example 65.2
Find the vector and Cartesian equations of the plane through the points
A (2, 4, 7), B (1, 1, 2) and C (1, 0, /1).
Solution
Set a /2i/4j/7k, b /i/j/2k and c/i/k. Then a /b /i/3j/5k,
a /c /i/4j/8k and
i j k
m (ab)(ac) 1 3 5 4i3jk:
1 4 8
www.EngineeringEBooksPdf.com
542 ESSENTIALS OF ENGINEERING MATHEMATICS
If the position vector of a point on the line is a, the vector equation of the
line will be
r al n1 n2 :
As L lies on both planes it follows that
n1 ×(al n1 n2 )p1
and
n2 ×(al n1 n2 )p2 ,
but
n1 ×(n1 n2 )n2 ×(n1 n2 )0,
and so
n1 ×ap1 and n2 ×ap2 :
Setting /n1 n1(1) in2(1) jn3(1) k,n2 n1(2) in2(2) jn3(2) k and a /a1i/a2j/
a3k, the above two equations reduce to
n(1) (1) (1)
1 a1 n2 a2 n3 a3 p1
and
n(2) (2) (2)
1 a1 n2 a2 n3 a3 p2 :
These are two equations for the three coordinates a1, a2 and a3 of the point
on line L with position vector a. If one of the three coordinates is allocated an
arbitrary numerical value, the two equations may then be solved for the other
two coordinates, and the position vector a is then known. It is simplest to set
a3 /0 and to solve for a1 and a2 using the equations
n1(1) a1 n(1)
2 a2 p1
n1(2) a1 n(2)
2 a2 p2 :
Example 65.3
Solution
The normal n1 to the first plane is
n1 i2jk,
www.EngineeringEBooksPdf.com
APPLICATIONS OF THE VECTOR PRODUCT 543
The angle u between the planes is the angle between their normals n1 and
n2, so u is determined by solving
n1 × n2 2
cos u ,
½n2 ½ ½n2 ½ 36
so u/74.218. m
Consider a straight line L through point A with position vector a and parallel
to the vector b, as shown in Fig. 138. Let a point C in space have the position
vector c, and let d be the perpendicular distance from C to L .
We see from Fig. 138 that AC ca, and
½b(ca)½ ½b½ ½ca½ sin u
½b½ AC sin u
½b½ d,
and so
½b (c a)½
d :
½b½
www.EngineeringEBooksPdf.com
544 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 138
Example 65.4
Find the perpendicular distance d from the point (1, 2, 3) to the straight line
Solution
The equation of the straight line is in standard form, so the position vector of
a point on the line is a/2i/4j/k, while the vector b along the line is b /i/
2j/2k.
The point whose perpendicular distance d from the line is required has the
position vector c/i/2j/3k.
Thus
½b (c a)½
d ,
½b½
85
d : m
3
www.EngineeringEBooksPdf.com
APPLICATIONS OF THE VECTOR PRODUCT 545
Fig. 139
ANGULAR VELOCITY
Consider a rigid body pivoted about a point O and rotating about an axis
OC, as shown in Fig. 139. Let its angular speed about OC be v rad/s, and let
n̂ be a unit vector in the direction of OC. Then the angular velocity is defined
as
vvn̂:
Let the perpendicular distance of R from the line OC be p. Then the
velocity of a point R in the body with position vector r relative to O has
magnitude pv, and is in a direction perpendicular to the plane containing the
line OC and the point R , and is such that
vvr:
Example 65.5
A rigid body spins about an axis OC in the direction i/j/k at the uniform
rate of 5 rad/s. The point O has the position vector a/2i/j/3k relative to
an origin O ?, with a unit vector representing a displacement of 1 cm. Find the
instantaneous velocity of a point R with the position vector b/4i/3j/2k
relative to O ?.
Solution
The configuration is illustrated in Fig. 140. The position vector of R relative
to O is r /b /a, v /5 and n̂(ijk)=3, so
5
v (ijk)
3
and thus
5
v (ijk)(ba),
3
www.EngineeringEBooksPdf.com
546 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 140
but b /a /2i/2j/k, so
5
v (ijk)(2i2jk)
3
53(ij) cm=s: m
MOMENTS
we see that
M?r?F [r(r?r)]F
www.EngineeringEBooksPdf.com
APPLICATIONS OF THE VECTOR PRODUCT 547
Fig. 141
rF,
because r?r and F are parallel vectors, so (r?r)F 0:
Example 65.6
A force F /2i/3j/4k acts at the point (1, 2, 1). Find its moment
(i) About the origin;
(ii) About the point (4, 1, /1).
Solution
(i) The position vector r of the point (1, 2, 1) relative to the origin is
r /i/2j/k, so the moment about the origin is
M (i2jk)(2i3j4k)
11i2j7k torque units:
(ii) The position vector r of the point (1, 2, 1) relative to the point (4, 1, /1)
is
r(i2jk)(4ijk)3ij2k,
so the moment about the point (4, 1, /1) is
M(3ij2k)(2i3j4k)
10i16j7k torque units: m
For a system of forces F1, F2, . . ., Fn acting at points with position vectors
r1, r2, . . ., rn , the moment of the system about the origin is
G r1 F1 r2 F2 . . .rn Fn :
For a rigid body F /G /0 is sufficient to ensure equilibrium. If F /0 but
G "/0 it can be shown that the moment is the same about any point and the
system reduces to a couple (a simple turning effect).
www.EngineeringEBooksPdf.com
548 ESSENTIALS OF ENGINEERING MATHEMATICS
In component form, if F /X i/Y j/Z k and r/x i/y j/zk, then
rF (yZ zY )i(zX xZ)j(xY yX )k:
For a system in the (x , y )-plane z /0 and Z /0, and
M rF(xY yX )k:
Now xY /yX is the usual counterclockwise moment about the origin. We
can interpret this scalar quantity as the moment about a line, which in this
case is the z -axis. In general the moment about a line through the origin O in
the direction of the unit vector n̂ is
n̂×(rF):
Thus for the above two-dimensional system the moment about the z -axis is
k×(xY yX )k xY yX :
Example 65.7
The force F /3i/2j/4k acts at the point (1, 3, /2). Find the moment
(i) About the origin;
(ii) About the line through O in the direction i/2j/3k.
Solution
(i) The moment about the origin is
M rF(i3j2k)(3i2j4k)
8i10j11k torque units:
(ii) The unit vector n̂ in the direction of i/2j/3k is
n̂ (i2j3k)=14,
so the moment about this line is
1
n̂×M (i2j3k) × (8i10j11k)
14
21 torque units: m
The notion of a moment may be applied to any vector quantity that has a
line of application (a vector which acts in a given direction through a specific
point, and so cannot be translated).
PROBLEMS 65
www.EngineeringEBooksPdf.com
APPLICATIONS OF THE VECTOR PRODUCT 549
2. Obtain the equation of the line passing through the points (1, 1, 1) and
(/2, /1, 3). Determine the equation of the plane with the vector
along this line as its normal and passing through the point (2, 1, 1).
3. Find the equation of the plane through the origin and the points
(1, 1, 1) and (1, 2, 3). Find the perpendicular distance d from the
point (3, /2, /4) to the plane.
4. Find a unit vector normal n̂ to the plane through the points A (1, 1, 1),
B (1, 2, 3) and C (2, /2, /1). By projecting OA in the direction of this
unit vector, find the distance d of the plane from the origin O.
5. Find the equation of the line of intersection of the two planes with the
equations
4x20y20z110
4x5y10z90:
Find the equation of the plane containing the origin which has the
vector along this line as its normal. Determine the angle between the
two planes.
6. Show that the lines
x2 y1 z2 x1 y1 z2
and
1 2 2 3 4 5
intersect and find the angle between the lines. Find the equation of the
plane containing both lines.
7. Show that the four points (0, /1, 0) and (2, 1, /1), (1, 1, 1) and
(3, 3, 0) are coplanar.
8. Show that the four points (1, 1, 0), (2, 0,/1), ( /2, 1, 2) and (4, 4,/1)
are coplanar and find the equation of the plane containing them.
9. Find the distance p, measured parallel to the line
x y z
,
2 3 6
from the point (1, /2, 3) to the plane
xyz 5:
10. A rigid body spins about an axis OC in the direction 2i/j/2k at the
uniform rate of 9 rad/s. The point O has the position vector a /i/2j/
k relative to an origin O ?, with a unit vector representing a displace-
ment of 1 cm. Find the instantaneous velocity of a point R with the
position vector b /3i/j/3k relative to O ?.
11. A force F /i /j/3k acts at the point (1, 1, 1). Find its moment about
the origin and about the point (2, 0, /1).
www.EngineeringEBooksPdf.com
Differentiation and
66 integration of vectors
DIFFERENTIATION
Consider Fig. 142 which shows the curve G traced out by the position vector
r(t) as t increases. Let OP be the vector r at some value of t and OP?/r/d r
be the vector at some subsequent value t/dt. Then Fig. 142 shows that
Fig. 142
www.EngineeringEBooksPdf.com
DIFFERENTIATION AND INTEGRATION OF VECTORS 551
/ PP?dr:
The quantity d r/dt is a vector along PP?, and as dt 0/0, so the chord PP?
approaches the tangent at P. We define the derivative of r with respect to t by
dr dr r (t h) r (t)
lim lim ,
dt dt00 dt h00 h
which is a vector in the direction of the tangent vector at P.
A repetition of this argument shows that higher order derivatives may be
defined in similar fashion, with
d dr d2 r d d2 r d3 r
, , ...:
dt dt dt2 dt dt2 dt3
The following results are easily shown to be true. Let c be a constant vector,
A be a scalar constant and r, s differentiable vectors. Then
d
1 / [c]0;
dt
d dr
2 / [Ar]A ;
dt dt
d dr ds
3 / [rs] ;
dt dt dt
dr dr da
4 / , where r/r (a ) and a /a (t ).
dt da dt
We shall only prove rule 4. Let us set
r (a)x (a) iy (a) jz (a) k,
where a /a (t). Then letting t change to t/dt, and setting a (t/dt) /a/da ,
we can write
dr r (a da) r (a)
lim
dt dt00 dt
r (a da) r (a) da
lim × :
dt00 da dt
However, da 0/0 as dt 0/0, so in the limit this result becomes
dr dr da
,
dt da dt
as was to be proved.
DERIVATIVES OF PRODUCTS
Let u /u (t) be a differentiable scalar function of t and r(t), s(t ), be differ-
entiable vector functions of t. Then the derivatives of ur, r ×/ s and r /s obey
the following rules
www.EngineeringEBooksPdf.com
552 ESSENTIALS OF ENGINEERING MATHEMATICS
d du dr
1 / [ur] ru ,
dt dt dt
d dr ds
2 / [r×s] ×sr× ,
dt dt dt
d dr ds
3 / [rs] sr :
dt dt dt
We shall only prove rule 1 since the others follow in similar fashion. Let u
change by du and r by d r when t changes by dt. Then we can write
d(ur)(udu) (rdr)ur
durudrdudr,
and so
d(ur) du dr du
ru dr:
dt dt dt dt
Proceeding to the limit as dt 0/0 this becomes
d du dr
[ur] ru ,
dt dt dt
since the last term (du /dt)dr 0/0, because d r0/0 as dt 0/0, so the result is
proved.
As a special case of this last result let us set
/ rx iy jz k,
then
dr dx dy dz
i j k,
dt dt dt dt
because
di dj dk
/ 0:
dt dt dt
Consider the curve G in Fig. 143(a) traced out by
rx (t) iy (t) jz (t) k,
Fig. 143
www.EngineeringEBooksPdf.com
DIFFERENTIATION AND INTEGRATION OF VECTORS 553
and suppose that s is the distance along G measured from some fixed point A
on G . Then considering adjacent points P1(x , y, z ) and P2(x/dx , y/dy, z/
dz ) on G corresponding, respectively, to t and t/dt we see from Pythagoras’
theorem and Fig. 143(b) that
(ds)2 (dx)2 (dy)2 (dz)2 ,
and thus, after division by dt , this becomes
2 2 2 2
ds dx dy dz
:
dt dt dt dt
Proceeding to the limit as dt 0/0 this reduces to
2 2 2 1=2
ds dx dy dz
:
dt dt dt dt
Comparing this result with
/ ds dx dy dz
i j k
dt dt dt dt
shows that
ds
dt
j j
dr
dt
:
Example 66.1
Find dr/dt and the tangent vector T̂ to the curve traced out by
rR cos tiR sin tjak:
Solution
We have
dr
R sin tiR cos tj,
dt
so that
j j
dr
dt
[(R sin t)2 (R cos t)2 ]1=2 R,
www.EngineeringEBooksPdf.com
554 ESSENTIALS OF ENGINEERING MATHEMATICS
and thus
T̂
dr
dt =j j
dr
dt
sin ticos tj: m
Example 66.2
Solution
Setting t/p /2 in r gives
/ p2
r (p=2) j:
4
Differentiation of r gives
dr d d d
[t cos t] i [t2 ] j [cos t] k
dt dt dt dt
(cos tt sin t)i2 tjsin tk,
so setting t /p /2 gives
dr p
ip jk:
dt tp=2 2
j j
dr
dt
[(p=2)2 p2 (1)2 ]1=2
1
(45p2 )1=2 ,
2
and hence
T̂
dr
dt =j j dr
dt
p i 2p j 2k
: m
4 5p2
Example 66.3
www.EngineeringEBooksPdf.com
DIFFERENTIATION AND INTEGRATION OF VECTORS 555
Solution
Differentiating r with respect to t gives
dr 2
3 t2 i 2t j6 tk:
dt t3
A further differentiation then yields
d2 r 6
6ti 2 j6k: m
dt2 t4
Example 66.4
Given that s in the arc length along the curve G traced out by the position
vector
/ rsin2 ticos2 tjtk,
find ds/dt.
Solution
We must calculate dr/dt because ds /dt /jdr/dtj. Differentiation of r with
respect to t gives
dr
2 sin t cos ti2 cos t sin tjk,
dt
so
ds
dt
dtj j
dr
[(2 sin t cos t)2 (2 cos t sin t)2 12 ]1=2
INTEGRATION
If
/ rx (t)iy (t)jz (t)k,
then
F F1 iF2 jF3 k,
where
g
F1 x (t) dt,
g
F2 y (t) dt and
g
F3 z (t) dt:
www.EngineeringEBooksPdf.com
556 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 66.5
Find
g
F (t2 icos 2t jet k) dt:
Solution
F
g g
t2 dt i cos 2t dt j et dt k
g
t3 1
i sin 2tjet kc,
3 2
where c is an arbitrary constant vector. m
Let P be a moving point and r (t) its position vector at time t. Then the
velocity v of P at time t is
/
dr
v ,
dt
and its acceleration
/ dv d2 r
a ,
dt dt2
and so
g
v a dt and
g
r v dt:
Example 66.6
www.EngineeringEBooksPdf.com
DIFFERENTIATION AND INTEGRATION OF VECTORS 557
Solution
Differentiation with respect to t gives
dr
v R sin tiR cos tjk,
dt
so when t/p/4, the velocity is
R
v (ij)k:
2
A further differentiation of v yields
dv
a R cos tiR sin tj,
dt
so when t/p/4, the acceleration is
R
a (ij): m
2
Example 66.7
Solution
We have a/dv/dt, so
dv
ti2 cos 3tjk,
dt
and hence
dv
g dt g g
dt t dt i 2 cos 3t dt j dt k
g
but (dv/dt)dt/dv, so it follows that
g g g
dv t dt i 2 cos 3t dt j dt k
g
or
t2 2
v i sin 3tjt kc,
2 3
where c is an arbitrary additive constant vector of integration.
Now we are told that v /v0 when t/0, so setting v/v0 and t/0 in the
vector equation for v gives
www.EngineeringEBooksPdf.com
558 ESSENTIALS OF ENGINEERING MATHEMATICS
/ v0 c,
and so the velocity at time t is
t2
2
v v0 i sin 3tjt k:
2 3
To find the position at time t we use the fact that
/ dr
v ,
dt
so
dr t2 2
v0 i sin 3t jtk,
dt 2 3
and thus
2
dr t 2
g dt g
dt v0 dt
2 g
dt i
3 g
sin 3t dt j t dt k:
g
Using the fact that (dr/dt) dt/dr this becomes
2
t 2
g g
dr v0 dt
2 g
dt i
3 g g
sin 3t dt j t dt k,
and so
t3 2 t2
rv0 t i cos 3t j kd,
6 9 2
where d is an arbitrary additive constant vector of integration. However, we
know that r/r0 when t/0, so substituting into the vector equation for r
gives
2 2
r0 jd so d r0 j:
9 9
Thus the position vector of the point P at time t is
t3 2 t2
rr0 v0 t i (1cos 3t) j k: m
6 9 2
PROBLEMS 66
www.EngineeringEBooksPdf.com
DIFFERENTIATION AND INTEGRATION OF VECTORS 559
1
(b) rt a b (a, b constant vectors):
t2
4. Find dr/dt at t/0, given that
(a) rsinh 2tie3t jt cos tk,
3 2 1
(b) r(t t 1) i jln (13t2 ) k:
1 t2
5. If v is a scalar constant, a, b are constant vectors and
rcos vtasin vtb,
find dr/dt and d2r/dt2 and prove that
d2 r
v2 r 0:
dt2
6. If v is a scalar constant, a, b are constant vectors and
revt aevt b,
find dr/dt and d2r/dt2, and prove that
d2 r
v2 r 0:
dt2
7. Find d [r ×/ s]/dt , given that
(a) rsinh ticosh tjt k and s 2 sinh ti2 cosh tjet k;
(b) rsin 2ticos 2tjet k and s4 sin 2ti4 cos 2tjet k:
8. Find dr/dt given that
(a) r(tiet jsin tk)(it2 jk);
(b) r(1t2 cos t)(i4 j6 k);
(c) r2 ijk:
9. Find dr/dt , given that
(a) r(t2 ijet k)×(it jk);
(b) r(sin ticos tjk)×(sin ticos tjk);
(c) r[(tit2 j)(i3 j)]×tk:
10. Find dr/dt given that
(a) r (u) ln (1u2 ) iu jtan u3 k and usin t;
(b) r(u) (1u2 )1=2 iu2 jcosh (2u1) k and u ln (1t):
11. Find d[r /s]/dt, given that
(a) r(1t2 ) itjsin tk and s2it2 jk;
(b) rsin ticos tjet k and scos tisin tjk:
12. Find
d dr
/ r :
dt dt
13. The curvature k of a curve traced out by the position vector r is defined as
www.EngineeringEBooksPdf.com
560 ESSENTIALS OF ENGINEERING MATHEMATICS
½dr=dt d2 r=dt2 ½
/ k :
½dr=dt3 ½
Find k , given that
/ rt sin tit cos tj:
14. Find
i tj t2 k
(a)
gp
t4
dt;
(b)
g (sin ktacos ktb)dt:
0
15. Find
www.EngineeringEBooksPdf.com
Dynamics of a particle
and the motion of a
particle in a plane 67
DYNAMICS OF A PARTICLE
Consider a particle of mass m and position vector r(t) at time t . Its velocity
v /dr/dt and its linear momentum are defined as
M mv,
so by Newton’s second law of motion the force F on the particle is
dM
F :
dt
When the mass m is constant,
dv d2 r
F m m ma,
dt dt2
where a is the acceleration.
The moment of momentum (angular momentum) of the particle about the
origin is
Hr(mv)m(r v),
so
dH dr dv
m vr
dt dt dt
dv
m v vr ,
dt
and as v /v/0 this reduces to
dH
rF:
dt
This result is called the principle of angular momentum.
www.EngineeringEBooksPdf.com
562 ESSENTIALS OF ENGINEERING MATHEMATICS
If F has a zero moment about the origin, it follows from the principle of
angular momentum that H /constant. This last result is called the principle
of conservation of angular momentum, and in words it asserts that the angular
momentum remains constant when no external moment acts on the particle.
Example 67.1
Solution
To arrive at the equation of motion we must equate the rate of change of
momentum of the particle to the external force acting upon it, both of which
act horizontally. This leads to the result
dv
m kmv,
dt
where the negative sign is necessary because the resistance opposes the mo-
tion. Cancelling the factor m and rearranging terms shows that the motion of
the particle is governed by the linear homogeneous first order differential
equation
dv
kv0,
dt
for the vector v.
This equation has an integrating factor m (see Section 74) given by
g
m exp kdt ekt ,
www.EngineeringEBooksPdf.com
DYNAMICS OF A PARTICLE 563
The initial condition requires that v /v0 when t/0, so c /v0 and the velocity
as a function of time is seen to be given by
v v0 ekt :
Using the fact that v /dr/dt, this last result may be written
dr
v0 ekt ,
dt
so
g
r v0 ekt dt
v0
ekt a,
k
where a is an arbitrary constant vector.
The particle starts from the origin at time t/0, so
v
0 0 a,
k
showing that a /v0/k , and hence that
1
r (1ekt )v0 :
k
When considering the motion of a particle in a plane as, for example, when
studying orbits, it is often convenient to use the polar coordinates (r, u ). The
path of a particle P in the (x , y )-plane is shown in Fig. 144, where the radius
OP /r and the angle between OP and the x -axis is u. The radial unit vector ê
is in the direction in which r increases, and the transverse unit vector ŝ is
perpendicular to ê and in the direction in which u increases. In terms of the
Fig. 144
www.EngineeringEBooksPdf.com
564 ESSENTIALS OF ENGINEERING MATHEMATICS
usual unit vectors i, j and k along the x -, y- and z-axes, we see that ŝk ê:
Thus as
êcos u isin u j,
it follows that
ŝsin u icos u j:
By definition, r rê, so the particle velocity
d
v [r ê]
dt
dr d
êr [ê]:
dt dt
However,
d du du
[ê](sin u icos u j) ŝ ,
dt dt dt
so denoting differentiation with respect to t by a dot, we arrive at the result
v ṙêru̇ŝ:
The acceleration of particle P is
dv d
a [ṙêru̇ŝ]
dt dt
d d
r̈ê ṙ [ê] ṙu̇ŝrüŝrüŝru̇ [ŝ]:
dt dt
Using the fact that
d d
[ê] u̇ ŝ and [ŝ] u̇ ê
dt dt
the above result simplifies to
a(r̈r u̇2 ) ê(r ü2 ṙ u̇)ŝ:
An alternative form of this last result which is often useful, and is easily
verified, is
1 d
a (r̈r u̇2 ) ê [r2 u̇] ŝ:
r dt
Thus, summarizing results, we have established that
ê cos u isin u j
ŝsin u icos u j
ê˙ u̇ ŝ
www.EngineeringEBooksPdf.com
DYNAMICS OF A PARTICLE 565
ŝ˙ u̇ ê
rr ê
v ṙ êr u̇ ŝ
a (r̈r u̇2 ) ê(r ü2 ṙ u̇) ŝ
or equivalently,
1 d
a(r̈r u̇2 ) ê [r2 u̇] ŝ:
r dt
Two special cases
1 Motion in a circle: in this case r/const., so ṙ r̈ 0, and as a result
vr u̇ ŝ and ar u̇2 êr ü ŝ:
2 Constant angular velocity: in this case u̇ v const:, so ü 0, and as a
result
v ṙ êr v ŝ and a(r̈r v2 ) ê2 ṙ v ŝ:
Example 67.2
PROBLEMS 67
1. A particle of constant mass m acting under the influence of gravity is
projected from a point on a horizontal plane at time t /0 with a velocity
u in the vertical plane. Find the velocity v and position vector r of the
www.EngineeringEBooksPdf.com
566 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
Scalar and vector fields
and the gradient of
a scalar function 68
Fig. 145
www.EngineeringEBooksPdf.com
568 ESSENTIALS OF ENGINEERING MATHEMATICS
The surfaces 8 /constant associated with a scalar field are called level
surfaces and, by definition, two different level surfaces do not intersect.
Typical examples of level surfaces are isotherms, which are level surfaces
of temperature (surfaces of constant temperature) and isobars, which are
level surfaces of pressure (surfaces of constant pressure).
www.EngineeringEBooksPdf.com
SCALAR AND VECTOR FIELDS 569
An example of a velocity field was given earlier for the case of a rigid body
rotating about the z-axis with constant angular velocity v, where it was seen
that
vv(yixj):
In this case the streamlines are given by
dx dy
vy vx
or, equivalently, by
x dx y dy:
Integration then shows that the streamlines have the equation
x2 y2 k2 ,
so they are circles centred on the z -axis (as would be expected from the nature
of the problem).
www.EngineeringEBooksPdf.com
570 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 146
This last result shows that the maximum rate of change of 8 occurs along
the normal to the level surface. The gradient of the scalar field 8 at any given
point, written grad 8 (and also 98 ), is defined as the maximum rate of
change of 8 in magnitude and direction, and thus
@8
grad 8 n̂,
@n
where n̂ is the unit normal to the level surface at any given point.
Forming the scalar product of this result with the unit vector ŝ in the
direction PP ? shows that the directional derivative in this direction is
www.EngineeringEBooksPdf.com
SCALAR AND VECTOR FIELDS 571
@8 @8
cos u ŝ × grad 8 :
@s @n
In component form, 18 /1x , 18 /1y and 18 /1z are seen to be the directional
derivatives of 8 along the x , y and z -axes, respectively. As the unit vectors
along these axes are i, j and k, it follows directly that
@8
i × grad 8
@x
@8
j × grad 8
@y
@8
k × grad 8 :
@z
so we may write
@8 @8 @8
grad 8 i j k:
@x @y @z
Properties of grad 8
@8 @8 @8
1 /grad 8 i j k:
@x @y @z
2 If ŝ is a unit vector, then
ŝ × grad 8
is the directional derivative of 8 in the direction of ŝ:
3 grad 8 is directed in the direction of the maximum rate of increase of 8 .
4 jgrad 8 j is the maximum rate of increase of 8 per unit displacement.
5 If P0 (x0, y0, z0) is a point at which grad 8 "/0, then (grad 8 )P0 is normal
to the level surface through P0.
www.EngineeringEBooksPdf.com
572 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
@8 @8 @8
(i) grad 8 i j k,
@x @y @z
3i4j7k:
As in this case grad 8 is a constant vector, and so is the same at all
points in space, it follows that
(grad 8 )(1, 0, 1) 3i4j7k:
@8 @8 @8
(ii) grad 8 i j k
@x @y @z
1 2 1
xi yj zk,
2 9 8
and thus
1 1
(grad 8 )(1, 0, 1) i k:
2 8
@8 @8 @8
(iii) grad 8 i j k
@x @y @z
2x 2y
i j2zk,
(x2 y2 )2 (x2 y2 )2
and thus
(grad 8 )(1, 0, 1) 2i2k: m
Example 68.2
Given that
8 3x2 xy2 yz,
www.EngineeringEBooksPdf.com
SCALAR AND VECTOR FIELDS 573
find grad 8 and the directional derivative of 8 in the direction of the vector
s/i/2j/2k. Find the value of this directional derivative at the point
(1, /2, /1).
Solution
@8 @8 @8
grad 8 i j k
@x @y @z
(6xy2 )i(2xyz)jyk:
The unit vector ŝ in the direction of s /i/2j/2k is
1
ŝ (i2j2k),
3
At the point (1, /2, /1), the directional derivative has the value
ŝ × grad 8 4=3: m
Example 68.3
but
@ n @r @ n @r @ n @r
(r )n r n1 , (r )n r n1 and (r )n r n1 ,
@x @x @y @y @z @z
so
n n1 @r @r @r
grad (r ) n r i j k n r n1 grad r:
@x @y @z
www.EngineeringEBooksPdf.com
574 ESSENTIALS OF ENGINEERING MATHEMATICS
@r
2r 2x,
@x
showing that
@r x
/
:
@x r
Similar arguments show that
@r y @r z
and ,
@y r @z r
and thus
@r @r @r
grad r i k j
@x @y @z
1 r
(x iy jz k) :
r r
Combining this with the previous result then shows that
r
grad 8 n r n1 n r n2 r: m
r
From the definition of grad 8 , we see that at any point P on the level
surface 8 /constant, the vector (grad 8 )P is normal to the surface at P.
Thus, if required, the tangent plane at any point on the level surface may
be found, since the normal to the tangent plane at a given point is known
together with the point P itself which lies on the plane.
Example 68.4
Solution
If we set
/ 8 x2 2y2 z2 8,
the level surface 8 /0 is the surface to which the tangent plane is required at
the point (1, 2, 1). We have
grad 8 2x i4y j2z k,
and at the point (1, 2, 1) it follows that
n(grad 8 )(1, 2, 1) 2 i8 j2 k:
www.EngineeringEBooksPdf.com
SCALAR AND VECTOR FIELDS 575
n 1
n̂ (i4jk):
½n½ 3 2
The tangent plane through the point with position vector a and normal n is
(ra) × n0, or r × na × n:
Setting r/x i/y j/z k, n /2 i/8j /2 k and a /i/2 j/k in the equation
of the plane gives
(x iy jz k) × (2i8j2k)(i2jk) × (2i8j2k),
and after the cancellation of a numerical factor this reduces to
x4yz8: m
Example 68.5
Given that
f (x, y, z)cosh 2x sinh 3y sin z
find grad f, and setting u/grad f with u /u1i/u2j/u3k show that
@u1 @u2 @u3
12f :
@x @y @z
Solution
We have
grad f 2 sinh 2x sinh 3y sin zi3 cosh 2x cosh 3y sin zj
cosh 2x sinh 3y cos zk,
and thus
u1 2 sinh 2x sinh 3y sin z,
u2 3 cosh 2x cosh 3y sin z,
u3 cosh 2x sinh 3y cos z:
Differentiation then gives
@u1
4 cosh 2x sinh 3y sin z 4f
@x
@u2
9 cosh 2x sinh 3y sin z 9f
@y
@u3
cos 2x sinh 3y sin zf ,
@z
and so
@u1 @u2 @u3
12f : m
@x @y @z
www.EngineeringEBooksPdf.com
576 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 68
1. Show that the level surfaces of the function
x2 y2
8
4 9
8 x2 y2
x2 2xyzyz2 10
Find F and jFj at the point (1, /1, 1) and the component of F at this
point in the direction of the vector i/j/k.
www.EngineeringEBooksPdf.com
SCALAR AND VECTOR FIELDS 577
14. Find the angle between the tangent planes to the surface
x2 4y2 z2 6
at the point (1, 1, 1) and (1, /1, /1).
15. Find the equation of the line normal to the surface
8 x3 2x2 y2 zy2 z2 4
at the point (1, 1, 1).
16. Find the equation of the plane tangent to the surface
8 x3 2y2 2z2 1
at the point ( /1, /1, /1), and determine its distance from the ori-
gin.
17. Find the directional derivative of
x
8
x2 2y2 3z2 1
at the point (1, /1, /1) in the direction of the vector i/3j/3k.
18. Given that u /u1i/u2j satisfies the vector equation
augrad 8 ,
find u given that a /k and
8 sin x sin y:
19. Find the equation of the normal to the surface
x2 2y2 a2 z2 18
at the point (1, 2, 3/a ). For what values of a does the normal pass
through the point (0, /2, 8)?
20. The equation of a surface is
3x2 y2 2xyz4:
Show that the tangent planes to the surface at the points (1, 1, 1) and
(/1, /1, 1) are both parallel to the y-axis and obtain their equations.
Show that each plane is at a perpendicular distance 5/l7 from the
origin, but on opposite sides.
www.EngineeringEBooksPdf.com
Ordinary differential
equations: order and
degree, initial and
69 boundary conditions
d2 x
g,
dt2
dI
L RI E,
dt
Fig. 147
www.EngineeringEBooksPdf.com
ORDINARY DIFFERENTIAL EQUATIONS 579
d2 x dx
m D kx 0,
dt2 dt
where D /0 is the resistance coefficient and k /0 is the spring constant.
4 The differential equation describing Newton’s law of cooling, which asserts
that the rate of decrease of the temperature of a hot body is proportional
to the excess of the temperature T over the ambient temperature T0 is
/ dT
k (T T0 ),
dt
where T is the temperature at time t and T0 is the ambient temperature.
5 The differential equation determining the vertical deflection y of a uni-
form beam of length L and weight W/unit length supported at each end,
as shown in Fig. 148
d2 y 1
/
EI 2 W (x2 Lx2 ),
dx 2
where E is Young’s modulus of elasticity for the material of the beam, I is
the moment of inertia of the cross-section of the beam and x is the
distance along the beam.
Fig. 148
www.EngineeringEBooksPdf.com
580 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
ORDINARY DIFFERENTIAL EQUATIONS 581
www.EngineeringEBooksPdf.com
582 ESSENTIALS OF ENGINEERING MATHEMATICS
or, using the more concise notation, and a prime to denote differentiation
with respect to t,
x (0)0 and x? (0) u:
Integrating once with respect to t gives
dx
gtA,
dt
www.EngineeringEBooksPdf.com
ORDINARY DIFFERENTIAL EQUATIONS 583
www.EngineeringEBooksPdf.com
584 ESSENTIALS OF ENGINEERING MATHEMATICS
and so
d2 y dy dy
2 y ,
dt2 dt dt
which yields the governing differential equation
d2 y dy
3 2y0:
dt 2 dt
PROBLEMS 69
www.EngineeringEBooksPdf.com
ORDINARY DIFFERENTIAL EQUATIONS 585
www.EngineeringEBooksPdf.com
First order differential
equations solvable by
70 separation of variables
www.EngineeringEBooksPdf.com
FIRST ORDER DIFFERENTIAL EQUATIONS 587
Solution
The differential equation can be written in the form
dy
k dx,
y
in which the variables have been separated. Thus
dy
g y kg dx,
so after evaluating the integrals this becomes
ln ½ y ½ C kx,
where C is an arbitrary constant. Taking exponentials we arrive at the result
y exp [C kx] eC ekx :
As C is an arbitrary constant, so also is eC , so we now denote it by A . The
general solution is thus
yA ekx :
To solve the initial value problem, A must be chosen such that y /3 when
x /1. Substituting this condition into the general solution gives
3A ek , or A 3 ek :
Thus the required particular solution becomes
y 3 ek ×ekx 3 exp [k (1x)]: m
Example 70.2
www.EngineeringEBooksPdf.com
588 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
Separating variables and integrating, the differential equation becomes
dy
g y 1 2g (x 1) dx,
2
2
Example 70.4
www.EngineeringEBooksPdf.com
FIRST ORDER DIFFERENTIAL EQUATIONS 589
Solution
First we rewrite the differential equation as
dy
y (1x) x (1y) 0:
dx
Separating variables this becomes
y x
dy dx,
1y 1x
and so
y x
g 1y
dy
1x g
dx
or, equivalently,
1 1
g 1
1y
dy 1
g1x
dx:
Example 70.5
www.EngineeringEBooksPdf.com
590 ESSENTIALS OF ENGINEERING MATHEMATICS
dz
1cos z,
dx
which is equivalent to
1
2 g sec (z=2) dz g dx:
2
PROBLEMS 70
Find the general solution for each of the differential equations in problems 1
to 14 and, where necessary, use it to solve the associated initial value problem.
dy
1. x
/ y; y (1)3:
dx
dy
2. /y x 0; y (2)4:
dx
2 dy
3. /x y 0; y (1)2e:
dx
dy
4. /2 x y; y(9) 1:
dx
dy
5. / (2y1) cot x; y (p=4)1=2:
dx
2 dy
6. /(x x) 2y1; y (1) 0:
dx
www.EngineeringEBooksPdf.com
FIRST ORDER DIFFERENTIAL EQUATIONS 591
www.EngineeringEBooksPdf.com
The method of isoclines
71 and Euler’s methods
Fig. 149
www.EngineeringEBooksPdf.com
THE METHOD OF ISOCLINES AND EULER’S METHODS 593
to be
f (x, y)k,
and each different isocline is associated with a different value of k . When an
integral curve intersects the isocline corresponding to k /k1 its tangent at the
point of intersection will make an angle u /arctan k1, with the positive x -
axis, as shown in Fig. 149 in which integral curves pass through points P and
Q. The method of isoclines is suitable for the construction of a few repre-
sentative solution curves using only hand calculations.
The direction field approach gives far more information, but because many
calculations are involved, it really is only suitable for use by computer. The
approach to understanding the nature of all solution curves in the region
a0x 0b, c0 y0d of the (x , y )-planes involves three steps. The first step
involves choosing two integers m and n, and dividing the interval a0x 0b
into m equal sub-intervals of length h/(b/a)/m and the interval c 0/y 0/d
into n equal sub-intervals of length k /(c /d )/n . Then, setting xr /a/rh
and ys /c/sk , with x0 /a and y0 /c for r /0, 1, 2, . . . , m and s/0, 1,
2, . . . , n , it follows that xm /b and yn /d.
The second step involves calculating the gradient f(xr, ys ) of the solution
curve through each of the points (xr, ys) for r /0, 1, 2, . . . , m and s /0, 1,
2, . . . , n , and using the result to find arctan f(xr, ys ), which is the angle
between the tangent line to the solution curve through the point (xr, ys )
and the positive x -axis.
Finally, at each point (xr, ys ) in the region a 0x0b, c0y0 d , the third
step involves drawing a small arrow pointing in the direction of increasing x
and inclined at an angle arctan f(xr, ys ) to the positive x-axis.
Inspection of the pattern of arrows shows the general behavior of the solu-
tion curves in the region a0x0 b, c0y 0d , and if they are sufficiently
close, the solution curve corresponding to an initial condition y (a )/b can be
approximated by starting at the point (a , b ) and sketching a curve that is
tangent to successive arrows as x increases by steps of length h.
Example 71.1
www.EngineeringEBooksPdf.com
594 ESSENTIALS OF ENGINEERING MATHEMATICS
y k:
These are lines parallel to the x -axis, as shown in Fig. 150. To each isocline
has been added several short lines inclined to the positive x -axis at the angle
u /arctan k , and their purpose is to indicate the direction of the tangent to
an integral curve when it crosses the isocline.
Fig. 150
Inspection of Fig. 150 (a) shows how if an integral curve starts at a point in
the upper half-plane, it will increase with increasing rapidity as x increases.
The converse situation arises if the integral curve starts at a point in the lower
half-plane, for then it decreases with increasing rapidity as x increases. Tak-
ing into account these general properties of the integral curves, and the fact
that the x -axis corresponds to the isocline on which dy /dx /0, it follows that
no integral curve can cross the x -axis. Thus if an integral curve starts on one
side of the x-axis, it must remain on that same side for all x.
The curve starting from point P is the approximate integral curve corre-
sponding to initial condition (i) in which y(0) /0.5, and the curve starting
from point Q is the approximate integral curve corresponding to initial
condition (ii) in which y (/0.5) / /1. The general solution of this simple
differential equation is, of course
yCex ,
1
y ex
2
www.EngineeringEBooksPdf.com
THE METHOD OF ISOCLINES AND EULER’S METHODS 595
1
yexp x : m
2
Figure 150(b) shows the direction field for this differential equation in the
region 20x0 2 , 20y0 2 using 20 equal length sub-intervals in both
the x- and y -directions. Also shown superimposed on the direction field are
the exact solution curves corresponding to the initial conditions y (0) / /1
and y(0) /1. Inspection of the arrows shows how a solution curve corre-
sponding to a given initial condition can be approximated by a curve starting
at the initial point, and thereafter being drawn tangent to each successive
arrow as x increases by an increment h /0.2, which is the separation of
points in the x-direction.
Example 71.2
Fig. 151
www.EngineeringEBooksPdf.com
596 ESSENTIALS OF ENGINEERING MATHEMATICS
Figure 151(b) shows the direction field for this differential equation in the
region 20 x02, 20y0 2 , and exact solution curves through the in-
itial points y (0) / /1, y (0) /0 and y(0) /1. This differential equation can
be solved analytically in terms of Bessel functions, but as these special func-
tions are not considered in this book, the analytical solution will be
omitted. m
Example 71.3
dy
xy2 :
dx
Solution
The equation of the isoclines is given by setting dy/dx /k in the differential
equation which gives rise to the equation
k xy2 :
and the integral curves intersect these at an angle u /arctan k . These iso-
clines are shown as the dotted curves in Fig. 152, and representative integral
curves are shown as the solid curves.
Figure 152(b) shows the direction field for this differential equation over
the region 20 x03, 30y0 3 on which are superimposed several com-
puted solution curves, the shape of which should be compared with the
results in Fig. 152(a).
www.EngineeringEBooksPdf.com
THE METHOD OF ISOCLINES AND EULER’S METHODS 597
EULER’S METHOD
but
tan uf (x0 , y0 ),
It is customary to set h/x1 /x0 and to call this the integration step length,
so the above result then becomes
y1 y0 hf (x0 , y0 ):
Fig. 153
www.EngineeringEBooksPdf.com
598 ESSENTIALS OF ENGINEERING MATHEMATICS
Solution
The function f(x, y) is
x 2y
f (x, y) ,
x
and as ten steps of equal length are to be used to cover the interval 10/x 0/
3.5, it follows that the step length h /(3.5 /1)/10 /0.25. Thus in this case
the Euler algorithm becomes
xn1 xn h,
and
xn 2yn
yn1 yn h ,
xn
with n /0, 1, 2, . . . , 10. The calculation uses the step length h /0.25 and
starts from the initial condition
www.EngineeringEBooksPdf.com
THE METHOD OF ISOCLINES AND EULER’S METHODS 599
x0 1, y0 0:5:
Setting n/0 we have
x0 2y0
y1 y0 h
x0
1 2 0:5
0:50:25 0,
1
so y1 /0.
Setting n/1 we have x1 /x0/h /1.25
x1 2y1
y2 y1 h
x1
1:25 2 0
00:25 0:25,
1:25
so y2 / /0.25.
Setting n/2 we have x2 /x1/h /1.5
x 2y2
y3 y2 h 2
x2
1:5 2 (0:25)
0:250:25 0:4167,
1:5
so y3 / /0.4167.
Continuing this process leads to the results given in Table 11.
The exact solution of this initial value problem is
5 2x3
y :
6x2
Table 11
n xn yn
0 1.0 0.5
1 1.25 0
2 1.5 /0.25
3 1.75 /0.4167
4 2.0 /0.5476
5 2.25 /0.6607
6 2.5 /0.7639
7 2.75 /0.8611
8 3.0 /0.9545
9 3.25 /1.0455
10 3.5 /1.1346
www.EngineeringEBooksPdf.com
600 ESSENTIALS OF ENGINEERING MATHEMATICS
1
y1 y0 h[ f (P)f (R)],
2
1
y1 y0 hff (x0 , y0 )f [x0 h, y0 hf (x0 , y0 )]g:
2
As with the original method, the modified Euler method may be used to
advance the solution step by step as far as is required and its accuracy will be
improved if smaller steps are taken.
dy
f (x, y)
dx
www.EngineeringEBooksPdf.com
THE METHOD OF ISOCLINES AND EULER’S METHODS 601
1
yn1 yn hf f (xn , yn )f [xn h, yn hf (xn , yn )]g,
2
to find the approximate values of yn when xn /x0/nh for n/0, 1, 2, . . . , N.
Example 71.5
Repeat the calculation in Example 71.4 using the modified Euler method.
Compare the results with those obtained in the previous calculation and with
the exact solution
5 2x3
y :
6x2
Solution
The function f(x, y) is again
x 2y
f (x, y) ,
x
so
x 2yn
f (xn , yn ) n :
xn
www.EngineeringEBooksPdf.com
602 ESSENTIALS OF ENGINEERING MATHEMATICS
so
1
y3 0:1208 0:25[0:83890:6222]0:3034,
2
and x3 /x2/h/1.75.
Repetition of these calculations leads to the results set out in Table 12. For
the purpose of comparison, we have listed the results obtained using the
simple Euler method in Example 71.4, the results obtained using the mod-
ified Euler method and the exact solution given by
5 2x3
y :
6x2
Table 12
Euler’s method Modified Euler method Exact
n xn yn yn yn
The improvement in accuracy resulting from the use of the modified Euler
method is seen to be significant, and in good agreement with the exact
results. m
This introductory account of the numerical solution of first order differ-
ential equations would be incomplete if we failed to mention a popular and
far more accurate method than the two Euler methods just described, both of
which are of interest only because of their simplicity and their straight-
forward geometrical interpretation.
The method we now describe is called the Fourth Order Runge-Kutta
Method, or often just the Runge-Kutta Method. The first more appropriate
name comes from the fact that the method is a particular one belonging to a
family of similar methods to which the Euler method belongs, each of which
uses an approximation of the differential equation by a Taylor series trun-
cated after a different number of terms. The method will only be stated here
because its lengthy derivation would be inappropriate.
www.EngineeringEBooksPdf.com
THE METHOD OF ISOCLINES AND EULER’S METHODS 603
www.EngineeringEBooksPdf.com
604 ESSENTIALS OF ENGINEERING MATHEMATICS
solutions obtained by both the Euler and Runge-Kutta methods will provide
a test of the relative accuracy of the methods. In the table below, where results
are rounded to five decimal places, a step length of h /0.1 was used to
advance the solution over the interval 0 0/x 0/2, with the Euler solution
being denoted by ye , the Runge-Kutta solution by yrk , and the exact solution
by yexact :
A comparison of solutions of dy=dx 2y , with y(0)1:
x ye yrk yexact
0 1 1 1
0.5 2.48832 2.71825 2.71828
1.0 6.19174 7.38889 7.38906
1.5 15.40702 20.08486 20.08554
2.0 38.33760 54.59568 54.59815
This shows excellent agreement between the Runge-Kutta solution and the
exact solution when only the large step length h / 0.1 is used. At the cost of
increasing the amount of computing, an even more accurate result can be
obtained by using a smaller step length h .
A reader interested in applying the Runge-Kutta method could use a step
length of h / 0.1 and, working to six decimal places, compute yrk(0.5)
rounded to five decimal places, in order to arrive at the approximation of
the Euler constant e given in the above table as yrk(0.5) / 2.71825. The
calculations are straightforward, but rather tedious.
PROBLEMS 71
In each of the following problems, (a) find the equation of the isoclines, (b)
sketch some representative isoclines together with lines showing the slope at
which integral curves intersect the isoclines, and (c) use the modified Euler
method to solve the associated initial value problem using the specified step
length h and number of integration steps N.
dy
1. / 4x2 y; initial condition y(1)1, h 0:5 and N 4:
dx
dy 3y
2. / ; initial condition y(1)1, h0:5 and N 6:
dx x
dy x2 y2
3. / ; initial condition y(1)1, h0:5 and N 4:
dx x2
dy
4. / 4xy; initial condition y(0)0, h 0:5 and N 6:
dx
dy 2y
5. / ; initial condition y(1)1, h0:5 and N 4:
dx x2
dy 1
6. / ; initial condition y(1)0, h 0:5 and N 4:
dx x(y 2)
www.EngineeringEBooksPdf.com
Homogeneous and near
homogeneous equations 72
is not homogeneous because the expression under the square root sign is not
homogeneous of degree 2, and hence homogeneous of degree 1 after the
square root operation has been performed.
If a first order ordinary differential can be written as
dy M(x, y)
,
dx N(x, y)
www.EngineeringEBooksPdf.com
606 ESSENTIALS OF ENGINEERING MATHEMATICS
dy y
f ,
dx x
or
du
x f (u)u,
dx
Example 72.1
Solution
This is a homogeneous differential equation since both the numerator and
denominator of the right-hand side are homogeneous of degree 2. Dividing
the numerator and denominator by x2, the equation becomes
dy (y=x)
,
dx 1 (y=x)2
Thus
1 u2 du
g u3
du
x
,
g
www.EngineeringEBooksPdf.com
HOMOGENEOUS AND NEAR HOMOGENEOUS EQUATIONS 607
so
1
ln jujln jxjln A,
2u2
ln j j
xu
A 2u2
1
,
or
x2 4y2
yexp :
2y2
www.EngineeringEBooksPdf.com
608 ESSENTIALS OF ENGINEERING MATHEMATICS
x X a, y Y b,
where a and b are solutions of
aabbc0
paqbr0:
The resulting differential equation is homogeneous in X and Y and so may
be solved in the usual manner. The transformation
X xa, Y yb
then gives the solution in terms of the original variables x and y.
Example 72.2
www.EngineeringEBooksPdf.com
HOMOGENEOUS AND NEAR HOMOGENEOUS EQUATIONS 609
If
axby k(pxqy), with k constant,
the lines
axbyc0
pxqyr 0
will be parallel, and so they will not intersect. In such a case either of the
following two changes of variable
uaxby or u pxqy
will reduce the differential equation to one of homogeneous type.
Example 72.3
www.EngineeringEBooksPdf.com
610 ESSENTIALS OF ENGINEERING MATHEMATICS
or
du u2
:
dx u1
Thus
u1
g u2
du dx,
g
but
u1 1
1 ,
u2 u2
so
du
g du g u 2 g dx,
and hence
uln ju2jxA,
where A is an arbitrary constant. Returning to the original variables by
setting u/x /y, we see that the general solution is
2xyln jxy2jA: m
PROBLEMS 72
1. State which of the following functions are homogeneous and, when
they are, give their degree:
(a) /(x2 3xyy2 )=xy; (b) /x3 â(x6 x3 y3 ); (c) /3x2 yy4 =x;
(d) /(1x=y)=(xy); (e) /x2yâ(x2 4y2 );
(f) /exp[x2 y2 â(x2 y2 )=x]:
www.EngineeringEBooksPdf.com
HOMOGENEOUS AND NEAR HOMOGENEOUS EQUATIONS 611
dy x 2y 5
11. / :
dx 2x y 4
dy 1 3x 3y
12. / :
dx 1xy
dy x 2y 1
13. / :
dx 2x 4y 3
2
dy y1
14. / 2 :
dx xy2
dy 2x y 1
15. / :
dx 4x 2y 5
dy x3 y3
16. / :
dx xy2
www.EngineeringEBooksPdf.com
Exact differential
73 equations
www.EngineeringEBooksPdf.com
EXACT DIFFERENTIAL EQUATIONS 613
@F @F
M(x, y) and N(x, y):
@x @y
Integrating the first equation with respect to x , while regarding y as a
constant because M was obtained by partial differentiation with respect
to x , we find that
@F
g @x dx g M(x, y) dx
or
g
F (x, y) M(x, y)dxg(y)A:
g
F (x, y) N(x, y)dyh(x)B,
Verify that
[2x3y cos(xy)]dx[2e2y 3x cos(xy)]dy0
is an exact differential equation and find its general solution.
Solution
First we test this equation to check that it is in fact exact. Setting
M 2x3y cos(xy) and N 2e2y 3x cos(xy),
partial differentiation shows that
@M
3 cos(xy)3xy sin(xy)
@y
and
@N
3 cos(xy)3xy sin(xy):
@x
Thus
www.EngineeringEBooksPdf.com
614 ESSENTIALS OF ENGINEERING MATHEMATICS
@M @N
@y @x
so the equation is indeed exact.
Setting
@F
M(x, y)2x3y cos(xy)
@x
and integrating with respect to x , while keeping y constant, gives
@F
g @x dx g [2x3y cos(xy)]dx
or
F (x, y) x2 3 sin(xy)g(y)A:
Similarly,
@F
g @y dy g [2e 2y
3x cos(xy)]dy,
or
F (x, y)e2y 3 sin(xy)h(x)B:
These two expressions for F (x , y ) must be identical, so
x2 3 sin(xy)g(y)Ae2y 3 sin(xy)h(x)B:
This can only be an identity in x and y (the same for all x and y ) if h (x )/x2,
g (y )/e2y and B /A , so the general solution is:
x2 e2y 3sin(xy)A 0: m
In some simple cases the differential equation
P(x, y) dxQ(x, y) dy 0
is not exact as it stands, but it can be made exact by multiplication by a factor
m(x , y ), often of the form m /xm yn for some m and n . Such a factor m is called
an integrating factor. Once found, the integration of the differential equation
mP(x, y) dxmQ(x, y) dy0,
which is now exact, proceeds as before.
Example 73.2
www.EngineeringEBooksPdf.com
EXACT DIFFERENTIAL EQUATIONS 615
Solution
This equation is not exact, because setting
P 4xyy2 and Q 4x2 3xy,
we see that
@P @Q
" :
@y @x
We are told that it will become exact if numbers m and n can be found such
that
xm yn (4xyy2 ) dxxm yn (4x2 3xy) dy0
is an exact equation.
To find m and n, we set
M xm yn P and N xm yn Q,
so
M 4xm1 yn1 xm yn2
and
N 4xm2 yn 3xm1 yn1 :
www.EngineeringEBooksPdf.com
616 ESSENTIALS OF ENGINEERING MATHEMATICS
or
(4xy2 y3 ) dx(4x2 y3xy2 ) dy0:
Proceeding as in Example 73.1 we have
@F
g @x dx g (4xy y )dx
2 3
so
F (x, y) 2x2 y2 xy3 g(y)A,
and
@F
g @y dy g (4x y3xy ) dy
2 2
so
F (x, y)2x2 y2 xy3 h(x)B:
For the two results to be identical, we must set h (x) / 0, g (y) / 0 and
B /A , so the general solution is seen to be
2x2 y2 xy3 A 0: m
PROBLEMS 73
In problems 1 to 8 show the differential equations are exact and find their
general solutions.
2. /(2xysin
x) dx(4yxcos
y) dy 0:
x x
3. / y dx x dy0:
â(x2 y2 ) â(x2 y2 )
4. (yex xyex ) dx(xex 2y) dy0:
/
www.EngineeringEBooksPdf.com
The first order linear
differential equation 74
The general first order linear differential equation has the form
dy
a(x) b(x)yc(x),
dx
where
p(x)b(x)=a(x) and q(x)c(x)=a(x):
Working with the equation in standard form, we now seek a factor m(x) with
the property that when the differential equation is multiplied by m to give
dy
m mp(x)y mq(x),
dx
g
my A mq(x) dx,
www.EngineeringEBooksPdf.com
618 ESSENTIALS OF ENGINEERING MATHEMATICS
g
ln½m½ln C p(x) dx,
www.EngineeringEBooksPdf.com
THE FIRST ORDER LINEAR DIFFERENTIAL EQUATION 619
g
my A mq(x) dx,
Example 74.1
Solution
Step 1
When written in standard form, the equation becomes
dy 2 1
y :
dx x1 x(x 1)
Step 2
The integrating factor
2
mexp
g x1
dx exp[2 ln½x1½] (x1)2 :
Step 3
We replace the original differential equation in standard form by the equiva-
lent differential equation
www.EngineeringEBooksPdf.com
620 ESSENTIALS OF ENGINEERING MATHEMATICS
d 1
[(x1)2 y] (x1)2 × ,
dx x(x 1)
which becomes
d x1
[(x1)2 y] :
dx x
Step 4
Integration of the result in step 3 gives
x1
(x1)2 y A
g x
dx,
or
(x1)2 y Axln½x½:
Step 5
Dividing the result of step 4 by (x /1)2 (the integrating factor) gives the
general solution
A x ln½x½
y :
(x 1)2
To solve the initial value problem, we must choose the arbitrary constant
A such that y (2) /2. Substituting y/2 when x /2 into the general solution
gives
2 A2ln 2,
so A /ln 2, and thus
ln 2 x ln½x½
y : m
(x 1)2
Example 74.2
and hence find the solution of the initial value problem for this equation for
which y (1) /2.
Solution
Step 1
When written in standard form, the equation becomes
www.EngineeringEBooksPdf.com
THE FIRST ORDER LINEAR DIFFERENTIAL EQUATION 621
dy x 2x
y :
dx 1 x2 1 x2
Step 2
The integrating factor
x 1
mexp
g 1 x2
dx exp ln(1x2 ) ,
2
so
m(1x2 )1=2 :
Step 3
Replace the original differential equation in standard form by the equivalent
differential equation
d y 2x 1
× ,
dx (1 x ) 2 1 x (1 x2 )
2
or
d y 2x
:
dx (1 x2 ) (1 x2 )3=2
Step 4
Integrating the result of step 3 gives
y 2x
2
(1 x )
A
g
(1 x2 )3=2
dx,
or
y 2x
A :
2
(1 x ) (1 x2 )
Step 5
The general solution is thus
2
y(1x2 ) A :
(1 x2 )
To solve the initial value problem, we must choose A such that y /2 when
x /1, so substituting the values into the general solution gives
2 2(A2),
so A /22 and thus
y22(1x2 )2: m
www.EngineeringEBooksPdf.com
622 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 74
In problems 1 to 8 find the general solution of the given first order linear
differential equations.
dy
1: x y x:
dx
dy
2: x y sin x:
dx
dy
3: (x1) 2y(x1)4 :
dx
dy
4: x xy (1x2 )ex :
dx
dy
5: y sin x sin x cos x:
dx
dy
6: (1x2 ) 2xy (1x2 )2 :
dx
dy
7: x 2y x3 ex :
dx
dy
8: (x1) 2y(x1)3 :
dx
www.EngineeringEBooksPdf.com
The Bernoulli equation 75
and then after changing the independent variable from y to z in the differ-
ential equation, we obtain
dz
(1n)p(x)z(1n)q(x):
dx
This is now a first order linear differential equation for z, and so may be
solved by the method discussed in Section 74. Once z is known, the required
solution is found by transforming back from z to y.
Example 75.1
www.EngineeringEBooksPdf.com
624 ESSENTIALS OF ENGINEERING MATHEMATICS
from which it follows that
dz dy
2y ,
dx dx
so changing from the dependent variable y to the new dependent variable z
in the differential equation, we find that it becomes
dz 2z 2
:
dx x x2
This first order linear differential equation has the integrating factor
2
g
mexp dx 1=x2 :
x
or
d 2
(z=x2 ) :
dx x4
www.EngineeringEBooksPdf.com
The structure of solutions
of linear differential
equations of any order 76
dn y dn1 y dy
a1 (x) . . .an1 (x) an (x) yf (x):
dxn dxn1 dx
d2 y dy
3 4y0
dx2 dx
d3 y d2 y dy
2 4 3 7y ex
dx3 dx2 dx
is non-homogeneous.
Do not confuse this use of the term ‘homogeneous’ with the term
‘algebraically homogeneous’ introduced in Section 72, where it was used
to refer to a property possessed by certain functions of two variables.
The concept of linearly independent functions is of fundamental impor-
tance in the theory of higher order linear differential equations. A set of
functions 81(x ), 82(x), . . . , 8n (x ) will be said to be linearly independent if the
expression
C1 8 1 (x)C2 8 2 (x). . .Cn 8 n (x)0
is true for all x only when the constants C1 /C2 /. . ./Cn /0. If this ex-
pression is true for all x when not all of the constants are zero, the functions
will be said to be linearly dependent.
www.EngineeringEBooksPdf.com
626 ESSENTIALS OF ENGINEERING MATHEMATICS
in which
dr
8 m(r) (x) [8 m (x)]:
dxr
www.EngineeringEBooksPdf.com
LINEAR DIFFERENTIAL EQUATIONS OF ANY ORDER 627
Example 76.1
Solution
We apply the Wronskian test. We have
1 ex e2x
W 0 ex 2e2x 2e3x " 0,
0 ex 4e2x
dn y dn1 y
a1 (x) . . .an y f (x),
dxn dxn1
dn y dn1 y
a1 (x) . . .an y 0,
dxn dxn1
dr dr g dr h
[l g(x)m h(x)] l m ,
dxr dxr dxr
with l, m constants. This means that if y1(x), y2(x ), . . . , yk (x ) are any solu-
tions of the homogeneous equation, then so also is
y(x) C1 y1 (x)C2 y2 (x). . .Ck y(x),
with C1, C2, . . . , Ck arbitrary constants. This result is called the superposition
property of solutions.
www.EngineeringEBooksPdf.com
628 ESSENTIALS OF ENGINEERING MATHEMATICS
dn y dn1 y
a1 (x) . . .an (x)y f (x),
dxn dxn1
we call any solution of this equation which does not contain arbitrary con-
stants a particular solution. In general, such particular solutions yp(x ) are
called particular integrals.
Thus yc(x ) and yp(x) are such that
d n yc dn1 yc
a1 (x) . . .an (x)yc (x)0
dxn dxn1
and
dn yp dn1 yp
a1 (x) . . .an (x)yp (x)f (x),
dxn dxn1
dn y dn1 y
a1 (x) . . .an (x)y(x)f (x)
dxn dxn1
to the initial conditions, which will determine the values of the arbitrary
constants in yc(x ).
A special case of this general structure of a solution has already been
established in Section 74, when solving the first order linear differential
equation
dy
p(x)yq(x):
dx
www.EngineeringEBooksPdf.com
LINEAR DIFFERENTIAL EQUATIONS OF ANY ORDER 629
A
yc (x)
m
is the complementary function (it contains the arbitrary constant), and
1
yp (x)
m g
mq(x) dx
PROBLEMS 76
1. 1, x , x2, x3.
2. sin x , cos x.
3. 1, elx , emx (l "/m).
www.EngineeringEBooksPdf.com
630 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
Determining the
complementary function
for constant coefficient
equations 77
www.EngineeringEBooksPdf.com
632 ESSENTIALS OF ENGINEERING MATHEMATICS
This is called the characteristic equation or auxiliary equation for the second
order differential equation.
The roots of the equation are
1
l [a9(a2 4b)],
2
and we will set
1 1
l1 [a(a2 4b)] and l2 [a(a2 4b)]:
2 2
Three possibilities now arise:
1 The roots l1 and l2 are real with l1 "/l2, which is the case if a2 /4b;
2 The roots l1 and l2 are real with l1 /l2, which is the case if a2 /4b ;
3 The roots l1 and l2 are complex conjugates, which is the case if a2 B/4b.
In this case the roots l1 and l2 are real, with l1 "/l2, so two possible solutions
of the second order equation are seen to be exp (l1 x ) and exp (l2 x). These
two solutions are linearly independent because the Wronskian (see Section 76)
exp(l x) exp(l2 x)
W 1
(l2 l 1 )exp[(l1 l2 )x]"0:
l1 exp(l1 x) l2 exp(l2 x)
Thus they form a fundamental set of solutions for the second order
equation, and in this case its general solution is of the form
yA exp(l1 x)B exp(l2 x),
where A and B are the two arbitrary constants we expect to find in the
general solution of a second order differential equation.
Example 77.1
Solution
The differential equation is homogeneous, so its general solution is, in fact,
the complementary function. The characteristic equation is
l2 l20, or (l1)(l2) 0
and so its roots are
www.EngineeringEBooksPdf.com
THE COMPLEMENTARY FUNCTION 633
l1 1 and l2 2:
The general solution (complementary function in this case) is thus
y Aex Be2x :
To satisfy the initial conditions, the arbitrary constants A and B must be
chosen such that y (0) /0 and y ?(0) /1. Using the first of these conditions in
the expression for y gives
0 AB:
Differentiation of the general solution shows that
dy
Aex 2 Be2x ,
dx
so substituting the second initial condition into the above result gives
1A2B:
Solving the pair of equations
AB0
A2B 1,
we find that
A 1=3, B1=3
so the solution of the initial value problem (a particular solution of the
differential equation) is
1
y (e2x ex ): m
3
2
EQUAL ROOTS (a /4b)
In this case the second order differential equation can be rewritten in the
form
d2 y dy
2a a2 y 0,
dx dx
and its characteristic equation is
l2 2ala2 0, or (la)2 0:
Thus l1 /l2 /a and there is a repeated root with multiplicity 2 (the root
l/a occurs twice). Clearly eax is a solution of the second order equation,
but we require a second linearly independent solution in order to construct
the general solution.
Let us seek a second solution of the form
yu(x) eax ,
www.EngineeringEBooksPdf.com
634 ESSENTIALS OF ENGINEERING MATHEMATICS
and
d2 y du d2 u ax
a2 u2a e ,
dx2 dx dx2
d2 y dy
2a a2 y0
dx 2 dx
d2 u
0,
dx2
so
e
u A Bx,
It is a simple matter to check that the solutions eax and (Ax B)e eax are,
indeed, linearly independent.
The general solution of the second order equation is an arbitrary linear
combination of the two linearly independent solutions eax and (Ax B)e eax ,
and so is the form
e eax Ceax :
y (Ax B)
e and C are arbitrary, so we may combine Be
The coefficients A , B e ax and
ax
Ce and write the general solution in the form
y (AxB) eax ,
www.EngineeringEBooksPdf.com
THE COMPLEMENTARY FUNCTION 635
Example 77.2
Solution
The general solution (complementary function in this case) has the charac-
teristic equation
l2 6l9 0, or (l3)2 0:
Thus the equation has the twice repeated root l/3 (l /3 occurs with multi-
plicity 2).
The general solution (complementary function) is thus
y(AxB)e3x :
To solve the initial value problem, we first use the initial condition y (0) /1 in
the above general solution to obtain the condition
1 B:
Then, since
dy
Ae3x 3(AxB) e3x ,
dx
the second initial condition y?(0) /1 gives
1 A3B,
so A / / 2, B /1 and thus the solution of the initial value problem is
y (12x) e3x : m
www.EngineeringEBooksPdf.com
636 ESSENTIALS OF ENGINEERING MATHEMATICS
eax (A1 cos bxiA1 sin bxB1 cos bxiB1 sin bx),
and so we may write
yeax (A cos bxB sin bx),
where if y is to be purely real
A A1 B1 and B i(A1 B1 )
are now arbitrary real constants.
It is a simple matter to check that eax cos bx and eax sin bx are, indeed,
linearly independent functions. The general solution in the case of complex
conjugate roots is thus
yeax (A cos bxB sin bx),
with A and B arbitrary real constants.
Example 77.3
Solution
The characteristic equation is
l2 4l130,
so
1
l [49(1652)]293i:
2
Thus the general solution (complementary function in this case) is
y e2x (A cos 3xB sin 3x):
To solve the initial value problem we first substitute the initial condition
y (0) /1 into the above result to obtain
A 1:
Then, as
dy
e2x (2A cos 3x2B sin 3x3A sin 3x3B cos 3x),
dx
the second initial condition gives
23B 4, so B 2:
www.EngineeringEBooksPdf.com
THE COMPLEMENTARY FUNCTION 637
www.EngineeringEBooksPdf.com
638 ESSENTIALS OF ENGINEERING MATHEMATICS
2 For every simple root l/a (multiplicity 1) include in the solution a term
Aeax ,
where A is an arbitrary real constant.
3 For every real root l/b of multiplicity r include in the solution the terms
B1 ebx B2 xebx . . .Br xr1 ebx ,
where B1, B2, . . . , Br are arbitrary real constants.
4 For every pair of complex conjugate roots
l aib and laib
include in the solution the terms
eax (C cos bxD sin bx)
where C and D are arbitrary real constants.
5 For every pair of complex conjugate roots l /g/iv and l/g/iv , each
with multiplicity s, include in the solution the terms
egx (E1 cos vxF1 sin vxE2 x cos vx
www.EngineeringEBooksPdf.com
THE COMPLEMENTARY FUNCTION 639
F2 x sin vx. . .Es xs1 cos vxFs xs1 sin vx)
where E1, F1, . . . , Es , Fs are arbitrary real constants.
6 The general solution is then the sum of all the terms generated in steps 2
to 5.
PROBLEMS 77
www.EngineeringEBooksPdf.com
Determining particular
integrals of constant
78 coefficient equations
We will discuss in detail the determination of particular integrals for the non-
homogeneous linear constant coefficient second order equation
d2 y dy
a byf (x),
dx2 dx
POLYNOMIALS
The only way in which a particular integral yp when inserted into the
left-hand side of this equation can give rise to the polynomial x2 /3x /4
on the right-hand side is if it is of the form
yp Ax2 BxC:
www.EngineeringEBooksPdf.com
DETERMINING PARTICULAR INTEGRALS 641
dyp
2AxB,
dx
d 2 yp
2A,
dx2
www.EngineeringEBooksPdf.com
642 ESSENTIALS OF ENGINEERING MATHEMATICS
yp Aex Be2x ,
since the right-hand side of the equation (the non-homogeneous part) can
only be produced by differentiating such a combination of exponentials. Then
yp Aex Be2x ,
dyp
Aex 2Be2x ,
dx
d 2 yp
Aex 4Be2x ,
dx2
so substituting these results into the differential equation gives
(Aex 4Be2x )2(Aex 2Be2x )5(Aex Be2x )4ex e2x :
For yp to be a particular integral, this result must be an identity (true for all
x ) and this is only possible if the coefficients of ex and e2x on each side of
the expression are the same.
1 Coefficients of ex : 8A /4, so A /1/2.
2 Coefficients of e 2x : 5B /1, so B /1/5.
Thus the required particular integral is
1 1
yp ex e2x :
2 5
The complementary function is the solution of the homogeneous equation
d2 y dy
2 5y0,
dx2 dx
and this has the characteristic equation
l2 2l50,
with the roots
l192i:
Thus the complementary function is
yc ex (A cos 2xB sin 2x),
and the general solution y/yc/yp is
1 1
yex (A cos 2xB sin 2x) ex e2x :
2 5
SINES AND COSINES
www.EngineeringEBooksPdf.com
DETERMINING PARTICULAR INTEGRALS 643
EXCEPTIONS
www.EngineeringEBooksPdf.com
644 ESSENTIALS OF ENGINEERING MATHEMATICS
Then
dyp
C cos 2xD sin 2xx(2C sin 2x2D cos 2x)
dx
and
d2 yp
4C sin 2x4D cos 2xx(4C cos 2x4D sin 2x):
dx2
www.EngineeringEBooksPdf.com
DETERMINING PARTICULAR INTEGRALS 645
d2 y dy
x,
dx2 dx
SUMMARY OF RULES
www.EngineeringEBooksPdf.com
646 ESSENTIALS OF ENGINEERING MATHEMATICS
dn y dn1 y
a1 . . .an y f (x)
dxn dxn1
with real constant coefficients a1, a2, . . . , an .
1 f(x )/constant. Include in yp the constant term K .
2 f(x ) is a polynomial in x of degree r.
(i) If the differential equation contains an undifferentiated term y,
include in yp terms of the form
A0 xr A1 xr1 . . .Ar :
(ii) If the differential equation does not contain an undifferentiated y,
and y(s ) is its lowest order derivative, include in yp terms of the form
A0 xrs A1 xrs1 . . . Ar xs :
ax
3 f(x )/e .
(i) If eax is not contained in the complementary function, include in yp
the term B eax .
(ii) If the complementary function contains the terms eax , xeax , . . . ,
xm eax , include in yp the term Bxm /1eax .
4 f(x )/cos qx and/or sin qx .
(i) If cos qx and/or sin qx are not contained in the complementary
function, include in yp terms of the form
C cos qxD sin qx:
(ii) If the complementary function contains the terms xs cos qx and/or
xs sin qx with s/0, 1, 2, . . . , m , include in yp terms of the form
xm1 (C cos qxD sin qx):
5 The form of the particular integral yp is the sum of all the terms generated
as a result of identifying each term in f(x ) with one of the special forms of
f(x ) listed above in 1 to 4.
Example 78.1
www.EngineeringEBooksPdf.com
DETERMINING PARTICULAR INTEGRALS 647
d2 yp
2AD cos xE sin x,
dx2
d3 yp
D sin xE cos x:
dx3
To solve the initial value problem, we must choose Ã, B̃ and C̃ such that
y (0) /y ?(0) /0 and yƒ(0) /1. Setting y /0 when x /0 in the general solu-
tion gives
www.EngineeringEBooksPdf.com
648 ESSENTIALS OF ENGINEERING MATHEMATICS
49 49
0 à , or à :
4 4
Similarly, differentiating y and setting y ?/0 when x /0 gives
21
à B̃ , so B7:
4
Finally, differentiating y? and setting yƒ /1 when x /0 gives
7
Ã2B̃2C̃ 1, so C̃9=4
4
and hence the solution to the initial value problem is
1 1 3
y (9x2 28x49)ex x2 6x12 cos x sin x: m
4 4 4
PROBLEMS 78
www.EngineeringEBooksPdf.com
Differential equations
describing oscillations 79
d2 x dx
m D kx f (t),
dt 2 dt
d2 x dx
m D kx 0
dt2 dt
and to call z the damping and V0 the natural frequency of the oscillations.
FREE OSCILLATIONS
d2 x dx
2z V0 V20 x 0:
dt2 dt
www.EngineeringEBooksPdf.com
650 ESSENTIALS OF ENGINEERING MATHEMATICS
so it becomes
x a (sin V0 t cos o cos V0 t sin o):
Fig. 154
www.EngineeringEBooksPdf.com
DIFFERENTIAL EQUATIONS DESCRIBING OSCILLATIONS 651
This form of the solution shows that x oscillates sinusoidally, with a the
amplitude of the oscillation (the maximum magnitude of x), V0 the angular
frequency, T /2p /V0 the period of the oscillation, F /1/T /V0/2p the fre-
quency of the oscillation (the number of cycles in a unit time) and o the phase
of the oscillations. The relationship between a , T, V0 and o is shown in Fig.
154.
The overdamped case (z /1)
When z /1, the physical system described by the homogeneous equation
d2 x dx
2z V0 V20 0
dt 2 dt
Fig. 155
www.EngineeringEBooksPdf.com
652 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 156
www.EngineeringEBooksPdf.com
DIFFERENTIAL EQUATIONS DESCRIBING OSCILLATIONS 653
FORCED OSCILLATIONS
We now consider the case of forced oscillations when the forcing function
f(t)/k sin vt. Thus the amplitude of the sinusoidal forcing function is k ,
and its frequency F /v /2p.
www.EngineeringEBooksPdf.com
654 ESSENTIALS OF ENGINEERING MATHEMATICS
This is an oscillatory solution, but the amplitude of the oscillation due to the
particular integral increases linearly with the time t. This phenomenon is
called resonance, and it occurs when there is no damping and the forcing
frequency equals the natural frequency of the undamped oscillations.
The complementary function has been determined when considering the case
of free oscillations, and in each case it was seen to decay to zero with
increasing time. Thus, after a suitably long period of time, the forced oscilla-
tions will be determined by the particular integral. This solution is called the
steady-state solution, in the sense that it is the limiting form of the oscillatory
behaviour of the system.
The particular integral will have the form
xp C sin vtD cos vt,
so
k
xp [(V20 v2 )sin vt2z V0 v cos vt]:
[(V20 v2 )2 (2z V0 v)2 ]
Thus, if we set
(V20 v2 ) 2z V0 v
cos a 2 2 1=2 and sin a ,
2 2
[(V0 v ) (2z V0 v) ] [(V0 v )2 (2z V0 v2 )2 ]1=2
2 2
we may write
www.EngineeringEBooksPdf.com
DIFFERENTIAL EQUATIONS DESCRIBING OSCILLATIONS 655
Fig. 157
k
xp sin(vta):
[(V20 v2 ) 2 (2z V0 v2 )2 ]1=2
This shows that the steady state solution is a sinusoid with the same
angular frequency as the forcing function, but with a different amplitude
and a phase lag a .
If this result is rewritten as
V20 xp V20
sin(vta),
k [(V20 v2 )2 (2z V0 v)]1=2
we see that the multiplier of sin (vt/a ) is the amplification factor for the
forced oscillation. Dividing numerator and denominator of the amplification
factor by V20 shows it to be a function of the ratio v /V0. Denoting the
amplification factor by A (v /V0), we have
1
A(v=V0 ) :
f[1 (v=V0 ) ] [2zv=V0 ]2 g1=2
2 2
Figure 157 shows the behaviour of A (v /V0) for different values of the
damping z . It is easily shown that the denominator of A (v /V0) attains a
minimum when v2 V20 (12z2 ), so the amplification factor A (v/V0)
will have a maximum at this frequency provided z B/1/â2. The frequency
vR /V0(1 /2z2)1/2 is called the resonant frequency in the presence of damp-
ing. The maximum amplification factor attained when v /vR is
www.EngineeringEBooksPdf.com
656 ESSENTIALS OF ENGINEERING MATHEMATICS
1
Amax , for z B1=â2,
2z(1 z2 )1=2
and the corresponding maximum amplitude amax of the oscillation is
k
amax :
z2 )1=2
2z V20 (1
When the real parts of the exponential functions forming the complemen-
tary function are negative, the solution described by the complementary
function will decay to zero as time increases. For this reason, the solution
represented by such a complementary function is called the transient solution.
The long term solution, somewhat misleadingly called the steady state solu-
tion, is the solution that remains, which is determined by the particular
integral.
www.EngineeringEBooksPdf.com
Simultaneous first order
linear constant coefficient
differential equations 80
A HOMOGENEOUS SYSTEM
www.EngineeringEBooksPdf.com
658 ESSENTIALS OF ENGINEERING MATHEMATICS
1 d2 x dx dx
3 3x 3x 0:
2 dt2 dt dt
and so
d2 x dx
12x0:
dt2 dt
This second order differential equation for x has the characteristic equation
l2 l120 or (l4)(l3)0,
so l / /4 or l/3. The general solution (complementary function) for x is
thus
x Ae4t Be3t :
Substituting this expression for x into the first differential equation and
solving it for y gives
1 1
y (4Ae4t 3Be3t 3Ae4t 3Be3t ) Ae4t 3Be3t
2 2
and so
1
y Ae4t Be3t :
2
It follows from this that the general solution, which is also the complemen-
tary function since the system is homogeneous, is
x Ae4t Be3t
1
y Ae4t 3Be3t :
2
1
0 A3B:
2
www.EngineeringEBooksPdf.com
FIRST ORDER LINEAR DIFFERENTIAL EQUATIONS 659
1
x (24e4t 4e3t ),
7
12
y (e4t e3t ):
7
A NON-HOMOGENEOUS SYSTEM
www.EngineeringEBooksPdf.com
660 ESSENTIALS OF ENGINEERING MATHEMATICS
Equating the respective coefficients of et and et on either side of this result
to make it an identity gives:
1 Coefficients of et : 5C /15, so C /3.
2 Coefficients of e t : 5D /15, so D /3.
Thus the particular integral (I) becomes
xp 3et 3et , (J)
Substituting the expression for x in (K) into equation (C) and solving for y
gives
1 1
y (B3A) cos 2t (A3B)sin 2t5et 4et : (L)
2 2
The general solution of the system is given in equations (K) and (L). To
solve the initial value problem, we must choose the arbitrary constants A and
B such that x (0) /2 and y(0) /0. Setting x /2 and t /0 in equation (K),
and y /0 and t/0 in equation (L) gives
2A6
and
1
0 (B3A)9:
2
and
y9 cos 2t7 sin 2t5et 4et :
www.EngineeringEBooksPdf.com
FIRST ORDER LINEAR DIFFERENTIAL EQUATIONS 661
PROBLEMS 80
dx dy
7. / yt0, x2t0; initial conditions x (0) /2, y(0) / /1.
dt dt
dx dy
8. / xy et , xyet ; initial conditions x (0) /1, y(0) /3.
dt dt
dx dy
9. / 2xy sin t, 4x2y cos t; initial conditions x(0) /5,
dt dt
y(0) /1.
dx dy dy
10. / 5 2 4xy et , 8x3y 5et ; initial conditions
dt dt dt
x (0) /2, y (0) /0.
www.EngineeringEBooksPdf.com
The Laplace transform
81 and transform pairs
Fig. 158
The Laplace transform of f(t)
Let f(t) be a piecewise continuous function of t which is defined for t E/0.
Then, provided the improper integral exists, the Laplace transform F (s ) of
www.EngineeringEBooksPdf.com
THE LAPLACE TRANSFORM AND TRANSFORM PAIRS 663
f(t) is defined as
F (s)
g 0
est f (t)dt:
www.EngineeringEBooksPdf.com
664 ESSENTIALS OF ENGINEERING MATHEMATICS
for all m E/0, provided s /0, so the first limit on the right-hand side is zero,
while the second is also zero if s /0, and thus we have shown that
1
Lftg , for s0:
s2
3 If f(t)/eat , then
T
Lfeat g
g 0
eat est dt lim
T0 g 0
e(as)t dt
T
e(as)t e(as)T
lim
T0 (a s) j 0
lim
T0 (a s)
1
sa
:
If s B/a the limit on the right-hand side is infinite, so the improper integral
defining the Laplace transform diverges and the function has no Laplace
transform. However, if s /a , the limit is zero and the improper integral
defining the Laplace transform converges to 1/(s /a ). Thus we have shown
that
1
Lfeat g , for sa:
sa
www.EngineeringEBooksPdf.com
THE LAPLACE TRANSFORM AND TRANSFORM PAIRS 665
and
The linearity of the definite integral means that provided the integrals exist
g 0
est fa f (t)b g(t)gdta
g 0
f (t) est dtb
g 0
g(t) est dt,
Similarly,
Example 81.1
Find
2t
(i) L{3 /4e };
5 3
(ii) /L1 2 :
s s1
Solution
(i) L{3/4e2t } /L{3}/4L{e2t },
but from example 1, L{3}/3/s, while from example L{e2t )/1/(s/2), so
3 4
Lf34e2t g :
s s2
1 5 3
(ii) /L 5L1 (1=s2 )3L1 f1=(s1)g 5t3et , where
s2 s 1
we have made use of examples 2 and 3. m
Partial fractions can be helpful when determining inverse Laplace trans-
forms as shown by the next example.
www.EngineeringEBooksPdf.com
666 ESSENTIALS OF ENGINEERING MATHEMATICS
eas
0 for tBa ; s0; a]0
f (t)ua (t) s
1 for ta
Example 81.2
Find
1 4s2 3s 9
L :
s3 3s2
Solution
The inverse transform is not immediately obvious, but by expressing the
rational function of s whose inverse transform is to be found in terms of
partial fractions, we see that
www.EngineeringEBooksPdf.com
THE LAPLACE TRANSFORM AND TRANSFORM PAIRS 667
4s2 3s 9 4s2 3s 9 4 3
:
s3 3s2 s2 (s 3) s3 s2
Thus,
4s2 3s 9 4 3
L1 L1 L1
s3 3s2 s3 s2
4e3t 3t: m
PROBLEMS 81
1. Find L{3t3}.
2. Find L{sin 4t }.
3. Find L{e5t }.
4. Find L{t et }.
5. Find L{t cos 3t }.
6. Find L{e 2t sin 5t}.
7. Find L{et cos 2t}.
8. Find L{sinh 2t}.
9. Find L{t2/3 cos 2t}.
10. Find L{te2t /t3}.
11. Find L{t cos t/2 sin 2t}.
12. Find L{e2t cos 3t/e2t sin 3t }.
13. Find L1{3/s5}.
14. Find L1{5s /(s2/4)2}.
15. Find L1{1/(s/2)2/32}.
16. Find L1{3s /(s2 /9)}.
1 3 2
17. Find L :
s3 s 3
www.EngineeringEBooksPdf.com
668 ESSENTIALS OF ENGINEERING MATHEMATICS
4s 2
18. Find L1 :
s2 4 s2 9
( )
1 3
19. Find L1 :
s 4 (s 1)3
3s 1
20. Find L1 2 2 :
s 4 s 9
Make use of partial fractions when evaluating the following inverse
Laplace transforms.
21. Find L1{(5s/10)/(s2/3s /4)}.
2
1 s 6s 9
22. Find L :
(s 3)(s2 9)
2s 4
23. Find L1 :
(s2 2s 5)
2
4s 3s 29
24. Find L1 :
(s2 9)(s 2)
www.EngineeringEBooksPdf.com
The Laplace transform of
derivatives 82
j
T
Lfdy=dtg lim [y(t) est ] lim s
T0
0
T0 g 0
y(t) est dt
Lfdy=dtg s Lfy(t)gy(0)
sY (s)y(0):
This important result shows how, when transforming y (t), the initial value
y (0) enters into the result.
A similar argument can be used to establish the following results, which we
list for future reference.
Transformation of derivatives
When the Laplace transform Y (s )/L{y(t)} exists, then
1 /Lfdy=dtg s Y (s)y(0);
2 /Lfd2 y=dt2 g s2 Y (s)y?(0)s y(0);
3 /Lfd3 y=dt3 g s3 Y (s)yƒ(0)sy?(0)s2 y(0);
and, in general,
n
4 Lfd
/ y=dtn g sn Y (s)y(n1) (0)s y(n2) (0)s2 y(n3) (0). . ./ sn1 y(0),
www.EngineeringEBooksPdf.com
670 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 82.1
Solution
(i) Using entry 1 of Table 13, in Section 81, gives
Lfy?gLfdy=dtgsY (s)y(0),
but y(0) /4, so
Lfy?g sY (s)4:
(ii) Using entry 2 of Table 13 gives
LfyƒgLfd2 y=dt2 gs2 Y (s)y?(0)sy(0),
but y?(0) /5 and y (0) / /3, so
Lfyƒg s2 Y (s)53s:
(iii) Using entry 3 of Table 13 gives
Lfy§gfd3 y=dt3 g s3 Y (s)yƒ(0)sy?(0)s2 y(0),
but y(0) /1, y?(0) / /2 and yƒ (0) /3, so
fy§g s2 Y (s) 32s s2 : m
PROBLEM 82
In each of the following problems, find the Laplace transform of the required
derivative of y (t ) in terms of Y (s )/L{y(t)} and the given initial conditions.
1. Find L{y ?}, given that y(0) / /6.
2. Find L{y ƒ}, given that y(0) /1 and y?(0) /2.
3. Find L{y ƒ}, given that y(0) /3 and y?(0) /0.
4. Find L{y ?ƒ}, given that y (0) /2, y (0) / /1 and yƒ(0) /4.
5. Find L{y ƒ/3y?/y }, given that y(0) /3 and y?(0) / /1.
6. Find L{y ƒ / 2y ?/3y }, given that y (0) /0 and y?(0) /0.
7. Find L{2y ƒ / 3y }, given that y(0) /1 and y? (0) /2.
8. Find L{y ƒ/4y?/4y }, given that y(0) /2 and y?(0) / /2.
www.EngineeringEBooksPdf.com
The shift theorems and the
Heaviside step function 83
There are two basic theorems, called shift theorems, which simplify the task of
working with Laplace transforms. The first involves shifting the transform
variable from s to s /a , and the second involves shifting the time variable t
from t to t/a, where a /0.
so
Lfeat f (t)g
g 0
e(sa)t f (t)dtF (sa):
Provided F (s) exists for s /b, it follows that F(s/a ) exists for s /a /b. The
result is proved.
The term ‘shift’ is used because multiplication of f (t ) by eat shifts the
transform variable s to s/a.
Example 83.1
Find
(i) /Lfe3t (sinh t3 sin 2t)g;
(ii) /Lfe2t t cos tg:
Solution
(i) By linearity we have
Lfe3t (sinh t3 sin 2t)gLfe3t sinh tg3Lfe3t sin 2tg:
Now from entry 12 in Table 13, in Section 81, with a/1 we have
Lfsinh tg1=(s2 1):
www.EngineeringEBooksPdf.com
672 ESSENTIALS OF ENGINEERING MATHEMATICS
Applying the first shift theorem with a /3, we replace s by s/3 in the
above result to obtain
Applying the first shift theorem with a /3, we replace s by s/3 in the
above result to obtain
Applying the first shift theorem with a /2, we replace s by s/2 in the
above result to obtain
(s 2)2 1 s2 4s 3
Lfe2t t cos tg : m
[(s 2)2 1]2 (s2 4s 5)2
The first shift theorem can also be used to find inverse transforms, as
shown in the next example.
Example 83.2
Find
5
(i) /L1 2 ;
s 2s 1
6
(ii) /L1 2 :
s 4s 13
Solution
(i) We have
5 1
5× ,
s2 2s 1 (s 1)2
but inspection of Table 13 shows that Lftg 1=s2 , so by the first shift
theorem with a /1, Lfet tg 1=(s1)2 : Thus we see that
/L
1
f1=(s1)2 gt et , and so
www.EngineeringEBooksPdf.com
THE SHIFT THEOREMS 673
5
L1 5t et :
t2 2t 1
This result could, of course, have been deduced directly from entry 5 in
Table 13 by setting n /1 and a/1.
(ii) By completing the square we have
6 6
:
s2 4s 13 (s 2)2 32
so
1 3
L e2t sin 3t,
2
s 4s 13
and thus
6
L1 2e2t sin 3t: m
s2 4s 13
The second shift theorem makes use of the Heaviside unit step function
ua (t ), which is defined as
0 for tBa
ua (t)
1 for ta:
The name ‘step function’ arises from the fact that its graph shown in Fig. 159
jumps discontinuously at t/a, from the value zero for t B/a to the value
unity when t /a in a step-like manner, and thereafter remains constant. In
physical problems a suitably scaled step function can be used to represent
switching on or off a constant voltage at t /a , and it finds many other
Fig. 159
www.EngineeringEBooksPdf.com
674 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 160
Figure 161(a) shows the function f(t)/cos t, Fig. 161(b) shows the
function f(t)/cos(t/p ) and Fig. 161(c) shows the function f(t)/
up (t) cos(t /p ). It is easily seen that Fig. 161(c) is the zero function for
t B/p and the cosine function shifted by p for t /p.
When combined, Heaviside functions can be used to generate pulse-like
functions. Thus in Fig. 162 the function
Fig. 161
www.EngineeringEBooksPdf.com
THE SHIFT THEOREMS 675
The Laplace transform of the rectangular pulse of unit height in the inter-
val a B/t B/b shown in Fig. 162 is
1
Lfua (t)ub (t)gLfua (t)gLfub (t)g (eas ebs ):
s
The second shift theorem
If Lff (t)gF (s), then Lfua (t)f (ta)geas F (s) and, conversely,/
L1 feas F (s)gua (t)f (ta):
Proof
By definition,
Lfua (t)f (ta)g
g a
est f (ta)dt:
Fig. 162
www.EngineeringEBooksPdf.com
676 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 163
Lfua (t)f (ta)g
g 0
es(at) f (t)dt,
eas
g 0
est f (t)dt
eas F (s),
and the result is proved.
Example 83.3
Find
(i) The Laplace transform of up /3(t) f (t /p /3), when f(t) /t cos t ;
(ii) The function f(t) whose Laplace transform is
8s e2s
,
s2 9
www.EngineeringEBooksPdf.com
THE SHIFT THEOREMS 677
and because of the second shift theorem, the presence of the factor e 2s
in the numerator shows that a shift a /2 is involved. We see from entry
7 in Table 13 that
s
Lfcos 3tg ,
s2 9
(iii) In this example two separate applications of the second shift theorem
are necessary. The factor e 3s in the term 3e 3s /s2 shows a shift a/3 is
involved.
As Lftg 1=s2 it follows that
Lf3tg3=s2 , and thus L1 f3=s2 g3t,
so
1 5s 5
L
2 2 t sin 2t:
(s 4) 4
www.EngineeringEBooksPdf.com
678 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 83
www.EngineeringEBooksPdf.com
THE SHIFT THEOREMS 679
www.EngineeringEBooksPdf.com
Solution of initial value
84 problems
Example 84.1
www.EngineeringEBooksPdf.com
SOLUTION OF INITIAL VALUE PROBLEMS 681
but to evaluate the other inverse Laplace transform, we need to make use of
partial fractions. Setting
1 A Bs C
,
(s 3)(s 1) s 3 (s2 1)
2
and thus
1 1 1 1 s 3 1
L1 L1 L1 L1 :
(s 3)(s2 1) 10 s3 10 s2 1 10 s2 1
and thus
1
y(t) [21e3t cos t3 sin t]: m
10
www.EngineeringEBooksPdf.com
682 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 84.2
Example 84.3
www.EngineeringEBooksPdf.com
SOLUTION OF INITIAL VALUE PROBLEMS 683
Solution
Taking the Laplace transform of the differential equation, and using the fact
that L{1}/1/s gives
s2 Y (s)y?(0)sy(0)3sY (s)3y(0)2Y (0)1=s,
and so
1 1
Y (s) :
(s 1)2 (s 1)3
www.EngineeringEBooksPdf.com
684 ESSENTIALS OF ENGINEERING MATHEMATICS
1 1
y(t)L1 L1 :
(s 1)2 (s 1)3
Entry 5 in Table 13 shows that
1 2
Lftet g and Lft2 et g ,
(s 1)2 (s 1)3
and hence
1 1 1 1
L tet and L 12t2 et :
(s 1)2 (s 1)3
The required solution is thus
1
y(t)t 1 t et :
2
Notice that the solution using the Laplace transform was obtained easily, yet
had the differential equation been solved by the method of undermined
coefficients, it would have given difficulty. This is so because the character-
istic equation is
l2 2l10 or (l1)2 0,
so the complementary function must be
yc (t) Aet Btet :
When seeking a particular integral, a difficulty would have arisen because the
non-homogeneous term e t is contained in yc(t), as is t et . Thus, for a
particular integral, it would have been necessary to seek one of the form
yp (t)Ct2 et :
All these considerations have been avoided by using the Laplace trans-
form, which proceeded in a straightforward manner, as with the other
examples considered. m
Example 84.5
Solution
Taking the Laplace transform of the differential equation, we have
s2 Y (s)y?(0)sy(0)Y (s)1=(s2 1),
www.EngineeringEBooksPdf.com
SOLUTION OF INITIAL VALUE PROBLEMS 685
where Y (s) /L{y (t)} and we have used the result that L{sin t } /1/(s2/1).
Inserting the initial conditions y(0) /1, y?(0) /0 and solving for Y (s ) gives
s 1
Y (s) :
s2 1 (s2 1)2
As y (t )/L 1{Y (s )}, we have
1 s 1 1
y(t)L L
s2 1 (s2 1)2
1
cos tL1 ,
(s2 1)2
where the first inverse Laplace transform was found from Table 13. The
remaining inverse Laplace transform is not contained in the table, but
inspection of entry 9 suggests that we rewrite 1/(s2/1)2 as
1 1 (s2 1) (s2 1)
(s2 1)2 2 (s2 1)2
1 1 1 s2 1
:
2 s2 1 2 (s2 1)2
Thus
1 1 1 1 1 1 1 s2 1
L L L ,
(s2 1)2 2 (s2 1) 2 (s2 1)2
becomes
1 1
y(t)cos t sin t t cos t:
2 2
www.EngineeringEBooksPdf.com
686 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 84.6
Solution
Taking the Laplace transform of the differential equation in the usual man-
ner, incorporating the initial conditions, and using the fact that L{3 cos t} /
3s /(s2/1) and L{2u3 (t )}/2e 3s /s, gives
3s 2e3s
s2 Y (s)2sY (s)5Y (s) :
s2 1 s
Thus
3s 2e3s
Y (s) ,
(s2 2s 5)(s2 1) s(s2 2s 5)
and so
3s 2e3s
y(t)L1 L1 :
(s2 2s 5)(s2 1) s(s2 2s 5)
We must now determine these two inverse Laplace transforms with the
help of partial fraction decompositions and, in the case of the second inverse
transform, the second shift theorem. A routine calculation shows that
3s 3 s 3 1 3 2s 5
,
(s2 2s 5)(s2 1) 5 s2 1 10 s2 1 10 s2 2s 5
so taking the inverse Laplace transform gives
3s 3 s 3 1
L1 L1 L1
(s2 2s 5)(s2 1) 5 s2 1 10 s2 1
3 1 2s 5
L :
10 s2 2s 5
The first two inverse Laplace transforms on the right-hand side follow from
Table 13 and we have
1 3s 3 3 3 1 2s 5
L cos t sin t L :
(s2 2s 5)(s2 1) 5 10 10 s2 2s 5
To determine the last inverse transform, we complete the square in the
denominator by writing s2/2s/5 /(s/1)2/22, and then, because of the
www.EngineeringEBooksPdf.com
SOLUTION OF INITIAL VALUE PROBLEMS 687
www.EngineeringEBooksPdf.com
688 ESSENTIALS OF ENGINEERING MATHEMATICS
is thus seen to be
3 3 3 9
y(t) cos t sin t et cos 2t et sin 2t
5 10 5 20
1
u3 (t)f22e(t3) cos[2(t3)]e(t3) sin[2(t3)]g:
5
The last example involves the solution of two simultaneous first order
linear non-homogeneous differential equations of the type considered in
Section 80. The Laplace transform provides an alternative approach to the
solution of initial value problems for such equations.
Example 84.7
Solution
To solve these simultaneous differential equations for x (t ) and y(t), it is
necessary to introduce the two Laplace transforms
X (s)Lfx(t)g and Y (s) Lfy(t)g:
Taking the Laplace transform of each differential equation gives
1
sX (s)x(0) 2Y (s) and sY (s)y(0)X (s)Y (s),
s2 1
www.EngineeringEBooksPdf.com
SOLUTION OF INITIAL VALUE PROBLEMS 689
1
s(s1)Y (s)2Y (s) :
s2 1
and so
1
y(t)L1 :
(s2 s 2)(s2 1)
To find x (t ), we may either solve the two transformed equations for X (s)
and determine it from x(t) /L1{X (s)}, or substitute y (t) into the second
differential equation and determine it from
dy
x y:
dt
In this case, the second approach is simpler, so we will use it. As a result, we
find that
1 3 1 2
x(t) sin t cos t et e2t
10 10 6 15
1 3 1 1
cos t sin t et e2t ,
10 10 6 15
www.EngineeringEBooksPdf.com
690 ESSENTIALS OF ENGINEERING MATHEMATICS
1 3 1 1
y(t) cos t sin t et e2t :
10 10 6 15
PROBLEMS 84
dx dy
18. / 2xy, 3x4y, with x(0)1, y(0) 0:
dt dt
dx dy
19. / xy, 2x3y, with x(0)1, y(0) 2:
dt dt
dx dy
20. / 2xy, x4y, with x(0)0, y(0)1:
dt dt
dx dy
21. / 3x2y, 2xy, with x(0)2, y(0)1:
dt dt
dx dy
22. / x2y, x5 sin t, with x(0)1, y(0)1:
dt dt
dx dy
23. / y2t, xt, with x(0)2, y(0) 1:
dt dt
www.EngineeringEBooksPdf.com
The delta function and
its use in initial value
problems with the
Laplace transform 85
Fig. 164 The delta function d(t/a) as the limit of the difference between
two step functions
www.EngineeringEBooksPdf.com
692 ESSENTIALS OF ENGINEERING MATHEMATICS
g 0
f (t) d(ta) dtf (a):
This is called the filtering property of the delta function, and this property can
be shown as follows. Consider the integral
a1=h
g 0
D(t,h,a) f (t) dt
g a
h f (t) dt,
then from the mean value theorem for integrals (see the end of Section 38) it
follows that
1
g 0
D(t,h,a) f (t) dt h f (j) f (j) with aB jBa1=h:
h
The result now follows by proceeding to the limit as h 0/ because then the
www.EngineeringEBooksPdf.com
THE DELTA FUNCTION IN INITIAL VALUE PROBLEMS 693
limit of the expression on the left becomes f0 f (t) d(ta) dt, while j is
squeezed between a and a/1/h so that the limit of the expression on the
right becomes f(a).
Example 85.1
Solution
Taking the Laplace transform of the equation and using the fact that
Lf2d(t1)g 2es , we find that
s2 Y (s)y?(0)sy(0)4Y (s)1=s2 2es ,
so as y (0) /1 and y?(0) /0, after simplification this becomes
s 1 2es
Y (s) :
s2 4 s2 (s2 4) s2 4
Writing the second term on the right in terms of partial fractions, this becomes
s 1 1 1 1 2es
Y (s) :
s2 4 4 s2 4 (s2 4) s2 4
Using the Laplace transform pairs 2, 6, and 7 in Table 13, in Section 81, to
find the inverse Laplace transforms of the first three terms on the right of
Y (s) and applying the second shift theorem to the last term on the right (see
Section 83), the inverse Laplace transform of this result is found to be
1 1
y(t)cos 2t t sin 2tu1 (t) sin (2t2):
4 8
Fig. 165
www.EngineeringEBooksPdf.com
694 ESSENTIALS OF ENGINEERING MATHEMATICS
conditions y (0) /1, y ?(0) /0, but from t /1 it is modified by the effect of the
impulse 2d(t1) that produces the last term in the solution. An examination
of the plot of y (t) for 00/t 0/4 in Fig. 165 shows the influence on the
solution of the delta function input at time t/ 1. m
Example 85.2
Solution
Taking the Laplace transform of the equation and using the initial conditions
gives
1
s2 Y (s)2sY (s)2Y (s) e2s ,
s
so
1 e2s
Y (s) :
s(s2 2s 2) s2 2s 2
When the first term on the right is expressed in terms of partial fractions,
Y (s) becomes
11 1 2s e2s
Y (s) ,
2 s 2 (s2 2s 2) s2 2s 2
and after completing the square in the denominator, this becomes
11 1 1 s e2s
Y (s) 2 2 :
2s (s 1) 1 2 (s 1) 1 (s 1)2 1
Table 13 shows that the inverse Laplace transform of the first term on the
right is /1=2, and Table 13 together with the first and second shift theorems
show that the inverse Laplace transforms of the second and last terms on the
right are et sin t and u2(t) e2t sin (t /2), respectively. However, the third
term on the right is not yet in a form that will allow use of the first shift
theorem. This difficulty is easily overcome by the simple device of adding and
subtracting 1 to the numerator, which of course leaves it unchanged, but as a
result shows that
1 s 1 (s 1) 1 1 s1 1 1
2 2 :
2 (s 1) 1 2 (s 1) 1 2 (s 1) 1 2 (s 1)2 1
2
We now see from Table 13 and the first shift theorem that the inverse Laplace
transform of the third term is (1=2) et cos t(1=2) et sin t: Finally,
www.EngineeringEBooksPdf.com
THE DELTA FUNCTION IN INITIAL VALUE PROBLEMS 695
Fig. 166 shows a plot of y (t) as a function of t for 0 0/t 0/10, where the
influence of the delta function input at time t/ 2 appears as a kink in the
curve. The solution without the delta function input is
1 1
y(t) et (sin tcos t),
2 2
Fig. 166
and this tends to y (t)/1=2 as 0/. Examination of the solution and Fig.
166 shows the localized effect of the delta function input, and the fact that it
does not influence the long-term (steady state) solution. m
The response of a damped vibrating mechanical system is usually assessed
by subjecting it to a range of constant frequency sinusoidal inputs, and for
each fixed frequency recording the ratio of the amplitude of the response of
the system to the amplitude of the input. This analysis establishes the overall
frequency response of the damped system, the frequency at which a damped
resonance occurs, and the degree to which the system is excited at the reso-
nance frequency. Such a situation was considered for second order systems in
Section 79 under the heading Forced oscillations.
A useful supplement to this constant frequency information can be provi-
ded by recording the response of the system to an impulsive input applied
when the system is at rest. Such a response can be analyzed mathematically by
subjecting the differential equation representing the system to a delta function
www.EngineeringEBooksPdf.com
696 ESSENTIALS OF ENGINEERING MATHEMATICS
input when the system is at rest. This shows the overall response of the system
to an impulsive input, and in particular the rate at which the disturbance
decays to zero. The following simple example is typical of such a situation.
Example 85.3
Solution
Because of the zero initial conditions (the system is excited from rest), the
Laplace transform of the equation becomes
s2 Y (s)4sY (s)8Y (s) 1,
and so
1
Y (s) :
s2 4s 8
Completing the square in the denominator, this becomes
1
Y (s) ,
(s 2)2 4
so from the first shift theorem, the solution produced by this impulsive input
is seen to be
1
y(t) e2t sin 2t:
2
As expected, as time increases, this oscillatory response decays to zero at the
exponential rate e2t . m
PROBLEMS 85
Solve the following initial value problems involving the delta function.
1. /y?3ycos t2d(t2), with y(0)2:
2. yƒ3y?2y 24d(t2),
/ with y(0)1, y?(0)0:
3. /yƒy2d(t1), with y(0) 0, y?(0) 1:
4. /yƒy1d(t2), with y(0) 0, y?(0) 0:
5. /y?2y3u1 (t)d(t2), with y(0)0:
6. /yƒ2y?5y 23d(t1), with y(0)1, y?(0)0:
7. y§ 1d(t1)u2 (t), with y(0)0, y?(0)0, yƒ(0)0:
/
8. yƒ2y?2y d(t1),
/ with y(0)1, y?(0)0:
www.EngineeringEBooksPdf.com
Enlarging the list of
Laplace transform pairs 86
Differentiation of a transform
Let L{ f(t)} /F(s ), for s /s0. Then,
dn F (s)
Lf(t)n f (t)g , for ss0 :
dsn
Proof
We have
F (s)
g 0
est f (t) dt for ss0 ,
The partial derivative with respect to s is required under the integral sign
because e st f(t) is a function of the two variables s and t . Performing the
indicated differentiation gives
dF (s)
ds
g 0
est (t)f (t)dt
www.EngineeringEBooksPdf.com
698 ESSENTIALS OF ENGINEERING MATHEMATICS
Example 86.1
s
Given that Lfcos atg , show that
s2 a2
Solution
Applying the theorem with n /1 gives
d s a2 s 2
Lft cos atg ,
ds s2 a2 (s2 a2 )2
and so
s 2 a2
Lft cos atg :
(s2 a2 )2
Thus we have derived entry 9 in Table 13, in Section 81, from entry 7. m
Example 86.2
Solution
Applying the theorem with n /2 gives
d2 1 2
Lf(t)2 eat g ,
2
ds s a (s a)3
and so
2
Lft2 eat g :
(s a)2
Example 86.3
www.EngineeringEBooksPdf.com
ENLARGING THE LIST OF LAPLACE TRANSFORM PAIRS 699
This result is not contained in the table of Laplace transform pairs, and
would have necessitated a considerable amount of calculation had it been
derived by direct integration using the definition of a Laplace transform. m
PROBLEMS 86
www.EngineeringEBooksPdf.com
700 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
Symbolic algebraic
manipulation by
computer software 87
In recent years several types of computer software have become available that
allow algebra and calculus to be performed symbolically on a computer. In
general, this is called computer algebra software, though its capabilities ex-
tend far beyond purely algebraic operations. Such software can plot graphs
in two and three dimensions to allow the geometrical properties of functions
to be explored; it can be used to understand limiting operations in calculus,
to perform differentiation and integration in symbolic form, as would be
done with pencil and paper, and it can solve differential equations. By re-
moving the possible introduction of errors in problems in which a solution
using pencil and paper would involve tiresome and prohibitively lengthy
calculations, computer algebra software also makes it possible to solve rea-
listic problems in the physical sciences very early on in their study.
To understand the capabilities of this type of software, it is necessary to
know what is meant by software that can perform symbolic operations. This
means software that can not only perform purely numerical operations on
functions but can also perform algebraic and calculus operations on func-
pffiffiffiffiffiffiffiffiffiffiffiffiffi
tions like 1x2 and cosh x when x is treated as a symbol and not as a
specific number. If, for example, the function f (x )/x sin x is entered into a
computer with the instruction to differentiate f(x ) once with respect to x ,
after displaying f(x ) on the screen, symbolic algebraic software will then
show on the screen the derivative of f(x ) as the function of x that would be
found by a hand calculation, namely, sin x/x cos x.
A purely algebraic example of the use of symbolic software involves en-
tering the algebraic expression (x/3)/(x2/3x/2) into the computer with
the instruction to express it in partial fraction form. The result shown on the
computer screen by symbolic software will then be
1 1
2 :
x2 x1
www.EngineeringEBooksPdf.com
702 ESSENTIALS OF ENGINEERING MATHEMATICS
once a specific numerical value has been given to its argument x . So if the
value of the derivative of f(x )/x sin x is required when x/0.6 (remember
that in mathematics when working with trigonometric functions the argu-
ment x is in radians), once the software has found the derivative f ?(x )/
sin x/x cos x , the result of entering x /0.6 will be to produce on the screen
the result 1.059843842.
Symbolic software can graph functions of one or two independent vari-
ables, and the instruction to plot the graph of f(x) /x sin x for 0 0/x 0/2p
will produce on the screen the plot shown in Fig. 167.
Symbolic algebra software uses what is called exact arithmetic when work-
ing with numbers, both in symbolic calculations and when functioning as an
ordinary calculator. This means that, provided a number is not irrational, it is
always represented in the computer as a rational number. That is, numbers
are always treated by the software as fractions, which may be either proper or
improper. Consider the result of an internal computer symbolic operation
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 703
17
leading to, say, the sum of the numbers 2342 321
47
: The software will treat this
sum as the sum of the rational numbers (improper fractions) 701
342
162
47
, and the
88351
result given will be the rational number (improper fraction) 16074
: If the
decimal approximation of this sum is required, the software can be instructed
to approximate this rational number to a given number n of floating-point
digits, so if n/10, it will return the result 5.496516113.
By working with rational numbers in this way, the accuracy of calculations
is preserved until the time when a decimal approximation of a calculation is
pffiffiffi pffiffiffi
required. Again, to preserve accuracy, irrational numbers like p, 2 and 3
are left in this form by the software until a decimal approximation of a final
result involving them is required. Thus, an internal calculation producing a
number like (347 91
)p will be treated by the software as 320
91
p , and if displayed on
the screen, it will appear in this form. Should the decimal approximation of
this result be needed to 10 floating-point digits, the result shown on the
screen will be 11.04735878.
Symbolic algebra software can integrate a wide range of functions. This is
accomplished inside the computer by transforming the integrand into a
standard form that can be checked against an internal reference list of known
results, after which the result is transformed back to the original variable.
Naturally there will be integrals for which this method fails, either because
the software is not powerful enough to find the result, or because no integral
exists involving elementary functions. This ability of the software to integrate
also enables it to find analytical solutions for a wide variety of differential
equations, both with and without initial conditions.
For the software to function in the ways just described, it is necessary that
the information specifying the functions involved, and the symbolic opera-
tions to be performed, are given to the computer in a very special manner.
The mathematical operational instructions for different types of symbolic
software differ, depending on the internal workings of the software, but these
are all described in detail in the literature accompanying the software. Many
excellent books are available that describe the different types of symbolic
algebraic software now in use. All of these books explain the instructions and
operations in considerable detail, and they also illustrate how to use the
programs for typical applications.
Because of the significant differences in the way the instructions for dif-
ferent types of symbolic algebraic software are entered into a computer, this
brief introduction can only mention two particular types of such software.
The first is called MAPLE, and it is the registered trademark of Waterloo
Maple Inc., 57 Erb Street West, Waterloo, Ontario, Canada N2L 5J2. The
other, called MATLAB, is the registered trademark of The MathWorks Inc.,
24 Prime Park Way, Natick, MA 01760-1500,USA.
www.EngineeringEBooksPdf.com
704 ESSENTIALS OF ENGINEERING MATHEMATICS
MAPLE
MAPLE was used in the preparation of the sixth edition of Mathematics for
Engineers and Scientists, but because of its many functions, this short intro-
duction can only outline a few of the most important ones that are relevant to
this book. In what follows, the version described is called MAPLE 8, because
it is the eighth issue of the software to have been released. Technically,
MAPLE 8 is a Symbolic Algebraic Computation System, the main function
of which is to manipulate information symbolically according to the usual
rules of algebra and calculus. For conciseness, in what follows MAPLE 8 will
simply be referred to as MAPLE.
Once a symbolic computation has been completed, numerical values can
be assigned to the symbolic quantities involved, and MAPLE will then eval-
uate the numerical expressions and, if required, plot graphs in two- or three-
dimensions. Various coordinate systems are supported by MAPLE, includ-
ing the Cartesian coordinates and plane polar coordinates used throughout
this book.
If input information is given in purely numerical form, MAPLE acts like
an ordinary calculator, but if the information is entered in symbolic form,
MAPLE manipulates it symbolically. For example, MAPLE can find either
the antiderivative (indefinite integral) or definite integral of x ln x , though
when finding antiderivatives the arbitrary additive integration constant
associated with indefinite integration is always omitted. So the integral
of x ln x is given by MAPLE as (1=2) x2 ln x/(1=4) x2, without the usual
arbitrary additive constant C.
Before introducing some of MAPLE’s many procedures, it is necessary to
know how to start MAPLE, and how to exit from it. MAPLE is started by
placing the mouse pointer arrow on the MAPLE icon seen on the screen
when the computer is first switched on, and double clicking with the left
mouse button. This causes the name MAPLE with its logo to appear briefly
on the screen, followed a few moments later by a prompt at the top left of the
screen in the form of the arrow-head symbol /. This prompt is the signal to
start to input information. To exit from MAPLE, the ‘‘File’’ icon at the top
left of the screen must be clicked once with the left mouse button. An in-
struction will then appear in the middle of the screen asking if the work
should be saved, not saved, or if the exit command should be canceled. Until
some familiarity with MAPLE has been developed, it is advisable to click the
‘‘No’’ icon; the screen will then return to the form seen when the computer
was first switched on.
Where possible, MAPLE uses a notation similar to standard mathematical
notation. For example, to find 2/3/ (2/7/3/2) we would proceed as follows,
using the fact that in MAPLE notation, addition and subtraction are deno-
ted by the usual / and signs, multiplication by an asterisk *, and division
by a solidus /, so the result of this calculation when entered in MAPLE,
which uses brackets (. . .) in the usual way, will appear as
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 705
2=3(2=73=2);
25
21
Notice the presence of the semicolon; at the end of the first line. This is the
instruction to MAPLE to perform the calculation and to display the result in
the line below. If the semicolon is omitted nothing will happen.
MAPLE uses exact arithmetic and cancels common factors in fractions, so
the result of a numerical calculation appears either in the form of an integer
pffiffiffi
or rational number, but if irrational numbers like 2 or p occur in the
calculation, these are displayed in this same form in the result. The number
pffiffiffi
2 is entered in MAPLE as sqrt(2), whereas the constant p is entered as Pi.
If a decimal result is required, the instruction for the calculation must be
prefixed by the instruction ‘‘evalf’’, after which the details that follow must
be enclosed in parentheses, as shown below:
evalf(2=3(2=73=2));
1:190476191
The default number of floating-point digits (that is, the number used unless
MAPLE is instructed to use a different number) is 10, but this can be con-
trolled by prefixing the calculation at the prompt/by the instruction
‘‘Digits :/n;’’ where n is the number of digits required. Notice that when
defining n, the symbol :/must follow the word Digits, and then after enter-
ing n either a semicolon; or a colon: must be used to instruct MAPLE to
round calculations to this number of floating-point digits in all subsequent
calculations. When a semicolon is used, MAPLE prints out the instruction
Digits :/6 as a reminder of what is to follow, and then uses this number of
digits in all subsequent calculations, but when a colon is used, MAPLE omits
the print-out, but still uses six floating-point digits in all subsequent calcula-
tions. To illustrate, we will repeat the previous calculation using only six
floating-point digits, and omit the printout of the instruction Digits :/6
by using a colon. We type
Digits :6:
evalf(2=3(2=73=2));
1:19048
which is the previous result now rounded to six floating-point digits. When
necessary, MAPLE can work to an arbitrarily large number of decimal digits,
so if p is required to 30 decimal digits, this is obtained by typing
Digits :30;
Digits: 30
evalf(Pi);
www.EngineeringEBooksPdf.com
706 ESSENTIALS OF ENGINEERING MATHEMATICS
3:14159265358979323846264338328
pffiffiffi
To illustrate the way MAPLE operates with irrational numbers like 2
pffiffiffi
and p, consider the calculation 2(32p), that when entered into MAPLE
after the prompt yields
sqrt(2)(32Pi);
pffiffiffi
2(32p)
Here MAPLE has returned the result unchanged, apart from displaying it
pffiffiffi
in mathematical notation, because the nature of the irrational numbers 2
and p means that MAPLE cannot represent neither exactly by a rational
number. If a numerical result is required for the last calculation, say to 8
floating-point digits, we make use of the instruction ‘‘evalf,’’ and at the
prompt write
Digits :8:
evalf(sqrt(2)(32Pi));
13:128407
MAPLE can manipulate and perform arithmetic on complex numbers by
representing the imaginary unit i by the symbol I together with the multi-
plication symbol * that must be used if a multiple of i occurs, so the complex
number 3 /2i is entered as 3 /2*I or, equally well, as 3/I*2. The quotient
(2 /3I)/(4/2I ) is found by typing
(23I)=(42I);
1 4
I
10 5
This result can be expressed in modulus/argument form by using the instruc-
tion ‘‘convert’’, as follows
convert(1=104I=5, polar);
pffiffiffiffiffi
65
polar ,arctan(8) :
10
In this result the term ‘‘polar’’ refers to the use of plane polar coordinates in
pffiffiffiffiffi
the complex plane, with the first entry 65=10 representing the modulus
of the complex number, and the second entry arctan(8) representing its
argument. In radian measure, the value of arctan(8) is found by typing
evalf(arctan(8));
1:446441332
The instruction ‘‘convert’’ is also useful when seeking a partial fraction
representation of the quotient of two polynomials. For example, the partial
fraction representation of (1/2x/3x2 / x3)/(1/2x/x2) is found as follows,
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 707
The term ‘‘parfrac, x’’ is the instruction to convert the expression eq1, which
is a rational function of x , into partial fractions in terms of x . To see how the
label eq1 can be used again, let us subtract 1/(x/1)2 from the partial fraction
representation of eq1 by writing
eq11=(x1)ffl 2;
1 2
x5
x 1 (x 1)2
www.EngineeringEBooksPdf.com
708 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 169
entered between the value of the argument used to start the plot and the
value of the argument where the plot is to finish. The plot can be resized by
first clicking with the left mouse button at any point inside the plot. A box
will appear around the plot with a small black rectangle at the mid-point of
each side. If the arrow in the plot window is positioned on one of the rec-
tangles at the side, a double-headed arrow like /$ will appear. Keeping the
left mouse button depressed, the plot can be expanded or contracted laterally
in the direction shown by the double-headed arrow, by moving the double-
headed arrow either out of or into the plot. A similar procedure will expand
or contract the plot in the vertical direction if a black rectangle at the top or
bottom of the box is used.
The color used in the screen plot is assigned by MAPLE, but it can be
changed by adding at the end of the plot command the instruction ‘‘color /
blue’’ if, for example, the plot of eq2 is to be represented in blue. Many plot
colors are available, but the most useful are black, red, blue and green. Notice
that in this plot command the American spelling for ‘‘color’’ must be used.
MAPLE generates this plot by computing the value of eq2 at 50 points over
the interval 0 0x02p, and then joining the points by straight line segments.
MAPLE chooses the horizontal and vertical scales for a plot depending on
the total variation of the function in the horizontal and vertical directions,
but sometimes it needs help when choosing an appropriate vertical scale if the
functional variation in the vertical direction is very large. For example, issu-
ing the plot command ‘‘plot(tan(x), x/0.. 2)’’; will produce the result shown
in Fig. 170, where the unbounded behaviour of tan x close to x /p/2 has
Fig. 170
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 709
biased the entire plot. This can be corrected by adding after the specification
of the interval over which the function is to be plotted, an instruction of the
form ‘‘a.. b’’, where a is the smallest value of the function to be plotted and b
is the largest value. If, in the case of Fig. 170, it is required that the plot of
tan x is to vary from 10 to 10, the result of typing
plot(tan(x), x0:: 2, 10:: 10);
will be to produce the more useful result shown in Fig. 171.
Fig. 171
The result is shown in Fig. 172, where each plot is black. The result of using a
printer capable only of black printing when reproducing a line shown in a
light color on the computer screen is to produce a grey printed line. It was
for this reason that the instruction ‘‘color /black’’ was added to the print
command.
Fig. 172
www.EngineeringEBooksPdf.com
710 ESSENTIALS OF ENGINEERING MATHEMATICS
This plot could be used to find the approximate values of x for which
ex /sin x in the interval 00x 04, by finding the values of x in the interval
where the two plots intersect. However if, for example, this information is
required to find starting values for Newton’s method in Section 49, it would
be more sensible to plot the difference e x
/ sin x , and to find where the plot
intersects the x -axis. The result obtained in this manner by using the plot
command
plot(ex sin(x), x0:: 4);
is shown in Fig. 173, from which it can be seen quite clearly that the approx-
imate zeros of the function ex / sin x in the interval 00 x04 occur at
x :/0.6 and x :/3.1.
Fig. 173
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 711
Fig. 174
MAPLE will produce a colored plot on the screen unless the pointer arrow
is clicked inside the plot to cause a bar of icons to appear at the top of the
screen, when at the same time the plot will become enclosed in a rectangle.
Clicking with the left button on the icon marked ‘‘color’’, and then clicking
on the entry ‘‘no coloring’’ will produce the black and white wire-mesh type
plot shown in Fig. 175. The rough appearance of the plot in Fig. 175 is due to
MAPLE having computed function values using its default grid over the
interval 4 0x04, and 40y04 (the grid is used automatically if no
other one is specified), which in this case happens to have its points spaced
too far apart to provide a smooth representation of f(x , y) when the com-
puted points are joined by straight line segments.
A smoother plot can be obtained by instructing MAPLE to use a finer grid
by including in the plot command the statement ‘‘grid /[m,n]’’, where m
is the number of equi-spaced points used in the x -direction and n is the
Fig. 175
www.EngineeringEBooksPdf.com
712 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 176
Fig. 177
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 713
produces the flower-like plot in Fig. 178. Notice that in MAPLE, lowercase
Greek characters like u and a are entered by typing ‘‘theta’’ and ‘‘alpha’’,
while an uppercase character like U is entered by typing ‘‘Theta’’.
Fig. 178
When reducing the screen plot to a size suitable for inclusion in this text,
an arbitrary point inside the screen plot was clicked once to enclose the plot
in a rectangular box. Then, in the bar above the plot, the button ‘‘1:1’’ was
clicked. This rendered the scaling in both the horizontal and vertical direc-
tions the same, so when the plot was reduced by dragging inward one of the
black rectangles on a side of the box, the horizontal and vertical dimensions
both reduced at the same rate, thereby preserving the proportions of the plot.
Something of the symbolic manipulation capabilities of MAPLE can be
appreciated by using the instruction ‘‘int’’ signifying integrate. An instruction
of the form ‘‘int(eq,x);’’ entered at the prompt will return an indefinite in-
tegral (antiderivative) of the expression eq as a function of the variable x , but
always without the added arbitrary constant of integration, whereas the
instruction ‘‘int(eq,x, /a..b);’’ will return the definite integral of the expres-
sion eq from x /a to x /b. As a typical example, the next instruction
requiring the definite integral of e2x between x /1 and x /2 yields
int(exp(2x), x1::2);
1 1
e4 e2
2 2
www.EngineeringEBooksPdf.com
714 ESSENTIALS OF ENGINEERING MATHEMATICS
‘‘evalf(%)’’ after this last result will produce its value to 10 floating-point
digits:
int(exp(2x),x1::2);
1 1
e4 e2
2 2
evalf(%);
23:60454697
Depending on the integrand involved, MAPLE uses one of several differ-
ent ways to evaluate an integral, but if it is unable to find an analytical result,
either because one does not exist, or because the MAPLE routines are not
powerful enough to find a result, this is indicated by returning the original
instruction. The next instruction asks MAPLE to evaluate a definite integral
of sin (x/x3) from x /1 to x/p /2 for which there is no known result in
terms of elementary functions, so in this case MAPLE returns the original
instruction in ordinary mathematical notation
int(sin(xxffl 3),x1::p=2);
p=2
g 1
sin(xx3 )dx
When such integrals are well defined, they can always be evaluated nu-
merically by using the evalf instruction as follows
evalf(int(sin(xxffl 3),x 1::p=2));
0:1019805955
This result was obtained automatically by MAPLE using a very accurate
built in numerical integration routine.
The result of integrating a function can often be expressed in several
different but equivalent ways, and the form returned by MAPLE will depend
on the method it uses. Consequently, the result of an integration performed
by MAPLE is not always given on the screen in its most convenient form, so
it may need to be manipulated to bring it into a more suitable form. The
transformations used to accomplish such simplifications can all be per-
formed within MAPLE, but to do so requires knowledge of the appropriate
instructions to be issued, and an understanding of the mathematics involved
in order to decide how best to simplify the result.
For example, if MAPLE is instructed to integrate sin2 x cos2 x by using the
instruction ‘‘int(sin(x)ffl2 *cos(x) ffl2, x);’’ it produces the result
x 1 1
cos x sin x sin x cos3 x
8 8 4
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 715
These two results are not the same because when the first is expressed in
terms of exponentials it reduces to
1 1 1
g e sinh x dx 4 e
x 2x
x ,
2 4
showing that the results differ by 1=4: This apparent paradox is resolved once
it is remembered that MAPLE does not include additive arbitrary integra-
tion constants in its results, so the constant 1=4 occurring in the second result
can be absorbed into the additive arbitrary constant that has been omitted,
showing that in this sense the two results are, in fact, identical.
Finally, to illustrate another way in which a symbolic algebra program
does not always give a result in its most convenient form, consider the
following result obtained by using MAPLE
pffiffiffiffiffiffiffiffiffiffiffiffiffiffi 1 pffiffiffiffiffiffiffiffiffiffiffiffiffi
g 1x2 dx [x 1x2 arcsinh x],
2
where as usual the additive arbitrary constant is not shown. The function
arcsinh x is not an elementary function that is convenient to use, but it can be
transformed into a more useful form by using the result
pffiffiffiffiffiffiffiffiffiffiffiffiffi
arcsinh xln x 1x2 ,
[see Example 8.5(a)], when the equivalent but more convenient result
www.EngineeringEBooksPdf.com
716 ESSENTIALS OF ENGINEERING MATHEMATICS
pffiffiffiffiffiffiffiffiffiffiffiffiffi pffiffiffiffiffiffiffiffiffiffiffiffiffi
1 pffiffiffiffiffiffiffiffiffiffiffiffi2ffi
g 1x2 dx
2
x 1x ln x 1x2
is obtained, where again the additive arbitrary constant has been omitted.
These examples illustrate a common difficulty that can arise when employ-
ing symbolic manipulation, usually because the first result obtained may not
be in the form expected. This fact must also be remembered when reconciling
two calculations obtained in different ways, as when considering the integral
f ex sinh x dx above, because although two results may appear different, pro-
vided no error has been made, they must be equivalent.
MAPLE can perform all of the usual operations in calculus, and the one to
be considered next involves partial differentiation. The function of two vari-
ables f (x , y)/(x/2y )/(1/x2/y) can be differentiated partially with respect
to x and y as follows. Giving f (x , y ) the label eq4, the function is entered into
MAPLE by typing
eq4: (x2y)=(1xffl 2y);
x 2y
eq4:
1 x2 y
@3f
Similarly, the partial derivative is found by typing
@y2 @x
eq6: diff(eq5,y$2);
4 2(x 2y)
eq6:
(1 x2 y) (1 x2 y)3
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 717
defines the function whose limit is required. Then, typing the limit instruc-
tion generates the required limit, so that
limit(eq7, x 0);
2
3
Here, the instruction ‘‘x /0’’ requires MAPLE to find the limit as x 0/0 in
either direction.
If the indeterminate form is undefined, MAPLE will say so, as happens
when attempting to find
tan(1 x2 )
lim :
x01 jcos(p=(2x))j
This limit is undefined in the ordinary sense because while the numerator
changes sign across x /1, the denominator does not, so that this function
has a different limit depending on whether x decreases or increases to x/1.
Using the fact that MAPLE denotes the absolute value by ‘‘abs’’, to see what
happens if in the above case we attempt to find the ordinary limit as x 0/1,
we type
limit(tan(1xffl 2)=(abs(cos(Pi=(2x))),x1);
undefined
www.EngineeringEBooksPdf.com
718 ESSENTIALS OF ENGINEERING MATHEMATICS
MAPLE performs all matrix operations, but before these can be used it is
necessary to type at the prompt ‘‘with(linalg):’’ as this makes available all of
the MAPLE linear algebra routines necessary for matrix operations. Once
‘‘linalg’’ has been called, it remains available for all subsequent matrix cal-
culations until canceled. For example, the matrices
2 3
1 1 2
A 41 4 15
2 1 2
and
2 3
2 3
B 4 1 15
2 2
are entered by typing
with(linalg):
A:array([[1, 1, 2],[1, 4, 1],[2, 1, 2]]);
2 3
1 1 2
A: 41 4 15
2 1 2
and
B:array([[2, 3],[1, 1],[2, 2]]);
2 3
2 3
B: 4 1 15:
2 2
Notice that each row of elements in a matrix is entered between square
brackets [. . .], with a comma between each element, and a comma between
each set of brackets [. . .] representing a row. Finally, the set of rows are
themselves contained between square brackets [. . .].
The product AB is obtained by typing the instruction
multiply(A,B);
2 3
1 8
48 55
1 9
and the transpose of A is obtained by typing ‘‘transpose A’’. After typing
‘‘with(linalg)’’ to make the linear algebra routines available, when required an
nn diagonal matrix with elements a1, a2, . . .,an on its leading diagonal and
zeros elsewhere is entered by typing
diag(a1 , a2 , . . . , n)
so as a special case, the 33 unit matrix is entered by typing
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 719
diag(1, 1, 1)
15
The inverse of A , to which we will give the label A1, is found by typing the
instruction
A1 :inverse(A);
2 3
7 4 3
6 7
6 15 15 5 7
6 7
64 2 1 7
A1: 6
6 15
7
6 15 5 7
7
6 7
4 3 1 15
15 5 5
multiply(A1,U);
2 3
37
6 7
615 7
6 7
64 7
6 7
615 7
6 7
6 7
435
5
www.EngineeringEBooksPdf.com
720 ESSENTIALS OF ENGINEERING MATHEMATICS
This brief introduction to MAPLE now closes with a few remarks about its
ability to solve variables separable and constant coefficient differential equa-
tions.
A first derivative of a function y (x ) of x is denoted by ‘‘diff(y(x),x)’’, while
second and third order derivatives of y(x ) are denoted in MAPLE by
‘‘diff(y(x),x$2)’’ and ‘‘diff(y(x),x$3)’’, respectively. The initial value y (a )/
k1, where k1 is a given number, is specified by typing ‘‘y(a) /k1’’, a first
derivative y?(a) /k2, where k2 is a given number, is specified by typing
‘‘D(y)(a) /k2’’, and a second order derivative yƒ(a )/k3, where k3 is a given
number, is specified by typing ‘‘D(D(y))(a) /k3’’, with obvious extensions of
this notation for higher order derivatives.
The instruction to MAPLE to find the general solution of a first order
differential equation with the label eq, where eq is a function of x , is given by
typing ‘‘dsolve(eq, y(x)).’’ If MAPLE can find a solution, it will give the
result with the single arbitrary constant shown as _C1, otherwise no result
will be returned. In the general solution of a second order equation, there will
be two arbitrary constants, and these will be denoted by _C1 and _C2, and so
on for still higher order equations. Let us find the general solution of the
variables separable equation
pffiffiffiffiffiffiffiffiffiffiffiffiffiffi
dy 1 y2
:
dx xy
To do this, we type
Notice that the dependent variable must be typed y(x ), and not simply y so
that MAPLE knows it is a function of x , and not simply a constant. In this
case, as usually happens with variable separable equations, the result returned
by MAPLE gives y (x ) in an implicit form. This expression must be manipu-
lated if an explicit expression for y (x) in terms of x is required. Solutions of
variable separable equations usually require manipulation if explicit solu-
tions y(x ) are to be found, though of course it is not always possible to find
an explicit form for y (x).
To find the general solution of the second order constant coefficient equa-
tion
d2 y dy
2 3ysinx,
dx2 dx
we type
dsolve(diff(y(x),x$2)2diff(y(x),x)3y(x)sin(x),y(x));
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 721
1 1
y(x) e(3x) _C2 ex _C1 cos(x) sin(x)
10 5
The positioning and numbering of the two arbitrary constants _C 1 and _C 2
in the general solution is determined by MAPLE, and were this result ob-
tained by hand, it probably would have been written
1 1
y(x)C1 e3x C2 ex cos x sin x:
10 5
Initial conditions for a second order equation can be imposed at x /a by
specifying the numerical values of y(a ) and y?(a ). For example, to solve the
previous equation subject to the initial conditions y (0) /1 and y ?(0) /0, we
type
dsolve(fdiff(y(x),x$2)2diff(y(x),x)3y(x)sin(x), y(0)1,
D(y)(0)0g,y(x));
9 7 1 1
y(x) e(3x) ex cos(x) sin(x)
40 8 10 5
Notice that this time the equation and the initial conditions must all be
enclosed in parentheses {. . .}.
MAPLE can use Laplace transform methods to solve initial value pro-
blems at t/0 for differential equations involving discontinuous functions
like the Heaviside unit step function and the Dirac delta function. The Heavi-
side unit step function, denoted in this book by uT (t ), is entered into
MAPLE as ‘‘Heaviside(T /t)’’ while the Dirac delta function, denoted in
this book by d(t/T ), is entered into MAPLE as ‘‘Dirac(t /T)’’. Here we
have chosen to use the independent variable t in place of x because problems
involving these functions usually depend on the time denoted by t. Let us
solve the equation
d2 y
yd(t1)
dt2
subject to the initial conditions y (0) /1 and y ?(0) /0 by instructing
MAPLE to use the Laplace transform method. (You will recall that the
Laplace transform method of solution always requires initial conditions to
be specified at t /0). We have
dsolve(fdiff(y(t), t$2)y(t) Dirac(t1), y(0)1, D(y)(0)0g,
y(t), method laplace);
y(t) cos(t)Heaviside(t1)sin(t1):
In terms of the notation used in this book, this solution reads
y(t) cos tu1 (t)sin(t1):
We mention in passing that MAPLE can find many Laplace transforms
www.EngineeringEBooksPdf.com
722 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 723
prohibitively long, but MAPLE will not remove the necessity to think, to
understand what MAPLE is being asked to do, or to tell it how best to do it.
MAPLE is a valuable aid when carrying out mathematical operations and
recording results in graphical form, but it is only really useful when the
underlying mathematics is properly understood.
REFERENCES
The following are two useful and easily understood accounts of MAPLE that
describe and illustrate its most important commands.
Cornill, J.-M. and Testud, P., An Introduction to MAPLE V, Springer
Verlag, 2001.
Garvan, F., The MAPLE Book , Chapman & Hall/CRC, 2002.
MATLAB
the same symbols. For example, addition and subtraction are denoted by/
and /, multiplication by *, division by /, and raising to a power by , so 75 is
ffl
entered as 7 ffl5. Other similar symbols for elementary functions such as sin x
and arccos x are entered by typing ‘‘sin(x)’’, ‘‘arccos(x)’’, etc.
However some other symbols used in MATLAB have quite different
pffiffiffiffiffiffi
meanings from those in MAPLE, with 1 denoted either by i or j, the
mathematical constant p by pi, infinity by Inf, and the natural logarithm by
log. MATLAB also has many built-in special operations and functions that
have no counterpart in MAPLE, mainly due to the way MATLAB uses a
matrix-type input. Two simple but important differences between MAPLE
and MATLAB involve the way MATLAB uses the semicolon; and the
colon: as instructions. In MATLAB the semicolon performs the same task
as the colon in MAPLE because it allows MATLAB to perform an operation
after which it suppresses the subsequent printout of the result. The function
www.EngineeringEBooksPdf.com
724 ESSENTIALS OF ENGINEERING MATHEMATICS
1 1 2
1 4 1
2 1 2
from which it will be seen that MATLAB displays a purely numerical matrix
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 725
Fig. 179
digits(4);
inv(A)
www.EngineeringEBooksPdf.com
726 ESSENTIALS OF ENGINEERING MATHEMATICS
MATLAB can also find the eigenvalues and eigenvectors of n /n matrices, it
can solve systems of linear algebraic equations and it can transform rows and
columns of matrices in many different ways.
Unlike MAPLE, the symbolic capabilities of MATLAB are only available
when in addition to running MATLAB, the Symbolic Math Toolbox has been
installed. To enter symbolic quantities, it is necessary to identify these as such
in MATLAB by using the instruction ‘‘syms’’. To enter the matrix
2 3
a b c
A 4 c b a5 ,
b a c
with spaces as shown. A symbolic matrix involving these quantities can then
be entered by typing
A [a b c; c b a; b, a, c]
A
[a, b, c]
[c, b, a]
[b, a, c]
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 727
2A
ans
www.EngineeringEBooksPdf.com
728 ESSENTIALS OF ENGINEERING MATHEMATICS
T taylor(f,6)
T
14x8=3xffl 38=15xffl 5
This can be plotted for 0 0/x 0/2 by using the simple and very convenient
plot command ‘‘ezplot’’ as follows:
ezplot(T,[0, 2])
The truncation of the Taylor series after the term in x5 means this approx-
imation is only valid for small x . The validity of the approximation can be
seen by comparing Fig. 180 with the plot of f (x )/1/2 sin 2x shown in
Fig. 181, and obtained by typing
syms x
f 12sin(2x)
ezplot(f,[1,2])
The first order differential equation
dy
y(t)sin(t)
dt
Fig. 180
www.EngineeringEBooksPdf.com
SYMBOLIC ALGEBRAIC MANIPULATION 729
Fig. 181
ans
1 1
C1et cos(t) sin(t):
2 2
Notice that here the entry in the dsolve command is enclosed between primes
?. . .? to indicate that symbolic quantities are involved, and that the symbol Dy
represents the first derivative of y with respect to the independent variable,
which here will be t , because it occurs in the non-homogeneous term sin t . An
initial value problem for this equation with initial condition y (0) /1 is solved
by typing
ydsolve(?Dy ysin(t)?,?y(0) 1?)
where now each individual entry in the dsolve command is enclosed between
primes. The solution is returned as
3 1 1
y et cos(t) sin(t):
2 2 2
Similarly, the initial value problem
d2 y dy
2 yx, with y(0)1, y?(0)1
dx2 dx
is solved by typing
y dsolve(?D2y2Dyy 1?,?y(0) 1?,?Dy(0)1?,?x?)
where typing ?x? at the end of the dsolve instruction tells MATLAB that now
the independent variable is x . The result of this operation is to return the
solution
y2x3exp(x)x:
www.EngineeringEBooksPdf.com
730 ESSENTIALS OF ENGINEERING MATHEMATICS
Notice that here D2y represents the result of differentiating the function y (x )
twice with respect to x . Similarly, if required, a third order derivative of y (x )
would be entered as D3y. For full details of the way the Symbolic Math
Toolbox works, with various applications, we refer the reader to the docu-
mentation mentioned below supplied with this Toolbox and to the other
references for general information about numerical calculations performed
by MATLAB.
The closing remarks made at the end of the description of MAPLE apply
equally to MATLAB and to any other symbolic computation software. All
such software provides valuable help when performing mathematics, but it
does not remove the need to understand and think about the mathematics
involved.
REFERENCES
www.EngineeringEBooksPdf.com
Answers
PROBLEMS 1
1.
2.
3.
4.
6. ; /20/x 0/3.
7. ; x B/1, x /2.
8. ; 1B/x B/2.
9. ; 1B/x 0/3.
www.EngineeringEBooksPdf.com
732 ESSENTIALS OF ENGINEERING MATHEMATICS
j 1
j1
a b ½a b½
:
3
18. /jx3 4x6j0jxj 4jxj 6 and max. jx j/3, so jx3 4x6j0
3
/3 4×36 45: So the result is true for M E/45.
4 3
19. jx4 2x3 1j0jxj 2jxj 1 and max. jxj /2, so jx4 2x1j0
/
www.EngineeringEBooksPdf.com
ANSWERS 733
22. The signs of a p /b p and a q /b q are the same, so (a p /b p )
(a q /bq )E/0, and thus a pq /a p b q /a q b p /b pq E/0, from which
the result then follows.
ab
23. (a/b)2 / (a/b)2 /4ab /0, so (a/b)2 E/4ab, and hence Eab:
2
24. If 2 /m /n , where m , n have no common factor, squaring shows that
2 /m2/n2, and so m2 /2 n2. As m , n are integers this asserts that m2
is even (it is divisible by 2) and thus m must be even, so we may set
m /2 p. The result 2 /m /n now becomes 2/2p /n or, after squar-
ing, n2 /2p2. This shows that this is even, and hence n is even, so we
may set n /2q . As m /2p and n /2q , the assumption that 2 is
rational shows that, contrary to hypothesis, m and n have a common
factor (it is 2). This contradiction implies that 2 cannot be represen-
ted as a rational number, and so it is irrational.
PROBLEMS 2
www.EngineeringEBooksPdf.com
734 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 3
15. (3, /1); [(y/3)2/4] /[(x/1)2/9] /1; vertical; y / /1 9/ (2/3) (x/1).
16. (1, /3); [(y/1)2/16] /[(x/3)2/4] /1; vertical; y / /3 9/ 2(x/3).
www.EngineeringEBooksPdf.com
ANSWERS 735
19. Vertical; vertex (2, /2); focus (2, /4); (x/2)2 / /8(y/2);
concave-down.
20. Horizontal; vertex (1, 3); focus (4, 3); (y /3)2 /12 (x /1); concave to
the right.
21. Horizontal; vertex (/2, /4); focus ( /3, /4); (y/4)2 / / 4 (x/2);
concave to the left.
22. Vertical; vertex (3, 5); focus (3, 8); (x /3)2 /12 (y/5); concave-up.
23. Vertical; vertex (/3, 1); focus (/3, /1); (x/3)2 / /8 (y/1);
concave to the left.
24. Horizontal; vertex (0, 3); focus (3, 3); (y /3)2 /12x ; concave to the
right.
25. x / /1/2 and y/ /2.
26. y / / (3/2)x.
27. x / /1 and y /x /1.
28. x /3/2 and y/ /5/2.
29. x /9/ 2, x /9/ 2 and y/0.
30. x /9/ 1 and y/1/x .
31. y /2(x /1) and y/ /2(x/1).
PROBLEMS 4
www.EngineeringEBooksPdf.com
736 ESSENTIALS OF ENGINEERING MATHEMATICS
x2 y2
8. / 1; an ellipse.
25 9
x2 y2
9. / 1; a hyperbola.
16 9
10. y2 /6x ; a parabola.
11. A heart-shaped curve lying on its side, which is symmetrical about the
polar axis, has a cusp at the origin and lies mainly to the left of the
origin.
12. A spiral starting from the origin and winding around the origin infi-
nitely many times as u increases (or decreases) from the value u/0.
The spiral winds anticlockwise around the origin when u E/0 and
clockwise when u 0/0.
13. A spiral about the origin which grows slower than the corresponding
spiral of Archimedes.
14. A curve with four symmetrically positioned loops centred on the origin
with their only points in common being at the origin (like two figures
eight at right angles to one another).
PROBLEMS 6
7 7! 8 8!
2. / 21, 56,
2 5! 2! 3 5! 3!
5 5! 9 9!
/ 5, 84:
4 1! 4! 3 6! 3!
9
3.
/ 36; the negative sign ocurs because when b is replaced by
7
2 7 2 7 9
/b the term a (/b ) / /a b ; and 84:
6
8 8
4. / 28 and 70:
6 4
PROBLEMS 7
www.EngineeringEBooksPdf.com
ANSWERS 737
www.EngineeringEBooksPdf.com
738 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 8
1. Odd.
2. Neither.
3. Even.
4. Neither.
5. Even.
6. Neither.
7. Odd.
8. Even.
9. Odd.
10. Neither.
11. f( /x )/f(x ), f (/x) /g (x ), so f(/x ) g (/x )/f(x ) g(x ).
12. f( /x )/ /f(x ), g(/x )/ /g(x ), so f (/x ) g (/x )/f (x ) g (x ).
13. f( /x )/f(x ), g (/x )/ /g(x ), so f (/x ) g (/x )/ /f (x ) g (x ).
14. y /(4 /x )/2.
15. y /(x /11)/5.
16. y /x /2; the original line, and hence the reflected line, are parallel to
y /x .
17. y /(x/1) /3.
18. y /(6 /x )/4.
19. 2p .
20. p.
21. 4p ; this is the smallest period common to both functions.
22. 4p ; this is the smallest period common to both functions.
23. 6p ; this is the smallest period common to both functions.
24. 8p ; this is the smallest period common to both functions.
25. 3p ; this is the smallest period common to both functions.
www.EngineeringEBooksPdf.com
ANSWERS 739
PROBLEMS 9
1. f 1(x )/(x/16)/3.
2. f 1(x )/y/2 /x .
3. f 1(x )/9/x2, x E/0.
4. f 1(x )/4/x2, x E/4.
5. f 1(x )/1/x , for /B/x B/, x "/0.
1
6. f (x )/1/1/x, for x "/0.
1
7. f (x )/x /(2/x ), for x "/2.
1
8. f (x )/(3x/2)/(1/x ), for x "/1.
9. arcsin ( /1/2) / /p /4.
10. arctan ( /3) /p /3.
11. arccos 0.3 /1.266 10 radians.
12. arctan 2 /1.107 15 radians.
13. x / /2.
3 1
14. /x :
4 42
1 1
15. /x :
2 22
16. x / /0.078 39.
PROBLEMS 10
1. (a) /i; (b) 1; (c) i; (d) /1; (e) /1; (f) 1; (g) /i.
2. (a) 3i; (b) 5i; (c) 7i; (d) ip.
3. (a) 4 /i; (b) 2/3i; (c) 1/2i; (d) 4 /2i.
4. (a) 5 /5i; (b) /4/12i; (c) 5/5i.
5. (a) 4 /14i; (b) 39/33i;
(c) 28 /45i.
1 1
6. (a) (1/7i)/5; (b) (1 /7i)/10; (c) / i:
2 4
7. (a) (6 /2i)/5; (b) (13 /i)/34; (c) i.
www.EngineeringEBooksPdf.com
740 ESSENTIALS OF ENGINEERING MATHEMATICS
11. Equating real parts gives a /2b/1. Equating imaginary parts gives
b /2a /2, so a / /5/3, b/ /4/3.
12. Equating real parts gives a/2b /2. Equating imaginary parts gives
6b /a /1, so a /5/4, b /3/8.
13. Equating real parts gives (3a/4b)/13/1. Equating imaginary parts
gives (6b /2a)/13 /2, so a/ /1, b /4.
14. Equating real parts gives (a /2b )/5 /1. Equating imaginary parts
gives (b/2a)/5 /2, so a /5, b/0.
15. x /1 by inspection, so (x /1) is a factor.
(x3 1)=(x1) x2 x1,
remaining roots are roots of x2/x/1/0, namely
x(1 i3)=2
and
x (1 i3)=2:
16. x /2 by inspection, so (x /2) is a factor.
(x3 2x2 5x10)=(x2)x2 5,
remaining roots are roots of x2/5/0, namely
xi5
and
xi5:
17. x / / 1 by inspection, so (x/1) is a factor.
(2x3 3x2 6x5)=(x1)2x2 x5,
remaining roots are roots of 2x2/x/5 /0, namely
x (1 i39)=4
and
x (1 i39)=4:
18. x /1 by inspection, so (x / 1) is a factor.
(x3 x2 8x8)=(x 1) x2 8,
remaining roots are roots of x2/8/0, namely
xi8
and
x i8:
www.EngineeringEBooksPdf.com
ANSWERS 741
PROBLEMS 11
1. z1/z2 /5/3i, z1 /z2 /1 /i.
2. z1/z2 /3 /5i, z1 /z2 /5/i.
3. z1/z2 /4, z1 /z2 / /2i.
4. z1/z2 /1 /5i, z1 /z2 / /3/i.
5. z1/z2 /3/5i, z1 /z2 /3 /3i.
6. z1/z2 / /3/3i, z1 /z2 / /3/3i.
7. (a) jz j/20; (b) jz j/5; (c) jz j/2.
8. (a) /½z½/10; (b) /½z½/5; (c) /½z½/5.
9. (a) jz1j/5, jz2j/2, jz1/z2j /5, jz1 /z2j /29, so
½z1 z2 ½ 5B½z1 ½½z2 ½ 52
and
½½z1 ½½z2 ½½ ½52½ 52B½z1 z2 ½ 29:
(b) jz1j/20, jz2j/5, jz1/z2j/45, jz1 /z2j /5, so
½z1 z2 ½ 45 ½z1 ½½z2 ½ 205
and
½½z1 ½½z2 ½½205½z1 z2 ½ 5:
(c) jz1j/52, jz2j/13, jz1/z2j /13, jz1 /z2j /117, so
½z1 z2 ½ 13B ½z1 ½½z2 ½ 5213
and
½½z1 ½½z2 ½½ 5213B½z1 z2 ½ 117:
PROBLEMS 12
1. x /3 cos (3p /4), y /3 sin (3p /4), so x/ / (3/2), y /3/2.
2. x /5 cos ( /3p /4), y/5 sin (/3p /4), so x /(5/2), y/ /(5/2).
3. x /4 cos (2p /3), y /4 sin (2p /3), so x/ /2, y /23.
4. x /2 cos ( /p /4), y /2 sin (/p/4), so x/2, y / /2.
5. x /7 cos (5p /6), y /7 sin (5p /6), so x/ / (73/2), y /7/2.
6. x /6 cos (p /6), y /6 sin (p /6), so x /33, y /3.
7. r /jzj /8, u /arg z /p/4.
8. r /jzj /11, u /arg z/p/2.
www.EngineeringEBooksPdf.com
742 ESSENTIALS OF ENGINEERING MATHEMATICS
parctan j j
3
3
parctan13p=4:
11. r /jzj /[3 /(/2)2]1/2 /13,
2
u arg z
arctan j j
2
3
0:5880 rad:
12. r /jzj /4, u/arg z/p.
p p p p
13. (a) /z1 z2 6 cos i sin ,
4 3 4 3
7p 7p
6 cos i sin :
12 12
" ! !#
3 p p
(b) /z1 =z2 cos i sin ,
2 12 12
3 p p
cos i sin :
2 12 12
p p p p
14. (a) /z1 4 cos i sin 4 cos i sin ,
6 6 6 6
p p p p
so /z1 z2 12 cos i sin
6 3 6 3
p p
12 cos i sin 636i:
6 6
" ! !#
4 p p p p
(b) /z1 =z2 cos i sin ,
3 6 3 6 3
www.EngineeringEBooksPdf.com
ANSWERS 743
p p 4i
cos i sin :
2 2 3
p p p p
15. (a) /z2 5 cos i sin 5 cos i sin ,
4 4 4 4
p p p p
so /z1 z2 20 cos i sin
3 4 3 4
p p
20 cos i sin :
12 13
" ! !#
4 p p p p
(b) /z1 =z2 cos i sin
5 3 4 3 4
4 7p 7p
cos i sin
:
5 1212
30
p p
16. /(1 i)30 2 cos i sin
4 4
30p 30p
215 cos i sin
4 4
3p 3p
215 cos i sin 215 i:
2 2
5
1 i (1 i)5 p p
17. / : Now 1 i2 cos i sin and
3 i (3 i)5 4 4
3 i p p
3 i2 2 cos i sin ,
2 2 6 6
so
p p 5
2 cos i sin
1 i 5 4 4
( )5
3 i p p
2 cos i sin
6 6
2 3
5p 5p
cos i sin
1 6 6 4 4 7
7
6 7
2 5=2 4 5p 5p 5
cos i sin
6 6
( )
1 5p 5p 5p 5p
cos i sin
25=2 4 6 4 6
www.EngineeringEBooksPdf.com
744 ESSENTIALS OF ENGINEERING MATHEMATICS
1 50p 50p 1 p p
cos i sin cos i sin :
25=2 24 24 25=2 12 12
18. Proceed as in the answer to problem 17 using the facts that
p p
1 i3 2 cos i sin
3 3
and
p p
1 i2 cos i sin ,
4 4
to show that
1 i3 20
512(1 i3):
1 i
1 i tan u cos u i sin u
19. / , so
1 i tan u cos u i sin u
n
1 i tan u (cos u i sin u)n
1 i tan u [cos (u) i sin (u)]n
cos nu i sin nu
cos (nu) i sin (nu)
cos nu i sin nu
:
cos nu i sin nu
The result then follows after division by cos nu .
cos u i sin u (cos u i sin u) (cos u i sin u)
20. z
/
cos u i sin u (cos u i sin u) (cos u i sin u)
(cos u i sin u)2 cos 2u i sin 2u:
PROBLEMS 13
1. 1, i, / 1, /i.
1=6 (12k 11)p (12k 11)p
2. /w 2
k cos i sin ,
6 6
with k /0, 1, . . . , 5.
www.EngineeringEBooksPdf.com
ANSWERS 745
2kp 2kp
3. wk 51=6
/ cos 0:1545 i sin 0:1545 ,
3 3
with k /0, 1, . . . , 5.
1=8 kp kp
4. /w 29
k cos 0:2976 i sin 0:2976 ,
2 2
with k /0, 1, 2, 3.
1=6 2kp 2kp
5. /w 10
k cos 0:1073 i sin 0:1073 ,
3 3
with k /0, 1, 2.
1=2 (2k 1) p (2k 1) p
6. /w 2
k cos i sin ,
4 4
with k/0, 1, 2, 3. Thus w0 /1/i, w1 / / 1/i, w2 / / 1 /i and w3 /1/i.
(1 4k) p (1 4k) p
7. wk cos
/ i sin ,
12 12
with k /0, 1, 2, . . . , 5.
2kp 2kp
8. wk cos
/ i sin ,
n n
with n/0, 1, . . . , n/ 1. These are called the n th roots of unity.
PROBLEMS 14
1. 11/7.
2. 0.
(x 2) (x 3) x3
3. /lim lim 1:
x02 (x 2) (2x 1) x02 2x 1
4. 4/3
5. /3.
6. 3x2.
7. 6.
8. 2.
9. 0.
10. 22/3.
11. 3/2.
12. 1/16.
13. 5/7.
www.EngineeringEBooksPdf.com
746 ESSENTIALS OF ENGINEERING MATHEMATICS
x4 64x x (x3 64)
14. lim
/ lim
x04 (x 1) tan 3(x 4) x04 x 1 tan 3(x 4)
( )
x 2 x4
lim × lim (x 4x 16)
x04 (x 1) x04 tan 3(x 4)
4 48 64
× :
3 3 3
sin mx sin mx x sin mx m
15. Write , and then lim :
sin nx x sin nx x00 sin nx n
16. 1.
17. /7.
18. Use the fact that sin p (x / 1) /sin p x cos p/cos p x sin p/ /sin p x
to write
x 1 (x 1)
:
sin px sin p (x 1)
Then setting u /x / 1,
x 1 (x 1) u 1
lim lim lim :
x01 sin px x01 sin p (x 1) u00 sin pu p
19. Write
x sin 2x (x=sin 5x) (sin 2x=sin 5x)
x sin 5x (x=sin 5x) 1
so
x sin 2x (x=sin 5x) (sin 2x=sin 5x)
lim lim
x00 x sin 5x x00 (x=sin 5x) 1
(1=5) (2=5)
1
:
(1=5) 1 4
20. Write
sin x (sin x=sin 7x)
,
sin 6x sin 7x (sin 6x=sin 7x) 1
then
sin x (sin x=sin 7x)
lim lim
x00 sin 6x sin 7x x00 (sin 6x=sin 7x) 1
(1=7)
1:
(6=7) 1
www.EngineeringEBooksPdf.com
ANSWERS 747
21. Use the trigonometric identity cos (A /B ) /cos (A/B )/2 sin A sin B
and set A /B /3x , A/B /7x . Then A /5x , B /2x and so cos 3x /
cos 7x/2 sin 5x sin 2x.
Then
cos 3x cos 7x sin 5x sin 2x
lim 2 lim × lim
x00 x2 x00 x x00 x
25220:
PROBLEMS 15
www.EngineeringEBooksPdf.com
748 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 16
1. df /dx / /3 sin x/7 cos x ; f (1)(p /4)/22.
13 23
3 1c, giving c
12 12
www.EngineeringEBooksPdf.com
ANSWERS 749
5p p 5p2
0 × c, giving c ,
2 2 4
and thus the tangent line is y/ / (5p /2)x/(5p2/4).
16. dy /dx/6x2/2x , so when y(1)(x )/4 it follows that x must satisfy the
equation 4/6x2/2x or, equivalently, 3x2/x/2/0. The roots of this
equation are x / / 1 and x /2/3. We have y (/ 1) /0 and y (2/3) /
55/27, so the required points are (/ 1, 0) and (2/3, 55/27).
17. y(1=2) 1, so P is the point (1=2,/1): Now dy /dx /2p cos 2px /
/
3p sin 3px , so y(1) (1=2)p and thus the tangent to the curve at P
has gradient p . Thus the gradient of the line normal (perpendicular)
to the tangent at P (and thus normal to the curve itself at P ) must be
/ 1/p (see Section 3). Consequently the required line y/mx/c
through the point (1=2, 1) has gradient m / / 1/p , and thus 1 /
/ 1/p . 1=2/c , so that c /1/(l/2p ). The required line is thus
1 1
y x 1 p:
p 2
18. y (1) / /2, so P is the point (1, /2). Now dy/dx /6x /2, so y(1)(l) /
4 and thus the tangent to the curve at P has gradient 4. Thus the
gradient of the line normal to the tangent at P must be / 1/4.
Consequently the required line y/mx/c through the point (1, /2)
has gradient m / / 1/4, and thus
21=4 × 1c, so that c(7=4):
1
The required line is thus y x7=4:
4
19. Set u/5x and differentiate tan u to obtain
d du
[tan 5x]sec2 u 5 sec2 5x,
dx dx
or write tan 5x /sin 5x /cos 5x and differentiate the quotient.
20. Set u/x2 and differentiate cot u to obtain
d du
[cot x2 ]cosec2 u 2x cosec2 x2 :
dx dx
21. Set u/(1/x2)l/2 and differentiate sec u to obtain
d du
[sec (1x)1=2 ] sec u tan u
dx dx
x
sec (1x2 )1=2 tan (1x2 )1=2 :
(1 x)1=2
www.EngineeringEBooksPdf.com
750 ESSENTIALS OF ENGINEERING MATHEMATICS
df 3 cos 3x 2 sin 2x sin 3x
22. / :
dx cos 2x cos2 2x
df
23. / 6 tan 3x6 tan3 3x6 tan 3x sec2 3x:
dx
df 2x cos 2x 2 sin 2x
24. / :
dx (1 x2 )2 1 x2
25. Set u/cos 3x and differentiate sin u to obtain
df
3 sin 3x cos (cos 3x):
dx
df 3x(1 cos 5x) 5 sin 5x
26. / 2 :
dx (x2 1)5=2 (x 1)3=2
df
45 cos 2x sin2 (5x 1) cos (5x 1)6 sin x sin3 (5x 1):
dx
28. Set u /2x/ 1 and v /sin u and differentiate f(x )/(2 /v2)l/2, using the
df df dv du
repeated chain rule , to obtain
dx dv du dx
29. Set u /x2/2 and v /cos u and differentiate f(x )/(4/v2)3/2, using the
repeated chain rule as in the above answer, to obtain
df
3x sin (x2 2)[4cos (x2 2)]1=2 :
dx
30. Set u /2x and v /1/sin u and differentiate f(x )/(3/v2)l/2, to obtain
www.EngineeringEBooksPdf.com
ANSWERS 751
2
df df
35. / cos 3x3x sin 3x, / 2 6 sin 3x9x cos 3x,
dx dx
d3 f
27 cos 3x27x sin 3x:
dx3
df d2 f
36. / 12x2 (1x3 )3, / 2 12x (2 11x3 ) (1x3 )2,
dx dx
3
df
24 (55x6 29x3 1) (1x3 ):
dx3
df
37. / cos x cos 2x2 sin x sin 2x,
dx
d2 f
5 sin x cos 2x4 cos x sin 2x,
dx2
d3 f
14 sin x sin 2x 13 cos x cos 2x:
dx3
df cos x sin x
38. / ,
dx 1 x (1 x)2
d2 f 2 cos x (x2 2x 1) sin x
/
,
dx2 (1 x)2 (1 x)3
PROBLEMS 17
d p
1. / [sin kx] k cos kx k sin ðkx Þ,
dx 2
2
d d
[sin kx] [k cos kx]k2 sin kx k2 sin (kxp),
dx2 dx
d3 d 3p
[sin kx] [k2 sin kx]k3 cos kx k3 sin kx ,
dx3 dx 2
d4 d
[sin kx] [k3 cos kx]k4 sin kx k4 sin (kx2p),
dx 4 dx
and so as this pattern repeats itself with further differentiation
dn np
[sin kx]kn sin kx ,
dxn 2
for n /1, 2, 3, . . . .
2. Proceed as in the above answer.
www.EngineeringEBooksPdf.com
752 ESSENTIALS OF ENGINEERING MATHEMATICS
for n /1, 2, . . . .
4. Set f(x) /x2, g(x )/cos kx to obtain
dn 2 np n 1
[x cos kx]x2 kn cos kx 2nkn 1 x cos kx p
dxn 2 2
n2
n (n 1) kn2 cos kx p ,
2
for n /1, 2, . . . .
5. 1 (1kx) g(x), so set f (x)1kx:
/
Then
dn dn g dn 1 g
[1] 0(1kx) nk ,
dxn dxn dxn 1
and so
dn 1 kn dn 1 1
:
dxn 1 kx (1 kx) dxn 1 1 kx
www.EngineeringEBooksPdf.com
ANSWERS 753
and setting f(x) /1 /2x2 proceed as in Example 17.2 using the fact
that df/dx / /4x , d2f /dx2 / /4 and dn f/dxn /0 for n /2 to obtain
dn g dn 1 g dn2 g
(12x2 ) 4nx 2n (n 1) 0,
dxn dxn 1 dxn2
for n E/2.
dg 4x
,
dx (1 2x2 )2
d2 g 4 (6x2 1)
,
dx2 (1 2x2 )3
PROBLEMS 18
3
1. /dy x1=2 dx:
2
2. /dy 4 cos (4x 1)dx:
11. dy [(x cos xsin x) cos 2x2x sin x sin 2x] dx:
/
www.EngineeringEBooksPdf.com
754 ESSENTIALS OF ENGINEERING MATHEMATICS
" #
16
12. /dy dx:
(x 9)2
1 1
13. /dy dx:
2x1=2 4x5=4
PROBLEMS 19
df 4
1. / 2
:
dx 16x 1
df 3x
2. / arcsin 3x :
dx (1 9x2 )1=2
df
3. / (1x2 )1=2 2x arcsin x:
dx
df 3x2
4. / 6x arcsec 3x :
dx ½x½ (9x2 1)1=2
df 1
5. / :
dx [(4 x) (x 2)]
df 1
6. / :
dx 2 x(x 1)
df x
7. / :
dx ½x½ (81 x2 )1=2
df x
8. / :
dx ½x½ [(x2 1) (x2 2)]
df 2x2
9. / arctan (1x2 ) 4 :
dx x 2x2 2
df 2x
10. / :
dx ½x½ [(x2 1) (x2 2)]
www.EngineeringEBooksPdf.com
ANSWERS 755
df x 1x
11. / arctan :
dx 2 x(4 x)
df x5=2
12. / 3x2 arcsin x :
dx 2 (1 x)
PROBLEMS 20
dy 1 2x 3y dy 4
1. / ; :
dx 3x 2y dx (1, 1) 5
2
dy 2x 2xy dy 5
2. / 2 2
; :
dx 2x y 3y dx (1, 2) 8
dy 2x y dy 11
3. / ; :
dx 2y x dx (4, 3) 10
3
dy 2x 2xy dy
4. / 2 2 ; 0:
dx 3x y 3 dx (3, 1)
2
dy dy 2
5. / 2; :
dx (1, 0) dx2 (1, 0) 3
dy dy dy
6. /cos (xy) 1 3y3x 0, so 1;
dx dx dx p, p
2 2
2
dy d2 y dy d2 y
/ sin (xy) 1 cos (xy) 2 6 3x 2 0,
dx dx dx dx
so
d2 y 12
:
dx2 p, p 3p 2
2 2
PROBLEMS 21
dy
1. / 1:
dx
dy b
2. / cot t:
dx a
dy 3 9
3. / 1 2 :
dx t t
4. /
dy
dx
cot
1
2
ð Þ
t :
dy
5. / t:
dx
www.EngineeringEBooksPdf.com
756 ESSENTIALS OF ENGINEERING MATHEMATICS
dy t1
6. / :
dx t(t2 1)
dy b
7. / :
dx a
dy b
8. / tan t:
dx a
dy t(2 t3 )
9. / :
dx 1 2t3
dy
10. / tan t:
dx
2
dy dy
11. / 1, 23=2 :
dx tp=4 dx2 tp=4
2
dy dy 4
12. / 5=9, 2
:
dx t2 dx t2 243
2
dy dy 4
13. / 3, :
dx tp=3 dx2 tp=3 a
2
dy 4 dy 27
14. / , 2
:
dx t2 5 dx t2 250
d3 y 3 cos t
15. / :
dx3 a2 sin5 t
d3 y cos2 t 4 sin2 t
16. / 2 :
dx3 9a cos7 t sin3 t
PROBLEMS 22
1. e1=4 :
/
2. /e2=5 :
3n 3n
n 4 n 4 1
3. / lim 3 n1 lim 3 e4=3 :
n0 3 n0 3 3n
5n 5n
1 1 1
4. lim 5n n1 lim 5n
/ e1=5 :
n0 5 n0 5 5n
5. e2x :
/
2n 2n
n cos x n cos x 1
6. / lim 2 n2 lim 2 exp(cos x=4):
n0 2 n0 x 2n
www.EngineeringEBooksPdf.com
ANSWERS 757
2
dy dy
7. / sin e cos x , ( sin2 x cos x)e cos x :
dx dx2
dy 3 d2 y 3
8. / 3x2 ex , 3x(23x3 )ex :
dx dx2
dy 1 1=x d2 y 2x 1 1=x
9. / e , e :
dx x2 dx2 x4
2 2 dy 2
10. y ex ×ex exx ,
/ (12x)exx ,
dx
d2 y 2 2
/ [2(12x)2 ]exx (34x4x2 )exx :
dx2
dy k kx d2 y k2 kx
11. / (e ekx ), (e ekx ):
dx 2 dx2 2
dy k kx d2 y k2 kx
12. / (e ekx ), (e ekx ):
dx 2 dx2 2
dy 1 x d2 y (x 1) x
13. / e , e :
dx 2x dx2 4x3=2
dy d2 y
14. / 2x exp (1x2 ), (4x2 2) exp (1x2 ):
dx dx2
15. Find dy /dx from
dy dy
2xey x2 ey 32y 0:
dx dx
16. Find dy /dx from
2 2 dy dy dy
ey 2xyey 5y5x 2x 0:
dx dx dx
PROBLEMS 23
www.EngineeringEBooksPdf.com
758 ESSENTIALS OF ENGINEERING MATHEMATICS
10.
/ 5=2:
11. 1=(x1):
/
12. 1=x:
/
1
13. / 2 ln (3x) e2x :
x
14. (ex 2 sin x cos x)=(2cos2 xex ):
/
16.
/ tan x:
17. 2(cot 2xtan 2x):
/
18. / tan x:
2 sin2 2x
19. 2 cos 2x ln ( cos 2x)
/ :
cos 2x
2
2x ex [1 (x2 1) ln (x2 1)]
20. / :
x2 1
(x 1)(3x2 10x 6)
21. / :
(x2 3)7=2
3(x 3)2 (3x 1)
22. / :
(x2 1)5=2
ex ex (ex 2)
23. / :
ex 3 (ex 3)2
x(2x2 3)
24. / :
(x2 3)5=2 (x2 2)1=2
2 1
25. / ln x ln x exp(xx ln xx ln x):
x
www.EngineeringEBooksPdf.com
ANSWERS 759
1x
32. / :
x(ln x x)
1
33. / :
x(1 x2 )
tan x
34. / :
1 cos x
x
35. / :
(x2 3x)
2e2x
36. / :
(e4x 1)
2
37. / :
e4x 1
38.
/ tan x sin2 x:
dy 2 cos t
:
dx 1 cos t
dy
40. / et :
dx
PROBLEMS 24
1. Substitute tanh x/(ex /ex )/(ex /ex ) and sech x /2/(ex /ex )
into the left-hand side and simplify to reduce it to unity. If the identity
cosh2 x /sinh2 x /1 is accepted as true, the result also follows by
dividing this identity by cosh2 x and rearranging terms.
2. Substitute coth x/(ex /ex )/(ex /ex ) and cosech x /2/(ex /ex )
into the left-hand side and simplify to reduce it to unity. If the identity
cosh2 x /sinh2 x /1 is accepted as true, the result also follows by
dividing this identity by sinh2 x and rearranging terms.
3. Substitute for the functions on the right-hand side and simplify to
show it reduces to (e(xy )/e (xy ))/2 /cosh (x /y ).
4. Substitute for the functions on the right-hand side and simplify to
show it reduces to (e2x /e2x )/2 /cosh 2x .
www.EngineeringEBooksPdf.com
760 ESSENTIALS OF ENGINEERING MATHEMATICS
12.
/ (ex 1) sech (ex x1) tanh (ex x1):
2x
13. / cosech2 (2x2 3)1=2 :
3)1=2
(2x2
14.
/ (ex 2x3) cosech (ex x2 3) coth (ex x2 3):
1 1
15.
/ sinh (x2 1) cosh (x2 1):
x2 (x2 1)
1
16. / 1 sech (3x1)3(x ln x) sech (3x1) tanh (3x1):
x
dx dy
17. / sech2 t, / sinh t, so
dt dt
dy sinh t
sinh t cosh2 t:
dx sech2 t
However, sinh 2t /2 sinh t cosh t, so
dy 1
sinh 2t cosh t:
dx 2
As tanh2 t/sech2 t/1 the explicit equation of the curve is
1
x2 1:
y2
dx dy
18. / t sinh t, / t cosh t, /so
dt dt
dy dy dx
dx dt = dt
coth t:
www.EngineeringEBooksPdf.com
ANSWERS 761
! !
d2 y d dy dt d dy
dx2 dx dx dx dt dx
1 d 1
(coth t) :
t sinh t dt t sinh3 t
dx dy
19. / a sinh t, a cosh t, so
dt dt
dy dy dx
dx dt dt
coth t: =
Now
! !
d2 y d dy dt d dy
dx2 dx dx dx dt dx
1 d 1
(coth t) :
a sinh t dt a sinh3 t
so
! ! ! !
d3 y d d2 y dt d 1 1 d 1
dx3 dx dx2 dx dt a sinh t a sinh t dt a sinh3 t
3 cosh t
:
a2 sinh5 t
PROBLEMS 25
1. Start from the result x /cosh y/(e y /ey )/2 and solve for e y, hence
find y /arcosh x .
2. Start from the result x /tanh y /(e y /ey )/(e y /ey ) and solve for
e y, hence find y /artanh x .
3
8. / :
(9x2 30x 26)1=2
9. / sec x:
2x
10. / :
(4 x2 )1=2 (x2 2)1=2
11. / artanh [tanh ( sin2 x)] sin2 x, so
d d
[artanh ftanh ( sin2 x)g] [sin2 x] 2 sin x cos x:
dx dx
2 cos x
12. / :
(1 4 sin2 x)1=2
www.EngineeringEBooksPdf.com
762 ESSENTIALS OF ENGINEERING MATHEMATICS
d d
[arcosh fcosh (x2 1)g] [x2 1]2x:
dx dx
14. 1=x:
/
and so
! !
2 dy 3 y2 dy d 3 y2
4xy2x artanh x artanh 0,
dx y2 3 dx dy y2 3
and thus
! !
dy 2 3 y2 dy 1
4xy2x artanh x 0:
dx y2 3 dx y
PROBLEMS 26
1. Max. at x /0, min. at x /2.
2. Max. at x /9/3, min. at x /0.
3. Max. at x /0, min. at x /2; asymptotes x /1 and y /x /1.
4. Max. at x / /1, min. at x /1; asymptote x/0.
5. Max. at x /0; asymptotes x /9/2, y /0.
6. Max. at x /4; asymptotes x /2, y /0.
7. Min. at x / /2.
8. Max. at x / /1.
9. Max. at x /1, asymptote y /0.
10. Min. at x /a /e.
11. Max. at x /(p /4)/2kp , min. at x /(5p /4)/2kp with k /0, 9/1,
9/2, . . . .
12. Min. at x /6, stationary point at x /0 across which the function is
monotonic increasing; asymptotes x/2 and y (1=4) x1:
13. Max. at x / /1, min. at x /0.
www.EngineeringEBooksPdf.com
ANSWERS 763
Fig. 26.1
3 2
16. f(x )/x /3x /x/1 is continuous and differentiable for /2 0/x 0/4,
so the conditions of the theorem are satisfied. Setting a / /2, b /4 in
the theorem, the slope of chord AB in Fig. 73 given by (f (b)
f (a))=(ba) 7: Differentiating gives f ?(x)3x2 6x1, so as we
must have f ?(X ) 7 the theorem shows that the required value of
X where the tangent to the curve is parallel to the chord AB must
satisfy the equation 7 3X 2 6X 1: Thus, X must be a solution
of the quadratic equation X2 /2X /2/0, showing that /X1
/13 and X 13, at which points y3 and y3, re-
2
spectively. Both values of X lie inside the interval /20/x 0/4, so in
this case there are two points where the conditions of the theorem are
satisfied. Reasoning as in Solution 15, using the two points (13,
/ 3) and (13,3) through which the tangent lines with slope 7
must pass shows that the equations of the two tangent lines are y
7637x and y7637x: The curve y / x3 /3x2/x/
1, the chord corresponding to AB in Fig. 73 and the two tangent line at
the points (Xi , f(Xi )) for i /1, 2 are shown in Fig. 26.2.
www.EngineeringEBooksPdf.com
764 ESSENTIALS OF ENGINEERING MATHEMATICS
Fig. 26.2
17. 1.
18. 6.
19. 2/3.
20. /1/2.
21. 1/2.
22. 2/3.
23. 1.
24. 1.
25. /62.
26. 1/2.
27. 0.
28. 0.
29. /1/2
30. 4.
31. 0.
32. 0.
33. 3.
34. 0.
35. 2.
36. 0.
37. 1/2.
www.EngineeringEBooksPdf.com
ANSWERS 765
PROBLEMS 27
1.
2.
3.
www.EngineeringEBooksPdf.com
766 ESSENTIALS OF ENGINEERING MATHEMATICS
4.
11. The equation of the contour lines when projected on to the (x, y )-plane is
www.EngineeringEBooksPdf.com
ANSWERS 767
x2 y2
constant,
4 16
which is equivalent to
xyk (k 0):
Thus when projected onto the (x, y)-plane, the contour lines are the
straight lines
y xk:
This is in agreement with the U -shaped surface shown in Fig. 79, which
can be visualized as a sheet of paper bent in a U -shape with the bottom
of the bend lying along the line y/ /x (i.e., corresponding to k /0).
This surface is an example of what is called a ruled surface because it is
generated by a family of straight lines.
PROBLEMS 28
1. 9.
2. 0.
3. 1/3.
4. 3/22.
5. 0.
6. 0.
7. Limit does not exist.
8. Limit does not exist because when x , y are small, sin xy :/xy, so
setting y/kx shows that
sin xy kx2 k
lim lim ,
(x, y)0(0, 0) x y
2 2 2
x00 x k x 2 2 1 k2
www.EngineeringEBooksPdf.com
768 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 29
@f @f
1. / 3x2 6xy2 , 6x2 y3y2 :
@x @y
@f 2x @f 2y
2. / , :
@x x2 y2 @y x2 y2
@f y2 @f x2
3. / , :
@x (x y)2 @y (x y)2
@f y @f x
4. / 2 , 2 :
@x x y2 @y x y2
@f @f
5. / 3 sin (3x4y), 4 sin (3x4y):
@x @y
@f 5t @f 5x
6. / , :
@x (x 2t)2 @t (x 2t)2
!
7. /
@f
u
@r 2(r r2 u2 )
,
@f
@u
r
1 ru2
:
@f @f
8. / cot(x2y), 2cot(x2y):
@x @y
@f 3y @f 3x
9. / , :
@x (3y 2x)2 @y (3y 2x)2
10. The result follows from the fact that
@w 1 @w 1
and :
@x 2x(x y) @y 2y(x y)
www.EngineeringEBooksPdf.com
ANSWERS 769
and
!
@f 1 @ @f 1
, so :
@y 2y(x y) @x @y 4y(x y)3=2
substituting into the left-hand side of the equation and using the
definition of u .
www.EngineeringEBooksPdf.com
770 ESSENTIALS OF ENGINEERING MATHEMATICS
@3f
19. / xy cos (xy)2x sin (xy):
@x @y2
20. The result follows by showing that
@2u
9a2 exp[3(xat)]a2 exp(xat)
@t2
and
@2u
9 exp[3(xat)]exp(xat):
@x2
PROBLEMS 30
@f 1 @f x1=2
8. / , 3=2 , so
@x 2x1=2 y1=2 @y 2y !
df 1 1
100 100 dx dy
f 2x 2y
!
1 1
50 dx dy :
x y
2
dy 9x y 2y2 2x
9. / :
du 3x3 4xy 2y
www.EngineeringEBooksPdf.com
ANSWERS 771
dy sinh (x 2y 1) 2x
10. / :
dx 2 sinh (x 2y 1) 4y
@f @f
1 sin (x2yz), 2z2 2 sin (x2yz)
@x @y
and
@f
4yzsin (x2yz):
@z
@f 2xz @f 4yz
2yz2 3, 2xz2
@x x2 2y2 1 @y x2 2y2 1
and
@f
ln (x2 2y2 1)4xyz:
@z
PROBLEMS 31
dw 3 3
1. / 4t 2 exp 2t2 :
dt t t
dw 6t 4 t2
2. / cosh :
dt (1 t2 )2 1 t2
dw
3. / 3t2 4 sin t cos t8 tan t sec2 t:
dt
dw 1 t3
4. / 3 :
dt (t 2)2
www.EngineeringEBooksPdf.com
772 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 32
@F @f @f @F @f @f
1. / 2u 2v , 2v 2u ,
@u @x @y @v @x @y
from which the first result follows after making use of the fact that x/
u2/v2 and y/2uv. The last part follows by using the same form of
reasoning as in Example 32.2 after making use of the fact that
@ @ @
2u 2v :
@u @x @y
@F @f @f @F @f @ @
2. / (3s2 2) i and s : Thus s , and so
@s @x @y @t @y @t @y
@2F @ @F @ @f @f
(3s2 2) t
@t @s @t @s @t @x @y
! !
2 @ @f @f @ @f
(3s 2) t
@t @x @y @t @y
! !
@ @f @f @ @f
(3s2 2)s ts
@y @x @y @y @y
www.EngineeringEBooksPdf.com
ANSWERS 773
@f @2f @2f
(3s3 2x) ts :
@y @x @y @y2
@F @f @f @F @f @f
3. / 2u v , 2v u
@u @x @y @v @x @y
@ @ @
/ 2u v , so
@u @x @y
@2F @ @F @ @f @f
/ 2u v
@u2 @u @u @u @x @y ! !
@f @ @f @ @f
2 2u v
@x @u @x @u @y
!
@f @ @ @f
2 2u 2u v
@x @x @y @x
!
@ @ @f
v 2u v
@x @y @y
The expression for @ 2 F =@u2 then follows after using the fact that
@ @ @
/ r sin u r cos u ,
@u @x @y
together with the fact that
!
@f @f @F
r cos u sin u r :
@x @y @r
www.EngineeringEBooksPdf.com
774 ESSENTIALS OF ENGINEERING MATHEMATICS
@F @f @f @F @f @f
5. / 2u 2v , 2v 2u :
@u @x @y @v @x @y
The first result now follows by squaring and adding these results. It
follows from the above results that
@F @F @f
u v 2(u2 v2 ) :
@u @v @x
However, if
@F @F
u v 0,
@u @v
it must follow that 2(u2 v2 )@f =@x 0: The factor 2(u2 v2 )0, so
@f =@x 0, which implies the f is a function of y only.
@v @V @s @V @t 2x @V 2 2 @V
6. / 2 2
2xex y
@x @s @x @t @x x y @s @t
@V @V
/ 2x es t ,
@s @t
from which the result for (1=2x)(@V =@x) follows.
Similarly,
@v @V @s @V @t 2y @V 2 2 @V
2yex y
2
@y @s @y @t @y x y @s 2 @t
!
@V @V
2y es t ,
@s @t
www.EngineeringEBooksPdf.com
ANSWERS 775
@F 2xy @f y2 x2 @f
@y (x2 y2 )2 @u (x2 y2 )2 @v
@f @f
2uv (v2 u2 ) :
@u @v
If f (u , v ) is independent of v̇ we must have @f =@v0: Setting @f =@v
0 and eliminating @f =@u gives
@F @F
2xy (y2 x2 ) 0:
@x @y
PROBLEMS 33
1 3 3 2
1. / x x x2 xC:
3 2
2. Using the fact that (x3)=x3 (1=x2 ) (3=x3 ) to arrive at the solu-
tion
3 1
x2 C:
2 x
2 3=2 12 5=4
3. / x x C:
3 5
1 7x
4. / x xC:
7
sin 4x 4 3=2
5. / x C:
4 3
6. Use the fact that (x3 5x3)=x2 x(5=x)(3=x2 ) to arrive at the
solution
x2 3
5 ln ½x½ C:
2 x
4 x
7. / arctan C:
3 3
1 1
8.
/ cos 2xC ( cos2 x sin2 x)C
4 4
1
(12 sin2 x)C
4
1 1
sin2 xC
2 4
1
sin2 xC?:
2
www.EngineeringEBooksPdf.com
776 ESSENTIALS OF ENGINEERING MATHEMATICS
12. /
1
210
ln j
x 10
x 10
C: j
13. Express the integrand as the sum of two terms and then integrate to
obtain
3x7=6 (8 7x1=6 )
C:
28
14. Multiply the two factors in the integrand and then integrate the result
to obtain
2x5=2
xC:
5
15. / cosh 2xcosh2 xsinh2 x 12 sinh2 x,
so
1
sinh2 x ( cosh 2x1):
2
Thus
1
g sinh x g 2 ( cosh 2x1) dx
2
1 1
2 g cosh 2x dx 2 g 1×dx
1 1
sinh 2x xC:
4 2
As sinh 2x2 sinh x cosh x, this may also be written
1 1
g sinh x dx 2 sinh x cosh x 2 xC:
2
www.EngineeringEBooksPdf.com
ANSWERS 777
Thus
1
g cos 2x dx g 2 (1cos 4x) dx
2
1 1
2g1×dx
2 g cos 4x dx
1 1
x sin 4xC:
2 8
17. Base your approach on the solution to problem 16, and hence show
that
1 1 1 1
g
sin2 2x dx x sin 4xC x sin 2x cos 2xC:
2 8 2 4
1 x x x 1 2x
18. / sinh x (e e ), so e sinh x (1e ) and thus
2 2
1
g
ex sinh x dx
2 g
(1e2x ) dx
1 1 2x
2 g
1×dx
2 g
e dx
1 1
x e2x C:
2 4
19. Use the result that cosh (7x/3) /cosh 7x cosh 3/sinh 7x sinh 3 to
show that
1
g cosh (7x3) dx 7 ( sinh 7x cosh 3cosh 7x sinh 3)C
1
sinh (7x3)C:
7
www.EngineeringEBooksPdf.com
778 ESSENTIALS OF ENGINEERING MATHEMATICS
20. Use the result that sin (2x /1) /sin 2x cos 1 /cos 2x sin 1 to show that
1
g sin (2x1) dx
2
( cos 2x cos 1sin 2x sin 1)C
1
( cos 2x1)C:
2
PROBLEMS 34
1. 2 ln ½ x3½C:
/
2.
/ 3 ln ½ x2½C:
1
3. / sinh (6x3)C:
6
3
4. / (x5)5=3 C:
5
1
5. / cos (32x)C:
2
1
6.
/ cosh (14x)C:
4
1
7. / (5x4)6 C; set u 5x4:
30
1
8. / (1x3 )8 C; set u 1x3 :
24
1
9.
/ (12x2 )6 C; set u12x2 :
24
1
10. / (2x3 5)C; set u2x3 5:
3
1
11. / ln ½ 3 sin x5½C; set u 3 sin x5:
3
12.
/ 2 ln ½ 2 cos x7½C; set u 2 cos x7:
1
13.
/ exp (4x2 )C; set u 4x2 :
2
5
14. / ln ½ 2x2 3½C; set u 2x2 3:
4
2
15. / (5x3)C; set u5x3:
5
1
16. / ln [x2 (1x4 )]C; set u x2 to reduce the integral to
2
1 du 1 1
g 2
arcsinh uC ln [x2 (1x4 )]C:
2 (1 u ) 2 2
1 3 6 3
17. / ln ½ x (x 1)½C; set ux to reduce the integral to
3
1 du 1
g 2
3 (u 1) 3
ln ½ x3 (x6 1)½C:
1 2
18. / (ln x) C; set uln x:
2
www.EngineeringEBooksPdf.com
ANSWERS 779
1 1
19. / ln x ln 3 (ln x)2, write integral as
2 4
!
g ln 3x
2x
dx
1
2 g ln 3 ln x
x
dx
g x 2 g
ln 3 dx 1 ln x
dx
2 x
Then set u/x2/1 in the first integral and use logarithmic form of
arsinh.
22. arcsin x(1x2 )C; proceed in similar fashion to answer in
/
problem 21.
1
23.
/ C; set u ln x:
ln ½x½
2
24.
/ C; set uex :
ex
2
25.
/ C; set u e3x :
3e3x=2
1
26.
/ exp x C; set u2x1:
2
2 4x 1
27. / arctan C; complete square in denominator and then
7 7
make a change of variable.
28. /
1
27
ln j
x 7 2
x 7 2 j
C; complete square in denominator and then
root and
then make
a change of variable.
1
31. /arcsin (x1) C; complete square under the square root and
5
then make a change of variable.
www.EngineeringEBooksPdf.com
780 ESSENTIALS OF ENGINEERING MATHEMATICS
1
32. arcsin
/ (x1) C; complete square under the square root and
5
then make a change of variable.
33. (1=2)arcsin (4x1)C; complete square under the square root and
/
1 1
38. / arcsin x x(1x2 )C; obtained by setting xsin u to give
2 2
x2
g
(1 x2 ) g
dx sin2 u du
1
2 g (1 cos 2u) du
1 1
u sin 2uC
2 4
1 1
u sin u cos uC
2 2
1 1
arcsin x x(1x2 )C:
2 2
2
39.
/ sec h3 xC; obtained by setting ucosh x to give
3
sinh x sech4 x 2 2
g x
dx
u 4
du
g3u3
C
2
sech3 xC:
3
1 1
40. / arcsin (x1) sin [4 arcsin (x1)]C; obtained by setting
2 8
x 1sin2 u to give
1
2g
2
sin 2u du
www.EngineeringEBooksPdf.com
ANSWERS 781
1
2 g (1 cos 4u) du
1 1
u sin 4uC
2 8
1 1
arcsin (x1) sin [4arcsin (x1)]C:
2 8
1
41. / arctan (3 tan x)C; obtained by rewriting integral as
3
sec2 x dx
g 2
1 3 tan x
dx
g
( cos x 3 sin2 x)
2
45. /
1
4
1
ln j
tan x 2
tan x 2
1
j
C; set ttan x:
x
and set ttan :
2
PROBLEMS 35
1
1. / sin7 4xC:
28
1
2.
/ cos4 2xC:
8
1
3. / cosh8 3xC:
24
www.EngineeringEBooksPdf.com
782 ESSENTIALS OF ENGINEERING MATHEMATICS
1
4. / sinh5 5xC:
25
1
5. / tanh4 xC:
4
1 2
6. / (x 6x1)8 C:
16
1
7. / (3x3 6x1)5 C:
15
1
8. / ln ½ x2 4x1½C:
2
9. ln ½ 2x2 x1½C:
/
1
10. / ln ½ sin 4x½C:
4
1
11. / ln cosh 3xC:
3
1
12. / ln ½ sinh 6x½C:
6
1 x4
13. / e C:
4
1 sin 2x
14. / e C:
2
1
15. / exp(x2 2x3)C:
2
1 tan 2x
16. / e C:
2
1
17. / (1cos 2x)cos2 x, so
2
1
g g
2
sin x cos x exp (1cos 2x) dx sin x cos x e cos x dx
2
1 2
e cos x C:
2
1 tan2 x sec2 x
g tan x g
dx
tan x
dxln ½ tan x½C:
www.EngineeringEBooksPdf.com
ANSWERS 783
PROBLEMS 36
1
g
x sin x cos x cos 2x x(1 sin x) dx
4
2
1 x2
x sin x cos x
4 2 g
cos 2x x sin2 xC,
so
x2 x 1
g x sin2 x dx
4
sin x cos x cos 2xC:
2 8
1 2
9. / (x arctan xarctan xx)C; set uarctan x:
2
10. ex (x2 2x2)C; set uex :
/
x2 1 x
13. / arcsin x arcsin x (1x2 )C; set u arcsin x:
2 4 4
1 1
14. / 2x sin 3x (9x2 2) cos 3x C; set usin 3x:
9 3
x d
15. / [sin (ln ½x½) cos (ln ½x½)]C; write sin (ln ½x½) sin (ln ½x½) [x]:
2 dx
www.EngineeringEBooksPdf.com
784 ESSENTIALS OF ENGINEERING MATHEMATICS
" #
1 x 1
16. / x C; write 2x ex ln 2 ; set u x:
2 ln x (ln x)2
17. Proceed as in Example 36.7.
18. Set u(1sin2 x)n :
19. Set usecn2 x, vtan x and use the identity sec2 x 1tan2 x:
20. Set ux cos n1 x, vsin x and use the identity sin2 x 1 cos2 x:
PROBLEMS 37
1. ln ½ 2x1½3 ln ½ x1½C;
/
2 3
partial fractions :
2x 1 x 1
2. 4 ln ½ x1½3 ln ½ x1½C;
/
4 3
partial fractions :
x1 x1
1 1 1
3. / ln ½ x2½ ln ½ x1½ ln ½ x1½C;
3 2 6
1 1 1
partial fractions :
3(x 2) 2(x 1) 6(x 1)
2
4. ln ½ x1½2 ln ½ x1½
/ C;
x1
1 2 2
partial fractions :
x 1 x 1 (x 1)2
(4x 5)
5. / C;
8(2x 1)2
1 3
partial fractions 2 :
2(2x 1) 2(2x 1)3
2x 3
6. ln ½ x1½
/ C;
2(x 1)2
1 1 1
partial fractions :
x 1 (x 1)2 (x 1)3
1
7. 5 ln ½ x2½ln ½ x1½ x2 3xC;
/
2
5 1
partial fractions x3:
x2 x1
www.EngineeringEBooksPdf.com
ANSWERS 785
7 1
8. / arctan [(2x1)=3] ln ½ x2 x1½x2 3xC;
3 2
x 4
/partial fractions 2x3:
x2 x 1 x2 x 1
1 1 (3x 8)
9. / arctan (x=2) ln ½ x2 4½ C;
8 2 4(x2 4)
4x 6 x 1
/partial fractions :
(x2 4)2 (x2 4)2 x2 4 x2 4
3 x
10.
/ 2 arctan (2x1) ln ½ 2x2 2x1½2 ln ½ x1½ C;
4 2
3x 7 2 1
/partial fractions :
2x2 2x 1 2(2x2 2x 1) x 1 2
(7x 6)
11. 4 ln ½ x1½4 ln ½ x2½
/ C;
(x 1)(x 2)
1 4 8 4
/partial fractions :
(x 1)2 x 1 (x 2)2 x 2
1 x3
12.
/ 4 ln ½ x1½ x2 3xC;
x1 3
1 4
/partial fractions x2 2x3:
(x 1)2 x 1
15 7 5
13. / ln ½ x2½ ln ½ x1½ ln ½ x2½C;
4 3 12
15 7 5
partial fractions :
4(x 2) 3(x 1) 12(x 2)
2
14. / arctan [(2x1)=3]xC;
3
1
partial fractions 1 2 :
x x1
711 1 1
15. / arctan [(2x1)=11] ln ½ x2 x3½ ln ½ x1½C;
33 6 3
x 1 1
/partial fractions :
3(x2 x 3) x2 x 3 3(x 1)
(9x 1)
16. / C;
6(x 1)3
3 4
partial fractions :
(x 1)3 (x 1)4
www.EngineeringEBooksPdf.com
786 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 39
1. 15/4.
2. 2/cosh 3/cosh 1.
3. 3/p2/4.
4. 3×/22/3/16 2/5.
5. 1/5 arctan (65/13)/13/18.
1
6.
/ ln 2 ln (13)3=2:
2 1
7. / ln 3 ln 5:
2
8. ln 2.
9. ln (4/17); write 5/4x/x2 /1/(x/2)2 and set u /x/2.
1
10. / p2 arctan (1=2); write 1/4x /x2 /5 / (x/2)2 and set u /x/2.
2
11. 46; set u/x/2.
12. 23; set u/x/1.
13. arctan p/4.
1 1 1 1 1
14. / ln 3 ln 5; write 2 :
2 x 1 2 x1 x1
1 1
15. arctan 3/arctan 2; write and set
x2 4x 5 (x 2)2 1
u /x/2.
1 1 1
16. ln 4/3; write :
x2 3x 2 x 2 x 1
17. p /12; set u/y3.
18. p /4.
1
19. p /8/1/4; use cos2 u (1cos 2u):
2
1
20. p /8 /1/4; use sin2 u (1 cos 2u):
2
21. 0.
22. arctan e/p/4; set u /ex .
1
23. p /6 /3/32; use sin2 4x (1 cos 8x):
2
dx
24. / ln (12); use
g
(1 x2 )
ln ½ (x2 1)x½:
1
25. / ln 2 ln 1 ln 21 ln (1e); set uex
e
www.EngineeringEBooksPdf.com
ANSWERS 787
g
/
0
(1x2 ) dx
g 0
cosh2 u du, and then use
1
cosh2 u [1cosh 2u],
2
1 1
/ sin2 u (1 cos 2u), cos2 u (1cos 2u) and
2 2
1
/ cos2 2u (1cos 4u):
2
35. 1; integrate by parts.
36. 2p /8/1/2/1; integrate by parts.
1 2
37. / (e 1); integrate by parts.
4
38. 2 /10/e2; integrate by parts.
39. 9 ln 3/ (8/3) ln 2/19/9; integrate by parts twice.
40. /2 ln 3/3 ln 2/1/6; use partial fractions.
1
41. /7=48 ln (3=2); use partial fractions.
4
42. p /4 /arctan (1/2) /ln 5/3 ln 2; use partial fractions.
3 1
43. /3p=4 (3=2) arctan (1=2) ln 5 ln 3; use partial fractions.
4 2
www.EngineeringEBooksPdf.com
788 ESSENTIALS OF ENGINEERING MATHEMATICS
1 1
44. / arctan (1=2) ln 3; use partial fractions.
2 4
45. J2 /p /4, J4 /3p/16, J6 /5p /32.
46. J2 /p /4, J4 /3p/16, J6 /5p /32.
p 7 3p2 1
47. J3 , J4
/ :
3 9 64 4
48. J4 /4/3, J6 /28/15.
PROBLEMS 40
1. Convergent to 1.
2. Convergent to 2.
3. Convergent to 22; set u /2 /x .
4. Divergent; set u /x/2 and consider
2 du o du 2 du 1 1
g 2 u2
lim
o00 g 2 u
lim
d00 g d u
1lim lim :
o00 o d00 d
g g g
2 2 2
xex dx lim xex lim xex dx
R1 0 R1 R2 0 0
www.EngineeringEBooksPdf.com
ANSWERS 789
2 1o 2
dx dx dx
g 01x
2
lim
o00 g 0
lim
1 x2 d00 g 1d 1 x
2
The last limit is not defined since o and d tend to zero independently of
each other, so the quotient d /o is indeterminate.
14. Divergent; set x/e y.
PROBLEMS 41
3
dx
1. /
g 1 x
ln 3 ln 1ln 3; Itrap /1.103 21 (eight strips);
www.EngineeringEBooksPdf.com
790 ESSENTIALS OF ENGINEERING MATHEMATICS
j
!1=2
2 < =
g
3x 3x 5 (x3) 3 x
dx 6 arctan 4 3:801 05:
1 3x : 3x 3x ;
1
PROBLEMS 42
p
1
1. A
/
g 0
3 sin 2x cos x dx3p:
2
2. A /22; cos x E/sin x in 0 0/x 0/p /4 and sin x E/cos x in
p/4 0/x 0/p , so
p=4 p
A
g 0
( cos x sin x) dx
g p=4
( sin x cos x) dx22:
3 3
s
g 1
(1sinh2 x) dx
g 1
cosh x dx sinh 3 sinh 1:
2
4. s
/ (10101);/
27
1
j
1
2 2
s
g 0
(19x) dx
27
(19x)3=2
0 27
(10101):
p=4
(ln ½ cos x½) j0
ln ½ cos p=4½:
1=2 8 3
1 x8
j
3
3x 5 9866
6. s9866=405; s
/
g 1 2x4
dx
30x4 1
405
:
www.EngineeringEBooksPdf.com
ANSWERS 791
!2
p=2
cos u sin 2 u
g
0
1
sin u cos 2 u
(3a sin u cos 2 u) du
p=2
3a
g 0
(1tan 2 u)( sin u cos 2 u) du:
1
8. / S p(2sinh 4 sinh 2);
2
2
S 2p
g 1
cosh x(1sinh2 x) dx
2
2p
g 1
cosh2 x dx
2 1
2p
g 1 2
(1cosh 2x) dx
1
p(2sinh 4 sinh 2):
2
5p
9. / S [29145210];
27
2
S 2p
g x (19x ) dx
1
3 4
2
p
27 1
5p
(19x4 )3=2 (29145210);
27 j
(set u 19x4 ):
3
10. S 4p2; S 2p
/
g (3x)2dx4p2: 1
2
1 1
11. /
4 g
V p(4sinh 4); V p cosh x dx; set cosh x (1cosh 2x):
2 0
2
/
2
p=2
1 1
12. V p(2p); V p
/
8 g sin x dx; set sin x 2 (1 cos 2x):
p=4
2 2
www.EngineeringEBooksPdf.com
792 ESSENTIALS OF ENGINEERING MATHEMATICS
1
1
g (arcsin x) dx
2
13. V p(p2 8); V p
/
4 0 1
p[x(arcsin x)2 2(1x2 ) arcsin x2x]
0
1
p(p2 8);
4
2
V p
g [arsinh x] dx
0
2
PROBLEMS 43
1. x13a=10, y9a=10:
/
2. x7a=3, y0:
/
y/a /x , so f(x )/a /x, g(x )/0 for 00/x 0/a and r (x )/r0.
4. x2a=3, ya=3; the hypotenuse of the triangle has the equation
/
y/x /3, so f(x )/x/3, g (x ) /0 for 0 0/x 0/a3 and r (x )/r0.
R
5. /x4R=3p, y 0; My f0 2r0 x(R2 x2 ) dx so setting
u2 /R2 /x2 (or x/R sin u), it follows that My /2r0R3/3.
1 2
/M r pR , so x M =M 4R=3p:
2 0 y
r(x)r0 :
8. /x3a=8, y8a2 =5; here /f (x)4a2 x2, /g(x)0 for 0 0/x 0/2a and /
r(x)r0 :
b a(2 bk) c(4 3bk)
9. /x , y0; f(x) and g(x ) are as in
2 a(3 bk) c(3 2bk)
www.EngineeringEBooksPdf.com
ANSWERS 793
r0 2
b [a(2bk)c(43bk)]
6
and
!
b
ac
0 g
M r0 2(1kx) a
b
x dx
r0
b[a(3bk)c(32bk)]:
3
10. x 4ka2 =5, y8a2 =5; f(x ) and g(x ) are as in problem 7, but now
/
r (x )/r0(1/kx );
2a
1
Mx
2 g 2
r0 (1kx)(4a2 x2 )2 dx256r0 a5 =15,
1 2a
My
2 g 2
xr0 (1kx)(4a2 x2 ) dx 128r0 ka5 =15,
and
2a
M
g 2
r0 (1kx)(4a2 x2 ) dx 32r0 a3 =3:
PROBLEMS 44
1. Centre of pressure lies on the vertical centre line of the plate at a depth
d h(1=3)b2 =h below the surface.
2. Let the vertical distance from the edge in the surface to the vertex
below it be h . Then the centre of pressure lies at a depth h /2 below the
surface on the median drawn from the submerged vertex.
3. The centre of pressure lies on the vertical centre line of the semicircle at
a depth at a distance 3p R /16 below the surface; the centroid lies on
this same line at a distance 4R /3p below the surface.
4. Centre of pressure lies on vertical line of plate at y /d , with
32Rh 3p(R2 4h2 )
d ;
4(4R 3h)
proceed as in Example 44.2 but integrate over the semicircle from
y/ /R to y/0, though now the integral of the odd function
www.EngineeringEBooksPdf.com
794 ESSENTIALS OF ENGINEERING MATHEMATICS
y(R2 /y2) will not vanish because the limits are from y / /R to
y/0,
0
g
F 2rg
R
(hy)(R2 y2 ) dy
0 0
2rgh
g R
(R2 y2 ) dy2rg
g R
y(R2 y2 ) dy
1 2ra3 1
rgR2 h r(3R2 h4a3 ),
2 3 6
0
g (hy) (R y ) dy
2 2 2
ML 2rg
R
0 0
2rgh
g (R y ) dy4rghg
R
2 2
R
y(R2 y2 ) dy
0
2rg
g y (R y ) dy
R
2 2 2
1 4 pgrga4
prgR2 h2 rgR3 h ,
2 3 8
PROBLEMS 45
1. Iy /Ma2/3 and ky /a /3; the mass per unit length r (x )/M /(2a ).
2. Iy /7Ma2/12 and
ky /a (7/12).3
a=2
2x ma
3. /I
L
g a=2
mx2 1
a
dx
12
,
a=2
2x
mass of rod M
a=2 g2
mx 1
a
dx am, so
kL a=12:
a
r 9pma2
4. /I 2pm
L
0 g
r 1 dr
a
3
10
,
a
mass of disc M 2pm
g r[1(r=a)]dr(5pma )=3, so
0
2
3
kL (IL =M)1=2 3 a 36a :
5 2 10
www.EngineeringEBooksPdf.com
ANSWERS 795
5. I/Ma2/3; argue as in Example 45.1, but with r (x )/M /a2 the mass
per unit area and consider a strip parallel to the edge about which the
moment of inertia is required.
6. / IL M(R21 R22 )=2; mass per unit area is M=[p(R22 R21 )], so
2Mr
DM Dr
(R22 R21 )
and hence
2Mr3
DIL Dr:
(R22 R21 )
PROBLEMS 46
1. Convergent to 1.
2. Convergent to 0.
3. Divergent; the terms oscillate boundedly between 9/1.
4. Divergent; lim un 1 for n even and lim un 1=3 for n odd.
n0 n0
5. Convergent to 0.
6. Convergent to zero for jx jB/1 and divergent for jx jE/1; the term
sin (2n/1)p /2 alternates in sign between 9/1.
7. Divergent; n 0/ so un :/sin nx which has no limit.
8. Convergent to 0.
9. Divergent for x "/0 because cos n2x oscillates boundedly between 9/1,
but convergent to 1 if x/0.
10. Convergent to 0 for any finite x.
PROBLEMS 47
www.EngineeringEBooksPdf.com
796 ESSENTIALS OF ENGINEERING MATHEMATICS
a(1/n).
22. Convergent by nth root test.
23. Convergent by nth root test.
x dx
24. Convergent by integral test;
g 1 (x 1)3
3=8:
www.EngineeringEBooksPdf.com
ANSWERS 797
x dx
25. Divergent by integral test;
g 1 1 x2
; also seen to be divergent by
n 1
27. / B 3 and a 1/n3 is convergent as it is a p -series with p/3. So
n4 1 n
series is convergent by comparison with a(1/n3).
28. Absolutely convergent by ratio test.
29. Absolutely convergent by n th root test because
1
/ jan j1=n and lim jan j1=n 0:
ln (2n 1) n0
PROBLEMS 48
www.EngineeringEBooksPdf.com
798 ESSENTIALS OF ENGINEERING MATHEMATICS
18. r /9/4, /5/4 B/x B/13/4; use the formula for r based on the nth root
test.
19. r /5, /5 B/x B/5; write as
X (1)n1 zn1
1 x2 x4
x . . . x
52 52 2 53 2 n
n1 5 (n 1)
with z/x2.
20. r /1, 0 B/x B/2; write as
X
zn1
(x1)
n1 2n 1
with z/(x/1)2.
21. r /5, /2B/x B/8.
22. r /0; converges only when x / /5; use formula for r based on n th
root test.
23. r /2, /2B/x B/r; set z/x2.
24. r /3, /3 B/x B/3; write as
X
zn1
x
n1 3n
with z/x2.
25. r /1, /1B/x B/1; set z /x2.
26. r /1, /1B/x B/1; work from first principles and consider
xn!
lim
n0 j x(n1)! j B 1:
www.EngineeringEBooksPdf.com
ANSWERS 799
PROBLEMS 49
x3 x4
1. / xx2 :
2 6
2x4 4x6
2. / 12x2 :
3 45
a(a 1) 2 a(a 1)(a 2) 3
3. / 1ax x x:
2! 3!
(Do you recognize the binomial theorem?)
9 27 81
4. / 1 x2 x4 x6 :
2 8 80
1 1 1 5 1
5. / x x3 x x7 :
2 48 3840 645 120
2 2 8 4
6. / x x2 x3 x4 :
3 9 81 81
x x3=2 x2
7. / x :
2 3 4
x2 3x4 5x6
8. / 1 :
2 8 16
x3 x5
9. / xx2 :
3 30
13 3 5 4
10. x2x2
/ x x:
6 3
x2 x3 3
11.
/ x x5 :
2 3 40
x2 3 3 5 4
12. x
/ x x:
2 8 16
x2 x3
13. 1x ln a
/ ( ln a)2 ( ln a)3 :
2 6
1 2 1 8
14. x2 x4 x6
/ x:
3 45 315
1 2 17 7
15. x x3 x5
/ x:
3 15 315
1 5 61 6
16. 1 x2 x4
/ x:
2 24 720
1 3 1 3 3
17. / x x2 x:
2 2 4 13
www.EngineeringEBooksPdf.com
800 ESSENTIALS OF ENGINEERING MATHEMATICS
1 3 5 7
18. x x3 x5
/ x:
6 40 112
1 1 1 1 7
19. / x x3 x5 x:
4 16 64 256
" #
2 (x 2)2 (x 2)3
24. /e 1(x2) :
2 6
1 1 1
25. 2 (x4) (x4)2
/ (x4)3 :
4 64 512
3 5 7
p 1 p 1 p 1 p
26.
/ x x x x :
2 6 2 120 2 5040 2
x
sin t x3 x5 x7
27.
g
/
0 t
dt x
18 600 35 280
. . . :
x
1 cos t 1 1 1 5 1
28.
g
/
0 t 2
dt x x3
2 72 360
x
282 240
x7 . . . :
x
ln (1 2t) 8 32
29.
g t dt2xx 9 x x 25 x . . . :
/
0
2 3 4 5
x
1 1 5
30.
g (1t
/
0
2 1=3
) dtx x x
9 45
3
567
5
x . . . : 7
x t2
1e 1 1 1
31.
g t dtx
/
0
2
6
x x
30
3
168
x . . . :5 7
x
cosh 2t 1 2 4 2
32.
g t dt 2x 9 x 225 x 2205 x . . . :
/
0
2
3 5 7
1x
33. / ln ln (1x) ln (1x), so subtracting the series gives
1x ! !
1x x3 x5 x7
ln 2 x . . . :
1x 3 5 7
2 1 6
34. /x x :
90
1
35. 1x x2 :
/
2
www.EngineeringEBooksPdf.com
ANSWERS 801
1 1
36. /e 1 x2 x4 :
2 6
1 2
37. x2 x4 x6 :
/
3 45
5
38. /e 1x2 x4 :
6
39. 1.4958.
40. 1.3242.
41. 0.8019.
42. 1.1052.
43. /0.4642.
44. 1.1058.
45. /4.6369.
46. (a) 0.125; (b) 0.125; (c) 0.25.
PROBLEMS 50
1 1
1. /f (x, y)1x (x2 y2 ) (x3 3xy2 ). . . :
2 1 2 6
2. /f (x, y)1xxy x y. . . ; to determine the partial derivatives,
2
take logarithms and differentiate ln f /(1/y ) ln (1/x).
[(x 2) (y 2)]2
3. /f (x, y)1(x2)(y2)
2
[(x 2) (y 2)]3
/ . . . :
6
2 4
1 p 1 p
4. /f (x, y)1 x y x y . . . :
2! 2 4! 2
5. (1, /2) is a local minimum.
6. (1, 2) is a saddle point.
7. (0, 1) is a local maximum.
8. (/1/2, 0) is a local minimum.
9. (0, 0) is a saddle point and (1, /1) is a local minimum.
10. (0, 1) and (0, /1) are saddle points.
www.EngineeringEBooksPdf.com
802 ESSENTIALS OF ENGINEERING MATHEMATICS
11. (1, 2) and (1, /2) are saddle points, (2, 1) is a local minimum and
(/2, /1) is a local maximum.
12. (0, 0) is a local minimum, (5, 6), (5, /6), (/5, 6) and (/5,/6) are
saddle points;
fx 0 implies x(4x2 3y2 8)0
Stationary points occur when x /0, y/0, when x /0 and /3x2/
2y2/3 /0, when y /0 and 4x2 /3y2/8 /0 and when 4x2 /3y2/
8 /0 and /3x2/2y2/3 /0; thus at (0, 0) and at the solutions of
4x2 3y2 8 0 and 3x2 2y2 30:
The solutions of x /0 and /3x2/2y2/3/0 and of y /0 and
4x2 /3y2/8/0 are complex and so must be discarded.
13. (0, 0) the test fails, (2/3, 0), (0, 1/3) and (2/9, 1/9) are saddle points.
fx 0 implies 2y(3x3y1)0,
fy 0 implies x(3x12y2) 0:
Stationary points occur when x /0, y/0, when y/0 and 3x/12y/
2 /0, when x /0 and 3x/3y/1/0 and when 3x/3y /1/0 and
3x/12y/2/0. In fact (0, 0) is a saddle point, as can be seen by
considering the behaviour of f(x, y) along x /y and x / /y.
14. (0, 0) saddle point, test fails at (1, 1), (1, /1), (/1, 1) and (/1, /1);
fx y(1x2 )exp[ 12 (x2 y2 )] and fy x(1y2 )exp[ 12 (x2 y2 )], so
as exp[ 12 (x2 y2 )] "0 the stationary points are found by solving
simultaneously
17. In this case xy (1l) , so l 12 , showing there is only one sta-
tionary point. Using this value of l shows that xy 32 when
f ( 33, 32) 34 : That this is a minimum follows from the fact that
there is only one stationary point, and then comparing this result 34
www.EngineeringEBooksPdf.com
ANSWERS 803
with the value of f(x , y ) at some other point (x, y ), satisfying the
constraint condition. For example, such a point is x / /2, y / / 1,
but f(/2, /1) /0 is larger than the value 34 at the stationary point,
showing it is a minimum.
PROBLEMS 51
1 2
X sin (2n 1)x
1. / :
2 p n1 (2n 1)
1 2
X cos (2n 1)x
2. / (1)n1 :
2 p n1 (2n 1)
p 4 X cos (2n 1)x
3. / :
2 p n1 (2n 1)2
1 1 1 1 1 1
4. / sin x sin 2x sin 3x sin 5x sin 6x sin 7x
2 p 3 5 3 7
1 1
/ sin 9x sin 10x
9 5
33 33 X
(1)n1
1 ,
2p p n1 (9n2 1)
so
X
(1)n1 p 1
:
n1 (9n2 1) 33 2
p2 X
cos nx
6. / 4 (1)n
3 n1
n2
(a) The function is continuous at x /0 with the value 0, so the series
converges to 0, and thus
X
(1)n1 p2
:
n1 n2 12
(b) The function and its periodic extension are continuous at x/p
with the value p2, so the series converges to p2, and thus
www.EngineeringEBooksPdf.com
804 ESSENTIALS OF ENGINEERING MATHEMATICS
2 2 X
(1)n cos nx X
1
p 4 4 ,
3 n 2 2
n1 n1 n
so
X
1 p2
:
n1 n2 6
1 1 2 3 3 1 3
7. / sin 3x cos 2x cos 4x cos 6x cos 8x
3p 2 p 5 7 9 55
3 1
/ cos 10x cos 12x. . . :
91 45
1 1 2 cos 2x cos 4x cos 6x
8. sin x
/ . . . :
p 2 p 3 15 35
1 1 2 X
1
9. / cos x [2n sin 2nx (2n1) sin (2n1)x]:
2 2 p n1 (4n2 1)
2 4X
cos 2nx
10. / (1)n1 :
p p n1 (4n2 1)
2 2 X 1 (1)n
11. / cos nx:
p p n1 1 n2
p 2X
1
12. / cos (4n2)x:
4 p n1 (2n 1)2
PROBLEMS 52
1. 6.
2. 1.
3. /5a .
4. /1/6i.
5. l2 /5l/2.
6. 1 (because sin2 x/cos2 x /1).
7. 1 (because cosh2 x /sinh2 x /1).
8. /2.
1 2 2 2 2 1
9. /M
5, M12 8, M13
11 1,
0 5 1 5 1 0
www.EngineeringEBooksPdf.com
ANSWERS 805
3 1 1 1 1 3
M21 15, M22 6, M23 3,
0 5 1 5 1 0
3 1
M31 7, M 1 1 4, M 1 3 5:
1 2 32 2 2 33 2 1
2 1 1 1 1 2
10. /M11 5, M12 4, M13 3,
1 3 1 3 1 1
1 2
M21 5, M 2 2 8, M 2 1 1,
1 3 22 1 3 23 1 1
1 2 2 2 2 1
M31
5, M32 0, M33 5:
2 1 1 1 1 2
2(8)16:
www.EngineeringEBooksPdf.com
806 ESSENTIALS OF ENGINEERING MATHEMATICS
1 4 3 1 4 3
(b) 0 2 1 (1)4
2 1 interchange rows (2) and (3)
4 2 1 0 2 1
1 4 3
(1) 4 2 1 subtract row (2) from row (3)
12 2
1 4 3
(1)(1)4 2 1 remove factor 1 from row (3)
1 2 2
8:
18. (ab)(ac)(ad)(bc)(bd)(cd)
/
PROBLEMS 53
1 1 3 3 1 4
1. AB
/ , AB , 2A3B :
5 5 1 3 12 11
6 1 5 2 3 3
2. /AB , /AB ,
0 0 1 4 2 1
6 5 2
/A2B :
6 3 2
1 3 3 1
3. /AC , AC ,
5 3 1 1
www.EngineeringEBooksPdf.com
2 3 2 3 ANSWERS 807
1 3 3 1
/B D
4 5 45, B D 41 25;
2 2 0 2
A 9/ B and C 9/ D are not defined.
4. a/ /1, b /4, c/7, d /3, e/ /1.
5. a/1, b /2, c/4, d /14, e/ /8.
sin A cos B cos A sin B cos A cos B sin A sin B
6. /
cosh A cosh B sinh A sinh B sinh A cosh B cosh A sinh B
sin (AB) cos (AB)
:
cosh (AB) sinh (AB)
2 3 2 3
1 7 9 1 5 9
7. /A
T
4 4 6 25 , B T 4 5 0 65 (B is symmetric):
2 1 4 9 6 3
2 3 2 3
1 0 0 5 6 1
6 3 27 65 0 3 27
8. /A
T
6 7 T
47 55, B 46 3
6 7 B
0 15
2 3 1 2 1 0
/ (B is skew-symmetric):
PROBLEMS 54
6 9 32 18
1. /AB , BA :
8 32 4 6
2 3
7 2
2. /AB
414 245:
13 21
2 3
2 8 6 4
61 4 4 27
3. /AB 4, BA 6 4 2
7:
8 6 45
6 24 18 12
4. AB is not defined.
10 10 1 22
/BA :
2 0 0 26 2 3
1 3 2
61 3 27
5. /AB 0, AC 6, BD 641 3 25:
7
0 0 0
11 11 4 13
6. /AB , BA :
21 26 5 19
www.EngineeringEBooksPdf.com
808 ESSENTIALS OF ENGINEERING MATHEMATICS
75i 46i 57i 9i
7. AB
/ , BA :
115i 13i 86i 1i
2
7x2 x1 x 4x1 1x
8. AB , BA :
2(x1)2 7x2
/
22x2 x2 4x1
www.EngineeringEBooksPdf.com
2 3 ANSWERS 809
4 5 6
19. /AB 47 8 95; premultiplication of B by A , which is a matrix
1 2 3
obtained from the unit matrix I by interchanging its rows, has inter-
changed the rows of A in the same order.
20. 3x4y7z 19
/
2xz6
4x3y2z4:
2 3 2 3 2 3
1 6 7 8 x 1
63 1 4 97 6 7 6 7
21. /A 6 7, X 6 y7, B 6 37:
41 0 2 15 4 z5 4145
0 4 6 7 u 0
1 0
22. /QA : The system is AX /B, with
0 1
4 1 x 1
A , X and B :
3 2 y 1
PROBLEMS 55
1 2=29 3=29
1. A
/ :
9=29 1=29
1 1=21 5=21
2. A
/ :
5=21 4=21
1 1=16 3=8
3. A
/ :
1=8 1=4
1 2=19 7=19
4. A
/ :
1=19 6=19
www.EngineeringEBooksPdf.com
810 ESSENTIALS OF ENGINEERING MATHEMATICS
(18i)=13 (15i)=13
5. A1
/ :
(32i)=13 (32i)=13
(1i)=6 (13i)=6
6. A1
/ :
1=3 (1i)=6
2 3
2=7 5=14 18=7
7. /A
1
41=7 1=14 9=75:
1=7 1=14 2=7
2 3
0 1 1
8. /A
1
40 1 05:
1 0 0
2 3
1=3 1=3 1=3
9. /A
1
4 0 1=2 05 :
1=3 4=3 2=3
2 3
1=32 11=32 5=32
10. /A
1
41=4 1=4 1=4 5:
3=16 1=16 1=16
2 3 2 3
1=6 1=3 1=6 1=6 1=2 2=3
11. /A
1
4 1=2 0 1=25, so (A1 )T 4 1=3 0 2=35,
2=3 2=3 5=3 1=6 1=2 5=3
2 3 2 3
2 3 2 1=6 1=2 2=3
AT 44 1 25, so (AT )1 4 1=3 0 2=35:
1 0 1 1=6 1=2 5=3
2 31 2 3
5 9 12 2=9 1=3 4=9
12. /(AB)
1
43 2 45 4 1=27 13=9 16=275,
7 6 29 4=27 11=9 17=27
2 32 3
1=3 0 1=3 1=3 0 2=3
B1 A1 42=9 2=3 1=954 0 2 15
1=9 1=3 5=9 1=3 1 2=3
2 3
2=9 1=3 4=9
4 1=27 13=9 16=275:
4=27 11=9 17=27
1 1 23 36
13. /(ABC) C 1 B 1 A1 :
210 2 6
1
1 3 1=44 3=44
14. ((AB)T )1
/ :
15 1 15=44 1=44
T T
2=11 3=11 1=4 3=4
(A1 )T (B1 )T
1=11 4=11 1=4 1=4
www.EngineeringEBooksPdf.com
ANSWERS 811
2=11 1=11 1=4 1=4 1=44 3=44
,
3=11 4=11 3=4 1=4 15=44 1=44
and so we have verified that
((AB)T )1 (A1 )T (B1 )T :
2 3 2 3 2 3 2 3
1=9 11=19 4=19 x 1 52=19
15. /A14 3=19 5=19 7=195, so 4 y5A1 4 354 53=195,
2=19 3=19 8=19 z 5 47=19
PROBLEMS 56
1. x / /5/16, y / /7/16.
2. x /19/21, y /5/21.
3. x / /11/31, y /39/31.
4. x /11/17, y / /8/17.
5. x /2.8925, y/ /0.2842.
6. x / /0.1220, y/0.8537.
7. x / /2, y/ /9/5, z / /13/5.
8. x /16/9, y /7/9, z / /5/3.
9. x / /71/49, y /1/7, z /74/49.
10. x / /32/3, y /97/3, z / /10/3.
11. x /0.4660, y/11.6104, z/8.8083.
12. x / /0.2231, y/1.5252, z/ /0.7089.
13. x /0.3070, y/0.2958, z/0.0270.
14. x /0.7026, y/0.1922, z/0.8373.
15. No solution.
16. x / /9/8, y /5/8, z /0.
17. x /(10k /8)/7, y / / (8k /5)/7, z/k (k a parameter).
www.EngineeringEBooksPdf.com
812 ESSENTIALS OF ENGINEERING MATHEMATICS
18. No solution.
19. Only solution is x /y /z/0.
20. x /7k /5, y /k /5, z /k (k a parameter).
21. x / /k /7, y/ /10k /7, z/k (k a parameter).
22. x / /k , y /0, z /k (k a parameter).
23. No solution if p "/3; unique solution, x /2, y/ /3 if p/1/3.
24. No solution if p "/19/7; x/9k /10, y/ /7k /10, z /k if p/19/7
(k a parameter).
29. Linearly independent.
30. Linearly dependent.
31. Linearly dependent.
32. Inconsistent. Gaussian elimination gives
2 3
1 1 1 2 5
60 2 1 3 47
6 7
40 0 12 12 25
0 0 0 0 3
33. Linearly independent. x1 /x2 /x3 /x4 /1
34. Linearly dependent.
Gaussian elimination gives
2 3
1 1 1 1 4
60 1 4 0 37
6 7, x 2k, x2 1, x3 1,
40 0 4 0 45 1
0 0 0 0 0
x4 k (k arbitrary):
PROBLEMS 57
n / x(n)
1 / x(n)
2
0 0 0
(a) 1 1.2390 /0.1642
2 1.1590 /0.1367
3 1.1724 /0.1413
4 1.1701 /0.1405
5 1.1705 /0.1407
www.EngineeringEBooksPdf.com
ANSWERS 813
n / x(n)
1 / x(n)
2
0 1 1
1 1.7262 /0.3320
(b)
2 1.0772 /0.1086
3 1.1861 /0.1460
4 1.1678 /0.1397
5 1.1709 /0.1408
n / x(n)
1 / x(n)
2
0 0 0
(a) 1 0.3683 /0.4699
2 0.5705 /0.4185
3 0.5484 /0.4241
4 0.5508 /0.4235
5 0.5505 /0.4236
n / x1(n) / x(n)
2
0 1 1
1 /0.0621 /0.5794
(b) 2 0.6176 /0.4065
3 0.5432 /0.4254
4 0.5514 /0.4233
5 0.5505 /0.4236
n / x(n)
1 / x(n)
2
0 0 0
1 0.8020 /0.7408
(a)
2 0.9736 /0.8125
3 0.9903 /0.8194
4 0.9919 /0.8201
5 0.9920 /0.8201
www.EngineeringEBooksPdf.com
814 ESSENTIALS OF ENGINEERING MATHEMATICS
n / x(n)
1 / x(n)
2
0 1 1
(b) 1 0.5702 /0.6440
2 0.9512 /0.8031
3 0.9881 /0.8185
4 0.9917 /0.8200
5 0.9920 /0.8201
n / x1(n) / x(n)
2
0 0 0
(a) 1 /0.5753 /0.9776
2 /0.2494 /0.9110
3 /0.2716 /0.9156
4 /0.2701 /0.9152
5 /0.2702 /0.9153
n / x1(n) / x2(n)
0 1 1
(b) 1 /0.9086 /1.0458
2 /0.2267 /0.9064
3 /0.2731 /0.9159
4 /0.2700 /0.9152
5 /0.2702 /0.9153
n x(n
1
)
x(n
2
)
0 0 0
(a) 1 /0.9086 /1.0458
2 0.1323 /0.7024
3 /0.0044 /0.7683
4 0.0315 /0.7510
5 0.0221 /0.7555
www.EngineeringEBooksPdf.com
ANSWERS 815
n x(n
1
)
x(n
2
)
0 0 0
(b) 1 1.5887 /3.6232
2 /5.9243 10.1508
3 22.6373 /42.2123
4 /85.9424 156.8505
5 326.8329 /599.9042
n x(n
1
)
x(n
2
)
x(n
3
)
0 0 0 0
1 0.2456 1.5527 0.8288
2 /0.6591 1.5529 1.0164
3 /0.7104 1.5080 1.0038
4 /0.6873 1.5052 0.9976
5 /0.9844 1.5064 0.9976
n x(n
1
)
x(n
2
)
x(n
3
)
0 0 0 0
1 0.5880 0.0088 /0.0706
2 0.6195 /0.0259 /0.0779
3 0.6158 /0.0260 /0.0786
4 0.6160 /0.0263 /0.0787
5 0.6160 /0.0263 /0.0787
n x(n
1
)
x(n
2
)
x(n
3
)
0 0 0 0
1 1.3205 /0.2898 0.1741
2 1.1618 /0.1847 0.1708
3 1.1996 /0.2000 0.1682
4 1.1951 /0.1990 0.1688
5 1.1953 /0.1989 0.1687
www.EngineeringEBooksPdf.com
816 ESSENTIALS OF ENGINEERING MATHEMATICS
n x(n
1
)
x(n
2
)
x(n
3
)
0 0 0 0
1 0.2654 /0.4106 0.0494
2 0.3513 /0.3716 /0.0061
3 0.3544 /0.3855 /0.0037
4 0.3571 /0.3840 /0.0055
5 0.3572 /0.3845 /0.0054
n x(n
1
)
x(n
2
)
x(n
3
)
0 0 0 0
1 0.2883 /0.4808 /0.3931
2 0.3378 /0.6143 /0.3642
3 0.3809 /0.5969 /0.3813
4 0.3725 /0.6044 /0.3766
5 0.3755 /0.6023 /0.3781
PROBLEMS 58
www.EngineeringEBooksPdf.com
ANSWERS 817
www.EngineeringEBooksPdf.com
818 ESSENTIALS OF ENGINEERING MATHEMATICS
2 3 2 3 2 3
1 1 1
(91) 4 5 (91) 4 5 (91) 4 5
X̂ 1 2 , X̂ 2 1 , X̂ 3 1 :
21 4 3 1 3 1
10. l3 /17l2 /156l /288 /0; as l/ /3 is a root of the characteristic
equation, (l/3) is a factor. Division by (l/3) shows the other eigen-
values to be roots of l2 /20l/96/0. Thus the other eigenvalues are
l / /4 and l /24, and hence the eigenvalues are l1 / /4, l2 / /3,
l3 /24;
2 3 2 3 2 3
1 1 1
X 1 4 05, X 2 415, X 3 425;
1 1 1
2 3 2 3 2 3
1 1 1
(91) 4 5 (91) 4 5 (91) 4 5
X̂ 1 0 , X̂ 2 1 , X̂ 3 2 :
2 1 3 1 6 1
11. l3/5l2/6l/0; l1 / /3, l2 / /2, l3 /0;
2 3 2 3 2 3
1 2 0
X 1 4 05, X 2 415, X 3 4 15;
1 0 1
2 3 2 3 2 3
1 2 0
(91) 4 5 (91) 4 5 (91) 4 5
X̂ 1 0 , X̂ 2 1 , X̂ 3 1 :
2 1 5 0 2 1
www.EngineeringEBooksPdf.com
ANSWERS 819
PROBLEMS 59
1.
AR m
OA /a, OB /b, OR /r and , so nAR /mRB and hence
RB n
n AR /m RB. However, AR /r /a and RB /b /r, so nr/m r/
n a/m b and thus r /(na/m b)/(n/m ).
6.
1 1
AB /b/a, so OP rOAAP a AB (ab): Thus
2 2
x / /2r/ / (a/b).
www.EngineeringEBooksPdf.com
820 ESSENTIALS OF ENGINEERING MATHEMATICS
1 1 1 1
7. OM xOP PB; but /OPOA AC a (ca) (ac):
/
2 2 2 2
1 1 1 1
Now PBbOPb (ac), so PB b (ac), so
2 2 2 4
1 1 1 1 1
x (ac) b (ac) b (ac):
2 2 4 2 4
PROBLEMS 60
1 1
1. jaj/29, jbj /14, /â (4i2j3k), b̂ (2i3jk),
29 14
3a /2b /16i/12j/7k.
1 1
2. ½a½ 41, ½b½ 21, /â
/ (6i2jk), b̂ (i4j2k),
41 21
2a/b /11i/4k.
3. ½a½ 29, so l /3/29, m /4/29, n/ /2/29.
/
www.EngineeringEBooksPdf.com
ANSWERS 821
18. r /3i/3j/k.
19. /i/j.
20. Take the origin to be located at vertex C and let the position vectors of
vertices A and B relative to C be a and b, respectively.
ma mb mc
Then the position vector r of the centroid is r
3m
1 (ab), where m is the particle mass. However, a/b/CD, so
/
3
www.EngineeringEBooksPdf.com
822 ESSENTIALS OF ENGINEERING MATHEMATICS
1 2
r CD CM: The argument is identical for any choice of vertex as
/
3 3
origin.
PROBLEM 61
x (1=4) y 3 z 1
1. / ; a /(1/4)i/3j/k, b/(3/4)i/2j/4k.
(3=4) 2 4
x (3=2) z (9=4)
3. / ; a /( /3/2)i/(9/4)k, b/i/ (3/4)k.
1 (3=4)
x 9 y 6 z 16
4. / ; a / /9i/6j/16k, b/4i/2j/5k.
4 2 5
r (ijk)l (3i2j2k):
Had we taken the point ( /2, /1, 3) as the point a on the line, we
would have obtained the equivalent set of equations
www.EngineeringEBooksPdf.com
ANSWERS 823
PROBLEMS 62
a×ba×c171 16a×(bc):
7. a ×/b /10/5a , so a ×/b/0 when a / /2.
8 5
8. /W (ijk)× (2ij3k)
3 14
40 160
/ (213) work units:
42 42
9. (a) The projection of a in the direction of b is
1 5
a× b̂(ijk) × (3i2j4k) :
29 29
1 5
â×b (ijk)×(3i2j4k) :
3 3
www.EngineeringEBooksPdf.com
824 ESSENTIALS OF ENGINEERING MATHEMATICS
j
½a× b̂½ (4i2j2k) ×
1
14
(3i2jk) j
j j
14
14
14:
½â×b½ j1
24
(4i2j2k) × (3i2jk) j
j j
14
24
14
24
:
PROBLEMS 63
1. 3x/y/2z/6.
2. 7x /y/3z/2.
3. 3x/6y /4z/0.
4. The normals N1 and N2 to the planes are N1 /2i/j/k and N2 /
i/4j/3k, thus the angle u between the planes is such that
www.EngineeringEBooksPdf.com
ANSWERS 825
N1 × N2 1
cos u ,
½N1 ½ ½N2 ½ 626
so u /94.598.
5. N /4i/2j/5k; d /4/jNj/4/45.
6. n̂ (3i4j2k)=[32 42 (2)2 ]1=2 (1=29)(3i4j2k); d 0:
/
9. Apply the formula for d without the absolute value signs, first to the
point at the origin (0, 0, 0) and then to the point (2, 3, /5). The points
will be on the same side of the plane if these results have the same sign
and on opposite sides if the signs are different. The absolute values of
each result will, of course, be d . For the point at the origin
(a×/N /b×/N)/jNj/3 and for the point (2, 3, /5) (a ×/N /b ×/N)/jNj/
/3, so the points are both distance 3 from the plane, but on opposite
sides.
PROBLEMS 64
1. a /b / /j/7k, a/c/2i/j/3k, b /c / /4i/5j/k.
2. u / /5j/5k, v/ /8i/j/5k, u/v / /20i /40j/40k.
3. S /185.
4. S /438.
5. a /(b/c)/(3i/2j /k) /(2i/5j) / /5i /2j/19k,
a /b / /4i/8j/4k, a /c/ /i/10j/23k, so
a /b/a /c / /5i/2j/19k.
6. 9/(/14i/7k)/(75); the result is unique apart from its sign.
7. /21.
www.EngineeringEBooksPdf.com
826 ESSENTIALS OF ENGINEERING MATHEMATICS
8. 18.
9. a must be such that a×/(b /c)/0, so it must satisfy
2 2 3
1 1 4 0
1 1 a
a(abc)a0,
so forming the vector product with a gives
abac0, because aa0:
If n̂ is the unit vector normal to the plane of the triangle and such that
a, b and /n̂ form a right-handed set, the above result becomes
½a½ ½b½ sin (pC)n̂½a½ ½c½ sin (pB)( n̂)0,
or
ab sin C ac sin B 0,
www.EngineeringEBooksPdf.com
ANSWERS 827
so
sin A sin B
:
a b
The remainder of the sine rule follows in similar fashion after forming
the vector product with b.
14. Form the vector product of a with a/b/c/0. to obtain
abac 0 (aa 0):
Now take the scalar product of this result with c to obtain
(ab)×c(ac)×c0:
However, the second triple scalar product is zero because two of the
vectors involved in it are identical, so
(ab)×c0:
PROBLEMS 65
1. n̂ (91)(3i5j11k)=155; sin u 155=(626) so u 85:4 ;
/
www.EngineeringEBooksPdf.com
828 ESSENTIALS OF ENGINEERING MATHEMATICS
The angle u between the planes is the angle between their normals n1 /
4i/20j/20k and n2 /4i/5j/10k, so
n1 × n2 116
cos u 0:3420 (u 70 ):
½n1 ½ ½n2 ½ 816141
b1 b2
n̂
½b1 ½½b2 ½
7. Construct the line through (0, /1, 0) and (2, 1, /1) and the line
through (1, 1, 1) and (3, 3, 0) and show the perpendicular distance
between these lines is zero (see the answer to problem 6).
8. Proceed as in the answer to problem 7. The plane containing the lines
has the equation 2x /y/3z /1, and it is found by using n̂ and any one
of the given points.
9. The perpendicular distance d of the point (1, /2, 3) from the plane is 1/
3. The unit vector along the line is b̂(2i3j6k)=7, and the unit
vector normal to the plane is n̂(ijk)=3: Then
pjb̂× n̂jd,
so
pj(2i3j6k)×(ijk)j 73(1=3)
vv(ba)6j36j12k cm=s:
www.EngineeringEBooksPdf.com
ANSWERS 829
PROBLEMS 66
1. A right-handed helix. The curve lines on the surface of a cylinder of
radius R with its axis along the z -axis. It advances in the z-direction
uniformly with t .
2. The curve spirals uniformly outward with t and advances in the
z -direction uniformly with t.
3. (a) /dr=dt6ti2j2 sin 2tk; d2 r=dt2 6i4 cos 2tk;
(b) /dr=dta(2=t3 )b; d2 r=dt2 (6=t4 )b:
4. (a) /dr=dt 2 cosh 2ti3e3t j(cos tt sin t)k so, when t/0,
dr/dt/2i/3j/k;
(b) /dr=dt(3t2 2t)i2t=[(1t2 )2 ]j6t=(13t2 )k so, when t/0,
dr/dt/0.
5. dr=dtv sin vtav cos vtb, d2 r=dt2 v2 cos vtav2 sin vtb,
/
so
d2 r
v2 r0:
dt2
6. dr=dtvevt avevt b, d2 r=dt2 v2 evt av2 evt b, so
/
d2 r
v2 r0:
dt2
7. (a) /r×s2 sinh2 t2 cosh2 ttet tet 2, so
d
[r×s]et (1t);
dt
www.EngineeringEBooksPdf.com
830 ESSENTIALS OF ENGINEERING MATHEMATICS
dr dr du
(b) /
dt du dt
u 1
1=2 i2uj2 sinh (2u1)k
2
(1 u ) 1t
ln(1 t) 2 ln (1 t)
2
i j
(1 t)[1 ln (1 t)] 1t
2 sinh [2 ln(1 t) 1]
k:
1t
11. (a) /rs(tt2 sin t)i(2 sin t1t2 )j (2tt2 t4 )k, so
d
[rs](12t sin tt2 cos t)i(2 cos t2t)j (22t4t3 )k;
dt
d2 r=dt2 (2 cos tt sin t)i (2 sin tt cos t)j,
www.EngineeringEBooksPdf.com
ANSWERS 831
k (t2 2)=t3 :
1 1 1
14. (a) / i 2 j kc; 8
3t3 2t t
p <1
[(1cos kp)asin kpb] for k "0
(b) /
g 0
(sin ktacos ktb)dt k
:
pb if k 0:
15.
g (sinh tie
/
2t
g
jtk)(ijk)dt [(te2t )i(tsinh t)j
www.EngineeringEBooksPdf.com
832 ESSENTIALS OF ENGINEERING MATHEMATICS
18.
g
a dv=dti2k and r vdt [ti(12t)k]dt
/
g
1
t2 i(tt2 )kc,
2
1
r t2 i(tt2 )k:
2
The vectors r and a will be orthogonal when r ×/a /0, which is equivalent
to
1
t2 2(tt2 ) 0, or t(3t4) 0:
2
1 1
cos 2ti sin 2tj t2 kc,
2 2
1 1
r (7 cos 2t)i(1 sin 2t)j (t2 6)k:
2 2
t2 4t50, or (t5)(t1) 0:
www.EngineeringEBooksPdf.com
ANSWERS 833
PROBLEM 67
1. The equation of motion is
d2 r d2 r
m mgj, or gj:
dt2 dt2
Writing this as
dr
ugtj
dt
Setting u /u (cos a i/sin a j) and equating the i and j components show
that
1
xut cos a and y ut sin a gt2 :
2
After leaving the origin, y /0 when t/2(u /g ) sin a , at which time x/
2(u2/g ) sin a cos a /(u2/g ) sin 2a .
2. Take the x-axis horizontal and the y -axis vertical, so the gravitational
force acting on the particle is /mg j. Then the equation of motion
becomes
dy
m mgjkmv,
dt
www.EngineeringEBooksPdf.com
834 ESSENTIALS OF ENGINEERING MATHEMATICS
or
dy
kvgj:
dt
or
d kt
[e v]gekt j:
dt
or
g
v jekt a,
k
3. Proceed as in Example 67.2, but use the fact that now the radical
component of ȧ must vanish, giving
r3 ṙv2 0,
which after an integration becomes
r̈2rv2 const:
www.EngineeringEBooksPdf.com
ANSWERS 835
and thus c /a (const.). It is for this reason that the curve is called an
equiangular spiral.
PROBLEMS 68
1. For any 8 /0 the curve
x2 y2
1
48 98
www.EngineeringEBooksPdf.com
836 ESSENTIALS OF ENGINEERING MATHEMATICS
7. grad 8 /yz cos (xyz)i/xz cos (xyz )j/xy cos (xyz )k, so
p p p
/(grad 8 )
(1, p=4, 1) i j k;
42 2 42
4 p p p
n̂ i j k :
(p2 8)1=2 42 2 42
2x 2y 2z
8. grad 8
/ i 2 j 2 k, so
x2 y2 z2 x y2 z 2 x y2 z 2
2 1
(grad 8 )(1, 1, 1) (ijk); n̂ (ijk):
3 3
2x 6y
10. grad 8
/
2 i j
(x2 2 2
3y z ) (x 3y2 z2 )2
2
2z
/ k, so
(x2 y2 z2 )2
1 1 1 1
(grad 8 )(1, 0, 1) i k; n̂ pffiffiffi i pffiffiffi k:
2 2 2 2
11. Set 8 /x2/2xyz/yz2 /1, then the surface has the equation 8 /0.
The point (/1, 0, 1) lies on the surface since 8 (/1, 0, 1) /0. Thus a
vector normal to the surface 8 /0 is
grad 8 (3x2 2yz)i(2xzz2 )j(2xy2yz)k:
www.EngineeringEBooksPdf.com
ANSWERS 837
As n1 and n2 are normals to 8 /0 at (1, 1, 1) and (1, /1, /1), the
angle u between n1 and n2 will be the angle between the tangent planes
at these points.
Thus
n1 × n2 64 8
cos u ,
jn1 j jn2 j 7272 9
so u /arccos(/8/9).
15. grad 8 /(3x2/4xy2z )i/(4x2yz/2yz2)j/(2x2y2/2y2z )k so a vector
normal to the surface 8 /0 at (1, 1, 1) is b /7i/6j/4k. The point
(1, 1, 1) lies on the required line, so its vector equation
www.EngineeringEBooksPdf.com
838 ESSENTIALS OF ENGINEERING MATHEMATICS
r alb
becomes
xiyjzk ijkl(7i6j4k):
The Cartesian equations of the line are thus
x1 y1 z1
:
7 6 4
16. grad 8 /3x2i/4y j/4z k, so as the point ( /1, /1, /1) lies on the
surface 8 /0, it follows that a vector normal to this surface at
(/1, /1, /1) is
n3i4j4k:
The equation of the plane with this normal through the point with
position vector a/ /i /j /k is thus
3x4y4z3:
Thus the perpendicular distance of this plane from the origin is
d j j
3
41
3
41
:
6xz
k
(x2 2y2 3z2 1)2
so
2y2 3z2 x2 12xy 18xz
â×grad 8 :
19 (x2 2y2 3z2 1)2
Thus at the point (1, /1, /1),
10
(â×grad 8 )(1, 1, 1) :
49
18. a /u /k /(u1i/u2j)/u1j/u2i and
grad 8 cos x sin yisin x cos yj:
Thus a /u/grad 8 becomes
u1 ju2 icos x sin yisin x cos yj,
and hence
www.EngineeringEBooksPdf.com
ANSWERS 839
19. Set 8 /x2/2y2/a2z2 /18, then the point (1, 2, 3/a ) lies on 8 /0.
grad 8 2xi4yj2a2 zk,
so
n (grad 8 )(1, 2, 3=a) 2i8j6ak:
Vector n is along the normal at (1, 2, 3/a ), so the equation of the normal
is
3
r i2j k l(2i8j6ak):
a
If this is to pass through the point (0, /2, 8), l and a must be such that
3
2j8k i2j k2li8lj6alk:
a
and
n2 (grad 8 )(1, 1, 1) 8i2k:
www.EngineeringEBooksPdf.com
840 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 69
1. (a) order 4, degree 3; (b) order 3, degree 1; (c) order 1, degree 2;
(d) order 1, degree 1; (e) order 2, degree 1; (f) order 2, degree 1.
2. (a) order 1 and linear; (b) order 2 and non-linear;
(c) order 2 and non-linear; (d) order 2 and linear;
(e) order 3 and linear; (f) order 4 and non-linear.
1 1
3. y x3 Ax2 BxC:
/
6 2
1 1 1
4. y x3 x4 Ax2 BxC:
/
6 24 2
1 8 1 8 3
5. y? x3 and y x4 x :
/
3 3 12 3 4
1 1
7. y? cosh 2xA and y sinh 2xAx2 B;
/
2 4
1
y(0) 1 implies B 1 and y(1)4 implies A 3 sinh 2, so
4
1 1
y sinh 2x 3 sinh 2 x1:
4 4
8. y?sin xA and ycos xAxB; y(0)0 implies B 1 /
/
www.EngineeringEBooksPdf.com
ANSWERS 841
3 2
dy dy dy
12. / 4 2 3 18y0:
dx3 dx dx
d2 y dy
13. / 6 25y 0:
dx2 dx
d3 y d2 y dy
14. / 4 y 0:
dx3 dx2 dx
PROBLEMS 70
1. y Cx;
/ y3x:
2. x y C 2 ;
/
2 2
x2 y2 20:
3. y Ce1=x ;
/ y 2e1=x :
4. y C exp(x);
/ yexp(x3):
1 1
5. /y (C sin2 x1); y 2 sin2 x :
2 2
Cx2 1 2x2 1
6. /y ; y :
(1 x)2 2 (1 x)2 2
2 2
7. /cot ytan xC:
8. / tan y C(1ex )2 :
9. (1ex )(1ey )C:
/
1
10. y ln 2 ½x½C:
/
2
11. ln ½ xy½xyC:
/
12.
xy
/
xy
y
ln C:
x jj
dy
13.
g 4 y g tan x dx, so
/
This is equivalent to
ln j cos x
4y j ln C ln (1=C),
or to
cos x 1
,
4y C
www.EngineeringEBooksPdf.com
842 ESSENTIALS OF ENGINEERING MATHEMATICS
1
Thus tan 2y(1=x)C1 or tan 2y [C (4=x)] and so
4
1
y arctan [C (4=x)]:
2
As y()p=8, we have
p 1
arctan C,
8 2
so C /1 and
!
1 4
y arctan 1 :
2 x
15. In terms of z , the equation becomes
dz
dx 0,
z2
so
dz
g 1 cos z g dx:
As 1 cos z2 sin2 (z=2), this becomes
www.EngineeringEBooksPdf.com
ANSWERS 843
1
2 g cosec (z=2) dz g dx
2
and thus
cot(z=2)xC
or
z 2 arccot (C x):
Returning to variables x and y shows the general solution to be
y x12 arccot (C x):
PROBLEMS 71
n xn yn Exact yn
www.EngineeringEBooksPdf.com
844 ESSENTIALS OF ENGINEERING MATHEMATICS
If a step length h/0.1 had been used, the last entry in the table would
have become y(3) /12.9697, showing a marked improvement in
accuracy.
2. The equation of the isoclines is
3y
k,
x
k
y x:
3
n xn yn Exact yn
Clearly the step length h/0.5 is too large to give an accurate result. Had
the step length been reduced to h /0.1, the last entry in the table would
have become y (4) /62.9812.
www.EngineeringEBooksPdf.com
ANSWERS 845
n xn yn Exact yn
Clearly the step length h/0.5 is too large to give an accurate result. Had
the step length been reduced to h /0.1, the last entry in the table would
have become y (3) /26.2089.
www.EngineeringEBooksPdf.com
846 ESSENTIALS OF ENGINEERING MATHEMATICS
n xn yn Exact yn
0 0 0 0
1 0.5 2.3750 2.4462
2 1.0 5.9219 6.1548
3 1.5 11.3730 11.9451
4 2.0 19.9187 21.1672
5 2.5 33.4929 36.0475
6 3.0 55.2384 60.2566
Clearly the step length h/0.5 is too large to give an accurate result. Had
the step length been reduced to h /0.1, the last entry in the table would
have become y (3) /59.9777.
n xn yn Exact yn
www.EngineeringEBooksPdf.com
ANSWERS 847
Had the step length been reduced to h /0.1, the last entry in the table
would have become y (3) /3.7954.
1
k ,
x(y 2)
1
y 2:
kx
1 2
y 2y ln ½x½:
2
n xn yn Exact yn
0 1.0 0 0
1 1.5 0.1991 0.1934
2 2.0 0.3280 0.3208
3 2.5 0.4228 0.4151
4 3.0 0.4973 0.4894
Had the step length been reduced to h /0.1, the last entry in the table
would have become y (3) /0.4894.
www.EngineeringEBooksPdf.com
848 ESSENTIALS OF ENGINEERING MATHEMATICS
PROBLEMS 72
1. (a) Homogeneous of degree 2; (b) Homogeneous of degree 3;
(c) Homogeneous of degree 3; (d) Not homogeneous;
(e) Homogeneous of degree 1; (f) Not homogeneous.
2 2
2. /x Cey =x :
y2
3. /x 1 2 C; x2 y2 3x0:
x
4. (2xy)2 Cx;
/ (2xy)2 4x:
5. x Cex=y :
/
6. xy ln ½ y½ C:
/
8. y2 Cx ex=y :
/
9. y2 x2 ln ½ C=x½:
/
13. ln ½ 4x8y5½8y4xC:
/
y1
14. /(y1) exp 2 arctan C:
x3
15. 10y5x7 ln ½ 10x5y9½ C:
/
www.EngineeringEBooksPdf.com
ANSWERS 849
PROBLEMS 73
1. x3 2xy2 y2 C:
/
4. xyex y2 C:
/
1 4 3 2 2 1
5. / x x y 2x y3 C:
4 2 3
1 3
6. / x xy2 x2 C:
3
7. /xy2xysinh (x3y)C:
8. x2 y2 Cy3 :
/
9. mx;
/ x3 y2 3x2 y3 C:
10. mx2 y2 ;
/ x4 y3 6x3 y5 C:
PROBLEMS 74
1. y x ln ½ A=x½:
/
1
2. /y (A cos x):
x
1
3. /y (x1)4 A(x1)2 :
2
1
4. /y e
x
ln ½x½ x2 A :
2
5. y Ae cos x cos x1:
/
6. y (1x2 )(xA):
/
7. y x2 (ex A):
/
1
8. /y A(x1)2 (x1)4 :
2
9. /y (3x2)=2:
12. y x3 (2eex ):
/
13. y 2(x1)=x3 :
/
6x 2 3p
15. y
/ :
2 sin x
www.EngineeringEBooksPdf.com
850 ESSENTIALS OF ENGINEERING MATHEMATICS
x1
16. y
/ :
cos x
PROBLEMS 75
1
1. /y :
x ln ½ Ax½
x
2. /y :
A ln ½x½
2
4 1
3. /y x ln ½x½A :
2
1
4. y
/ :
x(x A)
5. y2 x ln
/
j j
A
x
:
1
6. y2
/ :
x(1 Ax)
PROBLEMS 76
1 x x2 x3
0 1 2x 3x2
1. /W
12"0:
0 0 2 6x
0 0 0 6
sin x cos x
2. /W
( sin2 xcos2 x)1"0:
cos x sin x
1 elx emx
3.
/W 0 lelx memx lm(ml)e(lm)x "0 if l"m:
0 l2 elx m2 emx
elx cos mx elx sin mx
4. /W
m e2lx " 0:
lelx cos mxm elx sin mx le sin mxm e cos mx
lx lx
1 ex xex
5.
/W 0 ex x
(1x)e e2x " 0:
0 ex (2x)ex
x cos mx x sin mx
6. W m x2 "0:
sin mxmx cos mx
/
cos mxmx sin mx
www.EngineeringEBooksPdf.com
ANSWERS 851
The function
y(x)4x5x3 x(x1)ex
is a particular integral because the terms 4x /5x3 are contained in the
complementary function as a special case, and so satisfy the homoge-
nous form of the equation.
PROBLEMS 77
1. y Aex Be4x :
/
3. y Ae3x Be3x :
/
4. y Ae2x Be4x :
/
5. y ABe2x :
/
6. y (AxB)e7x :
/
7. y (AxB)e4x :
/
13. y 2e3x :
/
15. y 2(1x)e5x :
/
16. y (27x)e3x :
/
www.EngineeringEBooksPdf.com
852 ESSENTIALS OF ENGINEERING MATHEMATICS
22. y ex (A cos 2xB sin 2x)ex (C cos 2xD sin 2x):
/
PROBLEMS 78
1
1. /y (C1 C2 x)e2x (2x2 4x3):
8
x=2 x3 x3
2. /y e A cos B sin x3 3x2 :
2 2
2
3. /y Aex Be2x (3 sin 2xcos 2x):
5
1 x2 1
4. x
/y (ABx)e cos x ex ex
2 2 8
1
(write sinh x (ex ex )):
2
2
5. /y Aex Be2x (3 sin 2xcos 2x):
5
2x x 1 2x
6. /y Ae Be3x x e :
10 25
1
7. y Aex Bex xex :
/
2
1 1
8. y Ae2x Be4x ex (3 cos 2xsin 2x):
/
9 5
1
9. y (ABxCx2 )ex ex :
/
4
1 1 1
10. y ABe3x
/ ( cos x3 sin x) x2 x:
10 6 9
x 1
11. y A cos 2xB sin 2x
/ (3 sin 2x2 cos 2x) :
4 4
1
12. y Aex Bex (x2 x)ex :
/
4
3 3
13. y ABe2x 2x ex x x2 :
/
4 4
www.EngineeringEBooksPdf.com
ANSWERS 853
1 1
14. y Ae3x Bex (23x) (2x2 x)e3x :
/
9 16
1
15. y cos 2x ( sin xsin 2x):
/
3
1 1 1 1
16. y e2x (4x1) x3 x2 x:
/
8 6 4 4
PROBLEMS 80
1. x A cos tB sin t,
/ yB cos tA sin t:
2t
2. x (ABt)e
/ , y(BABt)e2t :
3. x Ae3t Bet ,
/ yAe3t Bet :
4. x (ABt)e2t , y(ABBt)e2t :
/
5. x Aet Be3t ,
/ y3Be3t Aet :
6. x Aet Be3t , yAet 3Be3t cos t:
/
PROBLEMS 81
1. 18=s4 :
/
2. 4=(s2 16):
/
3. 1=(s5):
/
4. 1=(s1)2 :
/
8. 2=(s2 4):
/
www.EngineeringEBooksPdf.com
854 ESSENTIALS OF ENGINEERING MATHEMATICS
13. t4 =8:
/
5
14. /t sin 2t:
4
1
15. / e2t sin 3t:
3
3 2
17. /t 2e3t :
2
2
18. /4 cos 2t sin 3t:
3
3
19. /e4t t2 et :
2
1
20. /3 cos 2t sin 3t:
3
! !
2s 4 s1 2
23. / 2 2 , so
s 2s 5 (s 1)2 22 (s 1)2 22
2s 4
L1 2et cos 2tet sin 2t:
2
s 2s 5
4s2 3s 29 3 1 s
24. / , so
(s2 9)(s 2) s 2 s2 9 s2 9
2
4s 3s 29 1
L1 3e2t sin 3tcos 3t:
(s2 9)(s 2) 3
PROBLEMS 82
1. sY (s)6:
/
2. s2 Y (s)2s:
/
3. s2 Y (s)3s:
/
4. s3 Y (s)4s2s2 :
/
www.EngineeringEBooksPdf.com
ANSWERS 855
PROBLEMS 83
5. (s3)=[(s3)2 32 ]:
/
6. 2=(s2)3 :
/
7. 2=[(s1)2 22 ]:
/
8. 2(s1)=[(s1)2 1]2 :
/
1 1
11. / 2 , so
s 4s 20 (s 2)2 42
1 1
L1 e2t sin 4t:
2
s 4s 20 4
5 5 5 4
12. / × , so
s2 4s 20 (s 2)2 42 4 (s 2)2 42
5 5
L1 e 2t sin 4t:
2
s 4s 20 4
2(s 1) 2(s 1)
13. / , so
(s2 2s 10)2 [(s 1)2 32 ]2
2(s 1) 1 t
L1 2 e t sin 3t:
2
(s 2s 10) 3
( )
2 2 2
s 2s 3 1 (s 1) 2
14. / 2 2 , so
2(s 2s 5) 2 [(s 1)2 s2 ]2
2
s 2s 3 1
L1 et t cos 2t:
2(s2 2s 5)2 2
15.
www.EngineeringEBooksPdf.com
856 ESSENTIALS OF ENGINEERING MATHEMATICS
16.
17.
18.
19.
www.EngineeringEBooksPdf.com
ANSWERS 857
20.
21.
22.
2 3 4 s
24. / 3 2 e :
s s 5
1
28. / u (t)e2(t1) sin [2(t1)]:
2 1
www.EngineeringEBooksPdf.com
858 ESSENTIALS OF ENGINEERING MATHEMATICS
s2 6s 9 s2 9 6s
31. /
2 2 2 2 , so
2
(s 9) (s 9) (s 9)2
2
(s 6s 9)es
L1 u1 (t)f(t1) cos [3(t1)(t1) sin [3(t1)]g:
(s2 9)2
3s 8 s 2
32. / 3 4 , so
s2 4 s2 4 s2 4
(3s 8)e4s
L1 u4 (t)f3 cos [2(t4)4 sin [2(t4)]g:
(s2 4)
2s2 3s 2 2 3s
33. / , so
(s2 1)(s 1) s 1 s2 1
1 (2s2 3s 2)e3s
L u3 (t)[2et3 3 cos (t3)]:
(s 1)(s2 1)
PROBLEMS 84
1. /Y (s)1=(s2 3s2)1=(s2)1=(s1), so
y(t)L1 fY (s)g e2t et :
2 3 1 1 1
2. /Y (s)(s1)=(s 4) , so
4 s2 4 s2
3 1
y(t)L1 fY (s)g e2t e2t :
4 4
2 5 1 1 1
3. /Y (s)(2s3)=(s s2) , so
3 s1 3 s2
5 1
y(t)L1 fY (s)g et e2t :
3 3
www.EngineeringEBooksPdf.com
ANSWERS 859
1
y(t)L1 fY (s)g et cos 3t et sin 3t:
3
s4 s2 1
5. /Y (s) 2 2 × , so
2
(s 4s 5) (s 2) 1 (s 2)2 1
y(t)L1 fY (s)g e2t cos t2e2t sin t:
(s 1)
6. Y (s)(1s)=(s2 2s10)
/ , so
(s 1)2 9
y(t) L1 fY (s)get cos 3t:
3s 6 3 3
7. Y (s)
/ , so
(s2 2s 1) s 1 (s 2)2
y(t)L1 fY (s)g 3et 3tet :
s2 3s 4 2 1 1
8. Y (s)
/ , so
(s3 3s2 3s 1) (s 1)3 (s 1)2 s 1
y(t)L1 fY (s)gt2 et tet et :
4(s2 s 1) 1 2 3
9. Y (s)
/ , so
(s3 s2 s 1) s 1 (s 1)2 s 1
y(t) L1 fY (s)get 2tet 3et :
" #
1 3 1 3 (s2 1) (s2 1)
10. /Y (s) 2
s 1 (s2 1)2 s2 1 2 (s2 1)2
5 1 3 (s2 1)
, so
2 (s2 1)2
2 (s2 1)
5 3
y(t)L1 fY (s)g sin t t cos t:
2 2
1 1 1
11. Y (s)
/ 2
2 2
(s 1) !(s 1)(s !
1) s (s 1)
1 1 3 1 1 1 1
2 2 , so
4 s1 4 s1 2 (s 1) s
1 3 1
y(t)L1 fY (s)g et et et t:
4 4 2
s3 3s
12. Y (s)
/
(s2 3s 2) (1 s2 )(s2 !
3s 2) ! !
2 1 3 1 9 1 3 1
s 1 s 2 10 s2 1 10 s2 1 2 s1
!
6 1
5 s2
www.EngineeringEBooksPdf.com
860 ESSENTIALS OF ENGINEERING MATHEMATICS
! ! ! !
1 1 1 1 3 s 9 1
, so
2 s1 5 s2 10 s2 1 10 s2 1
1 1 3 9
y(t)L1 fY (s)g et e2t cos t sin t:
2 5 10 10
1 1
13. Y (s)
/
4 , so
(s 1) (s 1)6
1
y(t)L1 fY (s)g tet t3 et :
6
1 1 2es
14. Y (s)
/
(s2 4) s(s2 4) s(s2 4)
! ! ! ! !
1 1 1 1 1 1 1 1 1 1
4 s2 4 s2 8 s2 8 s2 4 s
! ! !
1 es 1 es 1 es
,
4 s2 4 s2 2 s
! ! ! ! !
3 1 1 1 1 1 1 es 1 es
8 s2 8 s2 4 s 4 s2 4 s2
!
1 es
, so
2 s
s eps=2
15. Y (s)
/
(s2 1)(s2 4) s(s2 1)(s2 4)
! ! ! !
1 s 1 s 1 seps=2 1 seps=2
3 s2 1 3 s2 4 12 s2 4 3 (s2 1)
!
1 eps=2
, so
4 s
y(t)L1 fY (s)g
www.EngineeringEBooksPdf.com
ANSWERS 861
1 1
cos t cos 2tup=2 (t)
3 3
" #
1 1 1
cos [2(tp=2)] cos (tp=2) :
12 3 4
s2 s 1 e2s
16. Y (s)
/
s(s2 s !
2) s(s2 s! 2) ! ! !
1 1 1 1 1 1 e2s 1 e2s
2 s2 s1 2 s 6 s2 3 s1
!
1 e2s
, so
2 s
s2 3s 1 es
17. Y (s)
/
2
2
s(s ! 3s 2) !s(s 3s 2)! !
1 1 1 1 1 es 1 es
2 s s1 2 s2 s1 2 s1
!
1 es
, so
2 s
18. (s/2)X (s)/1/Y (s ), (s/4)Y (s )/3X (s ); solving for X (s) and Y (s)
and finding the inverse Laplace transform gives
3 1 3 3
x(t) et e5t , y(t) et e5t :
4 4 4 4
19. (s/1)X (s )/1/Y (s ), (s/3)Y (s )/2(1 /X (s)); solving for X (s ) and
Y (s) and finding the inverse Laplace transform gives
x(t)e2t ( cos tsin t), y(t)2e2t cos t:
20. (s/2)X (s )/Y (s ), (s /4)Y (s) / / (1/X (s )); solving for X (s ) and
Y (s) and finding the inverse Laplace transform gives
www.EngineeringEBooksPdf.com
862 ESSENTIALS OF ENGINEERING MATHEMATICS
x(t)te3t , y(t)(1t)e3t :
21. (s/3)X (s )/2(1/Y (s )), (s /1)Y (s) /1 /2X (s ); solving for X (s) and
Y (s) and finding the inverse Laplace transform gives
x(t)2(1t)et , y(t)(12t)et :
22. (s/1)X (s )/1/2Y (s), sY (s )/1/X (s )/5/(s2/1); solving for X (s)
and Y (s) and finding the inverse Laplace transform gives
4 2
x(t) et e2t cos t3 sin t
3 3
4 1
y(t) et e2t 2 cos t sin t:
3 3
23. sX (s) /2 /Y (s) /2/s2, sY (s)/1/ /X (s)/1/s2; solving for X (s )
and Y (s) and finding the inverse Laplace transform gives
x(t) 4 cos t2t,
y(t)4 sin t12t:
PROBLEMS 85
1. y(t) 101 ( sin t6 cos t) 17
/
10
e3t 2u2 (t)e(63t) :
2. y(t) 3(e2t et )6e3t=2 18u2 (t)e(3t6)=2 sinh (12 t1) :
/
PROBLEMS 86
1. Setting n /1 in the theorem gives
!
d 1 1
Lftg ,
ds s s2
www.EngineeringEBooksPdf.com
ANSWERS 863
so L{teat } /1/(s /a )2. If the result is true for some n /1, then
!
n at d n! (n 1)!
Lf(t)t e g ,
ds (s a)n1 (s a)n2
which is the result obtained from L{tn eat } by replacing n by n/1. The
result is true for n /1, so it follows by induction that it is true for n/1,
2, . . . .
3. Setting n /1 in the theorem gives
!
d a 2as
Lf(t) sinh atg ,
2
ds s a 2 (a s2 )2
2
so
2as
Lft sinh atg :
(s2 a2 )2
4. Setting n /1 in the theorem gives
!
d s (s2 a2 )
Lf(t) cosh atg ,
ds s2 a2 (s2 a2 )2
so
(s2 a2 )
Lft cosh atg :
(s2 a2 )2
5. The first result follows from entries 1 and 7 in Table 13, as in Example
85.3. Setting n /1 in the theorem gives
!
d a2 a2 (a2 3s2 )
Lf(t)[1 cos at]g ,
ds s(s2 a2 ) s2 (s2 a2 )2
so
a2 (a2 3s2 )
Lftt cos atg :
s2 (s2 a2 )2
6. The first result follows from entries 2 and 6 in Table 13, as in Example
85.3. Setting n /1 in the theorem gives
www.EngineeringEBooksPdf.com
864 ESSENTIALS OF ENGINEERING MATHEMATICS
!
d a3 2a3 (a2 2s2 )
Lf(t)[at sin at]g ,
ds s2 (s2 a2 ) s3 (s2 a2 )2
so
2a3 (a2 2s2 )
Lfat2 t sin atg :
s3 (s2 a2 )2
7. The first result follows from entries 6 and 9 in Table 13, as in Example
85.3. Setting n /1 in the theorem gives
!
d 2as2 4as(s2 a2 )
Lf(t)[ sin atat cos at]g 2 ,
2
ds (s a ) 2 (s2 a2 )3
so
4as(s2 a2 )
Lft sin atat2 cos atg :
(s2 a2 )3
8. The first result follows from entries 12 and 6 in Table 13, as in Example
85.3. Setting n /1 in the theorem gives
!
d 2a3 8a3 s3
Lf(t)[ sinh at sin at]g ,
ds (s4 a4 ) (s4 a4 )2
so
8a3 s3
Lft sinh att sin atg :
(s4 a4 ) 2
www.EngineeringEBooksPdf.com
Reference information
Trigonometric Identitites
sin2 xcos2 x 1
sec2 x1tan2 x
cosec2 x1cot2 x
sin 2x 2 sin x cos x
cos 2xcos2 xsin2 x
12 sin2 x
2 cos2 x1
sin2 x 12 (1cos 2x)
www.EngineeringEBooksPdf.com
866 ESSENTIALS OF ENGINEERING MATHEMATICS
www.EngineeringEBooksPdf.com
REFERENCE INFORMATION 867
Constants
e2:718 281 828 459 04
p2 9:869 604 401 089 35
ln 102:302 585 092 994 04
p3:141 592 653 589 79
log10 e 0:434 294 481 903 25
5. cos ax a sin ax
/ 17. sech ax a sech ax tanh ax
/
x 2 2
7. cosec ax a cosec ax cot ax 19. arcsinh
/ /1=(x a )
a
8
8. sec ax / a sec ax tan ax >
>
>
> 1=(x2 a2 )
>
>
a csc2 ax >
9. cot ax /
<for arccosh x 0, x 1:
>
x x / a a
/ 10: arcsin / 1=(a2 x2 ) 20. arccosh >
> 2 2
a a > >1=(x a )
>
> x x
x >
>
11. /arccos 1=(a2 x2 )
/ :for arccosh B0, 1:
a a a
x x
12. /arctan / a=(a2 x2 ) 21. arctanh /a=(a2 x2 )
a a
d du dv
1: (uv) (sum)
dx dx dx
d dv du
2: (uv)u v (product)
dx dx dx
www.EngineeringEBooksPdf.com
868 ESSENTIALS OF ENGINEERING MATHEMATICS
d u
du dv
3:
dx v
v u
dx dx
v2 = for v"0 (quotient)
d dg
4: [ f fg(x)g]f ?fg(x)g (function of a function)
dx dx
5:
g (uv) dx g u dx g v dx (sum)
6:
g u dvuv g v du and
b b b
1 ln xC, x0
2:
g x dx ln ½x½C ln(x)C, x B0
1
3:
ge ax
dx eax C
a
ax
4:
g ax dx
ln a
C, a "1, a 0
5:
g ln x dx x ln xxC
1
6:
g sin ax dxa cos axC
1
7:
g cos ax dx sin axC
a
1
8:
g tan ax dx a ln ½cos ax½C
1
9:
g sinh ax dx a cosh axC
1
10:
g cosh ax dx a sinh axC
www.EngineeringEBooksPdf.com
REFERENCE INFORMATION 869
1
11:
g tanh ax dx a ln ½cosh ax½C
1 x
12:
g (a x ) dx arsin a C, x 0a
2 2
2 2
1 x pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
13:
g (x2 a2 )
dx arcosh C ln ½x x2 a2 ½ C, a2 0x2
a
1 x pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
14:
g (a2 x2 )
dx arsinh C ln ½x a2 x2 ½ C
a
1 1 x
15:
g x a dx a arctan a C
2 2
16:
g x2
1
a 2
1
dx ln
xa
2a x a
1
j x
j
C artanh C, a2 0x2
a a
Algebraic Forms
(a bx)n1
17:
g (abx)n dx
b(n 1)
C, n"1
1 1
18:
g a bx dx b ln ½abx½C
(a bx)n1 a bx a
19:
g x(abx)n dx
b2 n2
n1
C, n "1, 2
x x a
20:
g a bx dx b b ln ½abx½C 2
x2 1 1
g a bx dx b
2 2
21: (abx) 2a(abx)a ln ½abx½ C
3 2
x 1 a
22:
g (a bx)2
dx
b2 a bx
ln ½abx½ C
x2 1 a2
23:
g (a bx)2
dx
b3
abx
a bx
2a ln ½abx½ C
$ %
1 1 x
24:
g x(a bx)
dx ln
a a bx
C
25:
1
g x (a bx) dx ax a
2
1 b
2
ln j a bx
x j
C
www.EngineeringEBooksPdf.com
870 ESSENTIALS OF ENGINEERING MATHEMATICS
Trigonometric Forms
1
27:
g sin ax dxa cos axC
x sin 2ax
28:
g sin ax dx 2
2
4a
C
1
29:
g cos ax dx a sin axC
x sin 2ax
30:
g cos2 ax dx
2 4a
C
cos 2ax
34:
g sin ax cos ax dx
4a
C
35:
g x sin x dxx cos xsin xC
36:
g x sin x dxx cos x2x sin x2 cos xC
2 2
37:
g x cos x dx x sin xcos xC
38:
g x cos x dx x sin x2x cos x2 sin xC
2 2
ax
e
39:
g e sin bx dx a b (a sin bxb cos bx)C
ax
2 2
eax
40:
g eax cos bx dx
a2 b2
(a cos bxb sin bx)C
1
41:
g sec ax dx a ln jsec axtan axjC
www.EngineeringEBooksPdf.com
REFERENCE INFORMATION 871
1
42:
g cosec ax dx a ln jcosec axcot axjC
1
43:
g cot ax dx a ln j sin axjC
1
44:
g tan ax dx a tan axxC
2
1
45:
g sec2 ax dx tan axC
a
1
46:
g cosec2 ax dx cot axC
a
1
47:
g cot2 ax dx cot axxC
a
1
49:
g arccos ax dx x arccos ax a (1a x )C, a x 01
2 2 2 2
1
50:
g arctan ax dx x arctan ax 2a ln (1a x )C 2 2
1 bax
52:
g bax dx
a ln b
C, b 0, b"1
eax
53:
g x eax dx
a2
(ax1)C
54:
g ln ax dx x ln axxC
Hyperbolic Forms
1
55:
g sinh ax dx a cosh axC
www.EngineeringEBooksPdf.com
872 ESSENTIALS OF ENGINEERING MATHEMATICS
sinh 2ax x
56:
g sinh ax dx
2
4a
C
2
x 1
57:
g x sinh ax dx a cosh ax a 2
sinh axC
1
58:
g cosh ax dx a sinh axC
sinh 2ax x
59:
g cosh2 ax dx
4a
C
2
x 1
60:
g x cosh ax dx a sinh ax a 2
cosh axC
eax ebx ebx
61:
g ax
e sinh bx dx
2 ab ab
C, a2 "b2
eax ebx ebx
62:
g eax cosh bx dx
2 ab ab
C, a2 " b2
1
63:
g tanh ax dx a ln (cosh ax)C
1
64:
g tanh2 ax dxx tanh axC
a
1
65:
g coth ax dx a ln j sinh axjC
1
66:
g coth ax dxx a coth axC
2
2
67:
g sech ax dx a arctan e ax
C
1
68:
g sech2 ax dx tanh axC
a
1
70:
g cosech ax dxa coth axC
2
www.EngineeringEBooksPdf.com
REFERENCE INFORMATION 873
s 2 a2
9. t cos at / , s0
(s2 a2 )2
b
10. eat sin bt / , sa
(s a)2 b2
sa
11. eat cos bt / , sa
(s a)2 b2
a
12. sinh at / , s ½a½
s 2 a2
s
13. cosh at / , s ½a½
s a2
2
Transformation of Derivatives
www.EngineeringEBooksPdf.com
874 ESSENTIALS OF ENGINEERING MATHEMATICS
Let Lf f (t)g F (s) for sb, then Lfeat f (t)g F (sa) for sab:
www.EngineeringEBooksPdf.com
Mathematics
ESSENTIALS OF
ENGINEERING MATHEMATICS
Worked Examples and Problems
SECOND EDITION
First published in 1992, Essentials of Engineering Mathematics is a
widely popular reference ideal for self-study, review, and fast answers to specific
questions. While retaining the style and content that made the first edition so
successful, the second edition provides even more examples, new material, and
most importantly, an introduction to using two of the most prevalent software
packages in engineering: Maple and MATLAB. Specifically, this edition includes:
• Introductory accounts of Maple and MATLAB that offer a quick start to
using symbolic software to perform calculations, explore the properties
of functions and mathematical operations, and generate graphical output
• New problems involving the mean value theorem for derivatives
• Extension of the account of stationary points of functions of two variables
• The concept of the direction field of a first-order differential equation
• Introduction to the delta function and its use with the Laplace transform
The author includes all of the topics typically covered in first-year undergraduate
engineering mathematics courses, organized into short, easily digestible sections that
make it easy to find any subject of interest. Concise, right-to-the-point exposition, a
wealth of examples, and extensive problem sets at the end each chapter—with answers
at the end of the book—combine to make Essentials of Engineering
Mathematics, Second Edition ideal as a supplemental textbook, for self-study,
and as a quick guide to fundamental concepts and techniques.
Alan Jeffrey is Emeritus Professor of Engineering Mathematics at the University
of Newcastle upon Tyne, UK.
C4894
www.EngineeringEBooksPdf.com