Miniconference on the Mathematics of Computation

Slides:



Advertisements
Similar presentations
 The running time of an algorithm as input size approaches infinity is called the asymptotic running time  We study different notations for asymptotic.
Advertisements

1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
The Growth of Functions
Cutler/HeadGrowth of Functions 1 Asymptotic Growth Rate.
CSCE 411 Design and Analysis of Algorithms Andreas Klappenecker TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA.
Chapter 4 Mathematical Induction Used to verify a property of a sequence 2,4,6,8,… for i >= 1 a i = 2i –infinite sequence with infinite distinct values.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Recursive Definitions Rosen, 3.4 Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
CPSC 411 Design and Analysis of Algorithms Andreas Klappenecker.
1 Strong Mathematical Induction. Principle of Strong Mathematical Induction Let P(n) be a predicate defined for integers n; a and b be fixed integers.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Instructor Neelima Gupta
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Mathematical Maxims and Minims, 1988
Sequences and Series (T) Students will know the form of an Arithmetic sequence.  Arithmetic Sequence: There exists a common difference (d) between each.
Lecture 9. Arithmetic and geometric series and mathematical induction
Chapter 6 Mathematical Induction
Discrete Mathematics, 1st Edition Kevin Ferland
Notes 9.2 – The Binomial Theorem. I. Alternate Notation A.) Permutations – None B.) Combinations -
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Copyright © Cengage Learning. All rights reserved. CHAPTER 11 ANALYSIS OF ALGORITHM EFFICIENCY ANALYSIS OF ALGORITHM EFFICIENCY.
CPSC 411 Design and Analysis of Algorithms
A Brief Summary for Exam 2 Subject Topics Number theory (sections ) –Prime numbers Definition Relative prime Fundamental theorem of arithmetic.
Inductive Proofs and Inductive Definitions Jim Skon.
Lecture 16 Generating Functions. Basically, generating functions are a tool to solve a wide variety of counting problems and recurrence relations, find.
Pg. 601 Homework Pg. 606#1 – 6, 8, 11 – 16 # … + (2n) 2 # (3n + 1) #5 #7(3n 2 + 7n)/2 #84n – n 2 #21#23 #26 #29 #33The series.
Sequences and the Binomial Theorem Sequences Arithmetic Sequences Geometric Sequences & Series Binomial Theorem.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Mathematical Induction I Lecture 19 Section 4.2 Mon, Feb 14, 2005.
1 Proofs by Counterexample & Contradiction There are several ways to prove a theorem:  Counterexample: By providing an example of in which the theorem.
CSCE 411 Design and Analysis of Algorithms
Algorithms Chapter 3.
Discrete Mathematics Lecture 6
Splash Screen.
CPSC 121: Models of Computation 2008/9 Winter Term 2
Today’s topics Counting Reading: Sections , 4.4 Upcoming
Monochrome Despite Himself
CSC 321: Data Structures Fall 2016 Counting and proofs
Advanced Algorithms Analysis and Design
The Growth of Functions
9. Counting and Probability 1 Summary
Induction and recursion
The Growth of Functions
A Brief Summary for Exam 2
Asymptotic Growth Rate
Week #3 – 9/11/13 September 2002 Prof. Marie desJardins
Orders of Growth Rosen 5th ed., §2.2.
5.1 Power Series Method Section 5.1 p1.
CSC 321: Data Structures Fall 2018 Counting and proofs
Sequences and the Binomial Theorem
Mathematical Induction
CMSC 203, Section 0401 Discrete Structures Fall 2004 Matt Gaston
Miniconference on the Mathematics of Computation
Advanced Analysis of Algorithms
Miniconference on the Mathematics of Computation
Combinations and Pascal’s triangle
Adjacency Matrices and PageRank
Miniconference on the Mathematics of Computation
Miniconference on the Mathematics of Computation
Calc Limits involving infinity
Modelling and Searching Networks Lecture 5 – Random graphs
Chapter 3 Growth of Functions
Miniconference on the Mathematics of Computation
Algorithms Chapter 3 With Question/Answer Animations.
Lecture 44 Section 9.2 Mon, Apr 23, 2007
Discrete Mathematics and its Applications Lecture 5 – Random graphs
Theory of Computation Lecture 17: Calculations on Strings II
CSE 311 Foundations of Computing I
Presentation transcript:

Miniconference on the Mathematics of Computation MTH 210 Asymptotics II Dr. Anthony Bonato Ryerson University

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)”

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)”

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))

Key facts for all r > s, xr = Ω(xs) anxn+an-1xn-1 + … + a1x +a0 = Θ(xn), where an > 0

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)”

Exercises

Miniconference on the Mathematics of Computation MTH 210 Test 2 Review Dr. Anthony Bonato Ryerson University

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

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

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.

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

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

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”

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 𝑛 𝑟 = 𝑛! 𝑛−𝑟 !𝑟!

Pascal’s triangle …

Binomial theorem x, y variables, n non-negative integer

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)”

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)”

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)”

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)”

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