• No results found

CS 207 Discrete Mathematics – 2013-2014

N/A
N/A
Protected

Academic year: 2022

Share "CS 207 Discrete Mathematics – 2013-2014"

Copied!
308
0
0

Loading.... (view fulltext now)

Full text

(1)

CS 207 Discrete Mathematics – 2013-2014

Nutan Limaye

Indian Institute of Technology, Bombay nutan@cse.iitb.ac.in

Mathematical Reasoning and Mathematical Objects Lecture 1: What is a proof?

July 18, 2013

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 1 / 18

(2)

Credit Structure

Course credit structure

quizzes 25%

mid-sem 35%

end-sem 40%

Office hours: 11:00am to 1:00pm (Wednesday) Problem solving session: 1 hour per week (To be announced)

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 2 / 18

(3)

Important Announcements

Quiz 1: August 28, 2013 , Wednesday, 8:30am to 9:30am Quiz 2: September 4, 2013 , Wednesday, 8:30am to 9:30am

No classes on: July 22, 2013, July 23, 2013 and July 25, 2013 Next class: July 29, 2013

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 3 / 18

(4)

Important Announcements

Quiz 1: August 28, 2013 , Wednesday, 8:30am to 9:30am Quiz 2: September 4, 2013 , Wednesday, 8:30am to 9:30am No classes on: July 22, 2013, July 23, 2013 and July 25, 2013

Next class: July 29, 2013

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 3 / 18

(5)

Important Announcements

Quiz 1: August 28, 2013 , Wednesday, 8:30am to 9:30am Quiz 2: September 4, 2013 , Wednesday, 8:30am to 9:30am No classes on: July 22, 2013, July 23, 2013 and July 25, 2013 Next class: July 29, 2013

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 3 / 18

(6)

Course Outline

Mathematical reasoning and mathematical objects Combinatorics

Elements of graph theory Elements of abstract algebra

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 4 / 18

(7)

Course Outline

Mathematical reasoning and mathematical objects

I What is a proof? Types of proof methods

I Induction

I Sets, relations, functions, partial orders, graphs Combinatorics

Elements of graph theory Elements of abstract algebra

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 4 / 18

(8)

Course Outline

Mathematical reasoning and mathematical objects

I What is a proof? Types of proof methods

I Induction

I Sets, relations, functions, partial orders, graphs

Text: Discrete Mathematics and its applictions, by Kenneth Rosen Chapter 2 : 2.1,2.2,2.3, Chapter 8 : 8.1,8.5,8.6

Class notes: will be uploaded on Moodle Combinatorics

Elements of graph theory Elements of abstract algebra

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 4 / 18

(9)

What is a proposition?

A statement that is either true or false.

2 + 2 = 4, every odd number is a prime, there are no even primes other than 2;

8a,b2N,9c 2N:a2+b2=c; 8a,b2N,9c 2N:a2 b2=c; 8a,b2N,9c 2Z:a2 b2 =c;

It is not always easy to tell whether a proposition is true or false.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 5 / 18

(10)

What is a proposition?

A statement that is either true or false.

2 + 2 = 4, every odd number is a prime, there are no even primes other than 2;

8a,b2N,9c 2N:a2+b2=c; 8a,b2N,9c 2N:a2 b2=c; 8a,b2N,9c 2Z:a2 b2 =c;

It is not always easy to tell whether a proposition is true or false.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 5 / 18

(11)

What is a proposition?

A statement that is either true or false.

2 + 2 = 4, every odd number is a prime, there are no even primes other than 2;

8a,b 2N,9c 2N:a2+b2=c;

8a,b2N,9c 2N:a2 b2=c; 8a,b2N,9c 2Z:a2 b2 =c;

It is not always easy to tell whether a proposition is true or false.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 5 / 18

(12)

What is a proposition?

A statement that is either true or false.

2 + 2 = 4, every odd number is a prime, there are no even primes other than 2;

8a,b 2N,9c 2N:a2+b2=c;

8: for all, 9: there exists,

2, /2: contained in, and not contained in

N: the set of natural numbers, Z: the set of integers,

Q: the set of rationals,

Z+: the set of positive integers, R: the set of reals

8a,b2N,9c 2N:a2 b2=c; 8a,b2N,9c 2Z:a2 b2 =c;

It is not always easy to tell whether a proposition is true or false.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 5 / 18

(13)

What is a proposition?

A statement that is either true or false.

2 + 2 = 4, every odd number is a prime, there are no even primes other than 2;

8a,b 2N,9c 2N:a2+b2=c;

8: for all, 9: there exists,

2, /2: contained in, and not contained in N: the set of natural numbers,

