Derivatives/Linear Approximations and Differentials

Lesson 2.4876 words

Linear Approximations and Differentials

A differentiable curve looks like its tangent line under enough magnification, so the tangent is a usable stand-in for the function near the point of contact. The linear approximation and its linearization, written in the language of differentials dy and dx, estimate both function values and the measurement error propagated into a computed quantity.

╌╌╌╌

Zoom in on a point of a differentiable curve and the graph flattens until it is indistinguishable from its tangent line. A value that is hard to compute can therefore be replaced, for near a convenient point , by the value of the tangent line, a linear expression. Written in the language of differentials, the same tangent-line estimate measures both a function value and the error that a measurement error propagates into a computed quantity.

The linear approximation

Near the tangent line stays close to the curve. Its equation is , and using it in place of gives the linear approximation.

The linearization L(x) is the tangent at (a, f(a)); near a it hugs the curve, so f(x) is well approximated by L(x) = f(a) + f'(a)(x - a).

Example. Approximate and using at . Here and , so . The linearization is

Then and . Both overestimate, because the square-root graph is concave down and lies below its tangent. The advantage over a calculator is that the approximation is a formula valid across a whole interval, not a single evaluation.

The approximation degrades as moves away from .

argumentactual value

Close to the estimate is accurate to several decimals; by it is off in the first. How wide an interval is acceptable depends on the tolerance: requiring holds on roughly , while tightening to shrinks the interval to about .

The base point need not be ; it need only be a value where and are easy to evaluate and close to the target.

Small-angle approximations in physics

Linear approximations let a physicist replace an awkward function with its tangent line inside a derivation. The linearization of at is , since and the slope there is . Likewise linearizes to at . For near zero,

Small-angle approximation. Near x = 0 the line y = x is tangent to y = sin x; they agree to within about 2 percent out to roughly 0.35 radians.

The pendulum period is derived by replacing with in the equation of motion, valid because the swing angle is small; the two agree to within about out to roughly . Paraxial (Gaussian) optics rests on the same two substitutions, which turn the lens equations linear and make lens design tractable.

Differentials

The same idea, written with differentials, separates the change predicted by the tangent line from the true change in the function.

Here depends on both and . Dividing (when ) recovers , and now the left side is a genuine ratio of the two differentials, not merely a symbol for the derivative.

The geometry distinguishes from the actual change. Let and , and set . Along the run , the tangent line rises by , reaching a point , while the curve rises by the true increment , reaching . So is the change in the linearization and is the change in the function.

Differentials against the true change. Over a run dx the tangent rises by dy = f'(x) dx to R, while the curve rises by the actual change to Q; their gap shrinks faster than dx.

Example. Compare and for as moves from . The differential is , and at this is .

Step (exact)

The approximation improves as shrinks, and is far easier to compute. For complicated , computing exactly may be impossible, and the differential is the only practical estimate. In this notation the linear approximation reads .

Estimating propagated error

Differentials estimate how a small error in a measured input propagates into a computed output. If a quantity is computed from a measured whose error is , the resulting error in is approximately .

Example. A sphere's radius is measured as cm with possible error at most cm. The volume has differential

The factor is the surface area, so is the volume of a thin shell of thickness wrapped around the sphere: surface area times thickness.

Error propagation. A radius error dr thickens the sphere by a shell of volume 4 pi r^2 dr, the surface area times the thickness.

An absolute error of cm³ sounds large, but the relative error is more informative. Dividing by the volume,

so the relative error in the volume is about three times the relative error in the radius. Here gives a volume relative error of about , i.e. in the radius becomes in the volume. The same reasoning shows a power law multiplies relative error by .

Beyond the tangent line

The linearization is the best first-degree approximation: matches in value and first derivative at . A closer fit uses a parabola matching value, slope, and concavity. Continuing to match higher derivatives produces the Taylor polynomials, whose limit represents the whole function as an infinite series. The tangent line is the degree-one member of that family, and the error it leaves is what the higher-degree terms correct.

╌╌ END ╌╌