In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, and more specifically in
linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matrix (mathemat ...
, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a
mapping between two
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
s that preserves the operations of
vector addition and
scalar multiplication. The same names and the same definition are also used for the more general case of
modules over a
ring; see
Module homomorphism.
If a linear map is a
bijection
In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ...
then it is called a . In the case where
, a linear map is called a linear endomorphism. Sometimes the term refers to this case, but the term "linear operator" can have different meanings for different conventions: for example, it can be used to emphasize that
and
are
real vector spaces (not necessarily with
), or it can be used to emphasize that
is a
function space
In mathematics, a function space is a set of functions between two fixed sets. Often, the domain and/or codomain will have additional structure which is inherited by the function space. For example, the set of functions from any set into a ve ...
, which is a common convention in
functional analysis
Functional analysis is a branch of mathematical analysis, the core of which is formed by the study of vector spaces endowed with some kind of limit-related structure (for example, Inner product space#Definition, inner product, Norm (mathematics ...
. Sometimes the term ''
linear function
In mathematics, the term linear function refers to two distinct but related notions:
* In calculus and related areas, a linear function is a function whose graph is a straight line, that is, a polynomial function of degree zero or one. For di ...
'' has the same meaning as ''linear map'', while in
analysis
Analysis (: analyses) is the process of breaking a complex topic or substance into smaller parts in order to gain a better understanding of it. The technique has been applied in the study of mathematics and logic since before Aristotle (38 ...
it does not.
A linear map from
to
always maps the origin of
to the origin of
. Moreover, it maps
linear subspace
In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a ''function (mathematics), function'' (or ''mapping (mathematics), mapping'');
* linearity of a ''polynomial''.
An example of a li ...
s in
onto linear subspaces in
(possibly of a lower
dimension
In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
); for example, it maps a
plane through the
origin in
to either a plane through the origin in
, a
line through the origin in
, or just the origin in
. Linear maps can often be represented as
matrices, and simple examples include
rotation and reflection linear transformations.
In the language of
category theory
Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
, linear maps are the
morphism
In mathematics, a morphism is a concept of category theory that generalizes structure-preserving maps such as homomorphism between algebraic structures, functions from a set to another set, and continuous functions between topological spaces. Al ...
s of vector spaces, and they form a category
equivalent to
the one of matrices.
Definition and first consequences
Let
and
be vector spaces over the same
field .
A
function is said to be a ''linear map'' if for any two vectors
and any scalar
the following two conditions are satisfied:
*
Additivity / operation of addition
*
Homogeneity of degree 1 / operation of scalar multiplication
Thus, a linear map is said to be ''operation preserving''. In other words, it does not matter whether the linear map is applied before (the right hand sides of the above examples) or after (the left hand sides of the examples) the operations of addition and scalar multiplication.
By
the associativity of the addition operation denoted as +, for any vectors
and scalars
the following equality holds:
Thus a linear map is one which preserves
linear combination
In mathematics, a linear combination or superposition is an Expression (mathematics), expression constructed from a Set (mathematics), set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of ''x'' a ...
s.
Denoting the zero elements of the vector spaces
and
by
and
respectively, it follows that
Let
and
in the equation for homogeneity of degree 1:
A linear map
with
viewed as a one-dimensional vector space over itself is called a
linear functional
In mathematics, a linear form (also known as a linear functional, a one-form, or a covector) is a linear mapIn some texts the roles are reversed and vectors are defined as linear maps from covectors to scalars from a vector space to its field of ...
.
These statements generalize to any left-module
over a ring
without modification, and to any right-module upon reversing of the scalar multiplication.
Examples
* A prototypical example that gives linear maps their name is a function
, of which the
graph is a line through the origin.
* More generally, any
homothety centered in the origin of a vector space is a linear map (here is a scalar).
* The zero map
between two vector spaces (over the same
field) is linear.
* The
identity map
Graph of the identity function on the real numbers
In mathematics, an identity function, also called an identity relation, identity map or identity transformation, is a function that always returns the value that was used as its argument, unc ...
on any module is a linear operator.
* For real numbers, the map
is not linear.
* For real numbers, the map
is not linear (but is an
affine transformation
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 general ...
).
* If
is a
real matrix, then
defines a linear map from
to
by sending a
column vector
In linear algebra, a column vector with elements is an m \times 1 matrix consisting of a single column of entries, for example,
\boldsymbol = \begin x_1 \\ x_2 \\ \vdots \\ x_m \end.
Similarly, a row vector is a 1 \times n matrix for some , c ...
to the column vector
. Conversely, any linear map between
finite-dimensional
In mathematics, the dimension of a vector space ''V'' is the cardinality (i.e., the number of vectors) of a basis of ''V'' over its base field. p. 44, §2.36 It is sometimes called Hamel dimension (after Georg Hamel) or algebraic dimension to d ...
vector spaces can be represented in this manner; see the , below.
* If
is an
isometry between real
normed spaces such that
then
is a linear map. This result is not necessarily true for complex normed space.
*
Differentiation defines a linear map from the space of all differentiable functions to the space of all functions. It also defines a
linear operator
In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
on the space of all
smooth functions (a linear operator is a
linear endomorphism, that is, a linear map with the same
domain and
codomain
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
). Indeed,
* A definite
integral
In mathematics, an integral is the continuous analog of a Summation, sum, which is used to calculate area, areas, volume, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental oper ...
over some
interval is a linear map from the space of all real-valued integrable functions on to
. Indeed,
* An indefinite
integral
In mathematics, an integral is the continuous analog of a Summation, sum, which is used to calculate area, areas, volume, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental oper ...
(or
antiderivative) with a fixed integration starting point defines a linear map from the space of all real-valued integrable functions on
to the space of all real-valued, differentiable functions on
. Without a fixed starting point, the antiderivative maps to the
quotient space of the differentiable functions by the linear space of constant functions.
* If
and
are finite-dimensional vector spaces over a field , of respective dimensions and , then the function that maps linear maps
to matrices in the way described in (below) is a linear map, and even a
linear isomorphism.
* The
expected value
In probability theory, the expected value (also called expectation, expectancy, expectation operator, mathematical expectation, mean, expectation value, or first Moment (mathematics), moment) is a generalization of the weighted average. Informa ...
of a
random variable
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a Mathematics, mathematical formalization of a quantity or object which depends on randomness, random events. The term 'random variable' in its mathema ...
(which is in fact a function, and as such an element of a vector space) is linear, as for random variables
and
we have