Z: the set of integers, Q: the set of rationals,

Z+: the set of positive integers, R: the set of reals

8a,b2N,9c 2N:a2 b2=c; 8a,b2N,9c 2Z:a2 b2 =c;

It is not always easy to tell whether a proposition is true or false.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 5 / 18

(14)

What is a proposition?

A statement that is either true or false.

2 + 2 = 4, every odd number is a prime, there are no even primes other than 2;

8a,b 2N,9c 2N:a2+b2=c;

8a,b 2N,9c 2N:a2 b2=c;

8a,b2N,9c 2Z:a2 b2 =c;

It is not always easy to tell whether a proposition is true or false.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 5 / 18

(15)

What is a proposition?

A statement that is either true or false.

2 + 2 = 4, every odd number is a prime, there are no even primes other than 2;

8a,b 2N,9c 2N:a2+b2=c;

8a,b 2N,9c 2N:a2 b2=c;

8a,b 2N,9c 2Z:a2 b2 =c;

It is not always easy to tell whether a proposition is true or false.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 5 / 18

(16)

Theorems and proofs

Theorem

If0x 2,then x3+ 4x+ 1>0

*(scratchpad)* Proof.

As x3+ 4x=x(4 x2), which is in factx(2 x)(2 +x), the quantity is positive non-negative for 0x 2. Adding 1 to a non-negative quantity makes it positive. Therefore, the above theorem.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 6 / 18

(17)

Theorems and proofs

Theorem

If0x 2,then x3+ 4x+ 1>0

*(scratchpad)*

Proof.

As x3+ 4x=x(4 x2), which is in factx(2 x)(2 +x), the quantity is positive non-negative for 0x 2. Adding 1 to a non-negative quantity makes it positive. Therefore, the above theorem.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 6 / 18

(18)

Theorems and proofs

Theorem

If0x 2,then x3+ 4x+ 1>0

*(scratchpad)*

Proof.

As x3+ 4x=x(4 x2), which is in factx(2 x)(2 +x), the quantity is positive non-negative for 0x 2. Adding 1 to a non-negative quantity makes it positive. Therefore, the above theorem.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 6 / 18

(19)

Theorems and Proofs

Given: a number n2N Check: Is n prime?

for i = 2 top n do if i|n then

output “no” end if

end for

Why is this algorithm correct? Theorem

If n is a composite integer, then n has a prime divisor less than or equal to pn

Proof.

As n is a composite, 9x,y2N,x,y <n :n=xy. If x >p

n andy >p n then xy >n. Therefore, one of x ory is less than or equal top

n. Sayx is smaller than p

n. It is either a composite or a prime. If it is a prime, then we are done. Else, it has prime factorization (axiom: unique factorization in N) and again, we are done.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 7 / 18

(20)

Theorems and Proofs

Given: a number n2N Check: Is n prime?

for i = 2 top n do if i|n then

output “no”

end if end for

Why is this algorithm correct? Theorem

If n is a composite integer, then n has a prime divisor less than or equal to pn

Proof.

As n is a composite, 9x,y2N,x,y <n :n=xy. If x >p

n andy >p n then xy >n. Therefore, one of x ory is less than or equal top

n. Sayx is smaller than p

n. It is either a composite or a prime. If it is a prime, then we are done. Else, it has prime factorization (axiom: unique factorization in N) and again, we are done.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 7 / 18

(21)

Theorems and Proofs

Given: a number n2N Check: Is n prime?

for i = 2 top n do if i|n then

output “no”

end if end for

Why is this algorithm correct?

Is there a number n2Ns.t 8i :i 2{2,3, . . . ,p

n}i -n, but 9j >p

n s.t. j|n?

Is there a composite n 2Ns.t. all its prime factors are greater than p n?

Theorem

If n is a composite integer, then n has a prime divisor less than or equal to pn

Proof.

As n is a composite, 9x,y2N,x,y <n :n=xy. If x >p

n andy >p n then xy >n. Therefore, one of x ory is less than or equal top

n. Sayx is smaller than p

n. It is either a composite or a prime. If it is a prime, then we are done. Else, it has prime factorization (axiom: unique factorization in N) and again, we are done.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 7 / 18

(22)

Theorems and Proofs

Is there a number n2Ns.t 8i :i 2{2,3, . . . ,p

n}i -n, but 9j >p

n s.t. j|n?

Is there a composite n 2Ns.t. all its prime factors are greater than p n?

Theorem

If n is a composite integer, then n has a prime divisor less than or equal to pn

Proof.

As n is a composite, 9x,y 2N,x,y <n :n=xy. If x>p

n andy >p n then xy >n. Therefore, one ofx ory is less than or equal top

