ioan despi [email protected]/~amth140/lectures/lecture_03/lecture/lecture.pdfioan...

25
Ioan Despi [email protected] University of New England July 5, 2013

Upload: others

Post on 08-Sep-2019

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Ioan [email protected]

University of New England

July 5, 2013

Page 2: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Outline

Ioan Despi – AMTH140 2 of 1

Page 3: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Set Identities

Theorem

Let 𝐴, 𝐡 and 𝐢 be subsets of a universal set π‘ˆ . Then

[Commutativity] 𝐴 βˆͺ𝐡 = 𝐡 βˆͺ𝐴 𝐴 ∩𝐡 = 𝐡 ∩𝐴[Associativity] (𝐴 βˆͺ𝐡) βˆͺ 𝐢 = 𝐴 βˆͺ (𝐡 βˆͺ 𝐢)

(𝐴 ∩𝐡) ∩ 𝐢 = 𝐴 ∩ (𝐡 ∩ 𝐢)[Distributivity] 𝐴 βˆͺ (𝐡 ∩ 𝐢) = (𝐴 βˆͺ𝐡) ∩ (𝐴 βˆͺ 𝐢)

𝐴 ∩ (𝐡 βˆͺ 𝐢) = (𝐴 ∩𝐡) βˆͺ (𝐴 ∩ 𝐢)[Identity] 𝐴 βˆͺβˆ… = 𝐴 𝐴 ∩ π‘ˆ = 𝐴[Complementation] 𝐴 βˆͺ𝐴′ = π‘ˆ 𝐴 βˆ©π΄β€² = βˆ…[De Morgan’s laws] (𝐴 βˆͺ𝐡)β€² = 𝐴′ βˆ©π΅β€² (𝐴 ∩𝐡)β€² = 𝐴′ βˆͺ𝐡′

[Double complement] (𝐴′)β€² = 𝐴[Absorption] 𝐴 βˆͺ (𝐴 ∩𝐡) = 𝐴 𝐴 ∩ (𝐴 βˆͺ𝐡) = 𝐴[Idempotent laws] 𝐴 ∩𝐴 = 𝐴 𝐴 βˆͺ𝐴 = 𝐴[Difference repr] π΄βˆ’π΅ = 𝐴 βˆ©π΅β€²

Ioan Despi – AMTH140 3 of 1

Page 4: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Set Identities

Proof.

We are only going to exemplify the proofs of

𝐴 ∩𝐡 = 𝐡 ∩𝐴 (a)(𝐴 βˆͺ𝐡)β€² = 𝐴′ βˆ©π΅β€² (b)

(a) We need to show 𝐴 ∩𝐡 βŠ† 𝐡 ∩𝐴, and 𝐡 ∩𝐴 βŠ† 𝐴 ∩𝐡.

(i) βˆ€π‘₯ ∈ 𝐴 ∩𝐡, we have π‘₯ ∈ 𝐴 and π‘₯ ∈ 𝐡, and hence π‘₯ ∈ 𝐡 ∩𝐴. Thus𝐴 ∩𝐡 βŠ† 𝐡 ∩𝐴.

(ii) βˆ€π‘₯ ∈ 𝐡 ∩𝐴, then π‘₯ ∈ 𝐡 and π‘₯ ∈ 𝐴. Hence π‘₯ ∈ 𝐴 ∩𝐡 and thus𝐡 ∩𝐴 βŠ† 𝐴 ∩𝐡.

From (i) and (ii) we see (a) is valid.

(b) (i) We show first (𝐴 βˆͺ𝐡)β€² βŠ† 𝐴′ βˆ©π΅β€².βˆ€π‘₯ ∈ (𝐴 βˆͺ𝐡)β€², we have π‘₯ ∈ π‘ˆ and π‘₯ ̸∈ 𝐴 βˆͺ𝐡. Hence π‘₯ ̸∈ 𝐴 and π‘₯ ̸∈ 𝐡,which means by definition π‘₯ ∈ 𝐴′ and π‘₯ ∈ 𝐡′. Thus π‘₯ ∈ 𝐴′ βˆ©π΅β€² implying(𝐴 βˆͺ𝐡)β€² βŠ† 𝐴′ βˆ©π΅β€².

(ii) We need to show furthermore 𝐴′ βˆ©π΅β€² βŠ† (𝐴 βˆͺ𝐡)β€².βˆ€π‘₯ ∈ 𝐴′ βˆ©π΅β€², we have π‘₯ ∈ 𝐴′ and π‘₯ ∈ 𝐡′. Hence π‘₯ βˆˆπ‘ˆβˆ’π΄ and π‘₯ βˆˆπ‘ˆβˆ’π΅,implying π‘₯ ̸∈ 𝐴 and π‘₯ ̸∈ 𝐡. We thus have π‘₯ ̸∈ 𝐴 βˆͺ𝐡. But since π‘₯ ∈ π‘ˆ , weconclude π‘₯ ∈ π‘ˆ βˆ’ (𝐴 βˆͺ𝐡) = (𝐴 βˆͺ𝐡)β€². Therefore 𝐴′ βˆ©π΅β€² βŠ† (𝐴 βˆͺ𝐡)β€².

From (i) and (ii) we see (b) is true.Ioan Despi – AMTH140 4 of 1

Page 5: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Example

Example

Let 𝐴, 𝐡 and 𝐢 be 3 sets. Prove the following set identities:

1 (π΄βˆ’π΅) ∩ (𝐢 βˆ’π΅) = (𝐴 ∩ 𝐢) βˆ’π΅.

2 (π΄βˆ’π΅) βˆͺ (𝐡 βˆ’π΄) = (𝐴 βˆͺ𝐡) βˆ’ (𝐴 ∩𝐡).

Solution. The proofs are the easiest if we make use of the set identitiesS1–S10 given in the above theorem, although direct proofs are equallyacceptable.

(π΄βˆ’π΅) ∩ (𝐢 βˆ’π΅) = (𝐴 βˆ©π΅β€²) ∩ (𝐢 βˆ©π΅β€²) S10= 𝐴 ∩ 𝐢 βˆ©π΅β€² βˆ©π΅β€² S1 & S2= (𝐴 ∩ 𝐢) βˆ©π΅β€² S9= (𝐴 ∩ 𝐢) βˆ’π΅ . S10

(π΄βˆ’π΅) βˆͺ (𝐡 βˆ’π΄) = (𝐴⋂︀𝐡′) βˆͺ (𝐡 βˆ©π΄β€²) S10

= (𝐴 βˆͺ (𝐡 βˆ©π΄β€²))β‹‚οΈ€

(𝐡′ βˆͺ (𝐡 βˆ©π΄β€²)) S3= ((𝐴 βˆͺ𝐡) ∩ (𝐴 βˆͺ𝐴′))

β‹‚οΈ€((𝐡′ βˆͺ𝐡) ∩ (𝐡′ βˆͺ𝐴′))

= ((𝐴 βˆͺ𝐡) ∩ π‘ˆ)β‹‚οΈ€

(π‘ˆ ∩ (𝐡′ βˆͺ𝐴′)) S5= (𝐴 βˆͺ𝐡) ∩ (𝐡 ∩𝐴)β€² S5 & S6= (𝐴 βˆͺ𝐡) βˆ’ (𝐴 ∩𝐡) .

Ioan Despi – AMTH140 5 of 1

Page 6: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Russell’s Paradox

The precise definition of a set has to be determined by a number ofaxioms.

One of them, the axiom of comprehension (or separability), states thatevery formula defines a set. That is

Axiom (comprehension)

If 𝑋 is a set, 𝑃 is a property, then there exists a set π‘Œ whose elements areprecisely those of 𝑋 having property 𝑃 .

A logical contradiction in set theory was discovered by Bertrand Russelland was called . . .

Russell’s Paradox: If 𝑅 is the set of all sets which don’t

contain themselves, does 𝑅 contain itself?If it does then it doesn’t and vice versa.

I For more details, see the book by Elizabeth J Billinton et al, DiscreteMathematics, Logic and Structures, Longman, 1990.

Ioan Despi – AMTH140 6 of 1

Page 7: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Russell’s Paradox

Let R be the set of all sets which are not members of themselves. Then R isneither a member of itself nor not a member of itself. Symbolically, let𝑅 = {π‘₯ : π‘₯ ̸∈ π‘₯}. Then 𝑅 ∈ 𝑅 iff 𝑅 ̸∈ 𝑅.

Proof.

