How can Taylor expansion show that the one-sided formula is O(h^2)?

hunter55
Messages
3
Reaction score
0

Homework Statement



Using Taylor expansion, show that the one-sided formula (f_-2-4f_-1+3f)/2h is indeed O(h2). Here f-2, for example, stands for f(xo-2h), and f-1 = f(xo-h), so on.



The Attempt at a Solution



Can some1 help me get starte, I am greatly confused
 
Physics news on Phys.org
Taylors expansion let's you relate f(x+h) to powers of h and derivatives of f, right? Use it. If you have something like f(x-3h) just substitute -3h for h in the taylor expansion of f(x+h). I don't think that expression of (Oh^2). Are you sure you copied it correctly?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top