n. Sayx is smaller than p

n. It is either a composite or a prime. If it is a prime, then we are done. Else, it has prime factorization (axiom: unique factorization in N) and again, we are done.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 7 / 18

(23)

Theorems and Proofs

Is there a number n2Ns.t 8i :i 2{2,3, . . . ,p

n}i -n, but 9j >p

n s.t. j|n?

Is there a composite n 2Ns.t. all its prime factors are greater than p n?

Theorem

If n is a composite integer, then n has a prime divisor less than or equal to pn

Proof.

As n is a composite, 9x,y 2N,x,y <n :n=xy. If x>p

n andy >p n then xy >n. Therefore, one ofx ory is less than or equal top

n. Sayx is smaller than p

n. It is either a composite or a prime. If it is a prime, then we are done. Else, it has prime factorization (axiom: unique factorization in N) and again, we are done.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 7 / 18

(24)

Axioms

Euclid in 300BC invented the method of axioms-and-proofs.

Using only a handful of axioms called Zermelo-Fraenkel and Choice (ZFC) and a few rules of deductions the entire mathematics can be deduced!

Proving theorems starting from ZFC alone is tedious. 20,000+ lines proof for 2 + 2 = 4

We will assume a whole lot of axioms to prove theorems: all familiar facts from high school math.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 8 / 18

(25)

Class problems

(CW1.1)Prove that for anyn 2N,n(n2 1)(n+ 2) is divisible by 4.

(what about divisible by 8?)

(CW1.2)Prove that for anyn 2N, 2n<(n+ 2)!

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 9 / 18

(26)

Bogus proofs

Theorem (Bogus) 1/8>1/4

Proof.

3>2

3 log10(1/2)>2 log10(1/2) log10(1/2)3 >log10(1/2)2

(1/2)3 >(1/2)2

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 10 / 18

(27)

Another bogus proof

Theorem

For all non-negative numbers a,b a+b2 p ab

Proof.

a+b 2

?p ab a+b ?2p

ab a2+ 2ab+b2 ?4ab a2 2ab+b2 ?0

(a b)2 0

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 11 / 18

(28)

Proof Methods

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 12 / 18

(29)

Proof by contrapositive

Theorem

If r is irrational then p

r is also irrational.

Proof. Supposep

r is rational. Then p

r =p/q forp,q2Z. Therefore, r =p2/q2.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 13 / 18

(30)

Proof by contrapositive

Theorem

If r is irrational then p

r is also irrational.

Definition (Contrapozitive)

The contrapositive of “if P thenQ” is “if¬Q then ¬P”

Proof. Supposep

r is rational. Then p

r =p/q forp,q2Z. Therefore, r =p2/q2.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 13 / 18

(31)

Proof by contrapositive

Theorem

If r is irrational then p

r is also irrational.

Ifp

r is rational then r is rational.

Proof.

Supposep

r is rational. Then p

r =p/q forp,q2Z. Therefore, r =p2/q2.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 13 / 18

(32)

Proof by contradiction

Theorem p2 is irrational.

Proof.

Suppose not. Then there exists p,q2Zsuch that p

2 =p/q,wherep,q do not have any common divisors. Therefore, 2q2 =p2, i.e. p2 is even. Ifp2 is even, then p is even. Therefore, p = 2k for somek 2Z ) 2q2= 4k2 ) q2= 2k2 ) q2 is even. Therefore, q is even. That is,p,q have a common factor. This leads to a contradiction.

(CW2.2)Prove that there are infinitely many primes.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 14 / 18

(33)

Proof by contradiction

Theorem p2 is irrational.

Proof.

Suppose not. Then there exists p,q2Zsuch that p

2 =p/q,wherep,q do not have any common divisors. Therefore, 2q2 =p2, i.e. p2 is even.

Ifp2 is even, then p is even. Therefore, p = 2k for somek 2Z ) 2q2= 4k2 ) q2= 2k2 ) q2 is even. Therefore, q is even. That is,p,q have a common factor. This leads to a contradiction.

(CW2.2)Prove that there are infinitely many primes.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 14 / 18

(34)

Proof by contradiction

Theorem p2 is irrational.

Proof.

Suppose not. Then there exists p,q2Zsuch that p

2 =p/q,wherep,q do not have any common divisors. Therefore, 2q2 =p2, i.e. p2 is even.

(CW2.1)Ifp2 is even, then p is even.

Therefore,p = 2k for somek 2Z ) 2q2= 4k2 )q2= 2k2 )q2 is even. Therefore,q is even. That is, p,q have a common factor. This leads to a contradiction.

(CW2.2)Prove that there are infinitely many primes.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 14 / 18

