It’s always good to lay out our expectations clearly. We want to make sure that, when we create this new
thing, that we have some clear idea of what we’re trying to accomplish in its creation. So let’s start with our
Linear Approximation of a Function. What were the important properties of this linear function we created?
-
The function’s output, \(f(x)\text{,}\) matched the output from the linear approximation, \(L(x)\text{,}\) at the center \(x=a\text{.}\)
\begin{align*}
L(x) \amp = f'(a)(x-a)+f(a) \\
L(a) \amp = f'(a)(a-a)+f(a)\\
\amp f(a)
\end{align*}
-
The function’s first derivative, \(f'(x)\text{,}\) matched the slope of the linear approximation, \(L'(x)\text{,}\) at \(x=a\text{.}\)
\begin{align*}
L'(x) \amp = \ddx{f'(a)(x-a)+f(a)} \\
\amp = f'(a)\\
L'(a) \amp = f'(a)
\end{align*}
This seems like a good structure! We have \(f(a)=L(a)\text{,}\) giving us that nice intersection between our approximation and the function we’re approximating at the center. Then we used the slope of the function to estimate how our approximating function should move away from that center. The only real problem is that our function probably doesn’t have a constant slope, while a constant slope is the defining characteristic of the line we’re using.
So how do we extend this, then, into a better approximation? Well, an easy next step is to make the slope of our approximating function change as we move away from the center,
\(x=a\text{.}\) That way, maybe the slopes change in a way that’s similar to the slopes of the actual function, and our approximating curve (not a line anymore) can follow the function for a bit longer.
What we’re saying is that we want a function where the second derivative is
\(f''(a)\text{,}\) just like our first derivative matched
\(f'(a)\text{.}\) Instead of using letters like
\(L\) for linear and
\(Q\) for quadratic, let’s just call these approximations by their function type (polynomials!) and degree. So
\(p_1(x)=f'(a)(x-a)+f(a)\text{,}\) the first-degree polynomial approximation.
Now, to find \(p_2(x)\text{,}\) we’re going to add a term to the first-degree polynomial:
\begin{equation*}
p_2(x) = \fillinmath{XXX}(x-a)^2+f'(a)(x-a)+f(a)
\end{equation*}
Let’s differentiate this function twice, and force it to match \(f''(a)\) at \(x=a\text{.}\)
\begin{align*}
p_2(x) \amp= \fillinmath{XXX}(x-a)^2+f'(a)(x-a)+f(a)\\
p_2'(x) \amp = 2(\fillinmath{XXX})(x-a)+f'(a)\\
p_2''(x) \amp = 2(\fillinmath{XXX} )
\end{align*}
What do we need to fill in the blank to make this match \(f''(a)\text{?}\)
\begin{align*}
p_2''(x) \amp = 2\left(\frac{f''(a)}{2}\right) \\
\amp = f''(a)
\end{align*}
So we get:
\begin{equation*}
p_2(x) = \frac{f''(a)}{2}(x-a)^2+f'(a)(x-a)+f(a)\text{.}
\end{equation*}
What if we wanted a higher degree? Like, \(p_3(x)\text{?}\) Let’s repeat the same process and see what happens!
\begin{align*}
p_3(x) \amp = \fillinmath{XXX}(x-a)^3 + \frac{f''(a)}{2}(x-a)^2+f'(a)(x-a)+f(a)\\
p_3'(x) \amp = 3 (\fillinmath{XXX})(x-a)^2+f''(a)(x-a)+f'(a)\\
p_3''(x) \amp = 3(2)(\fillinmath{XXX})(x-a)+f''(a)\\
p_3'''(x) \amp = 3(2)(\fillinmath{XXX})
\end{align*}
If we, again, want this third derivative to match \(f'''(a)\) (so that the rate at which the slope changes as we move away from the center changes in the same way that it does on \(f\text{...}\)whew, that is going to be hard to interpret!), then we need to fill the blank in with \(\dfrac{f'''(a)}{3(2)}\text{.}\)