Jupyter notebook Big Oh Notation/Big Oh Notation.ipynb
Big Oh Notation
LaTeX in IPython Notebook
Markdown cells in IPython Notebook can process a subset of the LaTeX typesetting language (by far the most widely used method for typesetting mathematical writing). Here is a very nice quick reference with basic mathematics typesetting commands. Below is a mathematical proof using this LaTeX functionality.
Example
Claim: (as )
Note: In this class refers to the natural logarithm, that is, the logarithm in base (sometimes also called ).
Proof
First, consider the function . Note that and that , so for . Thus, for , which implies that for . So, for , we have
which proves the claim.
Exercise
Prove that as . Hint: First argue that if is large enough
Then apply the exponential function to both sides. You should be careful to check that the inequality remains valid when applying .