We now show that 𝑅 = {π‘₯ |π‘₯ /∈ π‘₯} is not a set. If otherwise, then𝑆 = {π‘₯ ∈ 𝑅 |π‘₯ /∈ π‘₯} must also be a set according to the above axiom ofcomprehension. This is not possible for the following reasons.

(i) If 𝑆 ∈ 𝑅 then 𝑆 /∈ 𝑆 by the definition of 𝑅. This then implies from thedefinition of 𝑆 that 𝑆 ∈ 𝑆 because 𝑆 ∈ 𝑅 and 𝑆 /∈ 𝑆, leading thus to acontradiction.

(ii) If 𝑆 /∈ 𝑅 then 𝑆 ∈ 𝑆 by the definition of 𝑅. This then implies 𝑆 ∈ 𝑅 fromthe definition of 𝑆, leading again to a contradiction.

Hence 𝑆 can’t be a set.To conclude, Russel’s paradox β€œπ‘… is neither an element of 𝑅 nor not anelement of 𝑅” would be true only if 𝑅 where considered a valid set. But wehave just shown that 𝑅 can not be a (valid) set, hence the paradox does notarise under the axiom of comprehension.

Ioan Despi – AMTH140 7 of 1

Page 8: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Sequences

A sequence π‘Žπ‘š, π‘Žπ‘š+1, π‘Žπ‘š+2, Β· Β· Β· , is an ordered set of elements, denotedby {π‘Žπ‘–}π‘–βˆˆπΌ .𝐼 is the set of indices, that is a set whose members index (label) membersof another set.

I In other words, a sequence is a surjective function defined on an index set𝐼 and with values in any set 𝐴.

For example, sequence π‘Ž0, π‘Ž1, π‘Ž2, Β· Β· Β· may be written as {π‘Žπ‘–}π‘–βˆˆN or {π‘Žπ‘–}𝑖β‰₯0

or {π‘Žπ‘–: 𝑖 β‰₯ 0}.Big-sigma and Big-pi notations are used a lot with sequences, e.g.,

4βˆ‘οΈπ‘—=2

(𝑗3 + 𝑗) = (23 + 2) + (33 + 3) + (43 + 4)

4βˆοΈπ‘—=2

(𝑗3 + 𝑗) = (23 + 2) Β· (33 + 3) Β· (43 + 4)

π‘›βˆ‘οΈπ‘–=π‘š

π‘Žπ‘– = π‘Žπ‘š + π‘Žπ‘š+1 + Β· Β· Β· + π‘Žπ‘›

π‘›βˆοΈπ‘–=π‘š

π‘Žπ‘– = π‘Žπ‘š Β· π‘Žπ‘š+1 Β· Β· Β· π‘Žπ‘›

Ioan Despi – AMTH140 8 of 1

Page 9: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Sequences

It is obvious that for π‘š,𝑛 ∈ Z with 𝑛 β‰₯ π‘š, one has

π‘›βˆ‘οΈπ‘–=π‘š

(π‘Žπ‘– + 𝑏𝑖) =

π‘›βˆ‘οΈπ‘–=π‘š

π‘Žπ‘– +

π‘›βˆ‘οΈπ‘–=π‘š

𝑏𝑖

π‘›βˆ‘οΈπ‘–=π‘š

𝑐 Β· π‘Žπ‘– = 𝑐

π‘›βˆ‘οΈπ‘–=π‘š

π‘Žπ‘–

π‘›βˆοΈπ‘–=π‘š

(π‘Žπ‘– Β· 𝑏𝑖) =(︁ π‘›βˆοΈ

𝑖=π‘š

π‘Žπ‘–

)︁·(︁ π‘›βˆοΈ

𝑖=π‘š

𝑏𝑖

)︁where 𝑐 is any constant, i.e., 𝑐 is independent of the dummy variable 𝑖.

Ioan Despi – AMTH140 9 of 1

Page 10: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Principle of Mathematical Induction

One of the most powerful technique for verifying assertions in all ofmathematics.

It is based on the fact that any non-empty subset of the natural numbershas a least element, generalised as follows:

If π‘š is an integer, and π‘Š is the set π‘Š = {π‘š,π‘š + 1,π‘š + 2, . . .},then every nonempty subset of π‘Š has a least element.

The following theorem is the basis for the mathematical induction prooftechnique.