(35)

Proof by contradiction

Theorem p2 is irrational.

Proof.

Suppose not. Then there exists p,q2Zsuch that p

2 =p/q,wherep,q do not have any common divisors. Therefore, 2q2 =p2, i.e. p2 is even.

Ifp2 is even, then p is even. (why?)

Suppose not, i..e p2 is even but p is not. Then p= 2k+ 1 for some integerk. p2= (2k+ 1)2 = 4k2+ 4k+ 1. As 4(k2+k) is even, 4k2+ 4k+ 1 is odd, which is a contradiction.

Therefore, p= 2k for somek2Z) 2q2 = 4k2 ) q2 = 2k2 ) q2 is even. Therefore, q is even. That is, p,q have a common factor. This leads to a contradiction.

(CW2.2)Prove that there are infinitely many primes.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 14 / 18

(36)

Proof by contradiction

Theorem p2 is irrational.

Proof.

Suppose not. Then there exists p,q2Zsuch that p

2 =p/q,wherep,q do not have any common divisors. Therefore, 2q2 =p2, i.e. p2 is even.

Ifp2 is even, then p is even.

Therefore,p = 2k for somek 2Z ) 2q2= 4k2 ) q2= 2k2 ) q2 is even. Therefore, q is even. That is,p,q have a common factor. This leads to a contradiction.

(CW2.2)Prove that there are infinitely many primes.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 14 / 18

(37)

Proof by contradiction

Theorem p2 is irrational.

Proof.

Suppose not. Then there exists p,q2Zsuch that p

2 =p/q,wherep,q do not have any common divisors. Therefore, 2q2 =p2, i.e. p2 is even.

Ifp2 is even, then p is even. Therefore, p = 2k for somek 2Z) 2q2= 4k2 ) q2= 2k2 )q2 is even. Therefore,q is even. That is,p,q have a common factor. This leads to a contradiction.

(CW2.2)Prove that there are infinitely many primes.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 14 / 18

(38)

Proof by contradiction

Theorem p2 is irrational.

Proof.

Suppose not. Then there exists p,q2Zsuch that p

2 =p/q,wherep,q do not have any common divisors. Therefore, 2q2 =p2, i.e. p2 is even.

Ifp2 is even, then p is even. Therefore, p = 2k for somek 2Z) 2q2= 4k2 ) q2= 2k2 )q2 is even. Therefore,q is even. That is,p,q have a common factor. This leads to a contradiction.

(CW2.2)Prove that there are infinitely many primes.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 14 / 18

(39)

Well-ordering principle and Induction

Axiom (WOP)

Every nonempty set of non-negative integers has a smallest element.

Axiom (Induction)

Let P(n) be a property of non-negative integers. If

1 P(0)is true (Base case)

2 for all n 0, P(n))P(n+ 1)(Induction step) then P(n) is true for for all n2N.

Axiom (Strong Induction)

Let P(n) be a property of non-negative integers. If

1 P(0)is true (Base case)

2 [8k 2{0,1, . . . ,n}:P(k)])P(n+ 1)(Induction step) then P(n) is true for for all n2N.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 15 / 18

(40)

Well-ordering principle and Induction

Axiom (WOP)

Every nonempty set of non-negative integers has a smallest element.

Axiom (Induction)

Let P(n) be a property of non-negative integers. If

1 P(0)is true (Base case)

2 for all n 0, P(n))P(n+ 1)(Induction step) then P(n) is true for for all n2N.

Axiom (Strong Induction)

Let P(n) be a property of non-negative integers. If

1 P(0)is true (Base case)

2 [8k 2{0,1, . . . ,n}:P(k)])P(n+ 1)(Induction step) then P(n) is true for for all n2N.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 15 / 18

(41)

Well-ordering principle and Induction

Axiom (WOP)

Every nonempty set of non-negative integers has a smallest element.

Axiom (Induction)

Let P(n) be a property of non-negative integers. If

1 P(0)is true (Base case)

2 for all n 0, P(n))P(n+ 1)(Induction step) then P(n) is true for for all n2N.

Axiom (Strong Induction)

Let P(n) be a property of non-negative integers. If

1 P(0)is true (Base case)

2 [8k 2{0,1, . . . ,n}:P(k)])P(n+ 1)(Induction step) then P(n) is true for for all n2N.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 15 / 18

(42)

WOP ) Induction

Theorem

Well-ordering principle implies Induction Proof.

Let P(0) be true and for eachn 0, let P(n))P(n+ 1).

Let us assume for the sake of contradiction that P(n) is not true for all positive integers.

Let C ={i |P(i) is false}. AsC is non-empty and non-negative integers C has a smallest element (due to WOP), say i0.

