Friday, October 17, 2014

CSC165 Cases, multiple quantifiers, limits

Week #6
Topic: Cases, multiple quantifiers, limits

I found really interesting both the proof by cases and the proof about limits; therefore, I would like to use this space to practice and enhance the knowledge about these two interesting proofs.

Proof by cases
I realized that in this kind of proofs we are considering all the natural numbers by dividing them in odd and even numbers.
In other words: = {x: k , x = 2k + 1} U {x: k , x = 2k}

Now, let’s try to proof that n , 3n2 + n +15 is odd

Definitions: n is odd when k , n = 2k + 1 and n is even when k , n = 2k

Assume n #Typical

            Case1: Assume n is odd, n = 2k + 1
                         Then 3n2 + n +15 = 3(2k + 1)2 + (2k + 1) + 1
                                                          = [3(4k2 + 4k +1)] + 2k + 2
                                                          = 12k2 + 12k + 3 +2k + 2
                                                          = 12k2 +14k + 5
                                                          = 12k2 +14k + 4 + 1 # 5 = 4 + 1
                                                          = 2(6k2 +7k + 2) + 1
                        Then k0 , n = 2 k0 + 1 # k0 = 6k2 +7k + 2
                        Then 3n2 + n +15 is odd #by definition

            Case2: Assume n is even, n = 2k
                         Then 3n2 + n +15 = 3(2k)2 + (2k) + 1
                                                          = [3(4k2)] + 2k + 1
                                                          = 12k2 + 2k + 1
                                                          = 2(6k2 + k) + 1
                        Then k0 , n = 2 k0 + 1 # k0 = 6k2 + k
                        Then 3n2 + n +15 is odd #by definition
            Then 3n2 + n +15 is odd #since in both cases this was true

Conclude n , 3n2 + n +15 is odd

Now, let’s try to prove that  the limit of 3x - 1 as x approaches 2 is 5

In this case, we apply a concept very similar to the delta-epsilon proof.

e , d , x , |x - |<d |(3x - 1) - 5| < e

Assume e #Generic x
            Pick  d = e/3
                        Assume |x - 2|<d
                        Then |(3x - 1) - 5| = |3x - 6| = |3 (x - 2)| < 3d = e   # |x - 2|<d
   # |(3x - 1) - 5| < e
                        Then x , |x - 2|<d |(3x - 1) - 5| < e
            Then d , x , |x - 2|<d |(3x - 1) - 5| < e

Conclude  e , d , x , |x - 2|<d |(3x - 1) - 5| < e

No comments:

Post a Comment