In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a ''
function'' (or ''
mapping'');
* linearity of a ''
polynomial''.
An example of a linear function is the function defined by
that maps the real line to a line in the
Euclidean plane R
2 that passes through the origin. An example of a linear polynomial in the variables
and
is
Linearity of a mapping is closely related to ''
proportionality''. Examples in
physics
Physics is the scientific study of matter, its Elementary particle, fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge whi ...
include the linear relationship of
voltage and
current in an
electrical conductor (
Ohm's law), and the relationship of
mass
Mass is an Intrinsic and extrinsic properties, intrinsic property of a physical body, body. It was traditionally believed to be related to the physical quantity, quantity of matter in a body, until the discovery of the atom and particle physi ...
and
weight
In science and engineering, the weight of an object is a quantity associated with the gravitational force exerted on the object by other objects in its environment, although there is some variation and debate as to the exact definition.
Some sta ...
. By contrast, more complicated relationships, such as between
velocity
Velocity is a measurement of speed in a certain direction of motion. It is a fundamental concept in kinematics, the branch of classical mechanics that describes the motion of physical objects. Velocity is a vector (geometry), vector Physical q ...
and
kinetic energy, are ''
nonlinear''.
Generalized for functions in more than one
dimension, linearity means the property of a function of being compatible with
addition
Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
and
scaling, also known as the
superposition principle.
Linearity of a polynomial means that its
degree is less than two. The use of the term for polynomials stems from the fact that the
graph of a polynomial in one variable is a straight
line. In the term "
linear equation", the word refers to the linearity of the polynomials involved.
Because a function such as
is defined by a linear polynomial in its argument, it is sometimes also referred to as being a "linear function", and the relationship between the argument and the function value may be referred to as a "linear relationship". This is potentially confusing, but usually the intended meaning will be clear from the context.
The word linear comes from
Latin
Latin ( or ) is a classical language belonging to the Italic languages, Italic branch of the Indo-European languages. Latin was originally spoken by the Latins (Italic tribe), Latins in Latium (now known as Lazio), the lower Tiber area aroun ...
''linearis'', "pertaining to or resembling a line".
In mathematics
Linear maps
In mathematics, a
linear map or
linear function ''f''(''x'') is a function that satisfies the two properties:
*
Additivity: .
*
Homogeneity of degree 1: for all α.
These properties are known as the
superposition principle. In this definition, ''x'' is not necessarily a
real number, but can in general be an
element of any
vector space. A more special definition of
linear function, not coinciding with the definition of linear map, is used in elementary mathematics (see below).
Additivity alone implies homogeneity for
rational α, since
implies
for any
natural number
In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
''n'' by
mathematical induction
Mathematical induction is a method for mathematical proof, proving that a statement P(n) is true for every natural number n, that is, that the infinitely many cases P(0), P(1), P(2), P(3), \dots all hold. This is done by first proving a ...
, and then
implies
. The
density of the rational numbers in the reals implies that any additive
continuous function is homogeneous for any real number α, and is therefore linear.
The concept of linearity can be extended to linear
operators. Important examples of linear operators include the
derivative considered as a
differential operator, and other operators constructed from it, such as
del and the
Laplacian. When a
differential equation can be expressed in linear form, it can generally be solved by breaking the equation up into smaller pieces, solving each of those pieces, and summing the solutions.
Linear polynomials
In a different usage to the above definition, a
polynomial of degree 1 is said to be linear, because the
graph of a function
In mathematics, the graph of a function f is the set of ordered pairs (x, y), where f(x) = y. In the common case where x and f(x) are real numbers, these pairs are Cartesian coordinates of points in a plane (geometry), plane and often form a P ...
of that form is a straight line.
Over the reals, a simple example of a
linear equation is given by
where ''m'' is often called the
slope or
gradient, and ''b'' the
''y''-intercept, which gives the point of intersection between the graph of the function and the ''y'' axis.
Note that this usage of the term ''linear'' is not the same as in the section above, because linear polynomials over the real numbers do not in general satisfy either additivity or homogeneity. In fact, they do so
if and only if the
constant term ''b'' in the example equals 0. If , the function is called an affine function (see in greater generality
affine transformation).
Linear algebra is the branch of mathematics concerned with systems of linear equations.
Boolean functions

In
Boolean algebra, a linear function is a function
for which there exist
such that
:
, where
Note that if
, the above function is considered affine in linear algebra (i.e. not linear).
A Boolean function is linear if one of the following holds for the function's
truth table
A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, Boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arg ...
:
# In every row in which the truth value of the function is
T, there are an odd number of Ts assigned to the arguments, and in every row in which the function is
F there is an even number of Ts assigned to arguments. Specifically, , and these functions correspond to
linear maps over the Boolean vector space.
# In every row in which the value of the function is T, there is an even number of Ts assigned to the arguments of the function; and in every row in which the
truth value
In logic and mathematics, a truth value, sometimes called a logical value, is a value indicating the relation of a proposition to truth, which in classical logic has only two possible values ('' true'' or '' false''). Truth values are used in ...
of the function is F, there are an odd number of Ts assigned to arguments. In this case, .
Another way to express this is that each variable always makes a difference in the
truth value
In logic and mathematics, a truth value, sometimes called a logical value, is a value indicating the relation of a proposition to truth, which in classical logic has only two possible values ('' true'' or '' false''). Truth values are used in ...
of the operation or it never makes a difference.
Negation
In logic, negation, also called the logical not or logical complement, is an operation (mathematics), operation that takes a Proposition (mathematics), proposition P to another proposition "not P", written \neg P, \mathord P, P^\prime or \over ...
,
Logical biconditional,
exclusive or,
tautology, and
contradiction are linear functions.
Physics
In
physics
Physics is the scientific study of matter, its Elementary particle, fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge whi ...
, ''linearity'' is a property of the
differential equations governing many systems; for instance, the
Maxwell equations or the
diffusion equation.
Linearity of a
homogeneous differential equation means that if two functions ''f'' and ''g'' are solutions of the equation, then any
linear combination is, too.
In instrumentation, linearity means that a given change in an input variable gives the same change in the output of the measurement apparatus: this is highly desirable in scientific work. In general, instruments are close to linear over a certain range, and most useful within that range. In contrast, human senses are highly nonlinear: for instance, the brain completely ignores incoming light unless it exceeds a certain
absolute threshold number of photons.
Linear motion traces a straight line trajectory.
Electronics
In
electronics
Electronics is a scientific and engineering discipline that studies and applies the principles of physics to design, create, and operate devices that manipulate electrons and other Electric charge, electrically charged particles. It is a subfield ...
, the linear operating region of a device, for example a
transistor
A transistor is a semiconductor device used to Electronic amplifier, amplify or electronic switch, switch electrical signals and electric power, power. It is one of the basic building blocks of modern electronics. It is composed of semicondu ...
, is where an output
dependent variable
A variable is considered dependent if it depends on (or is hypothesized to depend on) an independent variable. Dependent variables are studied under the supposition or demand that they depend, by some law or rule (e.g., by a mathematical functio ...
(such as the transistor collector
current) is directly
proportional to an input dependent variable (such as the base current). This ensures that an analog output is an accurate representation of an input, typically with higher amplitude (amplified). A typical example of linear equipment is a
high fidelity audio amplifier, which must amplify a signal without changing its waveform. Others are
linear filters, and
linear amplifiers in general.
In most
scientific
Science is a systematic discipline that builds and organises knowledge in the form of testable hypotheses and predictions about the universe. Modern science is typically divided into twoor threemajor branches: the natural sciences, which stu ...
and
technological, as distinct from mathematical, applications, something may be described as linear if the characteristic is approximately but not exactly a straight line; and linearity may be valid only within a certain operating region—for example, a high-fidelity amplifier may distort a small signal, but sufficiently little to be acceptable (acceptable but imperfect linearity); and may distort very badly if the input exceeds a certain value.
Integral linearity
For an electronic device (or other physical device) that converts a quantity to another quantity, Bertram S. Kolts writes:
There are three basic definitions for integral linearity in common use: independent linearity, zero-based linearity, and terminal, or end-point, linearity. In each case, linearity defines how well the device's actual performance across a specified operating range approximates a straight line. Linearity is usually measured in terms of a deviation, or non-linearity, from an ideal straight line and it is typically expressed in terms of percent of full scale, or in ppm (parts per million) of full scale. Typically, the straight line is obtained by performing a least-squares fit of the data. The three definitions vary in the manner in which the straight line is positioned relative to the actual device's performance. Also, all three of these definitions ignore any gain, or offset errors that may be present in the actual device's performance characteristics.
See also
*
Linear actuator
*
Linear element
*
Linear foot
*
Linear system
*
Linear programming
Linear programming (LP), also called linear optimization, is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements and objective are represented by linear function#As a polynomia ...
*
Linear differential equation
*
Bilinear
*
Multilinear
*
Linear motor
*
Linear interpolation
References
External links
*{{wiktionary-inline
Physical phenomena
Broad-concept articles