Now, i06= 0. AlsoP(i0 1) is true, asi0 1 is not inC. But P(i0 1))P(i0), which is a contradiction.

Theorem

WOP , Induction, Strong Induction [HW]

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 16 / 18

(43)

WOP ) Induction

Theorem

Well-ordering principle implies Induction Proof.

Let P(0) be true and for eachn 0, let P(n))P(n+ 1).

Let us assume for the sake of contradiction that P(n) is not true for all positive integers.

Let C ={i |P(i) is false}. AsC is non-empty and non-negative integers C has a smallest element (due to WOP), say i0.

Now, i06= 0. AlsoP(i0 1) is true, asi0 1 is not inC. But P(i0 1))P(i0), which is a contradiction.

Theorem

WOP , Induction, Strong Induction [HW]

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 16 / 18

(44)

Using Induction to prove theorems

Theorem 2n(n+ 1)!

Proof.

Base case (n= 0): 20= 1 = 1!

Induction hypothesis: 2n(n+ 1)!. 2n+1= 2·2n

2·(n+ 1)! (by indiction hypothesis)

(n+ 2)·(n+ 1)!

(n+ 2)!

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 17 / 18

(45)

Using Induction to prove theorems

Theorem 2n(n+ 1)!

Proof.

Base case (n= 0): 20= 1 = 1!

Induction hypothesis: 2n(n+ 1)!.

2n+1= 2·2n

2·(n+ 1)! (by indiction hypothesis)

(n+ 2)·(n+ 1)!

(n+ 2)!

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 17 / 18

(46)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 18 / 18

(47)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let (A,B,C) be the solution with the smallest value of b in S.

Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B = 2 . )2A3+ 8 3 = 4 3. And, now we can repeat the argument with respect to A. Therefore, if (A,B,C) is a solution then so is (↵, , ). But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 18 / 18

(48)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let (A,B,C) be the solution with the smallest value of b in S.

(Such an s exists due to WOP.)

Observe that C3 is even. Therefore,C is even. Say C = 2 .

Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B = 2 . )2A3+ 8 3 = 4 3. And, now we can repeat the argument with respect to A. Therefore, if (A,B,C) is a solution then so is (↵, , ). But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 18 / 18

(49)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let (A,B,C) be the solution with the smallest value of b in S.

Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B = 2 . )2A3+ 8 3 = 4 3. And, now we can repeat the argument with respect to A. Therefore, if (A,B,C) is a solution then so is (↵, , ). But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 18 / 18

(50)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let (A,B,C) be the solution with the smallest value of b in S.

Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B= 2 . )2A3+ 8 3= 4 3.

And, now we can repeat the argument with respect to A. Therefore, if (A,B,C) is a solution then so is (↵, , ). But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 18 / 18

(51)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let (A,B,C) be the solution with the smallest value of b in S.

Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B= 2 . )2A3+ 8 3= 4 3. And, now we can repeat the argument with respect to A.

Therefore, if (A,B,C) is a solution then so is (↵, , ).

But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 18 / 18

(52)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let (A,B,C) be the solution with the smallest value of b in S.

Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B= 2 . )2A3+ 8 3= 4 3. And, now we can repeat the argument with respect to A.

Therefore, if (A,B,C) is a solution then so is (↵, , ).

But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 18 / 18

(53)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

It is not always as easy to prove such theorems.

Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation:

a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2013-2014 May 2011 18 / 18

(54)

CS 207 Discrete Mathematics – 2012-2013

Nutan Limaye

Indian Institute of Technology, Bombay nutan@cse.iitb.ac.in

Mathematical Reasoning and Mathematical Objects Lecture 2: Well-ordering principle and Induction

July 29, 2013

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 1 / 8

(55)

CS 207 Discrete Mathematics – 2012-2013

Nutan Limaye

Indian Institute of Technology, Bombay nutan@cse.iitb.ac.in

Mathematical Reasoning and Mathematical Objects Lecture 2: Well-ordering principle and Induction

July 29, 2013

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 1 / 8

(56)

Last time

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 2 / 8

(57)

Recap

What are axioms, propositions, theorems, claims and proofs?

Various theorems we proved in class:

The well ordering principle, induction, and strong induction. You were asked to think about the following problem:

Is 2n< n2!?

Try to also think about the following: (CW2.1)

For every positive integer n there exists another positive integerk such that n is of the form 9k,9k+ 1,or 9k 1.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3 / 8

(58)

Recap

What are axioms, propositions, theorems, claims and proofs?

Various theorems we proved in class:

I Ifnis a composite integer, thennhas a prime divisor less than or equal topn.

