PhysicsScore

Roots of functions, interpolation, extrapolation

  • CSIR NET · advanced
  • UP Assistant Professor

4 minute read · Updated 2026-11-15

Picking up from

In Central limit theorem, we saw that averaging controls random uncertainty but does not remove approximation bias. How do we control deterministic approximations when exact formulas are unavailable?

In one line

Root finding solves equations approximately, interpolation estimates between data points, and extrapolation estimates beyond them.

The idea, explained

A root is an input where a function vanishes. Numerical root finding improves an estimate without needing a closed-form solution. Bisection preserves a sign-changing bracket for a continuous function, while Newton’s method uses a tangent line and can converge faster near a suitable simple root. Interpolation fits the behavior between supplied data points; extrapolation extends beyond their range and is more sensitive to assumptions. A small update is not automatically a reliable answer: check residuals, domain restrictions and whether the method’s conditions hold.

A numerical method needs both an update rule and a stopping rule. Bisection provides a shrinking interval, so its positional uncertainty is visible even if function values are awkwardly scaled. Newton’s method instead predicts a zero from the local tangent, which works well near a simple root but can jump out of the useful region. Interpolation asks a different question: it estimates an unknown function value using known neighboring data. Extrapolation removes that surrounding-data safeguard, so an apparently smooth fitted curve can still be unreliable outside the observed interval.

Core ideas

  • A sign-changing bracket guarantees at least one root for a continuous function, but can miss an even-multiplicity root.
  • Bisection halves the bracket each step and gives a direct bound on positional error.
  • Newton’s method needs a nonzero derivative at the iterate and can fail with an unsuitable starting point.
  • Linear interpolation assumes approximately straight behavior between nearby points, not everywhere.
  • Extrapolation outside measured data amplifies modeling uncertainty; a high-order polynomial does not automatically improve it.
  • A small residual does not always imply a small positional error near a very flat root. Examine the slope or an enclosing interval as well as the function value.
  • More interpolation points do not automatically improve a high-degree polynomial fit throughout a wide interval. Local spacing, smoothness and sensitivity to data errors still matter.

Key formulas

Newton–Raphson root update

xn+1=xn−f(xn)f′(xn)x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}

Newton’s update uses function f and its derivative at the current iterate xnx_n; a zero derivative makes it undefined.

Two-point linear interpolation

y(x)≈y0+x−x0x1−x0(y1−y0)y(x)\approx y_0+\frac{x-x_0}{x_1-x_0}(y_1-y_0)

This linear interpolation joins data points (x0,y0)(x_0,y_0) and (x1,y1)(x_1,y_1), with distinct xx coordinates.

For bisection, keep the endpoint values and retain the half-interval with opposite signs after each step. For Newton’s method, recompute both the function and derivative at the current estimate. For interpolation, confirm that the target lies between the tabulated points. Report accuracy consistent with the stopping tolerance and the precision of the supplied data.

Quick worked example

Find a root of f(x)=x2−2f(x)=x^2-2 starting at x0=1.5x_0=1.5. Newton’s update gives x1=1.5−(2.25−2)/3=1.4167x_1=1.5-(2.25-2)/3=1.4167 approximately. Check the residual and iterate again if the required tolerance is tighter.

Where this leads

Continue to Integration by trapezoid and Simpson's rule, because integrals also require controlled approximation when only sampled function values are available.

Related: Linear ODEs, first and second order — solution families and boundary conditions.

Related: Least squares fitting — interpolation and model-based extrapolation have different error risks.

Practice this topic

Practice this topic

13 questions in Assistant Professor · Physics · Physics. Sign in and practice access may be required.