Ioan Despi – AMTH140 10 of 1

Page 11: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Principle of Mathematical Induction

Theorem

Let π‘š ∈ Z and π‘Š = {π‘š,π‘š + 1,π‘š + 2, . . .}. Let 𝑆 be a nonempty subset of π‘Šsuch that the following two conditions hold:

1 π‘š ∈ 𝑆

2 whenever π‘˜ ∈ 𝑆 then π‘˜ + 1 ∈ 𝑆

Then 𝑆 = π‘Š .

Proof.

We will prove 𝑆 = π‘Š by contradiction (reductio ad absurdum), that islet us suppose the contrary: 𝑆 ΜΈ= π‘Š .

Then π‘Š βˆ’ 𝑆 is not empty and contains a least element π‘₯ because everynonempty subset of π‘Š has a least element (π‘₯ ∈ π‘Š and π‘₯ /∈ 𝑆).The first condition (1) tells us that π‘š ∈ 𝑆, so it must be the case that π‘₯ > π‘š.Thus π‘₯βˆ’ 1 β‰₯ π‘š, and it follows that π‘₯βˆ’ 1 ∈ 𝑆.Now we apply the second condition (2) to get that (π‘₯βˆ’ 1) + 1 ∈ 𝑆, that isπ‘₯ ∈ 𝑆.This is a contradiction, since we cannot have both π‘₯ ∈ 𝑆 and π‘₯ ̸∈ 𝑆 at thesame time. Therefore 𝑆 = π‘Š .

Ioan Despi – AMTH140 11 of 1

Page 12: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Principle of Mathematical Induction

Two useful definitions from logic are:

A proposition is a statement that is unambigously true or false (even ifwe do not know which).A sequence of propositions is a rule (function) that associates witheach integer 𝑛 (index) a proposition 𝑆(𝑛), also denoted by 𝑆𝑛.

Theorem (Principle of Mathematical Induction)

If π‘š ∈ Z and {𝑆(𝑛)}𝑛β‰₯π‘š is a sequence of propositions, then to prove that 𝑆(𝑛)is true for all integers 𝑛 β‰₯ π‘š, perform the following two steps:

1 Prove that 𝑆(π‘š) is true.

2 Assume that 𝑆(𝑛) is true for arbitrary 𝑛 β‰₯ π‘š. Prove that 𝑆(𝑛+ 1) is true.

Proof.

Let π‘Š = {𝑛 |𝑛 β‰₯ π‘š} and let 𝑆 = {𝑛 |𝑛 β‰₯ π‘š and 𝑆(𝑛) is true}. Assume wehave performed the two steps of Theorem ??. Then 𝑆 satisfies the hypothesisof Theorem ??, therefore 𝑆 = π‘Š . So 𝑆(𝑛) is true for all 𝑛 β‰₯ π‘š.

Ioan Despi – AMTH140 12 of 1

Page 13: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Principle of Mathematical Induction

Roughly speaking,

the first condition (1) in the Principle of Mathematical Induction (P.M.I.)ensures that 𝑆𝑛 is initially true, i.e., true when 𝑛 = the initial index π‘š,while

the second condition (2) ensures that a true statement 𝑆𝑛 for any 𝑛 β‰₯ π‘šwill guarantee that at least the next statement 𝑆𝑛+1 is also true.

Ioan Despi – AMTH140 13 of 1

Page 14: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

1. Suppose(a) Foxes can only give birth to foxes, and(b) Jim is a fox.Will Jim ever have a rabbit as one of his future offspring?

Let 𝑆𝑛 denote the statement that Jim’s offsprings of the 𝑛–th generation areall foxes. Then

(i) 𝑆0 is true, because Jim’s offsprings of 0–th generation consists of Jimhimself alone, who from (b) is a fox.

(ii) Assume π‘†π‘˜ is true with π‘˜ β‰₯ 0, i.e., the π‘˜β€“th generation of Jim’s offspringsare all foxes. Then, according to (a), all the children of this π‘˜β€“thgeneration can only be foxes. That is the (π‘˜ + 1)–th generation of Jim’soffsprings will all be foxes. i.e., π‘†π‘˜+1 is true.

From the P.M.I., we conclude 𝑆𝑛 is true for all 𝑛 β‰₯ 0. Hence all Jim’soffsprings will be foxes.