I Ifr is irrational thenpr is irrational.

I p

2 is irrational.

I Well-ordering principle implies induction.

I 2n<n!

The well ordering principle, induction, and strong induction. You were asked to think about the following problem:

Is 2n< n2!?

Try to also think about the following: (CW2.1)

For every positive integer n there exists another positive integerk such that n is of the form 9k,9k+ 1,or 9k 1.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3 / 8

(59)

Recap

What are axioms, propositions, theorems, claims and proofs?

Various theorems we proved in class:

I Ifnis a composite integer, thennhas a prime divisor less than or equal topn.

I Ifr is irrational thenpr is irrational.

I p

2 is irrational.

I Well-ordering principle implies induction.

I 2n<n!

The well ordering principle, induction, and strong induction. You were asked to think about the following problem:

Is 2n< n2!?

Try to also think about the following: (CW2.1)

For every positive integer n there exists another positive integerk such that n is of the form 9k,9k+ 1,or 9k 1.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3 / 8

(60)

Recap

What are axioms, propositions, theorems, claims and proofs?

Various theorems we proved in class:

I Ifnis a composite integer, thennhas a prime divisor less than or equal topn.

I Ifr is irrational thenpr is irrational.

I p

2 is irrational.

I Well-ordering principle implies induction.

I 2n<n!

The well ordering principle, induction, and strong induction. You were asked to think about the following problem:

Is 2n< n2!?

Try to also think about the following: (CW2.1)

For every positive integer n there exists another positive integerk such that n is of the form 9k,9k+ 1,or 9k 1.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3 / 8

(61)

Recap

What are axioms, propositions, theorems, claims and proofs?

Various theorems we proved in class:

I Ifnis a composite integer, thennhas a prime divisor less than or equal topn.

I Ifr is irrational thenpr is irrational.

I p

2 is irrational.

I Well-ordering principle implies induction.

I 2n<n!

The well ordering principle, induction, and strong induction. You were asked to think about the following problem:

Is 2n< n2!?

Try to also think about the following: (CW2.1)

For every positive integer n there exists another positive integerk such that n is of the form 9k,9k+ 1,or 9k 1.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3 / 8

(62)

Recap

What are axioms, propositions, theorems, claims and proofs?

Various theorems we proved in class:

I Ifnis a composite integer, thennhas a prime divisor less than or equal topn.

I Ifr is irrational thenpr is irrational.

I p

2 is irrational.

I Well-ordering principle implies induction.

I 2n<n!

The well ordering principle, induction, and strong induction. You were asked to think about the following problem:

Is 2n< n2!?

Try to also think about the following: (CW2.1)

For every positive integer n there exists another positive integerk such that n is of the form 9k,9k+ 1,or 9k 1.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3 / 8

(63)

Recap

What are axioms, propositions, theorems, claims and proofs?

Various theorems we proved in class:

I Ifnis a composite integer, thennhas a prime divisor less than or equal topn.

I Ifr is irrational thenpr is irrational.

I p

2 is irrational.

I Well-ordering principle implies induction.

I 2n<n!

The well ordering principle, induction, and strong induction.

You were asked to think about the following problem: Is 2n< n2!?

Try to also think about the following: (CW2.1)

For every positive integer n there exists another positive integerk such that n is of the form 9k,9k+ 1,or 9k 1.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3 / 8

(64)

Recap

What are axioms, propositions, theorems, claims and proofs?

Various theorems we proved in class:

The well ordering principle, induction, and strong induction.

You were asked to think about the following problem:

Is 2n< n2!?

Try to also think about the following: (CW2.1)

For every positive integer n there exists another positive integerk such that n is of the form 9k,9k+ 1,or 9k 1.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3 / 8

(65)

Recap

What are axioms, propositions, theorems, claims and proofs?

Various theorems we proved in class:

The well ordering principle, induction, and strong induction.

You were asked to think about the following problem:

Is 2n< n2!?

Try to also think about the following: (CW2.1)

For every positive integer n there exists another positive integerk such that n is of the form 9k,9k+ 1,or 9k 1.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3 / 8

(66)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 4 / 8

(67)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let s = (A,B,C) be the solution with the smallest value ofb in S.

Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B = 2 . )2A3+ 8 3 = 4 3. And, now we can repeat the argument with respect to A. Therefore, if (A,B,C) is a solution then so is (↵, , ). But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 4 / 8

(68)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let s = (A,B,C) be the solution with the smallest value ofb in S. (Such an s exists due to WOP.)

Observe that C3 is even. Therefore,C is even. Say C = 2 .

Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B = 2 . )2A3+ 8 3 = 4 3. And, now we can repeat the argument with respect to A. Therefore, if (A,B,C) is a solution then so is (↵, , ). But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 4 / 8

