In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a linear approximation is an approximation of a general
function using a
linear function (more precisely, an
affine function
In Euclidean geometry, an affine transformation or affinity (from the Latin, ''affinis'', "connected with") is a geometric transformation that preserves lines and parallelism, but not necessarily Euclidean distances and angles.
More generally, ...
). They are widely used in the method of
finite differences to produce first order methods for solving or approximating solutions to equations.
Definition
Given a twice continuously differentiable function
of one
real variable,
Taylor's theorem
In calculus, Taylor's theorem gives an approximation of a ''k''-times differentiable function around a given point by a polynomial of degree ''k'', called the ''k''th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the t ...
for the case
states that
where
is the remainder term. The linear approximation is obtained by dropping the remainder:
This is a good approximation when
is close enough to since a curve, when closely observed, will begin to resemble a straight line. Therefore, the expression on the right-hand side is just the equation for the
tangent line to the graph of
at
. For this reason, this process is also called the tangent line approximation.
If
is
concave down in the interval between
and
, the approximation will be an overestimate (since the derivative is decreasing in that interval). If
is
concave up
In mathematics, a real-valued function is called convex if the line segment between any two points on the graph of the function lies above the graph between the two points. Equivalently, a function is convex if its epigraph (the set of poin ...
, the approximation will be an underestimate.
Linear approximations for
vector functions of a vector variable are obtained in the same way, with the derivative at a point replaced by the
Jacobian
In mathematics, a Jacobian, named for Carl Gustav Jacob Jacobi, may refer to:
*Jacobian matrix and determinant
*Jacobian elliptic functions
*Jacobian variety
*Intermediate Jacobian
In mathematics, the intermediate Jacobian of a compact Kähler m ...
matrix. For example, given a differentiable function
with real values, one can approximate
for
close to
by the formula
The right-hand side is the equation of the plane tangent to the graph of
at
In the more general case of
Banach space
In mathematics, more specifically in functional analysis, a Banach space (pronounced ) is a complete normed vector space. Thus, a Banach space is a vector space with a metric that allows the computation of vector length and distance between vector ...
s, one has
where
is the
Fréchet derivative of
at
.
Applications
Optics
Gaussian optics is a technique in
geometrical optics that describes the behaviour of light rays in optical systems by using the
paraxial approximation, in which only rays which make small angles with the
optical axis of the system are considered. In this approximation, trigonometric functions can be expressed as linear functions of the angles. Gaussian optics applies to systems in which all the optical surfaces are either flat or are portions of a
sphere. In this case, simple explicit formulae can be given for parameters of an imaging system such as focal distance, magnification and brightness, in terms of the geometrical shapes and material properties of the constituent elements.
Period of oscillation
The period of swing of a
simple gravity pendulum depends on its
length
Length is a measure of distance. In the International System of Quantities, length is a quantity with dimension distance. In most systems of measurement a base unit for length is chosen, from which all other units are derived. In the Interna ...
, the local
strength of gravity, and to a small extent on the maximum
angle that the pendulum swings away from vertical, , called the
amplitude.
It is independent of the
mass of the bob. The true period ''T'' of a simple pendulum, the time taken for a complete cycle of an ideal simple gravity pendulum, can be written in several different forms (see
pendulum), one example being the
infinite series:
where ''L'' is the length of the pendulum and ''g'' is the local
acceleration of gravity.
However, if one takes the linear approximation (i.e. if the amplitude is limited to small swings,
[A "small" swing is one in which the angle θ is small enough that sin(θ) can be approximated by θ when θ is measured in radians] ) the
period is:
In the linear approximation, the period of swing is approximately the same for different size swings: that is, ''the period is independent of amplitude''. This property, called
isochronism, is the reason pendulums are so useful for timekeeping. Successive swings of the pendulum, even if changing in amplitude, take the same amount of time.
Electrical resistivity
The electrical resistivity of most materials changes with temperature. If the temperature ''T'' does not vary too much, a linear approximation is typically used: