Linear algebra





In the three-dimensional Euclidean space, planes represent solutions of linear equations and their intersections represent the common solutions


Linear algebra is the branch of mathematics concerning linear equations such as


a1x1+⋯+anxn=b,displaystyle a_1x_1+cdots +a_nx_n=b,displaystyle a_1x_1+cdots +a_nx_n=b,

linear functions such as


(x1,…,xn)↦a1x1+…+anxn,displaystyle (x_1,ldots ,x_n)mapsto a_1x_1+ldots +a_nx_n,displaystyle (x_1,ldots ,x_n)mapsto a_1x_1+ldots +a_nx_n,

and their representations through matrices and vector spaces.[1][2][3]


Linear algebra is central to almost all areas of mathematics. For instance, linear algebra is fundamental in modern presentations of geometry, including for defining basic objects such as lines, planes and rotations. Also, functional analysis may be basically viewed as the application of linear algebra to spaces of functions. Linear algebra is also used in most sciences and engineering areas, because it allows modeling many natural phenomena, and efficiently computing with such models. For nonlinear systems, which cannot be modeled with linear algebra, linear algebra is often used as a first-order approximation.




Contents





  • 1 History


  • 2 Vector spaces

    • 2.1 Linear maps


    • 2.2 Subspaces, span, and basis



  • 3 Matrices


  • 4 Linear systems


  • 5 Endomorphisms and square matrices

    • 5.1 Determinant


    • 5.2 Eigenvalues and eigenvectors



  • 6 Duality

    • 6.1 Dual map


    • 6.2 Inner-product spaces



  • 7 Relationship with geometry


  • 8 Usage and applications

    • 8.1 Geometry of our ambient space


    • 8.2 Functional analysis


    • 8.3 Study of complex systems


    • 8.4 Scientific computation



  • 9 Extensions and generalizations

    • 9.1 Module theory


    • 9.2 Multilinear algebra and tensors


    • 9.3 Topological vector spaces


    • 9.4 Homological algebra



  • 10 See also


  • 11 Notes


  • 12 Further reading

    • 12.1 History


    • 12.2 Introductory textbooks


    • 12.3 Advanced textbooks


    • 12.4 Study guides and outlines



  • 13 External links

    • 13.1 Online Resources


    • 13.2 Online books





History


The procedure for solving simultaneous linear equations now called Gaussian elimination appears in the ancient Chinese mathematical text Chapter Eight: Rectangular Arrays of The Nine Chapters on the Mathematical Art. Its use is illustrated in eighteen problems, with two to five equations. [4]


Systems of linear equations arose in Europe with the introduction in 1637 by René Descartes of coordinates in geometry. In fact, in this new geometry, now called Cartesian geometry, lines and planes are represented by linear equations, and computing their intersections amounts to solving systems of linear equations.


The first systematic methods for solving linear systems used determinants, first considered by Leibniz in 1693. In 1750, Gabriel Cramer used them for giving explicit solutions of linear systems, now called Cramer's Rule. Later, Gauss further described the method of elimination, which was initially listed as an advancement in geodesy.[5]


In 1844 Hermann Grassmann published his "Theory of Extension" which included foundational new topics of what is today called linear algebra. In 1848, James Joseph Sylvester introduced the term matrix, which is Latin for womb.


Linear algebra grew with ideas noted in the complex plane. For instance, two numbers w and z in ℂ have a difference wz, and the line segments wz¯  and  0(w−z)¯displaystyle overline wz textand overline 0(w-z)displaystyle overline wz textand overline 0(w-z) are of the same length and direction. The segments are equipollent. The four-dimensional system ℍ of quaternions was started in 1843. The term vector was introduced as v = x i + y j + z k representing a point in space. The quaternion difference pq also produces a segment equipollent to pq¯.displaystyle overline pq.displaystyle overline pq.
Other hypercomplex number systems also used the idea of a linear space with a basis.


Arthur Cayley introduced matrix multiplication and the inverse matrix in 1856, making possible the general linear group. The mechanism of group representation became available for describing complex and hypercomplex numbers. Crucially, Cayley used a single letter to denote a matrix, thus treating a matrix as an aggregate object. He also realized the connection between matrices and determinants, and wrote "There would be many things to say about this theory of matrices which should, it seems to me, precede the theory of determinants".[5]


Benjamin Peirce published his Linear Associative Algebra (1872), and his son Charles Sanders Peirce extended the work later.[6]


The telegraph required an explanatory system, and the 1873 publication of A Treatise on Electricity and Magnetism instituted a field theory of forces and required differential geometry for expression. Linear algebra is flat differential geometry and serves in tangent spaces to manifolds. Electromagnetic symmetries of spacetime are expressed by the Lorentz transformations, and much of the history of linear algebra is the history of Lorentz transformations.


The first modern and more precise definition of a vector space was introduced by Peano in 1888;[5] by 1900, a theory of linear transformations of finite-dimensional vector spaces had emerged. Linear algebra took its modern form in the first half of the twentieth century, when many ideas and methods of previous centuries were generalized as abstract algebra. The development of computers led to increased research in efficient algorithms for Gaussian elimination and matrix decompositions, and linear algebra became an essential tool for modelling and simulations.[5]


See also Determinant § History and Gaussian elimination § History.



Vector spaces



Until 19th century, linear algebra was introduced through systems of linear equations and matrices. In modern mathematics, the presentation through vector spaces is generally preferred, since it is more synthetic, more general (not limited to the finite-dimensional case), and conceptually simpler, although more abstract.