Ioan Despi – AMTH140 14 of 1

Page 15: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

2. Prove inductively for all integers 𝑛 β‰₯ 1,

1 + 2 + 3 + Β· Β· Β· + 𝑛 =𝑛(𝑛 + 1)

2. (*)

Solution. Let 𝑆𝑛 denote the statement (*). Since the initial index for 𝑛 β‰₯ 1is 𝑛 = 1, we first verify

(i) 𝑆1 is true because

l.h.s. of (*) = 1 , r.h.s. of (*) =1(1 + 1)

2= 1 = l.h.s. of (*) ,

Hence equality (*) holds for 𝑛 = 1, meaning 𝑆1 is true.

Note.l.h.s. (or LHS, L.H.S.) stands for left hand side andr.h.s. (or RHS, R.H.S.) stands for right hand side.

Ioan Despi – AMTH140 15 of 1

Page 16: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

(ii) Assume π‘†π‘˜ is true for some π‘˜ β‰₯ 1, then by the definition of π‘†π‘˜ we have

1 + 2 + Β· Β· Β· + π‘˜ =π‘˜(π‘˜ + 1)

2. (**)

We now prove π‘†π‘˜+1 is also true. For 𝑛 = π‘˜ + 1,

l.h.s. of (*) =

π‘˜(π‘˜+1)2⏞ ⏟

1 + 2 + Β· Β· Β· + π‘˜ +(π‘˜ + 1)use (**)

=π‘˜(π‘˜ + 1)

2+ (π‘˜ + 1)

=(π‘˜ + 1)(π‘˜ + 2)

2= r.h.s. of (*) i.e., π‘†π‘˜+1 is true.

We thus conclude from the P.M.I. that 𝑆𝑛 is true for all 𝑛 β‰₯ 1. Thismeans (*) will hold for all integers 𝑛 β‰₯ 1.

Ioan Despi – AMTH140 16 of 1

Page 17: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

3. Prove through the use of the P.M.I. that the following identity

12 + 22 + 32 + Β· Β· Β· + 𝑛2 =𝑛(𝑛 + 1)(2𝑛 + 1)

6(†)

holds for all positive integers 𝑛.

Solution. Let 𝑆𝑛 denote the statement (†). Then

(i) 𝑆1 is true because

l.h.s. of (†) = 12 = 1, r.h.s. of (†) =1 Γ— (1 + 1)(2 Γ— 1 + 1)

6= 1

implies l.h.s.=r.h.s., i.e., (†) is valid for 𝑛 = 1.

Ioan Despi – AMTH140 17 of 1

Page 18: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

(ii) Assume π‘†π‘˜ is true for some π‘˜ β‰₯ 1, then

12 + 22 + 32 + Β· Β· Β· + π‘˜2 =π‘˜(π‘˜ + 1)(2π‘˜ + 1)

6. (‑)

Hence12 + 22 + Β· Β· Β· + π‘˜2 + (π‘˜ + 1)2 =

= (12 + 22 + Β· Β· Β· + π‘˜2) + (π‘˜ + 1)2

from (‑) =π‘˜(π‘˜ + 1)(2π‘˜ + 1)

6+ (π‘˜ + 1)2

=(π‘˜ + 1)

6

[︁(2π‘˜2 + π‘˜) + (6π‘˜ + 6)

]︁=

(π‘˜ + 1)(2π‘˜2 + 7π‘˜ + 6)

6=

(π‘˜ + 1)(π‘˜ + 2)(2π‘˜ + 3)

6

=(π‘˜ + 1)((π‘˜ + 1) + 1)(2(π‘˜ + 1) + 1)

6,

i.e. ,π‘†π‘˜+1 is true. Hence the P.M.I. implies 𝑆𝑛 is true for all integers 𝑛 β‰₯ 1.

Ioan Despi – AMTH140 18 of 1

Page 19: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Strong Principle of Mathematical Induction

The Principle of Mathematical Induction can also be equivalentlyrepresented in other forms.One of them is the following Strong Principle of M. I. (S.P.M.I.).

Theorem (Strong Principle of Mathematical Induction)

Suppose π‘š,π‘šβ€² ∈ Z and for any integer 𝑛 β‰₯ π‘š, 𝑆𝑛 is a statement.

