I have a task to approximate the value of $f'(x_0)$ with error of $O(h^2)$, knowing the values of $f$ in points: $x_0,\ x_1=x_0+h,\ x_2=x_0+2h$. I used Taylor equation with Peano Remainder for $x_1,\ x_2$ and I've got: $$ f(x_2)-4f(x_1)=-3f(x_0)-2hf'(x_0)+O(4h^2)-4O(h^2)\\ f'(x_0)= \frac{1}{2h}(4f(x_1)-f(x_2)-3f(x_0))+? $$ this question mark (?) is the error - my question: how to prove that it is $O(h^2)$?
2026-03-31 23:37:12.1775000232
Error of derivative approximation
95 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in REAL-ANALYSIS
- how is my proof on equinumerous sets
- Finding radius of convergence $\sum _{n=0}^{}(2+(-1)^n)^nz^n$
- Optimization - If the sum of objective functions are similar, will sum of argmax's be similar
- On sufficient condition for pre-compactness "in measure"(i.e. in Young measure space)
- Justify an approximation of $\sum_{n=1}^\infty G_n/\binom{\frac{n}{2}+\frac{1}{2}}{\frac{n}{2}}$, where $G_n$ denotes the Gregory coefficients
- Calculating the radius of convergence for $\sum _{n=1}^{\infty}\frac{\left(\sqrt{ n^2+n}-\sqrt{n^2+1}\right)^n}{n^2}z^n$
- Is this relating to continuous functions conjecture correct?
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Absolutely continuous functions are dense in $L^1$
- A particular exercise on convergence of recursive sequence
Related Questions in DERIVATIVES
- Derivative of $ \sqrt x + sinx $
- Second directional derivative of a scaler in polar coordinate
- A problem on mathematical analysis.
- Why the derivative of $T(\gamma(s))$ is $T$ if this composition is not a linear transformation?
- Does there exist any relationship between non-constant $N$-Exhaustible function and differentiability?
- Holding intermediate variables constant in partial derivative chain rule
- How would I simplify this fraction easily?
- Why is the derivative of a vector in polar form the cross product?
- Proving smoothness for a sequence of functions.
- Gradient and Hessian of quadratic form
Related Questions in APPROXIMATION
- Does approximation usually exclude equality?
- Approximate spline equation with Wolfram Mathematica
- Solving Equation with Euler's Number
- Approximate derivative in midpoint rule error with notation of Big O
- An inequality involving $\int_0^{\frac{\pi}{2}}\sqrt{\sin x}\:dx $
- On the rate of convergence of the central limit theorem
- Is there any exponential function that can approximate $\frac{1}{x}$?
- Gamma distribution to normal approximation
- Product and Quotient Rule proof using linearisation
- Best approximation of a function out of a closed subset
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Assume first $f\in C^3$ such that we can compute the second order Taylor approximation of $f(x)$ around $x_0$ with Lagrange remainder.
First scenario. Assume $x_1 = x_0 + h$ and $x_2 = x_0 + 2h$. We approximate $f$ as its Taylor approximation around $x_0$ at $x_1$ $$ f(x_0 + h) = f(x_0) + hf'(x_0) + \frac{h^2}{2} f''(x_0) + \frac{h^3}{6} f'''(c_1) \tag{1} \label{1} $$ where $c_1\in [x_0, x_0 + h]$, and at $x_2$ $$ f(x_0 + 2h) = f(x_0) + 2hf'(x_0) + 4\frac{h^2}{2} f''(x_0) + 8\frac{h^3}{6} f'''(c_2) \tag{2} \label{2} $$ where $c_2 \in [x_0, x_0 + 2h]$. Now subtract \eqref{2} from \eqref{1} multiplied by the weights $1$ and $4$ such that $$ f(x_0+2h) - 4f(x_0+h) = f(x_0) - 4f(x_0) + 2hf'(x_0) - 4hf'(x_0) + 4\frac{h^2}{2}f''(x_0) - 4\frac{h^2}{2}f''(x_0) + 8\frac{h^3}{6} f'''(c_2) - \frac{h^3}{6} f'''(c_1) $$ Observe that the second order terms cancel and we remove these. We also rewrite the third order terms to big-O notation as $$ f(x_0+2h) - 4f(x_0+h) = -3 f(x_0) - 2hf'(x_0) + O(h^3) $$ which we can move around to show that $$ f'(x_0) = \frac{1}{2} \left[4f(x_0 + h) - 3f(x_0) - f(x_0 + 2h)\right] + O(h^2). $$
Second scenario. We can also investigate the (somewhat weird) scenario in which we have $x_1 = x_0 + h$ (as before) and $x_2 = x_0 - 2h$. Then the Taylor approximation around $x_0$ evaluated at $x_2$ is given by $$ f(x_0 - 2h) = f(x_0) - 2hf'(x_0) + 4\frac{h^2}{2}f''(x_0) - 8\frac{h^3}{6}f'''(c_3) \tag{3} \label{3} $$ with $c_3 \in [x_0 - 2h, x_0]$. We subtract \eqref{3} and \eqref{1} multiplied with $1$ and $4$ and arrive at $$ f(x_0 - 2h) - 4 f(x_0 + h) = f(x_0) - 4f(x_0) -2hf'(x_0) - 4hf'(x_0) + 4\frac{h^2}{2}f''(x_0) - 4\frac{h^2}{2}f''(x_0) - 8 \frac{h^3}{6}f'''(c_3) - 4\frac{h^3}{6}f'''(c_1) $$ As before we notice that the second order terms cancel and we replace the third order terms using big-O notation. This simplifies to $$ f(x_0 - 2h) - 4 f(x_0 + h) = f(x_0) - 4f(x_0) -6hf'(x_0) + O(h^3) $$ which we can flip around $$ f'(x_0) = \frac{1}{6h}\left[4f(x_0 + h) - 3f(x_0) - f(x_0 - 2h)\right] + O(h^2) $$