Asymptotics & Stirling’s Approximation

Slides:



Advertisements
Similar presentations
Discrete Structures & Algorithms Functions & Asymptotic Complexity.
Advertisements

Growth of Functions CIS 606 Spring 2010.
25 June 2015Comp 122, Spring 2004 Asymptotic Notation, Review of Functions & Summations.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lectures 2, 3 Chapters 1, 2 Fri. 9/7/01 – Mon. 9/10/01.
7.1 Antiderivatives OBJECTIVES * Find an antiderivative of a function. *Evaluate indefinite integrals using the basic integration formulas. *Use initial.
Functions and Logarithms
Chapter 11 Special functions
8.5 Properties of logarithms
Antiderivatives Definition A function F(x) is called an antiderivative of f(x) if F ′(x) = f (x). Examples: What’s the antiderivative of f(x) = 1/x ?
LIMITS INVOLVING INFINITY Mrs. Erickson Limits Involving Infinity Definition: y = b is a horizontal asymptote if either lim f(x) = b or lim f(x) = b.
CHAPTER Continuity Integration by Parts The formula for integration by parts  f (x) g’(x) dx = f (x) g(x) -  g(x) f’(x) dx. Substitution Rule that.
Calculus Mrs. Dougherty’s Class. drivers Start your engines.
Fundamentals of Algorithms MCS - 2 Lecture # 8. Growth of Functions.
1 o-notation For a given function g(n), we denote by o(g(n)) the set of functions: o(g(n)) = {f(n): for any positive constant c > 0, there exists a constant.
Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics General Education Department Mathematics.
Table of Contents Logarithm Properties - Product Rule The Product Rule for logarithms states that... read as “the log of the product is the sum of the.
Design and Analysis of Algorithms Chapter Asymptotic Notations* Dr. Ying Lu August 30, RAIK.
Chapter 5 Algorithms (2) Introduction to CS 1 st Semester, 2015 Sanghyun Park.
3.4 Properties of Logarithmic Functions
Asymptotics and Recurrence Equations Prepared by John Reif, Ph.D. Analysis of Algorithms.
Review of 1.4 (Graphing) Compare the graph with.
1.5 Infinite Limits. Find the limit as x approaches 2 from the left and right.
Warm-Up 1) Use log 3 5 = and log 3 6 = to approximate log ) Condense 7 log log 4 x + 3 log 4 y.
4.2 Area Definition of Sigma Notation = 14.
Copyright © 2011 Pearson Education, Inc. Rules of Logarithms Section 4.3 Exponential and Logarithmic Functions.
Limits An Introduction To Limits Techniques for Calculating Limits
Copyright © 2011 Pearson Education, Inc. Slide One-Sided Limits Limits of the form are called two-sided limits since the values of x get close.
LEQ: What is the process used to evaluate expressions containing the natural logarithm?
Mathematical Foundations (Growth Functions) Neelima Gupta Department of Computer Science University of Delhi people.du.ac.in/~ngupta.
Asymptotic Complexity
Analysis of Algorithmic Efficiency
CS 3343: Analysis of Algorithms
ET 2006 : Data Structures & Algorithms
Chapter 2 Fundamentals of the Analysis of Algorithm Efficiency
Mathematics for Computer Science MIT 6.042J/18.062J
Mathematics for Computer Science MIT 6.042J/18.062J
Computational Processes
Mathematics for Computer Science MIT 6.042J/18.062J
Asymptotics & Stirling’s Approximation
Section 4.3 – Area and Definite Integrals
Fundamentals of Algorithms MCS - 2 Lecture # 9
Mathematics for Computer Science MIT 6.042J/18.062J
Mathematics for Computer Science MIT 6.042J/18.062J
and Structural Induction II
Advanced Analysis of Algorithms
Mathematics for Computer Science MIT 6.042J/18.062J
and Structural Induction II
The Lower Bounds of Problems
and Structural Induction
and Structural Induction II
Mathematics for Computer Science MIT 6.042J/18.062J
Mathematics for Computer Science MIT 6.042J/18.062J
and Structural Induction
and Structural Induction
Area as the Limit of a Sum
Computational Processes II
6-1: Operations on Functions (+ – x ÷)
Asymptotics & Stirling’s Approximation
Mathematics for Computer Science MIT 6.042J/18.062J
Asymptotics & Stirling’s Approximation
Combinations and Pascal’s triangle
Truth and Proof Math vs. Reality Propositions & Predicates
Asymptotics & Stirling’s Approximation
Functions Collection: notation, inverse, composite
CSE 373, Copyright S. Tanimoto, 2001 Asymptotic Analysis -
and Structural Induction
Exponential functions
LOGS and LN and e.
Presentation transcript:

Asymptotics & Stirling’s Approximation Mathematics for Computer Science MIT 6.042J/18.062J Asymptotics & Stirling’s Approximation Copyright © Albert Meyer, 2002. Prof. Albert Meyer & Dr. Radhika Nagpal

Factorial defines a product: Stirling’s Formula Factorial defines a product: Turn product into a sum taking logs:

bound by integral method Stirling’s Formula bound by integral method …

Integral method to bound ln(n!) Stirling’s Formula Integral method to bound ln(n!)

Stirling’s Formula n!  (n/e)n n! (n/e)n = 0 lim n

Asymptotic Notation f(n) = O(g(n)) g(x) +c f(x) n0

Defs 7.1,7.2,7.3.7.7 from ln6 on separate slides