EEristavi said:
Homework Statement
In textbook i was given formula to calculate error.
I know that:
E(t) = f(t)- L(x) = f(t) - f(a)- f'(a)(t- a) [L(x) is linear approximation]; [Lets call this
Formula 1]
I understand that, but that I have formula:
E(x) = f''(s)/2 * (x-a)^2 [lets call this
Formula 2]
Here I was given
Prove that this is correct, by going from formula 2 to formula 1.
Homework Equations
[/B]
L(x) = f(a)+f'(a)(t- a)
View attachment 208528
The Attempt at a Solution
[/B]
I can't connect this 2 formulas to each other logically and i don't want just tu remember (i want to understand it well)
P.S. I will attach screenshot if I didnt explain everything.
The attachment seems clear enough: it is expressing the error of the "linear" approximation as an expression involving the second derivative. It derives everything in detail, so I cannot figure out what is your difficulty. However, an alternative explanation is the following.
For an "analytic" function ##f(x)## we may express the result exactly as a series about the point ##x = a##:
$$ f(x) = f(a) + f'(a) (x-1) + \underbrace{f^{\prime \prime}(a) (x-a)^2 /! + f^{\prime \prime \prime }(a) (x-a)^3/3! + \cdots}_{\text{infinite series involving all derivative orders}} $$
that involves an infinite series of second, third, fourth, fifth ... derivatives. So, the exact error in using the first two terms (constant + linear) consists of the infinite series that we are omitting. Estimating the error from the infinite series is not very practical, so we look for a simpler expression. Magically, it turns out that
$$f^{\prime \prime}(a) (x-a)^2 /2! + f^{\prime \prime \prime }(a) (x-a)^3/3! + \cdots = f^{\prime \prime}(\xi) (x-1)^2/2!$$
for some value ##\xi## that lies between ##a## and ##x##. Basically, that is what the attachment establishes, but does it in another way (and also does it for functions that are not "analytical" and so could not be expanded in an infinite series like one above).
Usually we cannot figure out what is the actual value of ##\xi##, but we can usually develop error
bounds by finding a reasonable estimate of the maximum of ##|f''(\xi)|## on the interval between ##a## and ##x##. That is, if ##M## is the maximum (or more) of ##|f''|## on the interval, then we know that the size of the error is does not exceed ##M (x-a)^2/2##. Sometimes we may not be able to determine an exact maximum of ##|f''|## on the interval, but can, instead, determine a larger value of ##M## than the maximum. We can just go ahead and use that ##M## in the error bound.