Download presentation
Presentation is loading. Please wait.
Published byShonda Parrish Modified over 5 years ago
1
Miniconference on the Mathematics of Computation
MTH 210 Asymptotics II Dr. Anthony Bonato Ryerson University
2
Big Omega notation assume y = f(x) and y = g(x) are real-valued functions, and lim π₯ββ π π₯ π π₯ exists and is finite we write f(x) = Ξ©(g(x)) also say f(x) is in Ξ©(g(x)) say: βf(x) is big Omega of g(x)β
3
Big Theta notation assume y = f(x) and y = g(x) are real-valued functions, and lim π₯ββ π π₯ π π₯ exists and is in (0,β) we write f(x) = Ξ(g(x)) also say f(x) is in Ξ(g(x)) say: βf(x) is Theta of g(x)β
4
Key facts f(x) = Ξ©(g(x)) if and only if g(x) = O(f(x))
f(x) = Ξ(g(x)) if and only if f(x) = O(g(x)) and g(x) = O(f(x))
5
Key facts for all r > s, xr = Ξ©(xs)
anxn+an-1xn-1 + β¦ + a1x +a0 = Ξ(xn), where an > 0
6
Little oh assume y = f(x) and y = g(x) are real-valued functions, and lim π₯ββ π π₯ π π₯ = 0 we write f(x) = o(g(x)) also say f(x) is in o(g(x)) say: βf(x) is little oh of g(x)β
7
Exercises
8
Miniconference on the Mathematics of Computation
MTH 210 Test 2 Review Dr. Anthony Bonato Ryerson University
9
Notes on Test 2 Test 3 is in-class on Monday, April 22 in KHE117, starting at 12 noon 120 minutes, 7 questions (multiple parts), 40 marks total Material covers all material on: sequences, induction, strong induction, counting, combinations, and asymptotics, up to and including material covered in the April 9 lecture. Need to know: definitions, examples, exercises, assigned problems, quiz material, theorems, key facts Three questions short answer, one question fill in the blank; three questions long answer NOTE: no aids allowed Office hours: Monday, April 15, 12:30 β 1:30 pm
10
General sequences a1, a2, a3, a4, β¦, an a1, a2, a3, a4, β¦, an, β¦
ai are called terms i is the index of ai a1, a2, a3, a4, β¦, an, β¦ infinite sequence sums and products
11
Induction want to prove property P(n) holds for all n > 0.
verify P(n) in the base case. Say first n is 1. Simply check that P(1) holds. Induction hypothesis: Assume P(n) holds for a fixed n. Induction step: Given the induction hypothesis, show that P(n+1) holds.
12
Strong Induction same as induction, but assume P(n) is true for ALL values up to a given k. donβt only assume true for k-1
13
Independent events two events are independent if they do not depend on each other suppose you have k independent events n1 objects from Event 1 n2 objects from Event 2 n3 objects from Event 3 β¦ nk objects from Event k then: number of objects in every event is n1n2 β¦nk
14
Pigeonhole property If you have n+1 objects assigned to n properties, then at least two objects have the same properties. NB: Could be βat least n+1β
15
Combinations n non-negative integer, r β€ n
π π = number of ways to choose r objects from n objects say: βn choose rβ call π π a combination or binomial coefficient π π = π! πβπ !π!
16
Pascalβs triangle β¦
17
Binomial theorem x, y variables, n non-negative integer
18
Big Oh notation assume y = f(x) and y = g(x) are real-valued functions, and lim π₯ββ π π₯ π π₯ exists and is finite we write f(x) = O(g(x)) also say f(x) is in O(g(x)) say: βf(x) is big Oh of g(x)β
19
Big Omega notation assume y = f(x) and y = g(x) are real-valued functions, and lim π₯ββ π π₯ π π₯ exists and is finite we write f(x) = Ξ©(g(x)) also say f(x) is in Ξ©(g(x)) say: βf(x) is big Omega of g(x)β
20
Big Theta notation assume y = f(x) and y = g(x) are real-valued functions, and lim π₯ββ π π₯ π π₯ exists and is in (0,β) we write f(x) = Ξ(g(x)) also say f(x) is in Ξ(g(x)) say: βf(x) is Theta of g(x)β
21
Little oh assume y = f(x) and y = g(x) are real-valued functions, and lim π₯ββ π π₯ π π₯ = 0 we write f(x) = o(g(x)) also say f(x) is in o(g(x)) say: βf(x) is little oh of g(x)β
22
Key facts for all r < s, xr = O(xs)
anxn+an-1xn-1 + β¦ + a1x +a0 = O(xn), where an > 0 for all r > s, xr = Ξ©(xs) anxn+an-1xn-1 + β¦ + a1x +a0 = Ξ(xn), where an > 0
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.