All articles
Mathematics
alevel-differentiation

Mastering Numerical Differentiation and Small Increments in A-Level Maths

Discover how to approximate derivatives using numerical methods and estimate changes in functions using small increments. Essential techniques for A-Level Mathematics.

Math Instructor AI 22 September 2026 8 min read

Mastering Numerical Differentiation and Small Increments

In A-Level Mathematics, you are accustomed to finding exact derivatives using rules like the chain, product, and quotient rules. However, in real-world applications and complex modelling, we often encounter functions that are difficult to differentiate analytically or data sets where we only have discrete points. This is where numerical differentiation and the concept of small increments become vital.

By the end of this article, you will understand how to approximate the gradient of a function using finite differences and how to estimate the change in a dependent variable when the independent variable undergoes a tiny shift. These skills are not only essential for your exams but also form the bedrock of computational mathematics.

The Concept of Small Increments

When a variable $x$ changes by a small amount $\delta x$, the corresponding change in a function $y = f(x)$, denoted by $\delta y$, can be approximated using the derivative. From the definition of the derivative, we know that for very small $\delta x$, the gradient $\frac{dy}{dx} \approx \frac{\delta y}{\delta x}$.

Rearranging this gives the fundamental formula for small increments: $$\delta y \approx \frac{dy}{dx} \cdot \delta x$$

This allows us to estimate the change in $y$ without calculating the exact value of $f(x + \delta x) - f(x)$.

Worked Example 1: Estimating Change

Given $y = x^3$, estimate the change in $y$ when $x$ increases from $2$ to $2.05$.

  1. Identify the derivative: $\frac{dy}{dx} = 3x^2$.
  2. At $x = 2$, the gradient is $3(2)^2 = 12$.
  3. The increment $\delta x = 2.05 - 2 = 0.05$.
  4. Using the formula: $\delta y \approx 12 \times 0.05 = 0.6$.

Forward and Backward Differences

Numerical differentiation approximates the derivative by calculating the slope of a secant line rather than a tangent line. The simplest approach is the one-sided difference.

  • Forward Difference: $f'(x) \approx \frac{f(x+h) - f(x)}{h}$
  • Backward Difference: $f'(x) \approx \frac{f(x) - f(x-h)}{h}$

Here, $h$ represents a small step size. While intuitive, these methods have a truncation error proportional to $h$, meaning they are less accurate than central methods.

The Central Difference Formula

To achieve higher accuracy, we use the central difference formula. This method calculates the slope between two points equidistant from $x$, effectively cancelling out first-order error terms.

$$f'(x) \approx \frac{f(x+h) - f(x-h)}{2h}$$

This formula is generally preferred in numerical analysis because its error is proportional to $h^2$, making it significantly more precise for small values of $h$.

Worked Example 2: Central Difference Approximation

Approximate $f'(1)$ for $f(x) = x^2$ using $h = 0.1$.

  1. Formula: $f'(1) \approx \frac{f(1.1) - f(0.9)}{2(0.1)}$.
  2. Calculate values: $f(1.1) = 1.21$ and $f(0.9) = 0.81$.
  3. Substitute: $f'(1) \approx \frac{1.21 - 0.81}{0.2} = \frac{0.4}{0.2} = 2$.
  4. Note: The exact derivative is $2x$, so $f'(1) = 2$. The approximation is exact for this quadratic case.

Balancing Truncation and Round-off Errors

In theory, making $h$ smaller should always improve accuracy. However, in practice, we face two competing errors:

  1. Truncation Error: Decreases as $h$ gets smaller (the mathematical approximation gets better).
  2. Round-off Error: Increases as $h$ gets smaller because computers have finite precision, and subtracting two very similar numbers leads to a loss of significance.

Therefore, there is an optimal $h$ value where the total error is minimised.

Common Mistakes

  • Confusing $\delta x$ with $x$: Always ensure you use the change in $x$ for the increment formula, not the new value of $x$.
  • Forgetting the $2h$ in the denominator: When using the central difference formula, students often mistakenly divide by $h$ instead of $2h$.
  • Ignoring the sign of $h$: In backward differences, ensure you are subtracting the correct values to maintain the correct sign of the gradient.

Frequently Asked Questions

Why is the central difference more accurate? It uses information from both sides of the point, which causes the first-order error terms to cancel out, leaving only higher-order errors.

What is the best value for $h$? In a theoretical A-Level context, $h$ should be "sufficiently small" to provide a good approximation, typically values like $0.1$ or $0.01$.

Can I use these methods for non-smooth functions? Numerical differentiation works best on smooth, continuous functions. If a function has a cusp or discontinuity, these approximations will fail.

Conclusion

Numerical differentiation and small increments are powerful tools that bridge the gap between theoretical calculus and practical application. By mastering these approximations, you gain a deeper insight into how functions behave locally. To see these concepts in action with interactive visualisations, head over to MathInstructor AI and generate a free animated lesson on this topic today.

Topics

numerical differentiation
small increments
a level maths
f x plus h
derivative approximation
alevel-differentiation
central difference
calculus
gradient approximation

Want this explained out loud?

Turn any question into a narrated, animated lesson in seconds.

Try the Studio free