A vector space over a field F (often the field of the real numbers) is a set V equipped with two binary operations satisfying the following axioms.
Elements of V are called vectors, and elements of F are called scalars. The first operation, vector addition, takes any two vectors v and w and outputs a third vector v + w. The second operation, scalar multiplication, takes any scalar a and any vector v and outputs a new vector av. The axioms that addition and scalar multiplication must satisfy are the following (in the list below, u, v and w are arbitrary elements of V, and a and b are arbitrary scalars in the field F.[7]




















Axiom
Signification

Associativity of addition

u + (v + w) = (u + v) + w

Commutativity of addition

u + v = v + u

Identity element of addition
There exists an element 0 in V, called the zero vector (or simply zero), such that v + 0 = v for all v in V.

Inverse elements of addition
For every v in V, there exists an element v in V, called the additive inverse of v, such that v + (−v) = 0

Distributivity of scalar multiplication with respect to vector addition  

a(u + v) = au + av
Distributivity of scalar multiplication with respect to field addition
(a + b)v = av + bv
Compatibility of scalar multiplication with field multiplication
a(bv) = (ab)v [nb 1]
Identity element of scalar multiplication
1v = v, where 1 denotes the multiplicative identity of F.

The first four axioms mean that V is an abelian group under addition.


Elements of a vector space may have various nature; for example, they can be sequences, functions, polynomials or matrices. Linear algebra is concerned with properties common to all vector spaces.



Linear maps



Linear maps are mappings between vector spaces that preserve the vector-space structure. Given two vector spaces V and W over a field F, a linear map (also called, in some contexts, linear transformation, linear mapping or linear operator) is a map


T:V→Wdisplaystyle T:Vto WT:Vto W

that is compatible with addition and scalar multiplication, that is


T(u+v)=T(u)+T(v),T(av)=aT(v)displaystyle T(u+v)=T(u)+T(v),quad T(av)=aT(v)T(u+v)=T(u)+T(v),quad T(av)=aT(v)

for any vectors u,v in V and scalar a in F.


This implies that for any vectors u, v in V and scalars a, b in F, one has


T(au+bv)=T(au)+T(bv)=aT(u)+bT(v)displaystyle T(au+bv)=T(au)+T(bv)=aT(u)+bT(v)displaystyle T(au+bv)=T(au)+T(bv)=aT(u)+bT(v)

When a bijective linear map exists between two vector spaces (that is, every vector from the second space is associated with exactly one in the first), the two spaces are isomorphic. Because an isomorphism preserves linear structure, two isomorphic vector spaces are "essentially the same" from the linear algebra point of view, in the sense that they cannot be distinguished by using vector space properties. An essential question in linear algebra is testing whether a linear map is an isomorphism or not, and, if it is not an isomorphism, finding its range (or image) and the set of elements that are mapped to the zero vector, called the kernel of the map. All these questions can be solved by using Gaussian elimination or some variant of this algorithm.



Subspaces, span, and basis



The study of subsets of vector spaces that are themselves vector spaces for the induced operations is fundamental, similarly as for many mathematical structures. These subsets are called linear subspaces. More precisely, a linear subspace of a vector space V over a field F is a subset W of V such that u + v and au are in W, for every u, v in W, and every a in F. (These conditions suffices for implying that W is a vector space.)


For example, the image of a linear map, and the inverse image of 0 by a linear map (called kernel or null space) are linear subspaces.


Another important way of forming a subspace is to consider linear combinations of a set S of vectors: the set of all sums


a1v1+a2v2+⋯+akvk,displaystyle a_1v_1+a_2v_2+cdots +a_kv_k,a_1v_1+a_2v_2+cdots +a_kv_k,

where v1, v2, ..., vk are in V, and a1, a2, ..., ak are in F form a linear subspace called the span of S. The span of S is also the intersection of all linear subspaces containing S. In other words, it is the (smallest for the inclusion relation) linear subspace containing S.


A set of vectors is linearly independent if none is in the span of the others. Equivalently, a set S of vector is linearly independent if the only way to express the zero vector as a linear combination of elements of S is to take zero for every coefficient ai.displaystyle a_i.a_i.


A set of vectors that spans a vector space is called a spanning set or generating set. If a spanning set S is linearly dependent (that is not linearly independent), then some element w of S is in the span of the other elements of S, and the span would remain the same if one remove w from S. One may continue to remove elements of S until getting a linearly independent spanning set. Such a linearly independent set that spans a vector space V is called a basis of V. The importance of bases lies in the fact that there are together minimal generating sets and maximal independent sets. More precisely, if S is a linearly independent set, and T is a spanning set such that S⊆T,displaystyle Ssubseteq T,displaystyle Ssubseteq T, then there is a basis B such that S⊆B⊆T.displaystyle Ssubseteq Bsubseteq T.displaystyle Ssubseteq Bsubseteq T.


Any two bases of a vector space V have the same cardinality, which is called the dimension of V; this is the dimension theorem for vector spaces. Moreover, two vector spaces over the same field F are isomorphic if and only if they have the same dimension.[8]


If any basis of V (and therefore every basis) has a finite number of elements, V is a finite-dimensional vector space. If U is a subspace of V, then dim U ≤ dim V. In the case where V is finite-dimensional, the equality of the dimensions implies U = V.


If U1 and U2 are subspaces of V, then


dim⁡(U1+U2)=dim⁡U1+dim⁡U2−dim⁡(U1∩U2),displaystyle dim(U_1+U_2)=dim U_1+dim U_2-dim(U_1cap U_2),displaystyle dim(U_1+U_2)=dim U_1+dim U_2-dim(U_1cap U_2),

where U1+U2displaystyle U_1+U_2displaystyle U_1+U_2denotes the span of U1∪U2.displaystyle U_1cup U_2.displaystyle U_1cup U_2.[9]



Matrices



Matrices allow explicit manipulation of finite-dimensional vector spaces and linear maps. Their theory is thus an essential part of linear algebra.


Let V be a finite-dimensional vector space over a field F, and (v1, v2, ..., vm) be a basis of V (thus m is the dimension of V). By definition of a basis, the map


(a1,…,am)↦a1v1+⋯amvmFm→Vdisplaystyle beginaligned(a_1,ldots ,a_m)&mapsto a_1v_1+cdots a_mv_m\F^m&to Vendaligneddisplaystyle beginaligned(a_1,ldots ,a_m)&mapsto a_1v_1+cdots a_mv_m\F^m&to Vendaligned

is a bijection from Fm,displaystyle F^m,displaystyle F^m, the set of the sequences of m elements of F, onto V. This is an isomorphism of vector spaces, if Fmdisplaystyle F^mdisplaystyle F^m is equipped of its standard structure of vector space, where vector addition and scalar multiplication are done component by component.


This isomorphism allows representing a vector by its inverse image under this isomorphism, that is by the coordinates vector (a1,…,am)displaystyle (a_1,ldots ,a_m)displaystyle (a_1,ldots ,a_m) or by the column matrix


[a1⋮am].displaystyle beginbmatrixa_1\vdots \a_mendbmatrix.displaystyle beginbmatrixa_1\vdots \a_mendbmatrix.

If W is another finite dimensional vector space (possibly the same), with a basis (w1,…,wn),displaystyle (w_1,ldots ,w_n),displaystyle (w_1,ldots ,w_n), a linear map f from W to V is well defined by its values on the basis elements, that is (f(w1),…,f(wn)).displaystyle (f(w_1),ldots ,f(w_n)).displaystyle (f(w_1),ldots ,f(w_n)). Thus, f is well represented by the list of the corresponding column matrices. That is, if


f(wj)=a1,jv1+⋯+am,jvm,displaystyle f(w_j)=a_1,jv_1+cdots +a_m,jv_m,displaystyle f(w_j)=a_1,jv_1+cdots +a_m,jv_m,

for j = 1, ..., n, then f is represented by the matrix


[a1,1…a1,n⋮…⋮am,1…am,n],displaystyle beginbmatrixa_1,1&ldots &a_1,n\vdots &ldots &vdots \a_m,1&ldots &a_m,nendbmatrix,displaystyle beginbmatrixa_1,1&ldots &a_1,n\vdots &ldots &vdots \a_m,1&ldots &a_m,nendbmatrix,

with m rows and n columns.


Matrix multiplication is defined in such a way that the product of two matrices is the matrix of the composition of the corresponding linear maps, and the product of a matrix and a column matrix is the column matrix representing the result of applying the represented linear map to the represented vector. It follows that the theory of finite-dimensional vector spaces and the theory of matrices are two different languages for expressing exactly the same concepts.


Two matrices that encode the same linear transformation in different bases are called similar. Equivalently, two matrices are similar if one can transform one in the other by elementary row and column operations. For a matrix representing a linear map from W to V, the row operations correspond to change of bases in V and the column operations correspond to change of bases in W. Every matrix is similar to an identity matrix possibly bordered by zero rows and zero columns. In terms of vector space, this means that, for any linear map from W to V, there are bases such that a part of the basis of W is mapped bijectively on a part of the basis of V, and that the remaining basis elements of W, if any, are mapped to zero (this is a way of expressing the fundamental theorem of linear algebra). Gaussian elimination is the basic algorithm for finding these elementary operations, and proving this theorem.



Linear systems



Systems of linear equations form a fundamental part of linear algebra. Historically, linear algebra and matrix theory has been developed for solving such systems. In the modern presentation of linear algebra through vector spaces and matrices, many problems may be interpreted in terms of linear systems.


For example, let


2x+y−z=8−3x−y+2z=−11−2x+y+2z=−3(S)displaystyle beginalignedat72x&&;+;&&y&&;-;&&z&&;=;&&8\-3x&&;-;&&y&&;+;&&2z&&;=;&&-11\-2x&&;+;&&y&&;+;&&2z&&;=;&&-3endalignedatqquad text(S)displaystyle beginalignedat72x&&;+;&&y&&;-;&&z&&;=;&&8\-3x&&;-;&&y&&;+;&&2z&&;=;&&-11\-2x&&;+;&&y&&;+;&&2z&&;=;&&-3endalignedatqquad text(S)

be a linear system.


To such a system, one may associate its matrix


M[21−1−3−12−212].displaystyle Mleft[beginarrayrrr2&1&-1\-3&-1&2\-2&1&2endarrayright]text.displaystyle Mleft[beginarrayrrr2&1&-1\-3&-1&2\-2&1&2endarrayright]text.

and its right member vector


v=[8−11−3].displaystyle v=beginbmatrix8\-11\-3endbmatrix.displaystyle v=beginbmatrix8\-11\-3endbmatrix.

Let T be the linear transformation associated to the matrix M. A solution of the system (S) is a vector


X=[xyz]displaystyle X=beginbmatrixx\y\zendbmatrixdisplaystyle X=beginbmatrixx\y\zendbmatrix

such that


T(X)=v,displaystyle T(X)=v,displaystyle T(X)=v,

that is an element of the preimage of v by T.


Let (S') be the associated homogeneous system, where the right-hand sides of the equations are put to zero. The solutions of (S') are exactly the elements of the kernel of T or, equivalently, M.


The Gaussian-elimination consists of performing elementary row operations on the augmented matrix


M[21−18−3−12−11−212−3]displaystyle Mleft[beginarrayrrr2&1&-1&8\-3&-1&2&-11\-2&1&2&-3endarrayright]displaystyle Mleft[beginarrayrrr2&1&-1&8\-3&-1&2&-11\-2&1&2&-3endarrayright]

for putting it in reduced row echelon form. These row operations do not change the set of solutions of the system of equations. In the example, the reduced echelon form is


M[10020103001−1],displaystyle Mleft[beginarrayrrr1&0&0&2\0&1&0&3\0&0&1&-1endarrayright],displaystyle Mleft[beginarrayrrr1&0&0&2\0&1&0&3\0&0&1&-1endarrayright],

showing that the system (S) has the unique solution


x=2y=3z=−1.displaystyle beginalignedx&=2\y&=3\z&=-1.endaligneddisplaystyle beginalignedx&=2\y&=3\z&=-1.endaligned

It follows from this matrix interpretation of linear systems that the same methods can be applied for solving linear systems and for many operations on matrices and linear transformations, which include the computation of the ranks, kernels, matrix inverses.



Endomorphisms and square matrices



A linear endomorphism is a linear map that maps a vector space V to itself.
If V has a basis of n elements, such an endomorphism is represented by a square matrix of size n.


With respect to general linear maps, linear endomorphisms and square matrices have some specific properties that make their study an important part of linear algebra, which is used in many parts of mathematics, including geometric transformations, coordinate changes, quadratic forms, and many other part of mathematics.



Determinant



The determinant of a square matrix is a polynomial function of the entries of the matrix, such that the matrix is invertible if and only if the determinant is not zero. This results from the fact that the determinant of a product of matrices is the product of the determinants, and thus that a matrix is invertible if and only if its determinant is invertible.


Cramer's rule is a closed-form expression, in terms of determinants, of the solution of a system of n linear equations in n unknowns. Cramer's rule is useful for reasoning about the solution, but, except for n = 2 or 3, it is rarely used for computing a solution, since Gaussian elimination is a faster algorithm.


The determinant of an endomorphism is the determinant of the matrix representing the endomorphism in terms of some ordered basis. This definition makes sense, since this determinant is independent of the choice of the basis.



Eigenvalues and eigenvectors



If f is a linear endomorphism of a vector space V over a field F, an eigenvector of f is a nonzero vector v of V such that f(v) = av for some scalar a in F. This scalar a is an eigenvalue of f.


If the dimension of V is finite, and a basis has been chosen, f and v may be represented, respectively, by a square matrix M and a column matrix and z; the equation defining eigenvectors and eigenvalues becomes


Mz=az.displaystyle Mz=az.displaystyle Mz=az.

Using the identity matrix I, whose all entries are zero, except those of the main diagonal, which are equal to one, this may be rewritten


(M−aI)z=0.displaystyle (M-aI)z=0.displaystyle (M-aI)z=0.

As z is supposed to be nonzero, this means that MaI is a singular matrix, and thus that its determinant det(M−aI)displaystyle det(M-aI)displaystyle det(M-aI) equals zero. The eigenvalues are thus the roots of the polynomial


det(xI−M).displaystyle det(xI-M).displaystyle det(xI-M).

If V is of dimension n, this is a monic polynomial of degree n, called the characteristic polynomial of the matrix (or of the endomorphism), and there are, at most, n eigenvalues.


If a basis exists that consists only of eigenvectors, the matrix of f on this basis has a very simple structure: it is a diagonal matrix such that the entries on the main diagonal are eigenvalues, and the other entries are zero. In this case, the endomorphism and the matrix are said diagonalizable. More generally, an endomorphism and a matrix are also said diagonalizable, if they become diagonalizable after extending the field of scalars. In this extended sense, if the characteristic polynomial is square-free, then the matrix is diagonalizable.


A symmetric matrix is always diagonalizable. There are non-diagonizable matrices, the simplest being


[0100]displaystyle beginbmatrix0&1\0&0endbmatrixbeginbmatrix0&1\0&0endbmatrix

(it cannot be diagonalizable since its square is the zero matrix, and the square of a nonzero diagonal matrix is never zero).


When an endomorphism is not diagonalizable, there are bases on which it has a simple form, although not as simple as the diagonal form. The Frobenius normal form does not need of extending the field of scalars and makes the characteristic polynomial immediately readable on the matrix. The Jordan normal form requires to extend the field of scalar for containing all eigenvalues, and differs from the diagonal form only by some entries that are just above the main diagonal and are equal to 1.



Duality



A linear form is a linear map from a vector space V over a field F to the field of scalars F, viewed as a vector space over itself. Equipped by pointwise addition and multiplication by a scalar, the linear forms form a vector space, called the dual space of V, and usually denoted V∗.displaystyle V^*.displaystyle V^*.


If v1,…,vndisplaystyle v_1,ldots ,v_ndisplaystyle v_1,ldots ,v_n is a basis of V (this implies that V is finite-dimensional), then one can define, for i = 1, ..., n, a linear map vi∗displaystyle v_i^*displaystyle v_i^* such that vi∗(ei)=1displaystyle v_i^*(e_i)=1displaystyle v_i^*(e_i)=1 and vi∗(ej)=0displaystyle v_i^*(e_j)=0displaystyle v_i^*(e_j)=0 if ji. These linear maps form a basis of V∗,displaystyle V^*,V^*, called the dual basis of v1,…,vn.displaystyle v_1,ldots ,v_n.displaystyle v_1,ldots ,v_n. (If V is not finite-dimensional, the vi∗displaystyle v_i^*v_i^* may be defined similarly; they are linearly independent, but do not form a basis.)


For v in V, the map


f→f(v)displaystyle fto f(v)displaystyle fto f(v)

is a linear form on V∗.displaystyle V^*.displaystyle V^*. This defines the canonical linear map from V into V∗∗,displaystyle V^**,displaystyle V^**,, the dual of V∗,displaystyle V^*,V^*, called the bidual of V. This canonical map is an isomorphism if V is finite-dimensional, and this allows identifying V with its bidual. (In the infinite dimensional case, the canonical map is injective, but not surjective.)


There is thus a complete symmetry between a finite-dimensional vector space and its dual. This motivates the frequent use, in this context, of the bra–ket notation


⟨f,x⟩displaystyle langle f,xrangle displaystyle langle f,xrangle

for denoting f(x).



Dual map



Let


f:V→Wdisplaystyle f:Vto Wf:Vto W

be a linear map. For every linear form h on W, the composite function fh is a linear form on V. This defines a linear map


f∗:W∗→V∗displaystyle f^*:W^*to V^*displaystyle f^*:W^*to V^*

between the dual spaces, which is called the dual or the transpose of f.


If V and W are finite dimensional, and M is the matrix of f in terms of some ordered bases, then the matrix of f∗displaystyle f^*f^* over the dual bases is the transpose MTdisplaystyle M^mathsf Tdisplaystyle M^mathsf T of M, obtained by exchanging rows and columns.


If elements of vector spaces and their duals are represented by column vectors, this duality may be expressed in bra–ket notation by


⟨hT,Mv⟩=⟨hTM,v⟩.displaystyle langle h^mathsf T,Mvrangle =langle h^mathsf TM,vrangle .displaystyle langle h^mathsf T,Mvrangle =langle h^mathsf TM,vrangle .

For highlighting this symmetry, the two members of this equality are sometimes written


⟨hT∣M∣v⟩.displaystyle langle h^mathsf Tmid Mmid vrangle .displaystyle langle h^mathsf Tmid Mmid vrangle .


Inner-product spaces





Besides these basic concepts, linear algebra also studies vector spaces with additional structure, such as an inner product. The inner product is an example of a bilinear form, and it gives the vector space a geometric structure by allowing for the definition of length and angles. Formally, an inner product is a map


⟨⋅,⋅⟩:V×V→Fdisplaystyle langle cdot ,cdot rangle :Vtimes Vrightarrow Flangle cdot ,cdot rangle :Vtimes Vrightarrow F

that satisfies the following three axioms for all vectors u, v, w in V and all scalars a in F:[10][11]



  • Conjugate symmetry:
⟨u,v⟩=⟨v,u⟩¯.displaystyle langle u,vrangle =overline langle v,urangle .langle u,vrangle =overline langle v,urangle .

Note that in R, it is symmetric.



  • Linearity in the first argument:
⟨au,v⟩=a⟨u,v⟩.displaystyle langle au,vrangle =alangle u,vrangle .langle au,vrangle =alangle u,vrangle .

⟨u+v,w⟩=⟨u,w⟩+⟨v,w⟩.displaystyle langle u+v,wrangle =langle u,wrangle +langle v,wrangle .langle u+v,wrangle =langle u,wrangle +langle v,wrangle .


  • Positive-definiteness:

⟨v,v⟩≥0displaystyle langle v,vrangle geq 0langle v,vrangle geq 0 with equality only for v = 0.

We can define the length of a vector v in V by


‖v‖2=⟨v,v⟩,^2=langle v,vrangle ,|v|^2=langle v,vrangle ,

and we can prove the Cauchy–Schwarz inequality:


|⟨u,v⟩|≤‖u‖⋅‖v‖.leq |langle u,vrangle |leq |u|cdot |v|.

In particular, the quantity


|⟨u,v⟩|‖u‖⋅‖v‖≤1,displaystyle frac leq 1,frac leq 1,

and so we can call this quantity the cosine of the angle between the two vectors.


Two vectors are orthogonal if ⟨u,v⟩=0displaystyle langle u,vrangle =0langle u,vrangle =0. An orthonormal basis is a basis where all basis vectors have length 1 and are orthogonal to each other. Given any finite-dimensional vector space, an orthonormal basis could be found by the Gram–Schmidt procedure. Orthonormal bases are particularly easy to deal with, since if v = a1v1 + ... + an vn, then ai=⟨v,vi⟩displaystyle a_i=langle v,v_irangle a_i=langle v,v_irangle .


The inner product facilitates the construction of many useful concepts. For instance, given a transform T, we can define its Hermitian conjugate T* as the linear transform satisfying


⟨Tu,v⟩=⟨u,T∗v⟩.displaystyle langle Tu,vrangle =langle u,T^*vrangle .langle Tu,vrangle =langle u,T^*vrangle .

If T satisfies TT* = T*T, we call T normal. It turns out that normal matrices are precisely the matrices that have an orthonormal system of eigenvectors that span V.



Relationship with geometry


There is a strong relationship between linear algebra and geometry, which started with the introduction by René Descartes, in 1637, of Cartesian coordinates. In this new (at that time) geometry, now called Cartesian geometry, points are represented by Cartesian coordinates, which are sequences of three real numbers (in the case of the usual three-dimensional space). The basic objects of geometry, which are lines and planes are represented by linear equations. Thus, computing intersections of lines and planes amounts solving systems of linear equations. This was one of the main motivations for developing linear algebra.


Most geometric transformation, such as translations, rotations, reflections, rigid motions, isometries, and projections transform lines into lines. It follows that they can be defined, specified and studied in terms of linear maps. This is also the case of homographies and Möbius transformations, when considered as transformations of a projective space.


Until the end of 19th century, geometric spaces were defined by axioms relating points, lines and planes (synthetic geometry). Around this date, it appeared that one may also define geometric spaces by constructions involving vector spaces (see, for example, Projective space and Affine space) It has been shown that the two approaches are essentially equivalent.[12] In classical geometry, the involved vector spaces are vector spaces over the reals, but the constructions may be extended to vector spaces over any field, allowing considering geometry over arbitrary fields, including finite fields.


Presently, most textbooks, introduce geometric spaces from linear algebra, and geometry is often presented, at elementary level, as a subfield of linear algebra.



Usage and applications


Linear algebra is used in almost all areas of mathematics, and therefore in almost all scientific domains that use mathematics. These applications may be divided into several wide categories.



Geometry of our ambient space


The modeling of our ambient space is based on geometry. Sciences concerned with this space use geometry widely. This is the case with mechanics and robotics, for describing rigid body dynamics; geodesy for describing Earth shape; perspectivity, computer vision, and computer graphics, for describing the relationship between a scene and its plane representation; and many other scientific domains.


In all these applications, synthetic geometry is often used for general descriptions and a qualitative approach, but for the study of explicit situations, one must compute with coordinates. This requires the heavy use of linear algebra.



Functional analysis


Functional analysis studies function spaces. These are vector spaces with additional structure, such as Hilbert spaces. Linear algebra is thus a fundamental part of functional analysis and its applications, which include, in particular, quantum mechanics (wave functions).



Study of complex systems


Most physical phenomena are modeled by partial differential equations. To solve them, one usually decomposes the space in which the solutions are searched into small, mutually interacting cells. For linear systems this interaction involves linear functions. For nonlinear systems, this interaction is often approximated by linear functions.[13] In both cases, very large matrices are generally involved. Weather forecasting is a typical example, where the whole Earth atmosphere is divided in cells of, say, 100 km of width and 100 m of height.



Scientific computation


Nearly all scientific computations involve linear algebra. Consequently, linear algebra algorithms have been highly optimized. BLAS and LAPACK are the best known implementations. For improving efficiency, some of them configure the algorithms automatically, at run time, for adapting them to the specificities of the computer (cache size, number of available cores, ...).


Some processors, typically graphics processing units (GPU), are designed with a matrix structure, for optimizing the operations of linear algebra.



Extensions and generalizations


This section presents several related topics that do not appear generally in elementary textbooks on linear algebra, but are commonly considered, in advanced mathematics, as parts of linear algebra.



Module theory



The existence of multiplicative inverses in fields is not involved in the axioms defining a vector space. One may thus replace the field of scalars by a ring R, and this gives a structure called module over R, or R-module.


The concepts of linear independence, span, basis, and linear maps (also called module homomorphisms) are defined for modules exactly as for vector spaces, with the essential difference that, if R is not a field, there are modules that do not have any basis. The modules that have a basis are the free modules, and those that are spanned by a finite set are the finitely generated modules. Module homomorphisms between finitely generated free modules may be represented by matrices. The theory of matrices over a ring is similar to that of matrices over a field, except that determinants exist only if the ring is commutative, and that a square matrix over a commutative ring is invertible only if its determinant has a multiplicative inverse in the ring.


Vector spaces are completely characterized by their dimension (up to an isomorphism). In general, there is not such a complete classification for modules, even if one restricts oneself to finitely generated modules. However, every module is a cokernel of a homomorphism of free modules.


Modules over the integers can be identified with abelian groups, since the multiplication by an integer may identified to a repeated addition. Most of the theory of abelian groups may be extended to modules over a principal ideal domain. In particular, over a principal ideal domain, every submodule of a free module is free, and the fundamental theorem of finitely generated abelian groups may be extended straightforwardly to finitely generated modules over a principal ring.


There are many rings for which there are algorithms for solving linear equations and systems of linear equations. However, these algorithms have generally a computational complexity that is much higher than the similar algorithms over a field. For more details, see Linear equation over a ring.



Multilinear algebra and tensors




In multilinear algebra, one considers multivariable linear transformations, that is, mappings that are linear in each of a number of different variables. This line of inquiry naturally leads to the idea of the dual space, the vector space V consisting of linear maps f: VF where F is the field of scalars. Multilinear maps T: VnF can be described via tensor products of elements of V.


If, in addition to vector addition and scalar multiplication, there is a bilinear vector product V × VV, the vector space is called an algebra; for instance, associative algebras are algebras with an associate vector product (like the algebra of square matrices, or the algebra of polynomials).



Topological vector spaces



Functional analysis mixes the methods of linear algebra with those of mathematical analysis and studies various function spaces, such as Lp spaces.



Homological algebra




See also



  • Portal-puzzle.svg Linear algebra portal

  • Linear equation over a ring


  • Fundamental matrix in computer vision


  • Linear regression, a statistical estimation method

  • List of linear algebra topics

  • Numerical linear algebra

  • Linear programming

  • Transformation matrix


Notes




  1. ^ Banerjee, Sudipto; Roy, Anindya (2014), Linear Algebra and Matrix Analysis for Statistics, Texts in Statistical Science (1st ed.), Chapman and Hall/CRC, ISBN 978-1420095388.mw-parser-output cite.citationfont-style:inherit.mw-parser-output qquotes:"""""""'""'".mw-parser-output code.cs1-codecolor:inherit;background:inherit;border:inherit;padding:inherit.mw-parser-output .cs1-lock-free abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-lock-limited a,.mw-parser-output .cs1-lock-registration abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-lock-subscription abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registrationcolor:#555.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration spanborder-bottom:1px dotted;cursor:help.mw-parser-output .cs1-hidden-errordisplay:none;font-size:100%.mw-parser-output .cs1-visible-errorfont-size:100%.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-formatfont-size:95%.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-leftpadding-left:0.2em.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-rightpadding-right:0.2em


  2. ^ Strang, Gilbert (July 19, 2005), Linear Algebra and Its Applications (4th ed.), Brooks Cole, ISBN 978-0-03-010567-8


  3. ^ Weisstein, Eric. "Linear Algebra". From MathWorld--A Wolfram Web Resource. Wolfram. Retrieved 16 April 2012.


  4. ^ Hart, Roger (2010). The Chinese Roots of Linear Algebra. JHU Press.


  5. ^ abcd Vitulli, Marie. "A Brief History of Linear Algebra and Matrix Theory". Department of Mathematics. University of Oregon. Archived from the original on 2012-09-10. Retrieved 2014-07-08.


  6. ^ Benjamin Peirce (1872) Linear Associative Algebra, lithograph, new edition with corrections, notes, and an added 1875 paper by Peirce, plus notes by his son Charles Sanders Peirce, published in the American Journal of Mathematics v. 4, 1881, Johns Hopkins University, pp. 221–226, Google Eprint and as an extract, D. Van Nostrand, 1882, Google Eprint.


  7. ^ Roman 2005, ch. 1, p. 27


  8. ^ Axler (2004), p. 55


  9. ^ Axler (2204), p. 33


  10. ^ P. K. Jain, Khalil Ahmad (1995). "5.1 Definitions and basic properties of inner product spaces and Hilbert spaces". Functional analysis (2nd ed.). New Age International. p. 203. ISBN 81-224-0801-X.


  11. ^ Eduard Prugovec̆ki (1981). "Definition 2.1". Quantum mechanics in Hilbert space (2nd ed.). Academic Press. pp. 18 ff. ISBN 0-12-566060-X.


  12. ^ Emil Artin (1957) Geometric Algebra Interscience Publishers


  13. ^ This may have the consequence that some physically interesting solutions are omitted.




  1. ^ This axiom is not asserting the associativity of an operation, since there are two operations in question, scalar multiplication: bv; and field multiplication: ab.




Further reading



History


  • Fearnley-Sander, Desmond, "Hermann Grassmann and the Creation of Linear Algebra", American Mathematical Monthly 86 (1979), pp. 809–817.


  • Grassmann, Hermann (1844), Die lineale Ausdehnungslehre ein neuer Zweig der Mathematik: dargestellt und durch Anwendungen auf die übrigen Zweige der Mathematik, wie auch auf die Statik, Mechanik, die Lehre vom Magnetismus und die Krystallonomie erläutert, Leipzig: O. Wigand


Introductory textbooks



  • Anton, Howard (2005), Elementary Linear Algebra (Applications Version) (9th ed.), Wiley International


  • Banerjee, Sudipto; Roy, Anindya (2014), Linear Algebra and Matrix Analysis for Statistics, Texts in Statistical Science (1st ed.), Chapman and Hall/CRC, ISBN 978-1420095388


  • Bretscher, Otto (2004), Linear Algebra with Applications (3rd ed.), Prentice Hall, ISBN 978-0-13-145334-0


  • Farin, Gerald; Hansford, Dianne (2004), Practical Linear Algebra: A Geometry Toolbox, AK Peters, ISBN 978-1-56881-234-2


  • Hefferon, Jim (2008), Linear Algebra


  • Kolman, Bernard; Hill, David R. (2007), Elementary Linear Algebra with Applications (9th ed.), Prentice Hall, ISBN 978-0-13-229654-0


  • Lay, David C. (2005), Linear Algebra and Its Applications (3rd ed.), Addison Wesley, ISBN 978-0-321-28713-7


  • Leon, Steven J. (2006), Linear Algebra With Applications (7th ed.), Pearson Prentice Hall, ISBN 978-0-13-185785-8

  • Murty, Katta G. (2014) Computational and Algorithmic Linear Algebra and n-Dimensional Geometry, World Scientific Publishing,
    ISBN 978-981-4366-62-5. Chapter 1: Systems of Simultaneous Linear Equations


  • Poole, David (2010), Linear Algebra: A Modern Introduction (3rd ed.), Cengage – Brooks/Cole, ISBN 978-0-538-73545-2


  • Ricardo, Henry (2010), A Modern Introduction To Linear Algebra (1st ed.), CRC Press, ISBN 978-1-4398-0040-9


  • Sadun, Lorenzo (2008), Applied Linear Algebra: the decoupling principle (2nd ed.), AMS, ISBN 978-0-8218-4441-0


  • Strang, Gilbert (2016), Introduction to Linear Algebra (5th ed.), Wellesley-Cambridge Press, ISBN 978-09802327-7-6

  • The Manga Guide to Linear Algebra (2012), by Shin Takahashi, Iroha Inoue and Trend-Pro Co., Ltd.,
    ISBN 978-1-59327-413-9


Advanced textbooks



  • Axler, Sheldon (February 26, 2004), Linear Algebra Done Right (2nd ed.), Springer, ISBN 978-0-387-98258-8


  • Bhatia, Rajendra (November 15, 1996), Matrix Analysis, Graduate Texts in Mathematics, Springer, ISBN 978-0-387-94846-1


  • Demmel, James W. (August 1, 1997), Applied Numerical Linear Algebra, SIAM, ISBN 978-0-89871-389-3


  • Dym, Harry (2007), Linear Algebra in Action, AMS, ISBN 978-0-8218-3813-6


  • Gantmacher, Felix R. (2005), Applications of the Theory of Matrices, Dover Publications, ISBN 978-0-486-44554-0


  • Gantmacher, Felix R. (1990), Matrix Theory Vol. 1 (2nd ed.), American Mathematical Society, ISBN 978-0-8218-1376-8


  • Gantmacher, Felix R. (2000), Matrix Theory Vol. 2 (2nd ed.), American Mathematical Society, ISBN 978-0-8218-2664-5


  • Gelfand, Israel M. (1989), Lectures on Linear Algebra, Dover Publications, ISBN 978-0-486-66082-0


  • Glazman, I. M.; Ljubic, Ju. I. (2006), Finite-Dimensional Linear Analysis, Dover Publications, ISBN 978-0-486-45332-3


  • Golan, Johnathan S. (January 2007), The Linear Algebra a Beginning Graduate Student Ought to Know (2nd ed.), Springer, ISBN 978-1-4020-5494-5


  • Golan, Johnathan S. (August 1995), Foundations of Linear Algebra, Kluwer, ISBN 0-7923-3614-3


  • Golub, Gene H.; Van Loan, Charles F. (October 15, 1996), Matrix Computations, Johns Hopkins Studies in Mathematical Sciences (3rd ed.), The Johns Hopkins University Press, ISBN 978-0-8018-5414-9


  • Greub, Werner H. (October 16, 1981), Linear Algebra, Graduate Texts in Mathematics (4th ed.), Springer, ISBN 978-0-8018-5414-9


  • Hoffman, Kenneth; Kunze, Ray (1971), Linear algebra (2nd ed.), Englewood Cliffs, N.J.: Prentice-Hall, Inc., MR 0276251


  • Halmos, Paul R. (August 20, 1993), Finite-Dimensional Vector Spaces, Undergraduate Texts in Mathematics, Springer, ISBN 978-0-387-90093-3


  • Friedberg, Stephen H.; Insel, Arnold J.; Spence, Lawrence E. (November 11, 2002), Linear Algebra (4th ed.), Prentice Hall, ISBN 978-0-13-008451-4


  • Horn, Roger A.; Johnson, Charles R. (February 23, 1990), Matrix Analysis, Cambridge University Press, ISBN 978-0-521-38632-6


  • Horn, Roger A.; Johnson, Charles R. (June 24, 1994), Topics in Matrix Analysis, Cambridge University Press, ISBN 978-0-521-46713-1


  • Lang, Serge (March 9, 2004), Linear Algebra, Undergraduate Texts in Mathematics (3rd ed.), Springer, ISBN 978-0-387-96412-6


  • Marcus, Marvin; Minc, Henryk (2010), A Survey of Matrix Theory and Matrix Inequalities, Dover Publications, ISBN 978-0-486-67102-4


  • Meyer, Carl D. (February 15, 2001), Matrix Analysis and Applied Linear Algebra, Society for Industrial and Applied Mathematics (SIAM), ISBN 978-0-89871-454-8, archived from the original on October 31, 2009


  • Mirsky, L. (1990), An Introduction to Linear Algebra, Dover Publications, ISBN 978-0-486-66434-7


  • Roman, Steven (March 22, 2005), Advanced Linear Algebra, Graduate Texts in Mathematics (2nd ed.), Springer, ISBN 978-0-387-24766-3


  • Shafarevich, I. R.; Remizov, A. O (2012), Linear Algebra and Geometry, Springer, ISBN 978-3-642-30993-9


  • Shilov, Georgi E. (June 1, 1977), Linear algebra, Dover Publications, ISBN 978-0-486-63518-7


  • Shores, Thomas S. (December 6, 2006), Applied Linear Algebra and Matrix Analysis, Undergraduate Texts in Mathematics, Springer, ISBN 978-0-387-33194-2


  • Smith, Larry (May 28, 1998), Linear Algebra, Undergraduate Texts in Mathematics, Springer, ISBN 978-0-387-98455-1


  • Trefethen, Lloyd N.; Bau, David (1997), Numerical Linear Algebra, SIAM, ISBN 978-0-898-71361-9


Study guides and outlines



  • Leduc, Steven A. (May 1, 1996), Linear Algebra (Cliffs Quick Review), Cliffs Notes, ISBN 978-0-8220-5331-6


  • Lipschutz, Seymour; Lipson, Marc (December 6, 2000), Schaum's Outline of Linear Algebra (3rd ed.), McGraw-Hill, ISBN 978-0-07-136200-9


  • Lipschutz, Seymour (January 1, 1989), 3,000 Solved Problems in Linear Algebra, McGraw–Hill, ISBN 978-0-07-038023-3


  • McMahon, David (October 28, 2005), Linear Algebra Demystified, McGraw–Hill Professional, ISBN 978-0-07-146579-3


  • Zhang, Fuzhen (April 7, 2009), Linear Algebra: Challenging Problems for Students, The Johns Hopkins University Press, ISBN 978-0-8018-9125-0


External links





Online Resources





  • MIT Linear Algebra Video Lectures, a series of 34 recorded lectures by professor Gilbert Strang (Spring 2010)

  • International Linear Algebra Society


  • Hazewinkel, Michiel, ed. (2001) [1994], "Linear algebra", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4


  • Linear Algebra on MathWorld.


  • Matrix and Linear Algebra Terms on Earliest Known Uses of Some of the Words of Mathematics


  • Earliest Uses of Symbols for Matrices and Vectors on Earliest Uses of Various Mathematical Symbols


  • Essence of linear algebra, a video presentation of the basics of linear algebra, with emphasis on the relationship between the geometric, the matrix and the abstract points of view


Online books


  • Beezer, Rob, A First Course in Linear Algebra

  • Connell, Edwin H., Elements of Abstract and Linear Algebra

  • Hefferon, Jim, Linear Algebra

  • Matthews, Keith, Elementary Linear Algebra

  • Sharipov, Ruslan, Course of linear algebra and multidimensional geometry

  • Treil, Sergei, Linear Algebra Done Wrong










這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3

Museum of Modern and Contemporary Art of Trento and Rovereto