PDF Discrete Mathematics with Applications 4th Edition (eBook PDF) download
PDF Discrete Mathematics with Applications 4th Edition (eBook PDF) download
com
https://ebookluna.com/product/discrete-mathematics-with-
applications-4th-edition-ebook-pdf/
OR CLICK HERE
DOWLOAD NOW
https://ebookluna.com/product/ebook-pdf-discrete-mathematics-with-
applications-4th-by-susanna/
ebookluna.com
https://ebookluna.com/product/ebook-pdf-discrete-mathematics-with-
applications-5th-edition/
ebookluna.com
https://ebookluna.com/download/discrete-mathematics-with-applications-
fifth-edition-ebook-pdf/
ebookluna.com
https://ebookluna.com/download/discrete-mathematics-with-applications-
metric-version-fifth-edition-ebook-pdf/
ebookluna.com
Discrete Mathematics and Its Applications 8th Edition
(eBook PDF)
https://ebookluna.com/product/discrete-mathematics-and-its-
applications-8th-edition-ebook-pdf/
ebookluna.com
https://ebookluna.com/download/discrete-mathematics-ebook-pdf/
ebookluna.com
https://ebookluna.com/product/ebook-pdf-discrete-mathematics-and-its-
applications-8th-edition-by-kenneth-rosen/
ebookluna.com
https://ebookluna.com/product/discrete-mathematics-8th-edition-ebook-
pdf/
ebookluna.com
https://ebookluna.com/download/discrete-contact-mechanics-with-
applications-in-tribology-ebook-pdf/
ebookluna.com
1019763_FM_VOL-I.qxp 9/17/07 4:22 PM Page viii
1
2
3
4
5
6
7
8
9
10
11 This page was intentionally left blank
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
S 50
R 51
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Cover Photo: The stones are discrete objects placed one on top of another like a chain of careful reasoning. A person who decides to
build such a tower aspires to the heights and enjoys playing with a challenging problem. Choosing the stones takes both a scientific and
an aesthetic sense. Getting them to balance requires patient effort and careful thought. And the tower that results is beautiful. A perfect
metaphor for discrete mathematics!
Printed in Canada
1 2 3 4 5 6 7 14 13 12 11 10
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
To Jayne and Ernest
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
CONTENTS
Chapter 1 Speaking Mathematically 1
1.1 Variables 1
Using Variables in Mathematical Discourse; Introduction to Universal, Existential,
and Conditional Statements
vi
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Contents vii
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
viii Contents
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Contents ix
6.1 Set Theory: Definitions and the Element Method of Proof 336
Subsets; Proof and Disproof; Set Equality; Venn Diagrams; Operations on Sets; The
Empty Set; Partitions of Sets; Power Sets; Cartesian Products; An Algorithm to
Check Whether One Set Is a Subset of Another (Optional)
6.4 Boolean Algebras, Russell’s Paradox, and the Halting Problem 374
Boolean Algebras; Description of Russell’s Paradox; The Halting Problem
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
x Contents
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Contents xi
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xii Contents
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Contents xiii
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
PREFACE
My purpose in writing this book was to provide a clear, accessible treatment of discrete
mathematics for students majoring or minoring in computer science, mathematics, math-
ematics education, and engineering. The goal of the book is to lay the mathematical
foundation for computer science courses such as data structures, algorithms, relational
database theory, automata theory and formal languages, compiler design, and cryptog-
raphy, and for mathematics courses such as linear and abstract algebra, combinatorics,
probability, logic and set theory, and number theory. By combining discussion of theory
and practice, I have tried to show that mathematics has engaging and important applica-
tions as well as being interesting and beautiful in its own right.
A good background in algebra is the only prerequisite; the course may be taken by
students either before or after a course in calculus. Previous editions of the book have
been used successfully by students at hundreds of institutions in North and South Amer-
ica, Europe, the Middle East, Asia, and Australia.
Recent curricular recommendations from the Institute for Electrical and Electronic
Engineers Computer Society (IEEE-CS) and the Association for Computing Machinery
(ACM) include discrete mathematics as the largest portion of “core knowledge” for com-
puter science students and state that students should take at least a one-semester course in
the subject as part of their first-year studies, with a two-semester course preferred when
possible. This book includes the topics recommended by those organizations and can be
used effectively for either a one-semester or a two-semester course.
At one time, most of the topics in discrete mathematics were taught only to upper-
level undergraduates. Discovering how to present these topics in ways that can be under-
stood by first- and second-year students was the major and most interesting challenge of
writing this book. The presentation was developed over a long period of experimentation
during which my students were in many ways my teachers. Their questions, comments,
and written work showed me what concepts and techniques caused them difficulty, and
their reaction to my exposition showed me what worked to build their understanding and
to encourage their interest. Many of the changes in this edition have resulted from con-
tinuing interaction with students.
Logic and Proof Probably the most important goal of a first course in discrete math-
ematics is to help students develop the ability to think abstractly. This means learning
to use logically valid forms of argument and avoid common logical errors, appreciating
what it means to reason from definitions, knowing how to use both direct and indirect
xiv
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Preface xv
argument to derive new results from those already known to be true, and being able to
work with symbolic representations as if they were concrete objects.
Induction and Recursion An exciting development of recent years has been the
increased appreciation for the power and beauty of “recursive thinking.” To think recur-
sively means to address a problem by assuming that similar problems of a smaller nature
have already been solved and figuring out how to put those solutions together to solve
the larger problem. Such thinking is widely used in the analysis of algorithms, where
recurrence relations that result from recursive thinking often give rise to formulas that are
verified by mathematical induction.
Discrete Structures Discrete mathematical structures are the abstract structures that
describe, categorize, and reveal the underlying relationships among discrete mathemat-
ical objects. Those studied in this book are the sets of integers and rational numbers,
general sets, Boolean algebras, functions, relations, graphs and trees, formal languages
and regular expressions, and finite-state automata.
Algorithms and Their Analysis The word algorithm was largely unknown in the mid-
dle of the twentieth century, yet now it is one of the first words encountered in the study
of computer science. To solve a problem on a computer, it is necessary to find an algo-
rithm or step-by-step sequence of instructions for the computer to follow. Designing an
algorithm requires an understanding of the mathematics underlying the problem to be
solved. Determining whether or not an algorithm is correct requires a sophisticated use
of mathematical induction. Calculating the amount of time or memory space the algo-
rithm will need in order to compare it to other algorithms that produce the same output
requires knowledge of combinatorics, recurrence relations, functions, and O-, -, and
-notations.
Applications and Modeling Mathematical topics are best understood when they are
seen in a variety of contexts and used to solve problems in a broad range of applied
situations. One of the profound lessons of mathematics is that the same mathematical
model can be used to solve problems in situations that appear superficially to be totally
dissimilar. A goal of this book is to show students the extraordinary practical utility of
some very abstract mathematical ideas.
Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Random documents with unrelated
content Scribd suggests to you:
body meets with in 1st. Its velocity, and the form and
its motion in a fluid.magnitude of the surface opposed to the
fluid.
2nd. Upon the density and tenacity of
the fluid or cohesion of its particles, and
also upon the friction which will be caused
by the roughness of the surface of the
body.
3rd. Upon the degree of compression
to which this fluid, supposed to be perfectly
elastic, is subjected, upon which will
depend the rapidity with which it will close
in and fill the space behind the body in
motion.
The resistance of a Firstly, with regard to the velocity of
fluid to a body as the body. It is evident that a plane moving
the squares of the through a fluid in a direction perpendicular
velocities.
to its surface, must impart to the particles
of the fluid with which it comes in contact,
a velocity equal to its own; and,
consequently, from this cause alone, the
resistances would be as the velocities; but
the number of particles struck in a certain
time being also as the velocities, from these
two causes combined, the resistance of a
fluid to a body in motion, arising from the
inertia of the particles of the fluid, will be as
the square of the velocity.
Cohesion of the Secondly, a body moving in a fluid
particles of a fluid, must overcome the force of cohesion of
and friction. those parts which are separated, and the
friction, both which are independent of the [118]
velocity. The total resistance then, from
cohesion, friction, and inertia, will be partly
constant and partly as the square of the
velocity.
Result. The resistances therefore are as the
squares of the velocities in the same fluid,
and as the squares of the velocities
multiplied by the densities in different
fluids.
Hitherto, however, we have imagined a
fluid which does not exist in nature; that is
to say, a discontinued fluid, or one which
has its particles separated and
unconnected, and also perfectly non-elastic.
Atmosphere, and its Now, in the atmosphere, no one
properties bearing particle that is contiguous to the body can
on the question of be moved without moving a great number
its resistance.
of others, some of which will be distant
from it. If the fluid be much compressed,
and the velocity of the moving body much
less than that with which the particles of
the fluid will rush into vacuum in
consequence of the compression, it is clear
that the space left by the moving body will
be almost instantaneously filled up, (plate
23, fig. 2); and the resistance of such a
medium would be less the greater the
compression, provided the density were the
same, because the velocity of rushing into a
vacuum will be greater the greater the
compression. Also, in a greatly compressed
fluid, the form of the fore part of the body
influences the amount of the retarding force
but very slightly, while in a non-compressed
fluid this force would be considerably
affected by the peculiar shape which might
be given to the projectile.
Resistance Thirdly. If the body can be moved so
increased when the rapidly that the fluid cannot instantaneously
body moves so fast press in behind it, as is found to be the
that a vacuum is case in the atmosphere, the resisting power
formed behind it. of the medium must be considerably
increased, for the projectile being deprived
of the pressure of the fluid on its hind part,
must support on its fore part the whole
weight of a column of the fluid, over and
above the force employed in moving the
portion of the fluid in contact with it, which
force is the sole source of resistance in the
discontinued fluid. Also, the condensation of
the air in front of the body will influence
considerably the relation between the
resistances and the velocities of an oblique
surface: and it is highly probable that
although the resistances to a globe may for
slow motions be nearly proportional to the
squares of the velocities, they will for great
velocities increase in a much higher ratio.
[119]
UPON THE
RESISTANCE OF THE
AIR TO BODIES OF
DIFFERENT FORMS.
[121]
RESISTANCE OF THE AIR, AS
AFFECTED BY THE WEIGHT OF
PROJECTILES.
Resistance Bodies of similar volume and figure
overcome by overcome the resistance of the air in
weight. proportion to their densities. The amount of
the air’s resistance is in proportion to the
magnitude of the surface.
Contents of circles. The superficial contents of circles are
as the squares of their diameters. Hence if
the ball A. (plate 23, fig. 3) be 2in. in
diameter, and the ball B. 4in., the amount of
resistance experienced would be as four to
sixteen.
Contents of The cubical contents, or weights of
spheres. spheres, are in proportion to the cubes of
their diameters. Hence the power to
overcome resistance in the balls A and B
would be as eight to sixty-four. Thus the
power to overcome resistance increases in
much greater proportion than the resistance
elicited by increasing the surface.
Advantages of Suppose an elongated body to have
elongated bullets. the diameter of its cylindrical portion equal
to that of the ball A., i.e., E.F. = C.D., (plate
23, fig. 4), and elongated so that its weight
should be equal to that of the spherical shot
B., it is evident that it would meet equal
resistance from the air, to the ball A.,
having, at the same time, as much power to
overcome resistance as the body B.
Elongated balls, by offering a larger
surface to the sides of the barrel, are less
liable to be affected by any imperfections in
the bore; whereas the spherical ball,
pressing only on its tangential point, will
give to any little hollows, or undulations,
wherever they occur.
Balls cannot be A spherical ball cannot be expanded
expanded. into the grooves, unless there be very little
windage, except by blows from the ramrod,
the gas escaping round the circumference
of the ball, and giving it an irregular motion
Elongated while passing down the barrel; but an
projectiles easily elongated projectile can be readily
expanded. expanded, and the facility of doing so is in
proportion to the difference of length
between its major and minor axis.
DEVIATIONS OF PROJECTILES
FROM SMOOTH-BORED GUNS.
Causes of deviation Very great irregularities occur in the
of shot. paths described by projectiles fired from
smooth-bored guns. It is a fact well known
to all practical artillerists, that if a number
of solid shot or any other projectile be fired
from the same gun, with equal charges and
elevations, and with gunpowder of the
same quality, the gun carriage resting on a
platform, and the piece being laid with the
greatest care before each round, very few
of the shot will range to the same distance;
and moreover, the greater part will be found
to deflect considerably (unless the range be
very short) to the right or left of the line in
which the gun is pointed.
Four causes of The causes of these deviations may be
deviation. stated as follows:—1st, Windage; 2nd,
Rotation; 3rd, Wind; 4th, from Rotation of
the Earth.
ILLUSTRATIONS OF ROBINS’
THEORY OF ROTATION.
With ball and 1st Illustration. A wooden ball 41⁄2
double string. inches in diameter suspended by a double
string, nine feet long. It will be found that if
this ball receive a spinning motion by the
untwisting of the string it will remain
stationary. If it be made to vibrate, it will
continue to do so in the same vertical
plane. But if it be made to spin while it
vibrates it will be deflected to that side on
which the whirl combines with the
progressive motion.
By firing through 2nd Illustration. By firing through
screens. screens of thin paper placed parallel to each
other, at equal distances, the deflection or
track of bullets can easily be investigated. It
will be found that the amount of deflection
is wholly disproportioned to the increased
distance of the screens.
Bent muzzle. 3rd Illustration. To give further light
upon this subject, Mr. Robins took a barrel
and bent it at about three or four inches
from the muzzle to the left, the bend
making an angle of 3° or 4° with the axis of
the piece.
By firing at screens it was found that
although the ball passed through the first
screens to the left, it struck the butt to the
right of the vertical plane on which aim was
taken in line of the axis of the unbent
portion of the barrel. This was caused by
the friction of the ball on the right side of
the bent part of the muzzle, causing the ball
to spin from left to right.
ON ECCENTRIC PROJECTILES.
How to find centre Sir Howard Douglas, in his “Naval
of gravity. Gunnery,” states:—“The position of the
centre of gravity can be found by floating
the projectile in mercury, and marking its
vertex. Then mark a point upon the shot
diametrically opposite to that point, which
will give the direction of the axis in which
the two centres lie. Thus the shot can be
placed in the gun with its centre of gravity
in any desired position.”
“On making experiments, it appeared [125]
that not one shot in a hundred, when
floated in mercury, was indifferent as to the
position in which it was so floated, but
turned immediately, until the centre of
gravity arrived at the lowest point, and
consequently that not one shot in a
hundred was perfect in sphericity, and
homogeneity. Shells can be made eccentric
by being cast with a solid segment in the
interior sphere, left in the shell, or by boring
two holes in each shell, diametrically
opposite to one another, stopping up one
Effect of with 5lbs. of lead, and the other with wood.
eccentricity. When the centre of gravity was above the
centre of the figure, the ranges were the
longest, and when below, the shortest.
When to the right or left hand, the
deviations were also to the right or left. The
mean range which, with the usual shot, was
1640 yards, was, with the shot whose
centres of gravity and of figure were not
coincident, the centre of gravity being
upwards, equal to 2140 yards, being an
increase of 500 yards.
Ricochet of “With respect to the ricochet of
eccentric shot. eccentric spherical projectiles, the rotation
which causes deflection in the flight, must
act in the same manner to impede a
straight forward graze. When an ordinary
well formed homogenous spherical
projectile, upon which probably very little
rotation is impressed, makes a graze, the
bottom of the vertical diameter first touches
the plane, and immediately acquires, by the
reaction, a rotation upon its horizontal axis,
by which the shot rolls onwards throughout
the graze, probably for a straight forward
second flight. But in the case of an
eccentric spherical projectile, placed with its
centre of gravity to the right or to the left,
its rotation upon its vertical axis during the
graze must occasion a fresh deflection in its
second flight, and it is only when the centre
of gravity is placed in a vertical plane
passing through the axis of the gun, that
the rotation by touching the ground will not
disturb the direction of the graze, though
the extent of range to the first graze will be
affected more or less according as the
centre of gravity may have been placed
upwards or downwards. Whether the
rebounds take place from water, as in the
experiments made on board the “Excellent,”
or on land, as those carried on at
Shoeburyness, the shot, when revolving on
a vertical axis, instead of making a straight
forward graze, suffered deflection which
were invariably towards the same side of
the line of fire as the centre of gravity; and
at every graze up to the fourth, a new
deflection took place.
Knowledge derived “The results of these very curious and
from experiments instructive experiments fully explain the
with eccentric shot. extraordinary anomalies, as they have
heretofore been considered, in length of
range and in the lateral deviations: these
have been attributed to changes in the
state of the air, or the direction of the wind,
to differences in the strength of the
gunpowder, and to inequalities in the
degrees of windage. All these causes are,
no doubt, productive of errors in practice,
but it is now clear that those errors are
chiefly occasioned by the eccentricity and
nonhomogeneity of the shot, and the
accidental positions of the centre of gravity
of the projectile with respect to the axis of
the bore. The whole of these experiments
furnish decisive proof of the necessity of
paying the most scrupulous attention to the
figure and homogeneity of solid shot, and
concentricity of shells, and they exhibit the
remarkable fact that a very considerable [126]
increase of range may be obtained without
an increase in the charge, or elevation of
the gun.”
No advantage in It is not to be expected that eccentric
using eccentric projectiles would be applicable for general
projectiles. purposes, on account of the degree of
attention and care required in their service,
nor would much advantage be gained by
their use, as the momentum is not altered,
and it is only necessary to give the ordinary
shot a little more elevation in order to strike
the same object.
Range of elongated There is another point of great
projectiles at certain importance with regard to the range of
low elevations elongated projectiles. It is asserted by Sir
greater in air than
in vacuo.
W. Armstrong and others, that at certain
low elevations the range of an elongated
projectile is greater in the atmosphere than
in vacuo, and the following is the
explanation given by the former of this
apparent paradox. “In a vacuum, the
trajectory would be the same, whether the
projectile were elongated or spherical, so
long as the angle of elevation, and the
initial velocity were constant; but the
presence of a resisting atmosphere makes
this remarkable difference, that while it
greatly shortens the range of the round
shot, it actually prolongs that of the
elongated projectile, provided the angle of
elevation do not exceed a certain limit,
which, in my experiments, I have found to
be about 6°. This appears, at first, very
paradoxical, but it may be easily explained.
The elongated shot, if properly formed, and
having a sufficient rotation, retains the
same inclination to the horizontal plane
throughout its flight, and consequently
acquires a continually increasing obliquity to
the curve of its flight. Now the effect of this
obliquity is, that the projectile is in a
measure sustained upon the air, just as a
kite is supported by the current of air
meeting the inclined surface, and the result
is that its descent is retarded, so that it has
time to reach to a greater distance.”
Charge. The form and weight of the projectile
being determined as well as the inclination
of the grooves, the charge can be so
arranged as to give the necessary initial
velocity, and velocity of rotation; or if the
nature of projectile and charge be fixed, the
inclination of the grooves must be such as
will give the required results. The most
important consideration is the weight and
form of projectile; the inclination of the
grooves, the charge, weight of metal in the
gun, &c., are regulated almost entirely by it.
The charges used with rifle pieces are much
less than those with which smooth-bored
guns are fired, for little or none of the gas
is allowed to escape by windage, there
being therefore no loss of force; and it is
found by experience that, with
comparatively low initial velocities, the
elongated projectiles maintain their velocity,
and attain very long ranges.
Powder Mill.
FIG. 2.
Old Eprouvette Pendulum
FIG. 3.
PLATE 2.
Enlarged section of Valve
Hydraulic Press
Harry Vernon delt.
Day & Son Lithrs. to the Queen.
PLATE 3.
Robins’ Balistic Pendulum
Harry Vernon delt.
Day & Son Lithrs. to the Queen.
PLATE 4.
FIG. 1.
Bow unstrung
FIG. 2.
Bow strung
FIG. 3.
Asiatic Bow
Harry Vernon delt.
Day & Son Lithrs. to the Queen
PLATE 5.
FIG. 1.
Matchlock
FIG. 2.