I know that $f(x+h)=f(x)+hf'(x)+\frac{h^2}{2}f''(x)+\frac{h^3}{3!}f'''(x)$ but I do not know what to do to reach what is shown above, I would appreciate any collaboration.
2026-03-25 16:01:24.1774454484
Using taylor series expansion to approximate the derivative of a function
2.5k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3

The equality you have is $$\tag1 f(x+h)=f(x)+hf'(x)+\frac{h^2}{2}f''(x)+\frac{h^3}{3!}f'''(x)+o(h^4). $$ Also $$\tag2 f(x-h)=f(x)-hf'(x)+\frac{h^2}{2}f''(x)-\frac{h^3}{3!}f'''(x)+o(h^4), $$ $$\tag3 f(x+2h)=f(x)+2hf'(x)+2h^2f''(x)+\frac{4h^3}{3}f'''(x)+o(h^4), $$ $$\tag4 f(x-2h)=f(x)-2hf'(x)+2h^2f''(x)-\frac{4h^3}{3}f'''(x)+o(h^4). $$ If you use the above, you get $$ 8f(x+h)-8f(x-h)-f(x+2h)+f(x-2h)=12hf'(x)+o(h^4), $$ which gives the first formula. The second one is similar.