Asphyxiated
- 263
- 0
Homework Statement
Find f'(c) and the error estimate for:
f(x)= \sqrt{x^{2}+1}
Homework Equations
The error is given by:
E(\Delta x) = \frac {1}{2}M \Delta x
and
f''(c) \leq M
The Attempt at a Solution
So the first derivative is:
f'(x) = \frac {x}{\sqrt{x^{2}+1}}
and for the second derivative I got:
f''(x) = (x^{2}+1)^{-3/2}
So for f'(c) I got:
f'(c) = \frac {2}{\sqrt{5}}
which is correct in the back of the book but for the error i got:
f''(c) = 5^{-3/2}
so
E(\Delta x) = \frac {1}{2} (5)^{-3/2} \Delta x \; \approx \; .04472 \Delta x
but according to the book it is:
E(\Delta x) = \frac {1}{4\sqrt{2}} \Delta x \; \approx \; .17678 \Delta x
I have done the second derivative over now a couple of times and still get the same answer but here is how i got f''(x):
f'(x) = \frac {x}{\sqrt{x^{2}+1}}
f''(x) = \frac {(\sqrt{x^{2}+1}) (1) - (x) (\frac {x}{\sqrt{x^{2}+1}})} {(\sqrt{x^{2}+1})^{2}}
which then boils down to:
f''(x) = \frac {\sqrt{x^{2}+1}- \frac {x^{2}}{\sqrt{x^{2}+1}}} {x^{2}+1}
Next let's combine the terms on the top to get something like:
f''(x) = \frac {\frac{x^{2}+1-x^{2}}{\sqrt{x^{2}+1}}}{x^{2}+1}
so x^2 will cancel on the top fraction to get:
f''(x) = \frac {\frac {1}{\sqrt{x^{2}+1}}}{x^{2} +1}
and that can be rewritten as:
\frac {1}{\sqrt{x^{2}+1}} * \frac {1}{x^{2}+1}
which can further be rewritten as:
(x^{2}+1)^{-1/2} * (x^{2}+1)^{-1} = (x^{2}+1)^{-3/2}
so:
f''(x) = (x^{2}+1)^{-3/2}
where did I go wrong?