Numerical Methods formula reference

Central Difference First Derivative

Approximates a first derivative using symmetric samples around x.

Open in editor
LaTeXf'(x)\approx\frac{f(x+h)-f(x-h)}{2h}

Variables

  • h: small step
  • f: sampled function
  • x: evaluation point

How to use this formula

Approximates a first derivative using symmetric samples around x.

Important notes

  • The truncation error is second order for smooth functions.
  • Roundoff error can dominate when h is excessively small.

Quick example

Use samples at x−h and x+h rather than a one-sided difference.

Applicability, worked calculation, and verification

Assumptions and domain checks

  • The truncation error is second order for smooth functions.
  • For the Central Difference First Derivative, every denominator must be nonzero, and the numerator and denominator must remain correctly grouped.
  • The iteration, step size, tolerance, and stopping rule must be suitable for the problem and the method must converge in the chosen region.

Worked example

Input

Output

Use samples at x−h and x+h rather than a one-sided difference.

Common mistakes

  • When copying Central Difference First Derivative, keep the complete numerator and denominator grouped; a missing brace or parenthesis changes the result.
  • Do not report a numerical approximation without a tolerance, convergence check, and an estimate of rounding or truncation error.

Continue the workflow

Use Central Difference First Derivative in your own work

  1. Check the domainMatch the variables and assumptions to the problem before substituting values.
  2. Copy the exact notationPreserve grouping, signs, and exponents in f'(x)\approx\frac{f(x+h)-f(x-h)}{2h}.
  3. Edit or convertOpen the expression in the LaTeX editor, then export it for your document or web page.

Review and verification

Last reviewed: 2026-07-23

Automated quality check: Kept noindex until the missing evidence is supplied.

Formula references

Frequently asked questions

What is the Central Difference First Derivative used for?

Approximates a first derivative using symmetric samples around x.

Can I copy this formula as LaTeX?

Yes. Copy f'(x)\approx\frac{f(x+h)-f(x-h)}{2h} or open it in the LaTeX editor.

What should I check before using it?

Confirm that each variable, unit, domain restriction, and assumption matches the problem.

Reuse, attribution, and correction

Share this reference without losing its source

Copy a citation, permanent link, Markdown link, or self-contained embed card. Each reusable format points readers back to the maintained canonical page.

Report an issue

Search the whole reference

Symbols, formulas, guides, tools and commands

Start typing to search.

move · Enter open · Esc close