(69)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let s = (A,B,C) be the solution with the smallest value ofb in S. Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B = 2 . )2A3+ 8 3 = 4 3. And, now we can repeat the argument with respect to A. Therefore, if (A,B,C) is a solution then so is (↵, , ). But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 4 / 8

(70)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let s = (A,B,C) be the solution with the smallest value ofb in S. Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B= 2 . )2A3+ 8 3= 4 3.

And, now we can repeat the argument with respect to A. Therefore, if (A,B,C) is a solution then so is (↵, , ). But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 4 / 8

(71)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let s = (A,B,C) be the solution with the smallest value ofb in S. Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B= 2 . )2A3+ 8 3= 4 3. And, now we can repeat the argument with respect to A.

Therefore, if (A,B,C) is a solution then so is (↵, , ).

But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 4 / 8

(72)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

Proof.

Suppose (for the sake of contradiction) this has a solution over N. Let s = (A,B,C) be the solution with the smallest value ofb in S. Observe that C3 is even. Therefore,C is even. Say C = 2 . Therefore, 4A3+ 2B3 = 8 3,i.e. 2A3+B3 = 4 3.

Now, B3 is even and so isB. Say B= 2 . )2A3+ 8 3= 4 3. And, now we can repeat the argument with respect to A.

Therefore, if (A,B,C) is a solution then so is (↵, , ).

But <B, which is a contradiction.

It is not always as easy to prove such theorems. Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation: a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 4 / 8

(73)

Using Well-ordering principle to prove theorems

Here is a slightly non-trivial example:

Theorem

The following equation does not have any solutions over N: 4a3+ 2b3=c3

It is not always as easy to prove such theorems.

Conjecture (Euler, 1769)

There are no positive integer solutions over Zto the equation:

a4+b4+c4 =d4

Integer values for a,b,c,d that do satisfy this equation were first discovered in 1986.

It took more two hundred years to prove it.

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 4 / 8

(74)

A proof by induction

Theorem

For any n 2N,n 2prove that s

2 r

3 q

4. . .p

n 1p

n <3

Proof.

For all 2i j,i,j 2N letf(i,j) = q

ip

i+ 1. . .p j. We prove (⇤) by induction onj i.

Base case: j i = 1. f(i,i+ 1) =p ip

i+ 1<i + 1. Induction:

f(i,j + 1) =p

i·f(i+ 1,j+ 1)

<p

i·(i+ 2) (by Induction Hypothesis)

i+ 1 (by AM-GM inequality)

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 5 / 8

(75)

A proof by induction

Theorem

For any n 2N,n 2prove that s

2 r

3 q

4. . .p

n 1p

n <3

*scratch pad*

a slightly stronger induction hypothesis is required Proof.

For all 2i j,i,j 2N letf(i,j) = q

ip

i+ 1. . .p j. We prove (⇤) by induction onj i.

Base case: j i = 1. f(i,i+ 1) =p ip

i+ 1<i + 1. Induction:

f(i,j + 1) =p

i·f(i+ 1,j+ 1)

<p

i·(i+ 2) (by Induction Hypothesis)

i+ 1 (by AM-GM inequality)

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 5 / 8

(76)

A proof by induction

Theorem

For any n 2N,n 2prove that s

2 r

3 q

4. . .p

n 1p

n <3

*scratch pad*

a slightly stronger induction hypothesis is required

Proof.

For all 2i j,i,j 2N letf(i,j) = q

ip

i+ 1. . .p j. We will prove a slightly more general statement:

For all 2i j,i,j 2N,f(i,j)<i+ 1 We prove (⇤) by induction onj i. Base case: j i = 1. f(i,i+ 1) =p

ip

i+ 1<i + 1. Induction:

f(i,j + 1) =p

i·f(i+ 1,j+ 1)

<p

i·(i+ 2) (by Induction Hypothesis)

i+ 1 (by AM-GM inequality)

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 5 / 8

(77)

A proof by induction

Theorem

For any n 2N,n 2prove that s

2 r

3 q

4. . .p

n 1p

n <3

Proof.

For all 2i j,i,j 2Nlet f(i,j) = q

ip

i+ 1. . .p j. We will prove a slightly more general statement:

For all 2i j,i,j 2N,f(i,j)<i+ 1

This is more general than the theorem statement we wanted to prove.

We prove (⇤) by induction onj i.

Base case: j i = 1. f(i,i+ 1) =p ip

i+ 1<i + 1. Induction:

f(i,j + 1) =p

i·f(i+ 1,j+ 1)

<p

i·(i+ 2) (by Induction Hypothesis)

