Activity 2.4.1.
Taylor series-
Write down the first few terms of the Taylor series expansion for a generic function \(f(x)\) centered at \(x=x_0\text{.}\) Whatโs \(x_0\text{?}\) Whatโs \(x\text{?}\)
Solution.
\begin{equation*} f(x)=f(a) + f'(x_0)(x-a) + \frac{1}{2} f''(x_0) (x-x_0)^2 + \frac{1}{3!} f^{(3)}(x_0) (x-x_0)^3 + \ldots \end{equation*}In this expansion, \(x_0\) is some fixed value in the domain. Usually itโs some "easy point" where we know a lot of information about \(f\) and its derivatives. For instance, if our function was \(f(x)=\sqrt{x}\text{,}\) some examples of "easy points" might be 36, 81, or 121.\(x\text{,}\) on the other hand, is some honestly variable value in the domain. Usually itโs some value close to \(x_0\text{,}\) but itโs "harder" than \(x_0\text{.}\) Returning to the example of the function \(f(x)=\sqrt{x}\text{,}\) we might use the "easy point" \(x_0=36\) to help us figure out the value of the function at the harder point \(x=38\text{.}\) -
Consider the difference between the lengths of \(C_{12}\) and \(E_{12}\text{:}\)\begin{equation*} I\left(C_{12}\right)-I\left(E_{12}\right) = \int_{x_{1}}^{x_{1}}\left[f\left(y^{\prime}+\eta^{\prime}\right)-f\left(y^{\prime}\right)\right]\, dx \end{equation*}In this expression, we have \(f(y')\) and \(f(y'+\eta')\) running around. Which of these do you think might be like \(f(x)\) and which of these do you think might be like \(f(x_0)\) in the Taylor setup?
Solution.
-
You might be familiar with the idea of the Lagrange error bound, which describes how big the error in using the \(n\)th Taylor polynomial to calculate \(f(x)\) might be. Thereโs a slightly different version of this same idea which gives a more exact value of the remainder (ie. the error):\begin{equation*} R_n(x)=\frac{1}{(n+1)!} f^{(n+1)}(\xi) (x-x_0)^{n+1} \end{equation*}for some value \(\xi\) between \(x\) and \(x_0\text{.}\)Weโre going to use this in the case where \(n=1\) -- that is, weโre interested in the remainder after approximating \(f\) with just its linear approximation. Write out the formula above in the case where \(n=1\text{.}\)
Solution.
\begin{equation*} R_1(x)=\frac{1}{2} f''(\xi) (x-x_0)^2. \end{equation*} -
In this formula for \(R_1(x)\text{,}\) substitute in what you decided for \(x\) and \(x_0\) in step 2. Simplify a little.
Solution.
\begin{equation*} R_1(y'+\eta') = \frac{1}{2} f''(\xi) [(y'+\eta')-y']^2 = \frac{1}{2} f''(\xi) (\eta')^2. \end{equation*} -
Now we just have to think hard about \(\xi\text{,}\) which is supposed to be somewhere between \(x\) and \(x_0\text{.}\) In our case, thatโs somewhere between \(y'+\eta'\) and \(y'\text{.}\) The book is about to say that \(\xi = y'+\theta\cdot\eta'\text{,}\) where \(\theta\) is some number between 0 and 1. Why does this make sense?
