Week 5: Preparation#

Reading Material#

  • Reading: Chapter 4

  • Python: Demo 5

Key Concepts#

Note

Note that degree and order of polynomials sometimes are used synonymously. We use “degree” in this course.

Orders of magnitude and Big O notation are not part of the curriculum, but it is useful to become familiar with “Big O” notation, as it appears, for example, in Sympy outputs (see today’s Python demo).

Long Day will cover:

  • Tangent lines and tangent planes

  • Taylor polynomials in one variable

  • Taylor polynomials in \(n\) variables

  • Taylor polynomials of vector functions

  • Remainder term and error estimation

Short Day will cover:

  • Diverging and converging Taylor series

  • Taylor’s theorem

  • Taylor’s limit formula


Preparatory Exercises#

I: Tangent Lines and Tangent Planes#

Question a#

A function \(f : \mathbb{R} \to \mathbb{R}\) is given by:

\[\begin{equation*} f(x) = x^2. \end{equation*}\]

Find the equation of the tangent line at \(x_0 = 1\).

Question b#

A function \(f : \mathbb{R}^2 \to \mathbb{R}\) is given by:

\[\begin{equation*} f(x,y) = x^2 + y^2. \end{equation*}\]

Find the equation of the tangent plane at the point \((1,1)\).

II: Taylor Polynomials in One Variable#

Question a#

Find the first-degree Taylor polynomial of

\[\begin{equation*} f(x) = \sin(x) \end{equation*}\]

from the expansion point \(x_0 = 0\). This polynomial is also called the approximating polynomial of degree one.

Question b#

Find the second-degree Taylor polynomial of

\[\begin{equation*} f(x) = \cos(x) \end{equation*}\]

from the expansion point \(x_0 = 0\). This polynomial is also called the approximating polynomial of degree two.

III: “Big O” Notation and Growth Rate#

Note

Here, we go slightly beyond the curriculum: “Big O” notation is used to describe how fast a function approximately grows. For example, if a given function is \(O(n^2)\) then its growth rate is at most proportional to \(n^2\) as \(n\) approaches infinity.

For a given functional expression, it is usually sufficient to focus on the term that grows the fastest, as lower-order terms and constants do not affect asymptotic growth. For example, a function \(f : \mathbb{N} \to \mathbb{N}\) given by

\[\begin{equation*} f(n) = 2^n + 100 n^5 \end{equation*}\]

is \(O(2^n)\), because exponential growth indicated by \(2^n\) causes a much faster increase for growing \(n\) than polynomial growth with the term \(n^5\). (As \(n\) grows to very large values, the term \(2^n\) will eventually dominate with \(100n^5\) becoming comparatively insignificant - when considering asymptotic growth, only the fastest-growing term is relevant.)

Let

\[\begin{equation*} f(n) = 4n^2 + 10n + 6. \end{equation*}\]

Show that \(f(n)\) is \(O(n^2)\). That is, find constants \(C > 0\) and \(n_0 \in \mathbb{N}\) such that for all \(n \geq n_0\), the following holds:

\[\begin{equation*} |4n^2 + 10n + 6| \leq C \cdot n^2. \end{equation*}\]