i+ 1 (by AM-GM inequality)

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 5 / 8

(78)

A proof by induction

Theorem

For any n 2N,n 2prove that s

2 r

3 q

4. . .p

n 1p

n <3 ( 82i <j,i,j 2N,f(i,j)<i+ 1 (⇤)

Proof.

For all 2i j,i,j 2Nlet f(i,j) = q

ip

i+ 1. . .p j.

We prove (⇤) by induction onj i. Base case: j i = 1. f(i,i+ 1) =p

ip

i+ 1<i + 1. Induction:

f(i,j + 1) =p

i·f(i+ 1,j+ 1)

<p

i·(i+ 2) (by Induction Hypothesis)

i+ 1 (by AM-GM inequality)

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 5 / 8

(79)

A proof by induction

Theorem

For any n 2N,n 2prove that s

2 r

3 q

4. . .p

n 1p

n <3 ( 82i <j,i,j 2N,f(i,j)<i+ 1 (⇤)

Proof.

For all 2i j,i,j 2Nlet f(i,j) = q

ip

i+ 1. . .p j. We prove (⇤) by induction onj i.

Base case: j i = 1. f(i,i+ 1) =p ip

i+ 1<i + 1. Induction:

f(i,j + 1) =p

i·f(i+ 1,j+ 1)

<p

i·(i+ 2) (by Induction Hypothesis)

i+ 1 (by AM-GM inequality)

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 5 / 8

(80)

A proof by induction

Theorem

For any n 2N,n 2prove that s

2 r

3 q

4. . .p

n 1p

n <3 ( 82i <j,i,j 2N,f(i,j)<i+ 1 (⇤)

Proof.

For all 2i j,i,j 2Nlet f(i,j) = q

ip

i+ 1. . .p j. We prove (⇤) by induction onj i.

Base case: j i = 1. f(i,i+ 1) =p ip

i+ 1<i + 1.

Induction:

f(i,j + 1) =p

i·f(i+ 1,j+ 1)

<p

i·(i+ 2) (by Induction Hypothesis)

i+ 1 (by AM-GM inequality)

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 5 / 8

(81)

A proof by induction

Theorem

For any n 2N,n 2prove that s

2 r

3 q

4. . .p

n 1p

n <3 ( 82i <j,i,j 2N,f(i,j)<i+ 1 (⇤)

Proof.

For all 2i j,i,j 2Nlet f(i,j) = q

ip

i+ 1. . .p j. We prove (⇤) by induction onj i.

Base case: j i = 1. f(i,i+ 1) =p ip

i+ 1<i + 1.

Induction:

f(i,j + 1) =p

i·f(i+ 1,j+ 1)

<p

i·(i+ 2) (by Induction Hypothesis)

i+ 1 (by AM-GM inequality)

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 5 / 8

(82)

A Bogus Inductive proof

Theorem (Bogus, CW2.2)

a2R, a>0. Then,8n 2N, an= 1.

By Strong Induction. Base case: n= 0. Soan= 1. Induction: n!n+ 1.

an+1 = an·an

an 1 = 1·1 1 = 1

???

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 6 / 8

(83)

A Bogus Inductive proof

Theorem (Bogus, CW2.2)

a2R, a>0. Then,8n 2N, an= 1.

By Strong Induction.

Base case: n= 0. Soan= 1.

Induction: n!n+ 1.

an+1 = an·an

an 1 = 1·1 1 = 1

???

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 6 / 8

(84)

A Bogus Inductive proof

Theorem (Bogus, CW2.2)

a2R, a>0. Then,8n 2N, an= 1.

By Strong Induction.

Base case: n= 0. Soan= 1.

Induction: n!n+ 1.

an+1 = an·an

an 1 = 1·1 1 = 1

???

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 6 / 8

References

Related documents

Cantor was the first person to define sets formally – finite sets as well as infinite sets, and prove important properties related to sets.. Let P be a property then he said

Theorem: The cartesian product of two countably infinite sets is countably infinite.. Proof: Let A, B be

It can be derived using another heavy hammer... It can be derived using another

Neighborhood and open sets/balls ( ⇐ Local extremum) Bounded, Closed Sets (⇐ Extreme value theorem) Convex Sets (⇐ Convex functions of n variables).. Directional Derivatives

An interesting game and an open problem (If time permits).. Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 May 2011 4

I Sets, relations, functions, partial orders, graphs Combinatorics.. Elements of graph theory Elements of

Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 July 2012 3

Today we will see two theorems which prove two properties of infinite sets that they share with finite sets. Nutan (IITB) CS 207 Discrete Mathematics – 2012-2013 May 2011 5