(i) Prove that π‘†π‘š, Β· Β· Β· , π‘†π‘šβ€² with π‘šβ€² β‰₯ π‘š are all true.

(ii) Assume that π‘†π‘š, Β· Β· Β· , 𝑆𝑛 are all true and assume 𝑛 β‰₯ π‘šβ€² and prove that𝑆𝑛+1 is true.

Then 𝑆𝑛 is true for all 𝑛 β‰₯ π‘š.

Proof.

S.P.M.I. implies P.M.I. is obvious. As for the converse one only needs to define𝑇𝑛 to be the statement that π‘†π‘˜ for π‘š ≀ π‘˜ ≀ 𝑛 are all true. Then the P.M.I. on𝑇𝑛 will imply the S.P.M.I. on 𝑆𝑛. We shall however skip the simple detailshere.

Ioan Despi – AMTH140 19 of 1

Page 20: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

Sometimes knowing the previous step just isn’t enough.

Strong induction is induction where you assume that all previous casessatisfy your induction hypothesis, not just the most recent case.

4. Divisibility by a Prime:Every integer greater than 1 is divisible by a prime number.

To see, via strong induction, that every integer greater than 1 is divisible by aprime number, we note that

the basis value of 2 is trivially divisible by a prime (itself).

if we assume the strong inductive hypothesis that every integer up to π‘˜ isdivisible by a prime, when we look at π‘˜ itself, either

I it is prime (and hence divisible by itself), orI can be factored as lesser integers, each of which having a prime factor.

Thus π‘˜ is divisible by a prime.

Ioan Despi – AMTH140 20 of 1

Page 21: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

Let 𝑛, π‘Ÿ ∈ N with π‘Ÿ ≀ 𝑛. We define (︂𝑛

π‘Ÿ

)οΈ‚,

called β€œπ‘› choose π‘Ÿβ€ (binomial coefficients), to be the total number ofπ‘Ÿβ€“element subsets that can be chosen from a set of 𝑛 elements.Or, more simply, the number of ways of choosing π‘Ÿ items from a list of 𝑛items. We thus have

(a)

(︂𝑛

0

)οΈ‚= 1, βˆƒ only 1 empty set

(b)

(︂𝑛

𝑛

)οΈ‚= 1, the only subset with all elements in it is itself

(c)

(︂𝑛

π‘Ÿ

)οΈ‚=

(οΈ‚π‘›βˆ’ 1

π‘Ÿ

)οΈ‚+

(οΈ‚π‘›βˆ’ 1

π‘Ÿ βˆ’ 1

)οΈ‚. if π‘Ÿ β‰₯ 1, 𝑛 > 1

Recall the convention 0! = 1.

Ioan Despi – AMTH140 21 of 1

Page 22: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

5. Prove that (︂𝑛

π‘Ÿ

)οΈ‚=

𝑛!

π‘Ÿ!(π‘›βˆ’ π‘Ÿ)!, 𝑛 β‰₯ π‘Ÿ β‰₯ 0 .

Solution. Let 𝑆𝑛 denote the following statement(︂𝑛

π‘Ÿ

)οΈ‚=

𝑛!

(π‘›βˆ’ π‘Ÿ)!π‘Ÿ!is true for all 0 ≀ π‘Ÿ ≀ 𝑛 .

(i) 𝑆0 is true from either (a) or (b), because

(οΈ‚0

0

)οΈ‚=

0!

0! Β· 0!= 1.

Ioan Despi – AMTH140 22 of 1

Page 23: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

(ii) Assume for 𝑛 β‰₯ 0, π‘†π‘˜ is true for all 0 ≀ π‘˜ ≀ 𝑛 and we want to prove that𝑆𝑛+1 is true. Then from (c) for 1 ≀ π‘Ÿ ≀ 𝑛 we have

𝑆𝑛+1 :

(︂𝑛 + 1

π‘Ÿ

)οΈ‚=

(︂𝑛

π‘Ÿ

)οΈ‚+

(︂𝑛

π‘Ÿ βˆ’ 1

)οΈ‚=

𝑛!

π‘Ÿ!(π‘›βˆ’ π‘Ÿ)!+

𝑛!

(π‘Ÿ βˆ’ 1)!(π‘›βˆ’ π‘Ÿ + 1)!(from induction assumption)

=𝑛!

