#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::TAOCP Vol 1::1.2.11 Asymptotic Representations
#columns:Front	Back	Tags
TAOCP §1.2.11 Asymptotic Representations: what does it cover?	Big-O notation done properly in 1.2.11.1, Euler's summation formula in 1.2.11.2, and in 1.2.11.3 a long worked example: the asymptotics of a function Q(n) that comes back in later analyses, using the formula and some integral estimates.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::about
TAOCP §1.2.11: why does it matter?	Big-O as most people use it is sloppy. Knuth's version lets you say &quot;this is n lg n plus a smaller term&quot; with real meaning, which matters when you compare two algorithms with the same big-O.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::why
TAOCP §1.2.11, a common trap: “Treating O( ) as an equality in both directions.” What's the catch?	It is one-way.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::trap
TAOCP §1.2.11: what traps should you watch for?	<ul><li>Getting bogged down in the Euler-Maclaurin details on a first pass.</li></ul>	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::traps
TAOCP §1.2.11, exercise 2 of §1.2.11.1 (rated M10, recommended): what is it asking?	Find the fallacy in subtracting two O terms.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::exercise
TAOCP §1.2.11, exercise 3 of §1.2.11.1 (rated M15): what is it asking?	Multiply two asymptotic expressions and keep only what is justified.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::exercise
TAOCP §1.2.11, exercise 4 of §1.2.11.1 (rated M15, recommended): what is it asking?	Expand a simple expression asymptotically to a few terms.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::exercise
TAOCP §1.2.11, exercise 6 of §1.2.11.1 (rated M20, recommended): what is it asking?	Spot the bug in a sum of O(n) terms that proves a false bound. You will see this mistake in real code reviews.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::exercise
TAOCP §1.2.11, exercise 13 of §1.2.11.1 (rated M10, recommended): what is it asking?	Relate Omega and O precisely.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::exercise
TAOCP §1.2.11, exercise 9 of §1.2.11.2 (rated M25, recommended): what is it asking?	Approximate a central binomial coefficient two different ways and compare.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::exercise
TAOCP §1.2.11, exercise 16 of §1.2.11.3 (rated M24): what is it asking?	Prove an alternating-sum identity for the Q(n) function of 1.2.11.3.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::exercise
TAOCP §1.2.11, exercise 6 of §1.2.11.2 (rated HM30, recommended): what is it asking?	Show Stirling's approximation holds for real arguments via Euler's summation formula. The stretch.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::exercise
TAOCP §1.2.11: how many exercises, and how are they rated?	42 exercises, rated HM01 to HM42.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::exercises
TAOCP §1.2.11: what should you be comfortable with first?	<ul><li>1.2.10 Analysis of an Algorithm</li><li>Calculus: integrals and Taylor series</li></ul>	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::prereqs
TAOCP §1.2.11: how should you work through it?	Read 1.2.11.1 (O-notation) carefully and do its exercises. Euler's summation formula and the later examples are heavy calculus; read for the ideas and follow one example fully. It is fine to leave the HM exercises for later.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.11 cracked.guide::kind::approach
