Assume that $f\in C^2(\mathbb{R})$. Then I want to approximate $f''$ by some finite difference as \begin{align} f''(x)\approx\frac{f(x+h)-2f(x)+f(x-h)}{h^2} \end{align} But since $f$ has only two derivatives, a Taylor expansion shows that \begin{align} f(x+h)=f(x)+f'(x)h+\frac{1}{2}f''(x+\Theta h)h^2,\qquad \Theta\in (0,1). \end{align} Hence \begin{align} \frac{f(x+h)-2f(x)+f(x-h)}{h^2}=\frac{1}{2}(f''(x+\Theta h)+f''(x-\tilde{\Theta}h)) \end{align} So is there a way to get some error like \begin{align} f''(x)=\frac{f(x+h)-2f(x)+f(x-h)}{h^2}+ O(h)? \end{align} which would be easy by Taylor's theorem if $f\in C^3(\mathbb{R})$ but I cannot assume this here. I only see because of continuity of $f''$ that \begin{align} f''(x+\Theta h)=f''(x) + o(1),\quad h\downarrow 0. \end{align}
2026-03-27 22:59:33.1774652373
Finite difference error for twice differentiable function
202 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in CALCULUS
- Equality of Mixed Partial Derivatives - Simple proof is Confusing
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- Proving the differentiability of the following function of two variables
- If $f ◦f$ is differentiable, then $f ◦f ◦f$ is differentiable
- 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$
- Number of roots of the e
- 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}$
- Why the derivative of $T(\gamma(s))$ is $T$ if this composition is not a linear transformation?
- How to prove $\frac 10 \notin \mathbb R $
- Proving that: $||x|^{s/2}-|y|^{s/2}|\le 2|x-y|^{s/2}$
Related Questions in NUMERICAL-METHODS
- The Runge-Kutta method for a system of equations
- How to solve the exponential equation $e^{a+bx}+e^{c+dx}=1$?
- Is the calculated solution, if it exists, unique?
- Modified conjugate gradient method to minimise quadratic functional restricted to positive solutions
- Minimum of the 2-norm
- Is method of exhaustion the same as numerical integration?
- Prove that Newton's Method is invariant under invertible linear transformations
- Initial Value Problem into Euler and Runge-Kutta scheme
- What are the possible ways to write an equation in $x=\phi(x)$ form for Iteration method?
- Numerical solution for a two dimensional third order nonlinear differential equation
Related Questions in TAYLOR-EXPANSION
- Mc Laurin and his derivative.
- Maclaurin polynomial estimating $\sin 15°$
- why can we expand an expandable function for infinite?
- Solving a limit of $\frac{\ln(x)}{x-1}$ with taylor expansion
- How to I find the Taylor series of $\ln {\frac{|1-x|}{1+x^2}}$?
- Proving the binomial series for all real (complex) n using Taylor series
- Taylor series of multivariable functions problem
- Taylor series of $\frac{\cosh(t)-1}{\sinh(t)}$
- The dimension of formal series modulo $\sin(x)$
- Finding Sum of First Terms
Related Questions in FINITE-DIFFERENCES
- 4-point-like central finite difference for second partial derivatives
- Numerical method for fourth order PDE.
- Finite difference approximation of $u''(x)+u(x)=0, u(0)=1, u(\pi)=-1$
- Numerically compute Laplacian of a scalar field in a non-orthogonal grid
- write second order difference as a convolution operator
- Do the second differences of the fifth powers count the sphere packing of a polyhedron?
- Discretization for $\partial_tu = \partial_x[g\times\partial_xu]$
- Discretization of 4th order ODE
- Trying to use Matlab to find Numerical Solution to $u''(x)+e^{u(x)}=0, u(0)=0, u(1)=0$ - Newton's method
- Finite difference: problem on edge of Dirichlet and Neumann boundary
Related Questions in NUMERICAL-CALCULUS
- Why does $\frac{X}{b}=d_n b^{n-1}+\ldots+ d_1+ \frac{d_0}{b}$ imply $d_0$ is the remainder?
- Solving this double integral numerically
- Scaling differentiation matrices
- Gaussian Quadrature and Error $O(h^4)$
- Approximate the given integral using Gaussian quadrature
- Bisection Method - Number of steps required proof
- Solving a Matrix-Differential equation with e.g. ode45
- Numerical analysis: Three point method
- How to compute this integral over a 2D subspace?
- Determine an interpolation polynomial
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?
So Taylor's theorem says the following: For $f \in C^2(\mathbb{R})$ you can control $$f(x \pm h) = f(x) \pm f'(x) h + \frac{1}{2}f''(x)h^2 + p(x)h^2$$ which is the Peano form of the remainder. For this particular formulation, your error $$E := f''(x) - \frac{f(x+h)-2f(x)+f(x-h)}{h^2} $$ is of order $1$.
You could take a look at other forms of the remainder. Mean-value formulas of the remainder based on $f'''$ are by assumption clearly invalid. However, if $f''$ is absolutely continuous and $f'''$ is integrable (but not continuously differentiable) you could use a integral form of the remainder. However, this is also of Order $h^2$, thus your overall error will again be or order $1$.