(π‘Ÿ βˆ’ 1)!(π‘›βˆ’ π‘Ÿ)!

[οΈ‚1

π‘Ÿ+

1

π‘›βˆ’ π‘Ÿ + 1

]οΈ‚=

(𝑛 + 1)!

π‘Ÿ!(𝑛 + 1 βˆ’ π‘Ÿ)!

As for π‘Ÿ = 0 and π‘Ÿ = 𝑛 + 1, we see from (a) and (b)(︂𝑛 + 1

0

)οΈ‚=

(︂𝑛 + 1

𝑛 + 1

)οΈ‚= 1 =

(𝑛 + 1)!

(𝑛 + 1)!0!.

Hence 𝑆𝑛+1 is true. From (i) and (ii) and the S.P.M.I. (with π‘š = π‘šβ€² = 0), weconclude 𝑆𝑛 is true for all 𝑛 β‰₯ 0.

Ioan Despi – AMTH140 23 of 1

Page 24: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

6. For integer 𝑛 β‰₯ 1 show the following statement (often called binomialtheorem or binomial expansion) is true𝑆𝑛:

(π‘₯+𝑦)𝑛 =

(︂𝑛

0

)οΈ‚π‘₯𝑛+

(︂𝑛

1

)οΈ‚π‘₯π‘›βˆ’1𝑦+

(︂𝑛

2

)οΈ‚π‘₯π‘›βˆ’2𝑦2+Β· Β· Β·+

(︂𝑛

π‘›βˆ’ 1

)οΈ‚π‘₯π‘¦π‘›βˆ’1+

(︂𝑛

𝑛

)︂𝑦𝑛

Solution.

(i) 𝑆1 is true because

(π‘₯ + 𝑦)1 = π‘₯ + 𝑦 =

(οΈ‚1

0

)οΈ‚π‘₯ +

(οΈ‚1

1

)︂𝑦 .

(ii) Assume π‘†π‘˜ is true for some π‘˜ β‰₯ 1, then

(π‘₯ + 𝑦)π‘˜+1 = (π‘₯ + 𝑦)[οΈ€(π‘₯ + 𝑦)π‘˜

]οΈ€= (π‘₯ + 𝑦)

[οΈ‚(οΈ‚π‘˜

0

)οΈ‚π‘₯π‘˜ +

(οΈ‚π‘˜

1

)οΈ‚π‘₯π‘˜βˆ’1𝑦 + Β· Β· Β· +

(οΈ‚π‘˜

π‘˜

)οΈ‚π‘¦π‘˜

]οΈ‚

Ioan Despi – AMTH140 24 of 1

Page 25: Ioan Despi despi@turing.une.edumcs.une.edu.au/~amth140/Lectures/Lecture_03/Lecture/lecture.pdfIoan Despi despi@turing.une.edu.au University of New England July 5, 2013

Examples

=

(οΈ‚π‘˜

0

)οΈ‚π‘₯π‘˜+1 +

[οΈ‚(οΈ‚π‘˜

0

)οΈ‚+

(οΈ‚π‘˜

1

)οΈ‚]οΈ‚π‘₯π‘˜π‘¦ +

[οΈ‚(οΈ‚π‘˜

1

)οΈ‚+

(οΈ‚π‘˜

2

)οΈ‚]οΈ‚π‘₯π‘˜βˆ’1𝑦2

+ Β· Β· Β· +

[οΈ‚(οΈ‚π‘˜

π‘˜ βˆ’ 1

)οΈ‚+

(οΈ‚π‘˜

π‘˜

)οΈ‚]οΈ‚π‘₯π‘¦π‘˜ +

(οΈ‚π‘˜

π‘˜

)οΈ‚π‘¦π‘˜+1

=

(οΈ‚π‘˜ + 1

0

)οΈ‚π‘₯π‘˜+1 +

(οΈ‚π‘˜ + 1

1

)οΈ‚π‘₯π‘˜π‘¦ + Β· Β· Β· +

(οΈ‚π‘˜ + 1

π‘˜ + 1

)οΈ‚π‘¦π‘˜+1

i.e., π‘†π‘˜+1 is true. Hence from the P.M.I. we conclude 𝑆𝑛 is true for all 𝑛 β‰₯ 1.

Ioan Despi – AMTH140 25 of 1