4676800
4676800
4676800
https://ebooknice.com/product/the-foundations-of-analysis-a-
straightforward-introduction-book-1-logic-sets-and-numbers-2338400
ebooknice.com
https://ebooknice.com/product/biota-grow-2c-gather-2c-cook-6661374
ebooknice.com
https://ebooknice.com/product/foundations-of-analysis-a-
straightforward-introduction-book-2-topological-ideas-1854094
ebooknice.com
https://ebooknice.com/product/matematik-5000-kurs-2c-larobok-23848312
ebooknice.com
(Ebook) SAT II Success MATH 1C and 2C 2002 (Peterson's SAT II Success)
by Peterson's ISBN 9780768906677, 0768906679
https://ebooknice.com/product/sat-ii-success-
math-1c-and-2c-2002-peterson-s-sat-ii-success-1722018
ebooknice.com
(Ebook) Master SAT II Math 1c and 2c 4th ed (Arco Master the SAT
Subject Test: Math Levels 1 & 2) by Arco ISBN 9780768923049,
0768923042
https://ebooknice.com/product/master-sat-ii-math-1c-and-2c-4th-ed-
arco-master-the-sat-subject-test-math-levels-1-2-2326094
ebooknice.com
https://ebooknice.com/product/cambridge-igcse-and-o-level-history-
workbook-2c-depth-study-the-united-states-1919-41-2nd-edition-53538044
ebooknice.com
https://ebooknice.com/product/mathematical-analysis-a-straightforward-
approach-second-edition-37702432
ebooknice.com
https://ebooknice.com/product/mathematical-analysis-a-straightforward-
approach-second-edition-11796904
ebooknice.com
THE FOUNDATIONS OF ANALYSIS:
A STRAIGHTFORWARD INTRODUCTION
BooK 1
LOGIC, SETS AND NUMBERS
THE FOUNDATIONS OF
ANALYSIS:
A STRAIGHTFORWARD
INTRODUCTION
BOOK 1
LOGIC, SETS AND NUMBERS
K. G. BINMORE
Professor of Mathematics
London School of Economics and Political Science
Published in the United States of America by Cambridge University Press, New York
www.cambridge.org
Information on this title: www.cambridge.org/9780521233224
A catalogue record for this publication is available from the British Library
Introduction pageix
1 Proofs 1
1.1 What is a proof? 1
1.5 Mathematical proof 3
1.7 Obvious 5
1.8 The interpretation of a mathematical theory 5
2 Logic (I) 7
2.1 Statements 7
2.4 Equivalence 7
2.6 Not 8
2.7 And, or 8
2.10 Implies 9
2.12 If and only if 11
2.13 Proof schema 12
3 Logic (11) 14
3.1 Predicates and sets 14
3.4 Quantifiers 16
3.6 Manipulations with quantifiers 17
3.10 More on contradictories 18
3.13 Examples and counter-examples 19
4 Set operations 21
4.1 Subsets 21
4.4 Complements 22
4.7 Unions and intersections 23
4.13t Zermelo~Fraenkel set theory 25
5 Relations 28
5.1 Ordered pairs 28
tThis material is more advanced than the main body of the text and is perhaps best
omitted at a first reading.
V
vi Contents
6 Functions 33
6.1 Formal definition 33
6.2 Terminology 35
6.5 Composition 39
6.6t Binary operations and groups 40
6.8t Axiom of choice 41
8 Principle of induction 54
8.1 Ordered fields 54
8.2 The natural numbers 54
8.4 Principle of induction 56
8.7 Inductive definitions 56
8.10 Properties of N 59
8.13 Integers 60
8.14 Rational numbers 60
12 Cardinality 109
12.1 Counting 109
12.2 Cardinality 110
12.4 Countable sets 112
12.14 Uncountable sets 118
12.17t Decimal expansions 119
12.20t Transcendental numbers 121
12.23t Counting the uncountable 122
12.24t Ordinal numbers 124
12.25t Cardinals 126
12.26t Continuum hypothesis 127
Notation 128
Index 129
INTRODUCTION
This book contains an informal but systematic account of the logical and
algebraic foundations of mathematical analysis written at a fairly elemen-
tary level. The book is entirely self-contained but will be most useful to
students who have already taken, or are in the process of taking, an
introductory course in basic mathematical analysis. Such a course nec-
essarily concentrates on the notion of convergence and the rudiments of the
differential and integral calculus. Little time is therefore left for con-
sideration of the foundations of the subject. But the foundational issues are
too important to be neglected or to be left entirely in the hands of the
algebraists (whose views on what is important do not always coincide with
those of an analyst). In particular, a good grasp of the material treated in
this book is essential as a basis for more advanced work in analysis. The
fact remains, however, that a quart will not fit into a pint bottle and only so
many topics can be covered in a given number of lectures. In my own
lecture course I deal with this problem to some extent by encouraging
students to read the more elementary material covered in this book for
themselves, monitoring their progress through problem classes. This seems
to work quite well and it is for this reason that substantial sections of the
text have been written with a view to facilitating 'self-study', even though
this leads to a certain amount of repetition and of discussion of topics which
some readers will find very elementary. Readers are invited to skip rather
briskly through these sections if at all possible.
This is the first of two books with the common title
Foundations of Analysis: A Straightforward Introduction.
The current book, subtitled
Logic, Sets and Numbers,
was conceived as an introduction to the second book, subtitled
Topological Ideas
and as a companion to the author's previous book
Mathematical Analysis: A Straightforward Approach.
Although Logic, Sets and Numbers may profitably be read independently of
these other books, I hope that some teachers will wish to use the three books
together as a basis for a sequence oflectures to be given in the first two years of a
mathematics degree.
ix
x Introduction
Certain sections of the book have been marked with a t and printed in
smaller type. This indicates material which, although relevant and interest-
ing, I regard as unsuitable for inclusion in a first year analysis course,
usually because it is too advanced, or else because it is better taught as part
of an algebra course. This fact is reflected in the style of exposition adopted
in these sections, much more being left to the reader than in the body of the
text. Occasionally, on such topics as Zermelo-Fraenkel set theory or
transfinite arithmetic, only a brief indication of the general ideas is attem-
pted. Those reading the book independently of a taught course would be
wise to leave those sections marked with a t for a second reading.
A substantial number of exercises have been provided and these should
be regarded as an integral part of the text. The exercises are not intended as
intelligence tests. By and large they require little in the way of ingenuity.
and, in any case, a large number of hints are given. The purpose of the
exercises is to give the reader an opportunity to test his or her under-
standing of the text. Mathematical concepts are sometimes considerably
more subtle than they seem at first sight and it is often not until one has
failed to solve some straightforward exercises based on a particular concept
that one begins to realise that this is the case.
Finally, I would like to thank Mimi Bell for typing the manuscript for me
so carefully and patiently.
n n 3 - 4n 2 + Sn- 1
1 1
2 1
3 5
4 19
5 49
6 101
1.4 Example In the diagram below, the point 0 has been chosen as
the point of intersection of the bisector of the angle A and the perpendicular
bisector of the side BC. The dotted lines are then constructed as shown.
With the help of this diagram we shall show by the methods of elemen-
tary geometry that AB= AC - i.e. all triangles are isosceles.
The triangles AEO and AFO are congruent and hence
AE=AF (1)
OE=OF. (2)
Proofs 3
to specify how these symbols may be put together to make up formulae and
then how such formulae may be put together to make up sentences.
Next, it is necessary to specify which of these sentences are to be called
axioms.
Finally, we must specify rules of deduction which will tell us under what
circumstances a sentence may be deduced from other sentences.
A mathematical proof of a theorem S is then defined to be a list of
sentences, the last of which is S. Each sentence in the list must be either an
axiom or else a deduction from sentences appearing earlier in the list.
What is more, we demand that all of the processes described above be
specified so clearly and unambiguously that even that arch-idiot of in-
tellectuals, the computer, could be programmed to check that a given list of
sentences is a proof.
Of course, the ideas set out above only represent an ideal. It is one thing
to set a computer to checking a list of several million sentences and quite
another to prepare such a list for oneself. Apart from any other considera-
tion, it would be extremely boring.
1.6 Example The list of sentences given below shows what a formal
proof looks like. It is a proof taken from S. C. Kleene's Introduction to
Metamathematics (North-Holland, 1967) of the proposition 'a=a'. This does
not happen to be one of his axioms and therefore needs to be proved as a
theorem.
(1) a=b =(a=c =h=c)
(2) 0=0 =>(0=0 =>0=0)
(3) (a=b =(a=c =>h=c)} => {[0=0 =(0=0 =0=0)] =>
[a=b =>(a=c =h=c)]}
(4) [0=0 =>(0=0 =0=0)] => [a=b =>(a=c =h=c)]
(5) [0=0 =>(0=0 =0=0)] => l;ic[a=b =>(a=c =h=c)]
(6) [0 = 0 =>(0 = 0 =>0 = 0)] => \;7' b\;7' c[a = b =(a =c =>h =c)]
(7) [0 = 0 =>(0 = 0 =>0 = 0)] => \;7' a\;7' b\;7' c[a = b =(a =c =>b =c)]
(8) \;7' aVbVc[a=b =>(a=c =>h=c)]
(9) \;7' a\;ibl;ic[a=b =>(a=c =h=c)] => VbVc[a+O=b =(a +O=c =>b =c)]
(10) VbVc[a+O=b=(a+O=c=b=c)]
(11) \;7' b\;7' c[a + 0= b =(a+ O=c =>h =c)]=> \;7' c[a + 0 =a =(a+ 0 =c =>a =c)]
(12) Vc[a+O=a=(a+D=c=a=c)]
(13) \;7' c[a +O=a =>(a+O =c =a =c)]=> [a +O=a =(a +O=a =>a =a)]
(14) a+O=a=(a+O=a=a=a)
(15) a+ O=a
(16) a+O=a=a=a
(17) a=a.
Proofs 5
The above example is given only to illustrate that the formal proofs of
even the most trivial propositions are likely to be long and tedious. What is
more, although a computer may find formal proofs entirely satisfactory, the
human mind needs to have some explanation of the 'idea' behind the proof
before it can readily assimilate the details of a formal argument.
What mathematicians do in practice therefore is to write out 'informal
proofs' which can 'in principle' be reduced to lists of sentences suitable for
computer ingestion. This may not be entirely satisfactory, but neither is the
dreadfully boring alternative. In this book our approach will be even less
satisfactory from the point of view of those seeking 'absolute certainty',
since we shall not even describe in detail the manner in which mathematical
assertions can be coded as formal lists of symbols. We shall, however, make
a serious effort to remain true to the spirit of a mathematical proof, if not to
the letter.
1.7 Obvious
The word 'obvious' is much abused. We shall follow the famous
English mathematician G. H. Hardy in interpreting the sentence 'P is
obvious' as meaning 'It is easy to think of a proof of P'. This usage accords
with what was said in the section above.
A much more common usage is to interpret 'P is obvious' as meaning 'I
cannot think of a proof of P but I am sure it must be true'. This usage
should be avoided.
2.1 Statements
The purpose of logic is to label sentences either with the symbol T
(for true) or with the symbol F (for false). A sentence which can be labelled
in one of these two ways will· be called a statement.
2.3 Exercise
Which of the following sentences are statements?
(i) More than 10 000 000 people live in New York City.
(ii) Is Paris bigger than Rome?
(iii) Go jump in a lake!
(iv) The moon is made of green cheese.
2.4 Equivalence
From the point of view of logic, the only thing which really
matters about a statement is its truth value (i.e. T or F). Thus two
statements P and Q are logically equivalent and we write
P~Q
if they have the same truth value. If P and Q are both statements, then so is
P~Q and its truth value may be determined with the aid of the following truth
table.
7
8 Logic (I)
p Q P"""'Q
T T T
T F F
F T F
F F T
In this table the right-hand column contains the truth value of 'P"""'Q' for
all possible combinations of the truth values of the statements P and Q.
2.6 Not
If Pis a statement, the truth value of the statement (not P) may be
determined from the following truth table.
P not P
T F
F T
2.7 And, or
If P and Q are statements, the statements 'P and Q' and 'P or Q'
are defined by the following truth tables.
p Q P and Q p Q P or Q
T T T T T T
T F F T F T
F T F F T T
F F F F F F
The English language is somewhat ambiguous in its use of the word 'or'.
Sometimes it is used in the sense of 'eitherfor' and sometimes in the sense of
'andjor'. In mathematics it is always used in the second of these two senses.
but 'P and (not Q)' is true. On the other hand, 'P or Q' and 'P or (not Q)'
are both true.
2.9 Exercise
There should be eight rows in the table to account for all the possible
truth value combinations of P, Q and R.]
(3) From 2(ii) above it follows that it does not matter how brackets are
inserted in the expressions 'P or (Q or R)' and '(P or Q) or R' and so we
might just as well write 'P or Q or R'. Equally we may write 'P and Q
and R' instead of the statements of 2(iii).
Show by truth tables that the statements '(P and Q) or R' and 'P and
(Q or R)' need not be equivalent.
(4) Deduce from 2(iv) that the statements 'P and (Q 1 or Q 2 or Q 3 )', '(P and
Qd or (P and Q2 ) or (P and Q3 )' are equivalent. Write down similar
results which arise from 2(v), 2(vi) and 2(vii). What happens with four or
more Qs?
2.10 Implies
Suppose that P and Q are two statements. Then the statement
'P implies Q' (or 'P =Q') is defined by the following truth table.
10 Logic(/)
p Q P implies Q
T T T
T F F
F T T
F F T
In simple terms the truth of' P implies Q' means that, from the truth of P,
we can deduce the truth of Q. In English this is usually expressed by saying
'If P, then Q'
or sometimes
'P is a sufficient condition for Q'.
It strikes some people as odd that 'P implies Q' should be defined as true
in the case when P is false. This is so that a proposition like 'x > 2 implies
x > 1' may be asserted to be true for all values of x.
Consider next the following truth table.
Observe that the entries in the third and sixth columns are identical. This
means that the statements 'P implies Q' and ~(not Q) implies (not P)' are
either both true or both false- i.e. they are logically equivalent. Wherever we
see 'P implies Q' we might therefore just as well write '(not Q) implies (not
P)' since this is an equivalent statement.
The statement '(not Q) implies (not P)' is called the contrapositive of 'P
implies Q'. In ordinary English it is usually rendered in the form
'P only if Q'
or sometimes
'Q is a necessary condition for P'.
These last two expressions are therefore two more paraphrases for the
simple statement 'P implies Q'.
2.11 Exercise
(1) Given that the statements 'P' and 'P=Q' are both true, deduce that Q is
true. [Hint: Delete from the truth table for P=Q those rows which do
Logic (J) 11
not apply.] If, instead, you are given that the statements 'Q' and 'P=Q'
are true, show that no conclusion may be drawn about the truth
value of P (unless further information is available).
[Note: The first rule of deduction described above is called 'Modus
Ponens'. To deduce P from 'Q' and 'P=Q' has been called 'Modus
Morons'.]
(2) Given that P=Q is true but Q false, show that P is false.
(3) The great philosopher Descartes based his system of philosophy on the
principle 'cogito ergo sum' (I think, therefore I am). Dr Strabismus
(whom God preserve) of Utrecht has founded a rival system based on
the principle 'Non cogito ergo non sum' (I do not think, therefore I am~
not).
Express both these principles in the form 'P=Q' and hence clear Dr
Strabismus (and the Daily Express, where his thoughts were once
published) from the insinuation that his principle may be deduced from
that of Descartes.
(4) Rain on Tuesday is a necessary condition for rain on Sunday. If it rains
on Tuesday then it rains on Wednesday. But it rains on Wednesday
only if it rains on Friday. Moreover no rain Monday implies no rain on
Friday. Finally, rain on Monday is a sufficient condition for rain on
Saturday.
Express each of these statements in the form 'P=Q'. Given that it
rains on Sunday, what can be said about Saturday's weather?
(5) Show that the statement 'P implies Q' is equivalent to '(not P) or Q'.
Deduce that 'P implies Q' is also equivalent to 'not {P and (not Q)}'.
(6) What conclusion (if any) may be drawn from the truth of '(not P)=P'?
Observe that the entries in the fifth and sixth columns are identical. Thus to
say that 'P is logically equivalent to Q' is the same thing as saying
'(P implies Q) and (Q implies P)'.
In ordinary English this statement is usually expressed in the form
'P if and only if Q'
12 Logic (I)
- i.e. '(P only if Q) and (if Q then P)'. Alternatively it may be paraphrased as
'P is a necessary and sufficient condition for Q'.
3.2 Examples
(i) Let the universal set be the set IR of all real numbers. Some examples
of predicates which are meaningful for this universal set are:
(a) x>3 (b) 2x=x 2 (c) x+ y=z.
14
Logic (II) 15
3.3 Exercise
(1) Let the universal set V be the set N of all natural numbers (i.e. 1, 2,
3, ... ). Then, for example, {x: 2 ~x ~4} = {2, 3,4}. Obtain similar identities
in each of the following cases.
(i) {x:x 2 -3x+2=0} (ii) {x:x 2 -x+2=0}
(iii) {x:x 2 +3x+2=0} (iv) {x:x 2 ~3+x}.
(2) Let the universal set V be the set IR1 of all real numbers. If
S={x:x 2 -3x+2~0},
16 Logic (11)
3.4 Quantifiers
A predicate may be converted into a statement by substituting for
the variables objects from their range. For example, the predicate 'x > 3'
becomes the false statement '2 > 3' when 2 is substituted for x.
Another way that predicates may be converted into statements is with the
use of the quantifiers 'for any' and 'there exists'.
For example, from the predicates 'x > 3' and 'x loves y' we may obtain the
statements
'For any x, x> 3'
'For any y, there exists an x such that x loves y'.
These statements may be paraphrased in the more natural forms 'All real
numbers are bigger than three' and 'Everybody can find somebody to love
them'.
It is sometimes convenient to use the abbreviations 'V' instead of 'for any'
and '3' instead of 'there exists'. With this notation the statements above
become
Vx(x> 3)
Vy 3x(x loves y).
3.5 Exercise
(1) Paraphrase in ordinary English the following statements. Venture an
opinion in each case as to whether the given statement is true or false.
(i) 3x(x>3) (ii) Vx(2x=x 2 ) (iii) VxVz3y(x+y=z)
(iv) 3x(x is President) (v) 3xV y(x loves y).
(2) Examine carefully the meaning of the two statements
(i) Vy3x(x<y) (ii) 3xVy(x<y)
and explain why they are not the same.
(3) Introduce the abbreviations V and 3 into the following sentence:
'For any number x, we can find a number z such
that for every number y, xy = z'.
(4) If the universal set U is the set of all natural numbers, find the elements
Logic (If) 17
of the sets
(i) {x: li y(xy= y)} (ii) {x: 3y(xy=12)}.
3.7 Example Let the universal set be the set of all human beings and
consider the statement
li x(God loves x).
This mode of reasoning leads us to the rules embodied in the table below.
Statement Contradictory
Vx P(x) 3x(not P(x))
3x P(x) V x(not P(x))
As we have seen above, these rules only have something new to say in the
case when x ranges over an infinite set.
18 Logic (11)
3.8 Example
Statement Contradictory
Vx(x>3) 3x(x;;:23)
3x(2x=x 2 ) Vx(2x#x 2 )
:Jx V y(x loves y) Vx 3y(x does not love y)
\fx \fz 3y(x+y=z) :Jx :Jz lfy(x+y#z)
The third of these may be obtained in two stages. First one notes that 'not
:Jx Vy(x loves y)' is equivalent to 'V x {not Vy(x loves y)}' which is in turn
equivalent to 'Vx :Jy {not (x loves y)}'.
3.9 Exercise
(1) Write down the contradictories of the following statements in a useful
form.
(i) Vy :Jx(x<y) (ii) :Jx Vy(x<y)
(iii) :Jx(x>3 and x=4)
(iv) Everybody can find someone to love them.
(2) Apart from the rules for forming contradictories discussed above there
are some other rules for use with quantifiers. The table below contains a
list of equivalent statements.
Justify the third of these equivalences in the case when x ranges over a
finite set.
3.11 Examples
(i) The contradictory of the statement 'There exists an x < 1 such that
x 2 =1' is 'For any x<1, x 2 #1'.
(ii) The contradictory of the statement 'For any x<4 there exists a y>2
such that x + y = 3' is 'There exists an x < 4 such that for any y > 2, x + y # 3'.
3.12 Exercise
(1) Write down in a useful form the contradictories of the following
statements:
(i) There exists an x < 3 such that x > 2.
(ii) For any x satisfying 0 < x < 1, x 2 < x.
(iii) For any s > 0 there exists a c5 > 0 such that for any x satis-
fying 0 <x < c5, x 2 <s (i.e. x 2 ~0 as x~o + ).
(iv) Some Montague is hated by every Capulet.
3.15 Example Show that it is false that rxP is irrational for all positive
irrational real numbers rx and p.
20 Logic (11)
4.1 Subsets
If S and T are sets, we say that S is a subset of T and write
SeT
if every element of S is also an element of T - i.e. xE S implies xE T.
4.2 Example Let A= {1, 2, 3, 4} and let B= {2, 4}. Then Be A. Notice
that this is not the same thing as writing BE A (i.e. B is an element of A). The
elements of A are simply 1, 2, 3 and 4 and B is not one of these.
relation SeT. The universal set is represented by the square and the sets S
and T by the shaded regions within the square.
4.3 Exercise
(1) Arrange the sets given in exercise 3.3(1) in a list, each item of which is a
subset of the item which follows it.
21
22 Set operations
(2) Draw a Venn diagram to illustrate the relation 'S is not a subset of T'.
(3) Justify the following
(i) S c U (ii) (/) c S (iii) S c S.
[Hint: Recall that(/) denotes the empty set. Thus, for any x, xE0 is false
and therefore implies anything!]
(4) Prove that S= T if and only if SeT and TcS. [Hint: S= T means
'xES~xET'.]
4.4 Complements
Ifs is a set, its complement es is defined by
S={x:x~S}.
4.5 Example Let the universal set U be the set of all real numbers
and let S={x:x>O}. Then
e S={x:x~O}.
4.6 Exercise
(1) Let U = {1, 2, 3, 4, 5, 6}. Write down the complements of the sets {1, 2}
and {1, 3, 5}.
(2) Prove the following.
(i) e (e S)=S (ii) eu=(/) (iii) e(/)=U.
Set operations 23
~SUT
4.8 Examples
(i) {1, 2}u{1, 3, 5} = {1, 2, 3, 5}
(ii) {1, 2}n{1, 3, 5} = {1}.
4.9 Exercise
( 1) We use the notation A \ B to denote the set of all elements of A which
do not belong to B - i.e. A\ B =An e B. Indicate the set A\ B on a
Venn diagram.
(2) Two sets A and Bare called disjoint if they have no elements in common
- i.e. A nB = (j). Illustrate this situation on a Venn diagram.
(3) Use exercise 2.9(2) to obtain the following identities.
(i) An(BnC)=(AnB)nC
(ii) Au(BuC)=(AuB)uC
(iii) Au(BnC)=(AuB)n(AuC)
(iv) An(BuC)=(AnB)u(AnC)
(v) e (AnB)= eAu eB
(vi) e (AuB)= eAn eB.
/
~ e(A UB) :sCAn CB
4.10 Exercise
(1) Illustrate each of the identities of exercise 4.9(3) by means of a pair of
Venn diagrams.
4.11 Examples
(i) Suppose that W contains only three sets, P, Q and R - i.e.
W={P, Q, R}. Then
U S=PuQuR (\ S=PnQnR.
SE"U' SEW
~/ s.w
us ~ ns
'-
" s,U'
Set operations 25
4.12 Exercise
(1) Let W be the collection {A, B, C, D} where A={l, 3, 4}, B={l, 2, 4},
C={2, 3, 4}, D={l, 4}. What are the elements of the sets
(i) u s (ii) n s?
SEW SEW
XEY
and all proofs referred to a single set of axioms - i.e. the axioms of set theory.
26 Set operations
subset of the other. To make the definition useful, another assumption is required.
This is called the axiom of extensionality. Essentially, it asserts that, if x = y, then y
can be substituted for x in any statement without altering the truth value of the
statement.
Zermelo-Fraenkel theory requires two further assumptions which it is convenient
to postpone to later chapters. These are called the axiom of infinity and the axiom of
choice. It is a remarkable fact that the whole of traditional mathematics can be
based on the principles of logic and these six simple assumptions about the
properties of sets.
5 RELATIONS
b - - - - - - - - - -, (a, b)
(0, 0) a X
We say that (a, b) is an ordered pair because the order in which a and b
appear is relevant. For example, (3, 4) does not represent the same point in
the plane as (4, 3).
How can we define an ordered pair in general? We certainly do not wish
to identify (a, b) with the set {a, b}. Both {3, 4} and {4, 3}, for example,
denote the same set. For this reason, the set {a, b} is often called an
unordered pair.
A viable alternative is to define
(a, b)= {a, {a, b}}
- i.e. (a, b) is defined to be the set whose elements are a and the set {a, b},
However, the precise form of the definition is irrelevant for our purposes.
Any definition which ensures that (a, b)= (c, d) if and only if a= c and b = d
will do just as well.
28
Relations 29
AXB
5.3 Relations
Any subset R of A x B defines a relation between A and B. If
(a, b)E R, we say that the relation R holds between a and b and write
a R b.
A XB
B
30 Relations
5.4 Examples
(i) Let A and B both be the set of all human beings and write a R b if and
only if 'a loves b'. In accordance with the remarks above we may identify
the relation R with the set
R={(a, b):a loves b}.
(ii) Let A be the set N of natural numbers and let B be the set 71. of
integers. We write alb if and only if 'a divides b', i.e. b = ma for some integer
m. Some ordered pairs in the set
R={(a, b):alb}
are (2, 6), (3, -21), (1, 7).
5.6 Examples
(i) An example of an equivalence relation on the set A of all human
beings is the relation R defined by a R b if and only if 'a and b have the
same mother'.
Relations 31
5.7 Theorem Two distinct equivalence classes are disjoint (i.e. have no
points in common).
5.8 Orderings
An ordering ~ on a set A is a relation between A and itself which
satisfies the following properties for each a, b and c in A:
(i) a~b or b~a (totality)
32 Relations
5.9 Examples
(i) The set ~ of all real numbers is ordered by the relation ~ of
increasing magnitude. This is the ordering with which we shall be chiefly
concerned in this book.
(ii) If A is a set, its power set S' (A) is the set whose elements are the
subsets of A. For example, if A={l, 2}, then 9'(A)={<P, {1}, {2), {1, 2)}.
Observe that the relation c is a partial ordering on S' (A).
5.10 Exercise
(1) Let A= { 1, 2, 3, 4, 5}. Let R be the relation between A and itself defined
by a R b if and only if a and b have the same remainder when divided by
2. Prove that R is an equivalence relation on A and determine the
equivalence classes it induces on A.
(2) Write aib if a and b are natural numbers and a divides b exactly. Show
that the relation so defined is a partial ordering on N.
(3) Explain why <=> is an equivalence relation on the set of all statements.
t(4) What is wrong with the following argument which purports to show that the
reflexive property for an equivalence relation may be deduced from the other
two properties? By the symmetry property, a Rh and bRa. Taking c =a in the
transitivity property then yields a R a.
Show, however, that the reflexivity property for an ordering may be deduced
from the totality condition.
t(5) LetS' (A) denote the set of all subsets of a set A.
(i) Prove that c is a partial ordering on S' (A).
(ii) Show that the relation R defined on S' (A) by
a R h=lfx(xEA<=>.YEB)
is an equivalence relation on S' (A).
t(6) Let ~ be a total ordering on a set A. Define the associated 'strict ordering'
relation <l by
a<:Jh=(a:;::Jh and a"# b).
Prove that <l is a transitive relation. Is <l a total relation? Is <l antisymmetric?
6 FUNCTIONS
defines a function g: IR: --.IR:. Any value XE IR: substituted in the right-hand
side will yield a unique corresponding value of yEIR: on the left-hand side.
But we shall wish to define functions in more complicated ways than this.
The expressions h(1)= 1 and
AXB
(x, y)
33
34 Functions
several points of B. Each point xEA has a unique image yEB. One
sometimes reads of 'one-many functions' but this is an abuse of language
which we shall rigorously avoid.
6.2 Terminology
If f: A--> B is a function from A to B, we call the set A the domain
off and the set B the codomain off If S c A, we call the set
f(S) = {f(x): XE S}
the image of the set S under the function f In particular, f(A) is called the
range off Note that the range of a function need not be the whole of the
codomain - i.e. it need not be true that f(A) =B.
6.3 Examples
(i) A sequence is simply a function whose domain is the set N of all
natural numbers. The nth term of a sequence f: N -+IR is defined to be
x" = f(n). We use the notation <x") to denote the sequence whose nth term is
x .. Thus the sequence <n 2 + 1) is to be identified with the function g: N -+IR
defined by
g(n)=n 2 + 1 (n= 1, 2, 3, ... ).
The first few terms of this sequence are
2, 5, 10, 17, 26, 37, 50, ....
(ii) The equations
2
u=x +
V=X2- y2
i}
define a function f: IR 2 -+IR 2 • The image of (x, y) under f is
(u, v)=(x 2 + y 2 , x 2 - yZ).
Functions 37
u-v=2y ~0. 2
and hence, for example, the point (u, v) = ( -1, - l) is not the image of
anything under this function. In fact
f(IR 2 )={(u, v):u~v and u~-v}.
Nor is f injective. The equations
2
5=x +
3=xz- Yz
l}
have four solutions for (x, y)- namely (2, 1), (2, -l), ( -2, 1) and ( -2, -1).
y V u=v
I
xz + yz = 5\
f
(iii) Let A= {x: x ~0} and B= {y: y~ 1}. The function[: A --->B defined by
f(x)=x 2 +1 (x~O)
is a bijection and hence has an inverse functionf- 1 : B--->A. Since, for each
x~O and y~ 1,
x =f - 1(y)=-y =f(x),
a formula for f - 1 can be obtained by solving the equation y = x 2 + 1 to
obtain x in terms of y. Because y~ 1, the equation has a solution. Moreover,
as x~O, the solution is unique and is given by x=J(y-1). (Remember
J
that, if z ~ 0, then z denotes the non-negative number whose square is z.)
Thus
38 Functions
f X
X
A B
Note that either graph can be obtained from the other by a rotation about
the line x = y.
6.4 Exercise
(1) Consider the function/: ~ 2 -+~ 2 defined by f(x, y)=(u, v) where
u=x+y}
v=x-y.
Prove that f is a bijection and obtain a formula for its inverse
function. Findf(S) and/- 1 (T) in the case S=T={(x, y):O~x~1 and
O~y~1}.
(2) Let A={O: O<O~tn} and B={<P: -n<<P~n}. A function
g: A x B-+~ 2 is defined by (x, y)=g(8, <P) where
6.5 Composition
Suppose that f: B--+ C and g: A--+ B. Then their composition
fog:A-+C is defined by
fog(x)=f(g(x)) (xEA).
1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebooknice.com