Friday, November 14, 2014

CSC 165: big-Omega, big-Theta, general properties

Week #10
Topic: big-Omega, big-Theta, general properties

I had mentioned before that this course has some similarities with MAT137. When analyzing this week’s material I realized that the connection between these two courses is really strong. For instance, the new bound that combines both big-Omega and big-Theta looks very similar to the mathematical concept of Pinching theorem. Also, the way in which we proved the general statements about two functions is quite similar to proving limit laws. In the following part I will try to show how related CSC165 AND MAT137 are.

CSC 165
·         f  O1 (g)
{f: ≥0 | c1 +, c2 +, B , n , n ≥ B c1 g(n) ≤ f (n) ≤ c2 g(n)}
Application
Let’s apply this concept to – (n2) < 0 < n2 in which case n is any typical natural number, c1 = 1, c2 = -1, and B ≥ 0



 











MAT 137
·         Pinching Theorem
Let f, g, h be functions
If p > 0 such that 0 < |n –a | < p and
 g(n) ≤ f (n) ≤ h(n) and the limit of both g(n) and h(n) are the same as n approaches a.
Then, the limit of f(n) as n approaches a is the same as the ones above
Application
x < x sin(1/x) < -x

 


Connection: If we look at the graph that deals with the pinching theorem we notice that x when B ≥ 0, x sin(1/x) is between x and –x or what is the same, between c1x and c2x, in which case c1 is 1 and c2 is -1. Exactly as happens with the new bound learned this week.


PROOFS


CSC165                                             
Prove F = {f: ≥0} f, g, h  F,
(f O(h) g O(h)) f + g O(h)
Assume f, g, h  F # Introduce
Assume (f O(h) g O(h)) #Antecedent
Then cf +, Bf , n , n ≥ Bf f(n) ≤ cf * (h(n))
Then cg +, Bg , n , n ≥ Bg g(n) ≤ cg * (h(n))
Prove c +, B , n , n ≥ B f(n) + g(n) ≤ c * (h(n))
Pick c = cf + cg. Then c +
Pick B = max (Bf, Bg). Then B
Assume n , n ≥ B
Then (f + g) (n) = f(n) + g(n) ≤ cf * (h(n)) + cg * (h(n)) 
#By assumption n≥ B, n ≥ Band n ≥ Bg
                                                            ≤ (cf + cg) * (h(n))
                                                            = c * (h(n)) # c =  cf + cg
Conclude f, g, h  F, (f O(h) g O(h)) f + g O(h)

MAT 137
Prove If the limit of f(x) as x approaches a is equals L and the limit of g(x) as x approaches a is equals M. Then the limit of f(x) + g(x) as x approaches a is equal to L + M

Asume  = L and the limit of f(x) as x approaches a is equals L and the limit of g(x) as x approaches a is equals M.
Then e , d , x , |x – a | < d |(f(x)) - L| < e1 = e/2
Then e , d , x , |x – a | < d |(g (x)) - M| < e2 = e/2
Prove e , d , x , |x – a | < d |(f(x) + g(x)) – (L + M)| < e
Assume e
Take d= min(d1, d2)
Assume x |x – a | < d
Then  |(f(x) + g(x)) – (L + M)| = |(f(x) - L) + (g(x) - M)| ≤ |(f(x) - L)| + |(g(x) - M)|
= e/2 + e/2 = e
Conclude e , d , x , |x – a | < d |(f(x) + g(x)) – (L + M)| < e

Connection

In both cases, we assumed two things and used our assumptions to prove the final result. Even though these two proofs prove something completely different, they follow the same principle and use the same tools

1 comment:

  1. Yeah Big Theta is basically the Pinching/Squeeze Theorem. The theorem really useful for a lot of things like proving the limit of sin(x)/x as x approaches zero.

    ReplyDelete