Previously, we learned how to use the method of linear approximation to estimate values of functions near a point. Specifically, we found that for a small change in x from x=a, denoted by Δx,
f(a+Δx)≈L(x)=f(a)+f′(a)Δx.
So, the error of such an approximation is found by simply taking the difference between the approximation and the actual value:
E(x)=∣f(x)−L(x)∣=∣f(a+Δx)−[f(a)+f′(a)Δx]∣
=∣[f(a+Δx)−f(a)]−f′(a)Δx∣=∣Δy−dxdyΔx∣.
(Notice how all of the differentials appear to cancel!)
Let's look at an example, and calculate the potential error when estimating f(x)=x2. We have
f(a+Δx)=(a+Δx)2=a2+2aΔx+(Δx)2
and
L(a+Δx)=f(a)+f′(a)Δx=a2+(2a)Δx.
Therefore,
E(x)=∣f(a+Δx)−L(a+Δx)∣=∣[a2+2aΔx+(Δx)2]−[a2+2aΔx]∣=∣Δx∣2.
First, observe that as Δx→0, the error term also approaches 0, which is what we expect. In addition, for small values of Δx, the quantity ∣Δx∣2 is significantly smaller than the quantity Δx, which appears in the formula for linear approximation. So, this tells us that the error term is relatively small.
Now you try!
We approach the problem very similarly. We have
f(a+Δx)=(a+Δx)3=a3+3a2Δx+3a(Δx)2+(Δx)3
and
L(a+Δx)=f(a)+f′(a)Δx=a3+(3a2)Δx.
Therefore,
E(x)=∣f(a+Δx)−L(a+Δx)∣=∣[a3+3a2Δx+3a(Δx)2+(Δx)3]−[a3+(3a2)Δx]∣=∣3a(Δx)2+(Δx)3∣.
Again, as Δx→0, the error term also approaches 0. As before, this is expected.