Linear space is a generalization of -dimensional Euclidean space () and similar structures. For the relationship between the relevant concepts, see the relationship between Euclidean spaces and linear spaces.
Prerequisites: Abelian groups and fields.
Informally, a set that is closed under an operation and satisfies associativity, has an identity element and inverses forms a group. If it also satisfies commutativity, it forms an Abelian group.
If a set is closed under the four arithmetic operations, it forms a field. See Basic concepts of abstract algebra for the relevant definitions.
Definition
A linear space (vector space) is a fundamental concept and an important object of study in linear algebra. A linear space is a module-like algebraic structure consisting of a set of vectors , a field , an addition operation , and scalar multiplication.
More specifically, let be an Abelian group and let be a field.
Define an algebraic operation between elements of and elements of , called scalar multiplication: , written as or , where belongs to the field and belongs to the Abelian group . This scalar multiplication must be closed: its result must always be meaningful and remain in the group .
It must also satisfy the following conditions:
- Distributivity of scalar multiplication over vector addition: for ,
- Distributivity of scalar multiplication over scalar addition: for ,
- Associativity of scalar multiplication (consistent with field multiplication): for ,
- Multiplicative identity for scalars: let be the multiplicative identity of ; then for ,
Then the algebraic system is called a linear space that forms with over , is called the base field of the linear space, elements of are called vectors, and elements of are called scalars. When is the field of real numbers, this is called a real linear space; when is the field of complex numbers, it is called a complex linear space.
Whether it is a list of numbers, an arrow, or something else, anything satisfying the axioms above can be regarded as a vector and studied using the theory of linear algebra.
The identity element of the additive group is called the zero vector, written as or .
The addition and subtraction of vectors in the original Abelian group, together with the newly defined scalar multiplication in the linear space, are collectively called linear operations.
Note
For convenience, in what follows:
- Elements of are not typeset in bold.
- The algebraic system satisfying the definition of a linear space is also called a linear space.
Be careful to distinguish these usages.
Intuitive understanding
Informally, scalar multiplication corresponds to scaling, and elements of the base field represent the ratios of scaling. Vector addition corresponds to superposition. At the same time, elements of also represent the range of values of a vector's coordinates.
Conditions 1–4 describe the relationship between scaling and superposition. They can be understood using arrows in the plane.
Basic properties
Note
The following properties can also be found in group theory and related subjects.
For the linear space :
-
is unique
-
For , is unique
-
such that ,
-
,
-
-
No zero divisors: for ,
-
Additive cancellation: for ,
In fact, additive cancellation is a property of Abelian groups.
Examples
- with addition and multiplication over the number field forms a linear space over . For example, may be , , or ( is prime).
- The matrices over the number field , namely , form a linear space over under matrix addition and scalar multiplication.
- The univariate polynomial ring over the number field forms a linear space over under polynomial addition and scalar multiplication.
- All continuous functions on the interval (denoted ) form a linear space over the range field under function addition and scalar multiplication of a continuous function by a value.
Related concepts
Linear dependence and linear independence
For the linear space :
- are called a vector group of .
- For , is called a linear combination of the vector group .
- If a vector can be expressed as a linear combination of the vector group , then is said to be linearly represented by the vector group .
- For , if the vector group satisfies , then the vector group is called linearly independent; otherwise the vector group is called linearly dependent.
The zero vector is defined to be linearly dependent with every vector.
A linear representation or linear-dependence equation can be written in matrix multiplication form:
By convention, write the vectors side by side in order on the left; write the scalars vertically in order on the right, forming a column vector.
Note that this column vector of scalars is only a convenient formal notation. It is not in the space and is fundamentally different from the vectors on the left. If the vectors on the left happen to be column vectors, placing them side by side formally forms a matrix, and the product above is exactly the familiar form of a matrix multiplied on the left by a column vector.
As shown below, this linear representation is also equivalent to the vector lying in the image space of the matrix .
By the definition given below, the zero vector always lies in the image space. From the perspective of linear transformations, linear dependence is equivalent to multiple vectors being mapped to the zero vector, while linear independence is equivalent to only the zero vector itself being mapped to the zero vector.
Properties
For the linear space :
- If part of a vector group is linearly dependent, then the whole vector group is linearly dependent. If a vector group is linearly independent, then every nonempty part of it is linearly independent. In short: “large independent, small independent”; “small dependent, large dependent.”
- A vector group containing is linearly dependent.
- A vector group is linearly dependent if and only if one of its vectors can be linearly represented by the remaining vectors.
- If a vector can be linearly represented by the vector group , then this representation is unique if and only if the vector group is linearly independent.
- If the vector group is linearly independent, then a vector can be linearly represented by the vector group if and only if the vector group is linearly dependent.
Maximal linearly independent group and rank
Linear dependence can be understood as redundancy: some vectors in a vector group can be represented by the others and can be removed. After removing them, what remains is a maximal linearly independent group.
For the linear space :
-
For a vector group , let . If:
- The vector group is linearly independent.
- For , the vector group is linearly dependent.
Then is called a maximal linearly independent group in the vector group . Similarly, a maximal linearly independent group of a linear space can be defined.
The maximal linearly independent group of the vector group is defined to be the empty set, so the vector group corresponding to the all- matrix has no maximal linearly independent group.
The way of deleting vectors from a vector group is not unique, so the maximal linearly independent group is not unique either. Conventionally, delete them from left to right.
Coincidentally, the vectors left after deleting them in order are exactly the columns containing the entries in the row-reduced echelon matrix left by Gaussian elimination from the “view by rows” perspective.
The size of a maximal linearly independent group of the vector group is called the rank of the vector group, written ; define .
Thus, the definition of the rank of a vector group is exactly the same as the definition of the rank of a matrix.
-
If the vector group can linearly represent every vector in the vector group , then the vector group is said to be linearly represented by the vector group .
-
If the vector group can be linearly represented by the vector group , and the vector group can be linearly represented by the vector group , then the two vector groups are called equivalent, written .
Equivalence of vector groups means that the spaces spanned by the vector groups are the same. Vector groups spanning the same space are equivalent; vector groups spanning different spaces are not equivalent.
Vector-group equivalence is a stronger condition than matrix equivalence: it requires not only equal rank but also exactly the same space. Therefore, when two matrices are concatenated horizontally, the rank does not change.
Matrix equivalence only requires equal rank, so matrix equivalence means that the preceding matrix or space can reach the following matrix or space through an invertible transformation.
Properties
For the linear space :
-
If the vector group can be linearly represented by the vector group :
- If , then the vector group is linearly dependent.
- If the vector group is linearly independent, then .
-
Equivalent linearly independent vector groups have the same size.
Any maximal linearly independent groups of a vector group have the same size.
-
A vector group is linearly independent if and only if its rank equals its size.
-
If the vector group can be linearly represented by the vector group , then .
-
Equivalent vector groups have equal rank.
Linear span
For the linear space , also forms a linear space, called the linear space spanned by the vector group (or its linear span), written .
These vectors need not be linearly independent.
Linear subspace
For the linear space , if the algebraic system satisfies:
- forms a linear space over under
then is called a linear subspace of , abbreviated as a subspace, written .
Every space has two trivial subspaces: itself, , and the zero subspace. The zero subspace contains only the zero vector and no linearly independent vectors.
If in condition 2 is replaced by , then is called a proper linear subspace of , written .
It is not difficult to prove that a nonempty subset of a linear space is a linear subspace if and only if the linear operations are closed on , that is:
- ,
- ,,
Intersection, sum, direct sum, and direct product
For linear spaces and :
-
It is easy to verify that addition and scalar multiplication are closed on , so can be called the intersection of the linear spaces and .
Similarly, the intersection of multiple linear spaces can be defined.
-
If a linear space satisfies , then is called the sum of the linear spaces and , written .
It can be verified that is the smallest subspace containing .
Similarly, the sum of multiple linear spaces can be defined.
-
Let . If every element in the linear space has exactly one pair of vectors satisfying , then is called the direct sum of the linear spaces and , written .
Similarly, the direct sum of multiple linear spaces can be defined.
-
The direct product of and is defined as their Cartesian product equipped with the following addition and scalar multiplication, forming a linear space over :
Similarly, the direct product of multiple linear spaces can be defined.
Examples
For the linear space , let the following be linear spaces:
Then:
- ,
- ,,
Properties
-
Let be linear spaces over . Like the intersection of sets, the intersection of linear spaces satisfies:
- Commutativity:
- Associativity:
-
Let be linear spaces over . Like the union of sets, the sum of linear spaces satisfies:
- Commutativity:
- Associativity:
-
Let be linear spaces over . The intersection and sum of linear spaces satisfy:
-
-
Let be linear spaces over . The following statements are equivalent:
-
-
, such that its decomposition into a sum of vectors from and is unique (any exists)
-
The decomposition of into a sum of vectors from and is unique
-
???+ note "Proof" : This follows directly from the definition.
$2 \implies 3$: Let $\beta=\beta_1+\beta_2$, where $\beta_1\in V_1, \beta_2\in V_2$. If $\theta=\alpha_1+\alpha_2$ and $\theta\ne\alpha_1\in V_1,\alpha_2\in V_2$, then $\beta=\beta+\theta=(\beta_1+\alpha_1)+(\beta_2+\alpha_2)$. But $\beta_1\ne\beta_1+\alpha_1$, contradicting the condition. $3 \implies 4$: Take a nonzero vector $\alpha$ in each of $V_1$ and $V_2$. Then $\theta=\alpha+(-\alpha)=(-\alpha)+\alpha$, contradicting the condition. $4 \implies 1$: If $V_1+V_2$ is not a direct sum, then there is a $\beta\in V_1+V_2$ such that $\beta=\beta_1+\beta_2=\gamma_1+\gamma_2$, where $\beta_1,\gamma_1\in V_1,\beta_2,\gamma_2\in V_2$, and $\beta_1,\beta_2,\gamma_1,\gamma_2$ are all distinct. Thus $\theta\ne\beta_1-\gamma_1=\gamma_2-\beta_2\in V_1\cap V_2$, contradicting the condition. -
Isomorphism
Let be linear spaces over the field . If there is a bijection that preserves addition and scalar multiplication, that is, for ,:
then is called an isomorphism from to , and and are called isomorphic, written .
Note
If is injective, it is called a monomorphism; if is surjective, it is called an epimorphism.
Properties
-
Two linear spaces over are isomorphic if and only if their dimensions are equal. (See Linear Basis for the definition of dimension.)
-
(A corollary of 1) An -dimensional linear space over is isomorphic to the linear space .
???+ note "Note" This property shows that, essentially, we can identify coordinates with vectors.
Relationship between Euclidean spaces and linear spaces
Taking the familiar three-dimensional Euclidean space as an example, some corresponding concepts in linear spaces are shown below:
| Three-dimensional Euclidean space | Linear space |
|---|---|
| Vector | Vector |
| Perpendicular | Orthogonal (that is, the inner product is ) |
| Three vectors collinear/coplanar | linearly dependent vectors |
| Three vectors not coplanar | linearly independent vectors |
| Basis vector | Linear Basis |
| Dimension of space | Dimension of space |
Applications
From this section onward, we mainly discuss the “view by columns” of systems of linear equations.
Matrix itself is composed of column vectors. Regard as a group of column vectors, with as the unknown coefficients, and consider whether these column vectors in can be combined with the unknowns to form the column vector . Here the column vector is completely unknown.
The equation under consideration can be rearranged as:
In matrix multiplication, the matrix on the left can be regarded as a group of vectors, namely a group of column vectors. Taking this group of column vectors as a basis, they span a space; we ask whether the column vector lies in this space.
Solutions of a system of linear equations viewed by columns
Rank is the number of vectors in a maximal linearly independent group and represents the constraints. The remaining vectors then provide the degrees of freedom of the solution, allowing redundant vectors to be assigned in other directions.
If is the number of columns of matrix A, namely the number of column vectors it contains, and is the rank of matrix , then the degrees of freedom are:
All solutions of the system of equations also form a vector group. The degrees of freedom are the rank of the solution vector group of , namely the dimension of the null space discussed below.
Systems with the same solutions
The common solutions of two systems of equations are defined as the intersection of their two solution sets.
Two systems of equations have the same solutions when their solution sets are equal. Systems with equal solution sets have the same solutions; systems with different solution sets do not.
Having the same solutions is also a stronger condition than matrix equivalence: it requires not only equal rank, but also that the rank remain unchanged after the two matrices are concatenated vertically.
In contrast, vector-group equivalence requires the matrices to be concatenated horizontally without changing the rank. Thus, we have the following relationship:
Matrix equivalence does not necessarily imply corresponding vector-group equivalence or systems having the same solutions. However, vector-group equivalence or systems having the same solutions necessarily implies corresponding matrix equivalence (equal rank).
If the vector groups corresponding to two matrices are equivalent, then after transposing the matrices, the corresponding systems have the same solutions, and vice versa.
Null space and image space of a matrix
This discussion of null spaces and image spaces takes the perspective of linear spaces.
For matrix , let be the set of all solutions of . Then is a linear space, and the scalar field of is the same as the field containing the entries of .
This is called the null space of matrix , written .
The null space of matrix is exactly the solution space of . According to the definition of a basis later, a fundamental system of solutions of this equation is a basis of the null space.
If matrix is invertible, then 's null space contains only the zero vector.
For matrix , let its columns be vectors . The space spanned by these column vectors is called the image space of , or the column space, written:
According to the definition of dimension given later, the dimension of the image space equals the rank of matrix .
By definition, every element of the image space has a corresponding representation:
Therefore, the image space is the range of over all vectors .
Similarly, define the row space of as the range of the transpose of .
Since the row rank of a matrix equals its column rank, the dimension of the row space is also the rank of the matrix. Thus, transposition changes the image space but not its dimension.
The correspondence with the earlier concepts is:
Vector-group equivalence is equivalent to the corresponding matrices having the same image space .
Systems having the same solutions are equivalent to the corresponding matrices having the same row space .
References and notes
- Qiu Weisheng, Advanced Algebra (Volume II). Tsinghua University Press.
- Vector space.Wikipedia, The Free Encyclopedia.