Matrix (mathematics)

From Wikipedia, the free encyclopedia
(Redirected from Real matrix)
Jump to navigation Jump to search

Template:Short description Template:CS1 config Template:Hatnote group Template:Good article

Two tall square brackets with m-many rows each containing n-many subscripted letter 'a' variables. Each letter 'a' is given a row number and column number as its subscript.
An m × nScript error: No such module "Check for unknown parameters". matrix: the mScript error: No such module "Check for unknown parameters". rows are horizontal and the nScript error: No such module "Check for unknown parameters". columns are vertical. Each element of a matrix is often denoted by a variable with two subscripts. For example, a2,1Script error: No such module "Check for unknown parameters". represents the element at the second row and first column of the matrix.

In mathematics, a matrix (Template:Plural form: matrices) is a rectangular array or table of numbers or other mathematical objects with elements or entries arranged in rows and columns.

For example, [19132056] is a matrix with two rows and three columns. This is often referred to as a "two-by-three matrix", a "Template:Tmath matrix", or a matrix of dimension Template:Tmath.

Matrices commonly represent other mathematical objects. In linear algebra, matrices are used to represent linear maps. In geometry, matrices are used for specifying and representing geometric transformations (for example rotations) and coordinate changes. In numerical analysis, many computational problems are solved by reducing them to a matrix computation, and this often involves computing with matrices of huge dimensions. Matrices are used in most areas of mathematics and scientific fields, either directly, or through their use in geometry and numerical analysis.

Square matrices, matrices with the same number of rows and columns, play a major role in matrix theory. The determinant of a square matrix is a number associated with the matrix, which is fundamental for the study of a square matrix; for example, a square matrix is invertible if and only if it has a nonzero determinant and the eigenvalues of a square matrix are the roots of a polynomial determinant.

Matrix theory is the branch of mathematics that focuses on the study of matrices. It was initially a sub-branch of linear algebra, but soon grew to include subjects related to graph theory, algebra, combinatorics and statistics.

Definition

A matrix is a rectangular array of numbers (or other mathematical objects), called the "entries" of the matrix. Matrices are subject to standard operations such as addition and multiplication.Template:Sfnp Most commonly, a matrix over a field F is a rectangular array of elements of Template:Tmath.Template:SfnpTemplate:Sfnp A real matrix and a complex matrix are matrices whose entries are respectively real numbers or complex numbers. More general types of entries are discussed below. For instance, this is a real matrix: 𝐀=[1.30.620.45.59.76.2].

The numbers, symbols, or expressions in the matrix are called its entries or its elements. The horizontal and vertical lines of entries in a matrix are respectively called rows and columns.Template:Sfnp

Size

The size of a matrix is defined by the number of rows and columns it contains. There is no limit to the number of rows and columns that a matrix (in the usual sense) can have as long as they are positive integers. A matrix with m rows and n columns is called an m×n matrix,Template:Sfnp or m-by-n matrix,Template:Sfnp where m and n are called its dimensions.Template:Sfnp For example, the matrix 𝐀 above is a 3×2 matrix.

Matrices with a single row are called row matrices or row vectors, and those with a single column are called column matrices or column vectors. A matrix with the same number of rows and columns is called a square matrix.Template:Sfnp A matrix with an infinite number of rows or columns (or both) is called an infinite matrix. In some contexts, such as computer algebra programs, it is useful to consider a matrix with no rows or no columns, called an empty matrix.[1]

Overview of a matrix size
Name Size Example Description
Row matrix 1×n [372] A matrix with one row, sometimes used to represent a vector
Column matrix n×1 [418] A matrix with one column, sometimes used to represent a vector
Square matrix n×n [91351117263] A matrix with the same number of rows and columns, sometimes used to represent a linear transformation from a vector space to itself, such as reflection, rotation, or shearing.

Notation

The specifics of symbolic matrix notation vary widely, with some prevailing trends. Matrices are commonly written in square brackets or parentheses,Template:Sfnp so that an m×n matrix 𝐀 is represented as 𝐀=[a11a12a1na21a22a2nam1am2amn]=(a11a12a1na21a22a2nam1am2amn). This may be abbreviated by writing only a single generic term, possibly along with indices, as in 𝐀=(aij),[aij],or(aij)1im,1jn or 𝐀=(ai,j)1i,jn in the case that Template:Tmath.

Matrices are usually symbolized using upper-case letters (such as 𝐀 in the examples above),Template:Sfnp while the corresponding lower-case letters, with two subscript indices (e.g., Template:Tmath, or Template:Tmath), represent the entries.Template:Sfnp In addition to using upper-case letters to symbolize matrices, many authors use a special typographical style, commonly boldface Roman (non-italic), to further distinguish matrices from other mathematical objects. An alternative notation involves the use of a double-underline with the variable name, with or without boldface style, as in Template:Tmath.Template:Sfnp

The entry in the iScript error: No such module "Check for unknown parameters".th row and jScript error: No such module "Check for unknown parameters".th column of a matrix AScript error: No such module "Check for unknown parameters". is sometimes referred to as the i,j or (i,j) entry of the matrix, and commonly denoted by ai,j or Template:Tmath.Template:Sfnp Alternative notations for that entry are 𝐀[i,j] and Template:Tmath. For example, the (1,3) entry of the following matrix 𝐀 is 5Script error: No such module "Check for unknown parameters". (also denoted Template:Tmath, Template:Tmath, 𝐀[1,3] or Template:Tmath): 𝐀=[475020118191312]

Sometimes, the entries of a matrix can be defined by a formula such as Template:Tmath. For example, each of the entries of the following matrix 𝐀 is determined by the formula Template:Tmath. 𝐀=[012310122101] In this case, the matrix itself is sometimes defined by that formula, within square brackets or double parentheses. For example, the matrix above is defined as 𝐀=[ij] or Template:Tmath. If matrix size is Template:Tmath, the above-mentioned formula f(i,j) is valid for any i=1,,m and any Template:Tmath. This can be specified separately or indicated using m×n as a subscript. For instance, the matrix 𝐀 above is Template:Tmath, and can be defined as 𝐀=[ij](i=1,2,3;j=1,,4) or Template:Tmath.

Some programming languages utilize doubly subscripted arrays (or arrays of arrays) to represent an mScript error: No such module "Check for unknown parameters".-by-nScript error: No such module "Check for unknown parameters". matrix. Some programming languages start the numbering of array indexes at zero, in which case the entries of an mScript error: No such module "Check for unknown parameters".-by-nScript error: No such module "Check for unknown parameters". matrix are indexed by 0im1 and Template:Tmath.Template:Sfnp This article follows the more common convention in mathematical writing where enumeration starts from 1Script error: No such module "Check for unknown parameters"..

The set of all mScript error: No such module "Check for unknown parameters".-by-nScript error: No such module "Check for unknown parameters". real matrices is often denoted Template:Tmath, or Template:Tmath. The set of all mScript error: No such module "Check for unknown parameters".-by-nScript error: No such module "Check for unknown parameters". matrices over another field, or over a ring RScript error: No such module "Check for unknown parameters"., is similarly denoted Template:Tmath, or Template:Tmath. If m = nScript error: No such module "Check for unknown parameters"., such as in the case of square matrices, one does not repeat the dimension: Template:Tmath, or Template:Tmath.Template:Sfnp Often, Template:Tmath, or Template:Tmath, is used in place of Template:Tmath.[2]

Basic operations

Several basic operations can be applied to matrices. Some, such as transposition and submatrix do not depend on the nature of the entries. Others, such as matrix addition, scalar multiplication, matrix multiplication, and row operations involve operations on matrix entries and therefore require that matrix entries are numbers or belong to a field or a ring.Template:Sfnp

In this section, it is supposed that matrix entries belong to a fixed ring, which is typically a field of numbers.

Addition

Script error: No such module "Labelled list hatnote".

File:Matrix addition qtl2.svg
Illustration of the addition of two matrices.

Matrix addition and subtraction require matrices of a consistent size, and are calculated entrywise. The sum A + BScript error: No such module "Check for unknown parameters". and the difference ABScript error: No such module "Check for unknown parameters". of two m×nScript error: No such module "Check for unknown parameters". matrices are:Template:Sfnp

(𝐀+𝐁)i,j=𝐀i,j+𝐁i,j,1im,1jn.(𝐀𝐁)i,j=𝐀i,j𝐁i,j,1im,1jn.

For example, [131100]+[005750]=[1+03+01+51+70+50+0]=[136850]Template:Pb

Familiar properties of numbers extend to these operations on matrices: for example, addition is commutative, that is, the matrix sum does not depend on the order of the summands: A + B = B + AScript error: No such module "Check for unknown parameters"..Template:Sfnp

Scalar multiplication

Script error: No such module "Labelled list hatnote".

The product cAScript error: No such module "Check for unknown parameters". of a number Template:Mvar (also called a scalar in this context) and a matrix AScript error: No such module "Check for unknown parameters". is computed by multiplying each entry of AScript error: No such module "Check for unknown parameters". by Template:Mvar:Template:Sfnp (c𝐀)i,j=c𝐀i,j This operation is called scalar multiplication, but its result is not named "scalar product" to avoid confusion, since "scalar product" is often used as a synonym for "inner product".Template:Sfnp For example: 2[183425]=[212823242225]=[21668410]Template:Pb

Matrix subtraction is consistent with composition of matrix addition with scalar multiplication by –1Script error: No such module "Check for unknown parameters".:Template:Sfnp 𝐀𝐁=𝐀+(1)𝐁Template:Pb

Transpose

Script error: No such module "Labelled list hatnote".

The transpose of an m×nScript error: No such module "Check for unknown parameters". matrix AScript error: No such module "Check for unknown parameters". is the n×mScript error: No such module "Check for unknown parameters". matrix ATScript error: No such module "Check for unknown parameters". (also denoted AtrScript error: No such module "Check for unknown parameters". or tAScript error: No such module "Check for unknown parameters".) formed by turning rows into columns and vice versa: (𝐀T)i,j=𝐀j,i. For example: [123067]T=[102637]

The transpose is compatible with addition and scalar multiplication, as expressed by (cA)T = c(AT)Script error: No such module "Check for unknown parameters". and (A + B)T = AT + BTScript error: No such module "Check for unknown parameters".. Finally, (AT)T = AScript error: No such module "Check for unknown parameters"..Template:Sfnp

Matrix multiplication

Script error: No such module "Labelled list hatnote".

File:MatrixMultiplication.png
Schematic depiction of the matrix product ABScript error: No such module "Check for unknown parameters". of two matrices AScript error: No such module "Check for unknown parameters". and BScript error: No such module "Check for unknown parameters".

Multiplication of two matrices corresponds to the composition of linear transformations represented by each matrix. It is defined if and only if the number of columns of the left matrix is the same as the number of rows of the right matrix. If AScript error: No such module "Check for unknown parameters". is an m×nScript error: No such module "Check for unknown parameters". matrix and BScript error: No such module "Check for unknown parameters". is an n×pScript error: No such module "Check for unknown parameters". matrix, then their matrix product ABScript error: No such module "Check for unknown parameters". is the m×pScript error: No such module "Check for unknown parameters". matrix whose entries are given by the dot product of the corresponding row of AScript error: No such module "Check for unknown parameters". and the corresponding column of BScript error: No such module "Check for unknown parameters".:Template:Sfnp [𝐀𝐁]i,j=ai,1b1,j+ai,2b2,j++ai,nbn,j=r=1nai,rbr,j, where 1 ≤ imScript error: No such module "Check for unknown parameters". and 1 ≤ jpScript error: No such module "Check for unknown parameters"..Template:Sfnp For example, the underlined entry 2340 in the product is calculated as (2 × 1000) + (3 × 100) + (4 × 10) = 2340:Script error: No such module "Check for unknown parameters". [2_3_4_100][01000_1100_010_]=[32340_01000].

Matrix multiplication satisfies the rules (AB)C = A(BC)Script error: No such module "Check for unknown parameters". (associativity), and (A + B)C = AC + BCScript error: No such module "Check for unknown parameters". as well as C(A + B) = CA + CBScript error: No such module "Check for unknown parameters". (left and right distributivity), whenever the size of the matrices is such that the various products are defined.Template:Sfnp The product ABScript error: No such module "Check for unknown parameters". may be defined without BAScript error: No such module "Check for unknown parameters". being defined, namely if AScript error: No such module "Check for unknown parameters". and BScript error: No such module "Check for unknown parameters". are m×nScript error: No such module "Check for unknown parameters". and n×kScript error: No such module "Check for unknown parameters". matrices, respectively, and mk.Script error: No such module "Check for unknown parameters". Even if both products are defined, they generally need not be equal, that is:Template:Sfnp 𝐀𝐁𝐁𝐀.

In other words, matrix multiplication is not commutative, in marked contrast to (rational, real, or complex) numbers, whose product is independent of the order of the factors.Template:Sfnp An example of two matrices not commuting with each other is: [1234][0100]=[0103], whereas [0100][1234]=[3400].

Besides the ordinary matrix multiplication just described, other less frequently used operations on matrices that can be considered forms of multiplication also exist, such as the Hadamard product and the Kronecker product.Template:Sfnp They arise in solving matrix equations such as the Sylvester equation.Template:Sfnp

Row operations

Script error: No such module "Labelled list hatnote". There are three types of row operations:Template:SfnpTemplate:Sfnp

  1. row addition, that is, adding a row to another.
  2. row multiplication, that is, multiplying all entries of a row by a non-zero constant;
  3. row switching, that is, interchanging two rows of a matrix;

These operations are used in several ways, including solving linear equations and finding matrix inverses with Gauss elimination and Gauss–Jordan elimination, respectively.Template:Sfnp

Submatrix

A submatrix of a matrix is a matrix obtained by deleting any collection of rows and/or columns.Template:SfnpTemplate:SfnpTemplate:Sfnp For example, from the following 3-by-4 matrix, we can construct a 2-by-3 submatrix by removing row 3 and column 2: 𝐀=[123456789101112][134578].

The minors and cofactors of a matrix are found by computing the determinant of certain submatrices.Template:SfnpTemplate:Sfnp

A principal submatrix is a square submatrix obtained by removing certain rows and columns. The definition varies from author to author. According to some authors, a principal submatrix is a submatrix in which the set of row indices that remain is the same as the set of column indices that remain.Template:SfnpTemplate:Sfnp Other authors define a principal submatrix as one in which the first Template:Mvar rows and columns, for some number Template:Mvar, are the ones that remain;Template:Sfnp this type of submatrix has also been called a leading principal submatrix.[3]

Linear equations

Script error: No such module "Labelled list hatnote". Matrices can be used to compactly write and work with multiple linear equations, that is, systems of linear equations. For example, if AScript error: No such module "Check for unknown parameters". is an m×nScript error: No such module "Check for unknown parameters". matrix, xScript error: No such module "Check for unknown parameters". designates a column vector (that is, n×1Script error: No such module "Check for unknown parameters".-matrix) of Template:Mvar variables x1, x2, ..., xn,Script error: No such module "Check for unknown parameters". and bScript error: No such module "Check for unknown parameters". is an m×1Script error: No such module "Check for unknown parameters".-column vector, then the matrix equation 𝐀𝐱=𝐛 is equivalent to the system of linear equationsTemplate:Sfnp a1,1x1+a1,2x2++a1,nxn=b1  am,1x1+am,2x2++am,nxn=bm

Using matrices, this can be solved more compactly than would be possible by writing out all the equations separately. If n = mScript error: No such module "Check for unknown parameters". and the equations are independent, then this can be done by writingTemplate:Sfnp 𝐱=𝐀1𝐛 where A−1Script error: No such module "Check for unknown parameters". is the inverse matrix of AScript error: No such module "Check for unknown parameters".. If AScript error: No such module "Check for unknown parameters". has no inverse, solutions—if any—can be found using its generalized inverse.Template:Sfnp

Linear transformations

Script error: No such module "Labelled list hatnote".

File:Area parallellogram as determinant.svg
The vectors represented by a 2-by-2 matrix correspond to the sides of a unit square transformed into a parallelogram.

Matrices and matrix multiplication reveal their essential features when related to linear transformations, also known as linear maps. A real Template:Mvar-by-Template:Mvar matrix AScript error: No such module "Check for unknown parameters". gives rise to a linear transformation nm mapping each vector xScript error: No such module "Check for unknown parameters". in Template:Tmath to the (matrix) product AxScript error: No such module "Check for unknown parameters"., which is a vector in Template:Tmath Conversely, each linear transformation f:nm arises from a unique Template:Mvar-by-Template:Mvar matrix AScript error: No such module "Check for unknown parameters".: explicitly, the (i, j)Script error: No such module "Check for unknown parameters".-entry of AScript error: No such module "Check for unknown parameters". is the Template:Mvarth coordinate of f (ej)Script error: No such module "Check for unknown parameters"., where ej = (0, ..., 0, 1, 0, ..., 0)Script error: No such module "Check for unknown parameters". is the unit vector with 1Script error: No such module "Check for unknown parameters". in the Template:Mvarth position and 0Script error: No such module "Check for unknown parameters". elsewhere. The matrix AScript error: No such module "Check for unknown parameters". is said to represent the linear map Template:Mvar, and AScript error: No such module "Check for unknown parameters". is called the transformation matrix of Template:Mvar.Template:Sfnp

For example, the 2×2 matrix 𝐀=[acbd] can be viewed as the transform of the unit square into a parallelogram with vertices at (0, 0)Script error: No such module "Check for unknown parameters"., (a, b)Script error: No such module "Check for unknown parameters"., (a + c, b + d)Script error: No such module "Check for unknown parameters"., and (c, d)Script error: No such module "Check for unknown parameters".. The parallelogram pictured at the right is obtained by multiplying AScript error: No such module "Check for unknown parameters". with each of the column vectors Template:Tmath, Template:Tmath, Template:Tmath, and Template:Tmath in turn. These vectors define the vertices of the unit square.Template:Sfnp The following table shows several 2×2 real matrices with the associated linear maps of Template:Tmath. The blue original is mapped to the green grid and shapes. The origin (0, 0)Script error: No such module "Check for unknown parameters". is marked with a black point.

Horizontal shearTemplate:SfnpScript error: No such module "string".with m = 1.25. ReflectionTemplate:Sfnp through the vertical axis Squeeze mappingTemplate:SfnpScript error: No such module "string".with r = 3/2 ScalingTemplate:SfnpScript error: No such module "string".by a factor of 3/2 RotationTemplate:SfnpScript error: No such module "string".by Template:Pi/6 = 30°
[11.2501] [1001] [320023] [320032] [cos(π6)sin(π6)sin(π6)cos(π6)]
File:VerticalShear m=1.25.svg File:Flip map.svg File:Squeeze r=1.5.svg File:Scaling by 1.5.svg File:Rotation by pi over 6.svg

Under the 1-to-1 correspondence between matrices and linear maps, matrix multiplication corresponds to composition of maps:[4] if a Template:Mvar-by-Template:Mvar matrix BScript error: No such module "Check for unknown parameters". represents another linear map Template:Tmath, then the composition gfScript error: No such module "Check for unknown parameters". is represented by BAScript error: No such module "Check for unknown parameters". sinceTemplate:Sfnp (gf)(𝐱)=g(f(𝐱))=g(𝐀𝐱)=𝐁(𝐀𝐱)=(𝐁𝐀)𝐱.

The last equality follows from the above-mentioned associativity of matrix multiplication.

The rank of a matrix AScript error: No such module "Check for unknown parameters". is the maximum number of linearly independent row vectors of the matrix, which is the same as the maximum number of linearly independent column vectors.Template:Sfnp Equivalently it is the dimension of the image of the linear map represented by AScript error: No such module "Check for unknown parameters"..Template:Sfnp The rank–nullity theorem states that the dimension of the kernel of a matrix plus the rank equals the number of columns of the matrix.Template:Sfnp

Square matrix

Script error: No such module "Labelled list hatnote". A square matrix is a matrix with the same number of rows and columns. An Template:Mvar-by-Template:Mvar matrix is known as a square matrix of order Template:Mvar. Any two square matrices of the same order can be added and multiplied. The entries Template:Mvar form the main diagonal of a square matrix. They lie on the imaginary line running from the top left corner to the bottom right corner of the matrix.Template:Sfnp

Square matrices of a given dimension form a noncommutative ring, which is one of the most common examples of a noncommutative ring.Template:Sfnp

Main types

Name Example with n = 3Script error: No such module "Check for unknown parameters".
Diagonal matrix [a11000a22000a33]
Lower triangular matrix [a1100a21a220a31a32a33]
Upper triangular matrix [a11a12a130a22a2300a33]

Diagonal and triangular matrix

If all entries of AScript error: No such module "Check for unknown parameters". below the main diagonal are zero, AScript error: No such module "Check for unknown parameters". is called an upper triangular matrix. Similarly, if all entries of AScript error: No such module "Check for unknown parameters". above the main diagonal are zero, AScript error: No such module "Check for unknown parameters". is called a lower triangular matrix.Template:Sfnp If all entries outside the main diagonal are zero, AScript error: No such module "Check for unknown parameters". is called a diagonal matrix.Template:Sfnp

Identity matrix

Script error: No such module "Labelled list hatnote". The identity matrix InScript error: No such module "Check for unknown parameters". of size Template:Mvar is the Template:Mvar-by-Template:Mvar matrix in which all the elements on the main diagonal are equal to 1Script error: No such module "Check for unknown parameters". and all other elements are equal to 0Script error: No such module "Check for unknown parameters".,Template:Sfnp for example, 𝐈1=[1],𝐈2=[1001],𝐈n=[100010001] It is a square matrix of order Template:Mvar, and also a special kind of diagonal matrix. It is called an identity matrix because multiplication with it leaves a matrix unchanged:Template:Sfnp 𝐀𝐈n=𝐈m𝐀=𝐀 for any Template:Mvar-by-Template:Mvar matrix AScript error: No such module "Check for unknown parameters"..

A scalar multiple of an identity matrix is called a scalar matrix.Template:Sfnp

Symmetric or skew-symmetric matrix

A square matrix AScript error: No such module "Check for unknown parameters". that is equal to its transpose, that is, A = ATScript error: No such module "Check for unknown parameters"., is a symmetric matrix. If instead, AScript error: No such module "Check for unknown parameters". is equal to the negative of its transpose, that is, A = −ATScript error: No such module "Check for unknown parameters"., then AScript error: No such module "Check for unknown parameters". is a skew-symmetric matrix. In complex matrices, symmetry is often replaced by the concept of Hermitian matrices, which satisfies A = AScript error: No such module "Check for unknown parameters"., where the star or asterisk denotes the conjugate transpose of the matrix, that is, the transpose of the complex conjugate of AScript error: No such module "Check for unknown parameters"..Template:Sfnp

By the spectral theorem, real symmetric matrices and complex Hermitian matrices have an eigenbasis; that is, every vector is expressible as a linear combination of eigenvectors. In both cases, all eigenvalues are real.Template:Sfnp This theorem can be generalized to infinite-dimensional situations related to matrices with infinitely many rows and columns.Template:Sfnp

Invertible matrix and its inverse

A square matrix AScript error: No such module "Check for unknown parameters". is called invertible or non-singular if there exists a matrix BScript error: No such module "Check for unknown parameters". such thatTemplate:SfnpTemplate:Sfnp 𝐀𝐁=𝐁𝐀=𝐈n, where InScript error: No such module "Check for unknown parameters". is the n×nScript error: No such module "Check for unknown parameters". identity matrix with 1Script error: No such module "Check for unknown parameters". for each entry on the main diagonal and 0Script error: No such module "Check for unknown parameters". elsewhere. If BScript error: No such module "Check for unknown parameters". exists, it is unique and is called the inverse matrix of AScript error: No such module "Check for unknown parameters"., denoted A−1Script error: No such module "Check for unknown parameters"..Template:Sfnp

There are many algorithms for testing whether a square matrix is invertible, and, if it is, computing its inverse. One of the oldest, which is still in common use is Gaussian elimination.Template:Sfnp

Definite matrix

Positive definite matrix Indefinite matrix
[14001] [140014]
Q(x,y)=14x2+y2 Q(x,y)=14x214y2
File:Ellipse in coordinate system with semi-axes labelled.svg Script error: No such module "string".Points such that Q(x,y)=1 Script error: No such module "string". (Ellipse) File:Hyperbola2 SVG.svg Script error: No such module "string". Points such that Q(x,y)=1Script error: No such module "string". (Hyperbola)

A symmetric real matrix AScript error: No such module "Check for unknown parameters". is called positive-definite if the associated quadratic form f(𝐱)=𝐱T𝐀𝐱 has a positive value for every nonzero vector xScript error: No such module "Check for unknown parameters". in Template:Tmath. If Template:Itco(x)Script error: No such module "Check for unknown parameters". yields only negative values then AScript error: No such module "Check for unknown parameters". is negative-definite; if Template:Mvar does produce both negative and positive values then AScript error: No such module "Check for unknown parameters". is indefinite.Template:Sfnp If the quadratic form Template:Mvar yields only non-negative values (positive or zero), the symmetric matrix is called positive-semidefinite (or if only non-positive values, then negative-semidefinite); hence the matrix is indefinite precisely when it is neither positive-semidefinite nor negative-semidefinite.Template:Sfnp

A symmetric matrix is positive-definite if and only if all its eigenvalues are positive, that is, the matrix is positive-semidefinite and it is invertible.Template:Sfnp The table at the right shows two possibilities for 2-by-2 matrices. The eigenvalues of a diagonal matrix are simply the entries along the diagonal,Template:Sfnp and so in these examples, the eigenvalues can be read directly from the matrices themselves. The first matrix has two eigenvalues that are both positive, while the second has one that is positive and another that is negative.

Allowing as input two different vectors instead yields the bilinear form associated to AScript error: No such module "Check for unknown parameters".:Template:Sfnp B𝐀(𝐱,𝐲)=𝐱T𝐀𝐲.

In the case of complex matrices, the same terminology and results apply, with symmetric matrix, quadratic form, bilinear form, and transpose xTScript error: No such module "Check for unknown parameters". replaced respectively by Hermitian matrix, Hermitian form, sesquilinear form, and conjugate transpose xHScript error: No such module "Check for unknown parameters"..Template:Sfnp

Orthogonal matrix

Script error: No such module "Labelled list hatnote". An orthogonal matrix is a square matrix with real entries whose columns and rows are orthogonal unit vectors (that is, orthonormal vectors).Template:Sfnp Equivalently, a matrix AScript error: No such module "Check for unknown parameters". is orthogonal if its transpose is equal to its inverse: 𝐀T=𝐀1, which entails 𝐀T𝐀=𝐀𝐀T=𝐈n, where InScript error: No such module "Check for unknown parameters". is the identity matrix of size Template:Mvar.Template:Sfnp

An orthogonal matrix AScript error: No such module "Check for unknown parameters". is necessarily invertible (with inverse A−1 = ATScript error: No such module "Check for unknown parameters".), unitary (A−1 = A*Script error: No such module "Check for unknown parameters".), and normal (A*A = AA*Script error: No such module "Check for unknown parameters".). The determinant of any orthogonal matrix is either +1Script error: No such module "Check for unknown parameters". or −1Script error: No such module "Check for unknown parameters".. A special orthogonal matrix is an orthogonal matrix with determinant +1Script error: No such module "Check for unknown parameters".. As a linear transformation, every orthogonal matrix with determinant +1Script error: No such module "Check for unknown parameters". is a pure rotation without reflection, i.e., the transformation preserves the orientation of the transformed structure, while every orthogonal matrix with determinant −1Script error: No such module "Check for unknown parameters". reverses the orientation, i.e., is a composition of a pure reflection and a (possibly null) rotation. The identity matrices have determinant 1Script error: No such module "Check for unknown parameters". and are pure rotations by an angle zero.Template:Sfnp

The complex analog of an orthogonal matrix is a unitary matrix.Template:Sfnp

Main operations

Trace

The trace, tr(A)Script error: No such module "Check for unknown parameters". of a square matrix AScript error: No such module "Check for unknown parameters". is the sum of its diagonal entries. While matrix multiplication is not commutative as mentioned above, the trace of the product of two matrices is independent of the order of the factors:Template:Sfnp tr(𝐀𝐁)=tr(𝐁𝐀). This is immediate from the definition of matrix multiplication:Template:Sfnp tr(𝐀𝐁)=i=1mj=1naijbji=tr(𝐁𝐀). It follows that the trace of the product of more than two matrices is independent of cyclic permutations of the matrices; however, this does not in general apply for arbitrary permutations. For example, tr(ABC) ≠ tr(BAC)Script error: No such module "Check for unknown parameters"., in general.Template:Sfnp Also, the trace of a matrix is equal to that of its transpose,Template:Sfnp that is, tr(𝐀)=tr(𝐀T).

Determinant

Script error: No such module "Labelled list hatnote".

File:Determinant example.svg
A linear transformation on Template:Tmath given by the indicated matrix. The determinant of this matrix is −1Script error: No such module "Check for unknown parameters"., as the area of the green parallelogram at the right is 1Script error: No such module "Check for unknown parameters"., but the map reverses the orientation, since it turns the counterclockwise orientation of the vectors to a clockwise one.

The determinant of a square matrix AScript error: No such module "Check for unknown parameters". (denoted det(A)Script error: No such module "Check for unknown parameters". or Template:AbsScript error: No such module "Check for unknown parameters".) is a number encoding certain properties of the matrix. A matrix is invertible if and only if its determinant is nonzero.Template:Sfnp Its absolute value equals the area (in Template:Tmath) or volume (in Template:Tmath) of the image of the unit square (or cube), while its sign corresponds to the orientation of the corresponding linear map: the determinant is positive if and only if the orientation is preserved.Template:Sfnp

The determinant of 2-by-2 matrices is given by[5] det[abcd]=adbc. The determinant of 3-by-3 matrices involves 6 terms (rule of Sarrus). The more lengthy Leibniz formula generalizes these two formulae to all dimensions.Template:Sfnp

The determinant of a product of square matrices equals the product of their determinants: det(𝐀𝐁)=det(𝐀)det(𝐁), or using alternate notation:Template:Sfnp |𝐀𝐁|=|𝐀||𝐁|. Adding a multiple of any row to another row, or a multiple of any column to another column, does not change the determinant. Interchanging two rows or two columns affects the determinant by multiplying it by −1Script error: No such module "Check for unknown parameters"..Template:Sfnp Using these operations, any matrix can be transformed to a lower (or upper) triangular matrix, and for such matrices, the determinant equals the product of the entries on the main diagonal; this provides a method to calculate the determinant of any matrix. Finally, the Laplace expansion expresses the determinant in terms of minors, that is, determinants of smaller matrices.Template:Sfnp This expansion can be used for a recursive definition of determinants (taking as starting case the determinant of a 1-by-1 matrix, which is its unique entry, or even the determinant of a 0-by-0 matrix, which is 1Script error: No such module "Check for unknown parameters".), that can be seen to be equivalent to the Leibniz formula. Determinants can be used to solve linear systems using Cramer's rule, where the division of the determinants of two related square matrices equates to the value of each of the system's variables.Template:Sfnp

Eigenvalues and eigenvectors

Script error: No such module "Labelled list hatnote". A number λ and a nonzero vector vScript error: No such module "Check for unknown parameters". satisfying 𝐀𝐯=λ𝐯 are called an eigenvalue and an eigenvector of AScript error: No such module "Check for unknown parameters"., respectively.[6]Template:Sfnp The number Template:Mvar is an eigenvalue of an n×nScript error: No such module "Check for unknown parameters".-matrix AScript error: No such module "Check for unknown parameters". if and only if (AλIn)Script error: No such module "Check for unknown parameters". is not invertible, which is equivalent toTemplate:Sfnp det(𝐀λ𝐈)=0. The polynomial pAScript error: No such module "Check for unknown parameters". in an indeterminate Template:Mvar given by evaluation of the determinant det(Template:ItcoInA)Script error: No such module "Check for unknown parameters". is called the characteristic polynomial of AScript error: No such module "Check for unknown parameters".. It is a monic polynomial of degree Template:Mvar. Therefore the polynomial equation pA(λ) = 0Script error: No such module "Check for unknown parameters". has at most Template:Mvar different solutions, that is, eigenvalues of the matrix.Template:Sfnp They may be complex even if the entries of AScript error: No such module "Check for unknown parameters". are real.Template:Sfnp According to the Cayley–Hamilton theorem, pA(A) = 0Script error: No such module "Check for unknown parameters"., that is, the result of substituting the matrix itself into its characteristic polynomial yields the zero matrix.Template:Sfnp

Computational aspects

Matrix calculations can be often performed with different techniques. Many problems can be solved by both direct algorithms and iterative approaches. For example, the eigenvectors of a square matrix can be obtained by finding a sequence of vectors xnScript error: No such module "Check for unknown parameters". converging to an eigenvector when Template:Mvar tends to infinity.Template:Sfnp

To choose the most appropriate algorithm for each specific problem, it is important to determine both the effectiveness and precision of all the available algorithms. The domain studying these matters is called numerical linear algebra.Template:Sfnp As with other numerical situations, two main aspects are the complexity of algorithms and their numerical stability.

Determining the complexity of an algorithm means finding upper bounds or estimates of how many elementary operations such as additions and multiplications of scalars are necessary to perform some algorithm, for example, multiplication of matrices. Calculating the matrix product of two Template:Mvar-by-Template:Mvar matrices using the definition given above needs n3Script error: No such module "Check for unknown parameters". multiplications, since for any of the n2Script error: No such module "Check for unknown parameters". entries of the product, Template:Mvar multiplications are necessary. The Strassen algorithm outperforms this "naive" algorithm; it needs only n2.807Script error: No such module "Check for unknown parameters". multiplications.Template:Sfnp Theoretically faster but impractical matrix multiplication algorithms have been developed,Template:Sfnp as have speedups to this problem using parallel algorithms or distributed computation systems such as MapReduce.Template:Sfnp

In many practical situations, additional information about the matrices involved is known. An important case concerns sparse matrices, that is, matrices whose entries are mostly zero. There are specifically adapted algorithms for, say, solving linear systems Ax = bScript error: No such module "Check for unknown parameters". for sparse matrices AScript error: No such module "Check for unknown parameters"., such as the conjugate gradient method.Template:Sfnp

An algorithm is, roughly speaking, numerically stable if little deviations in the input values do not lead to big deviations in the result. For example, one can calculate the inverse of a matrix by computing its adjugate matrix: 𝐀1=adj(𝐀)/det(𝐀). However, this may lead to significant rounding errors if the determinant of the matrix is very small. The norm of a matrix can be used to capture the conditioning of linear algebraic problems, such as computing a matrix's inverse.Template:Sfnp

Decomposition

Script error: No such module "Labelled list hatnote". There are several methods to render matrices into a more easily accessible form. They are generally referred to as matrix decomposition or matrix factorization techniques. These techniques are of interest because they can make computations easier.

The LU decomposition factors matrices as a product of lower (LScript error: No such module "Check for unknown parameters".) and an upper triangular matrices (UScript error: No such module "Check for unknown parameters".).Template:Sfnp Once this decomposition is calculated, linear systems can be solved more efficiently by a simple technique called forward and back substitution. Likewise, inverses of triangular matrices are algorithmically easier to calculate. The Gaussian elimination is a similar algorithm; it transforms any matrix to row echelon form.Template:Sfnp Both methods proceed by multiplying the matrix by suitable elementary matrices, which correspond to permuting rows or columns and adding multiples of one row to another row. Singular value decomposition expresses any matrix AScript error: No such module "Check for unknown parameters". as a product UDVScript error: No such module "Check for unknown parameters"., where UScript error: No such module "Check for unknown parameters". and VScript error: No such module "Check for unknown parameters". are unitary matrices and DScript error: No such module "Check for unknown parameters". is a diagonal matrix.Template:Sfnp

File:Jordan blocks.svg
An example of a matrix in Jordan normal form. The grey blocks are called Jordan blocks.

The eigendecomposition or diagonalization expresses AScript error: No such module "Check for unknown parameters". as a product VDV−1Script error: No such module "Check for unknown parameters"., where DScript error: No such module "Check for unknown parameters". is a diagonal matrix and VScript error: No such module "Check for unknown parameters". is a suitable invertible matrix.Template:Sfnp If AScript error: No such module "Check for unknown parameters". can be written in this form, it is called diagonalizable. More generally, and applicable to all matrices, the Jordan decomposition transforms a matrix into Jordan normal form, that is to say matrices whose only nonzero entries are the eigenvalues λ1Script error: No such module "Check for unknown parameters". to Template:Mvar of AScript error: No such module "Check for unknown parameters"., placed on the main diagonal and possibly entries equal to one directly above the main diagonal, as shown at the right.Template:Sfnp Given the eigendecomposition, the Template:Mvarth power of AScript error: No such module "Check for unknown parameters". (that is, Template:Mvar-fold iterated matrix multiplication) can be calculated via 𝐀n=(𝐕𝐃𝐕1)n=𝐕𝐃𝐕1𝐕𝐃𝐕1𝐕𝐃𝐕1=𝐕𝐃n𝐕1 and the power of a diagonal matrix can be calculated by taking the corresponding powers of the diagonal entries, which is much easier than doing the exponentiation for AScript error: No such module "Check for unknown parameters". instead. This can be used to compute the matrix exponential eAScript error: No such module "Check for unknown parameters"., a need frequently arising in solving linear differential equations, matrix logarithms and square roots of matrices.Template:Sfnp To avoid numerically ill-conditioned situations, further algorithms such as the Schur decomposition can be employed.Template:Sfnp

Abstract algebraic aspects and generalizations

Matrices can be generalized in different ways. Abstract algebra uses matrices with entries in more general fields or even rings, while linear algebra codifies properties of matrices in the notion of linear maps. It is possible to consider matrices with infinitely many columns and rows. Another extension is tensors, which can be seen as higher-dimensional arrays of numbers, as opposed to vectors, which can often be realized as sequences of numbers, while matrices are rectangular or two-dimensional arrays of numbers.Template:Sfnp Matrices, subject to certain requirements tend to form groups known as matrix groups.Template:Sfnp Similarly under certain conditions matrices form rings known as matrix rings.Template:Sfnp Though the product of matrices is not in general commutative, certain matrices form fields sometimes called matrix fields.Template:Sfnp (However the term "matrix field" is ambiguous, also referring to certain forms of physical fields that continuously map points of some space to matrices.Template:Sfnp) In general, matrices over any ring and their multiplication can be represented as the arrows and composition of arrows in a category, the category of matrices over that ring. The objects of this category are natural numbers, representing the dimensions of the matrices.Template:Sfnp

Matrices with more general entries

This article focuses on matrices whose entries are real or complex numbers. However, matrices can be considered with much more general types of entries than real or complex numbers. As a first step of generalization, any field, that is, a set where addition, subtraction, multiplication, and division operations are defined and well-behaved, may be used instead of Template:Tmath or Template:Tmath, for example rational numbers or finite fields. For example, coding theory makes use of matrices over finite fields.Template:Sfnp Wherever eigenvalues are considered, as these are roots of a polynomial, they may exist only in a larger field than that of the entries of the matrix. For instance, they may be complex in the case of a matrix with real entries. The possibility to reinterpret the entries of a matrix as elements of a larger field (for example, to view a real matrix as a complex matrix whose entries happen to be all real) then allows considering each square matrix to possess a full set of eigenvalues.Template:Sfnp Alternatively one can consider only matrices with entries in an algebraically closed field, such as Template:Tmath from the outset.Template:Sfnp

Matrices whose entries are polynomials,Template:Sfnp and more generally, matrices with entries in a ring Template:Mvar are widely used in mathematics.Template:Sfnp Rings are a more general notion than fields in that a division operation need not exist. The very same addition and multiplication operations of matrices extend to this setting, too. The set M(n, R)Script error: No such module "Check for unknown parameters". (also denoted Mn(R)Script error: No such module "Check for unknown parameters".Template:Sfnp) of all square Template:Mvar-by-Template:Mvar matrices over Template:Mvar is a ring called matrix ring, isomorphic to the endomorphism ring of the left Template:Mvar-module Template:Mvar.Template:Sfnp If the ring Template:Mvar is commutative, that is, its multiplication is commutative, then the ring M(n, R)Script error: No such module "Check for unknown parameters". is also an associative algebra over RScript error: No such module "Check for unknown parameters".. The determinant of square matrices over a commutative ring Template:Mvar can still be defined using the Leibniz formula; such a matrix is invertible if and only if its determinant is invertible in Template:Mvar, generalizing the situation over a field Template:Mvar, where every nonzero element is invertible.Template:Sfnp Matrices over superrings are called supermatrices.Template:Sfnp

Matrices do not always have all their entries in the same ringScript error: No such module "String".– or even in any ring at all. One special but common case is block matrices, which may be considered as matrices whose entries themselves are matrices. The entries need not be square matrices, and thus need not be members of any ring; but in order to multiply them, their sizes must fulfill certain conditions: each pair of submatrices that are multiplied in forming the overall product must have compatible sizes.Template:Sfnp

Relationship to linear maps

Linear maps nm are equivalent to Template:Mvar-by-Template:Mvar matrices, as described above. More generally, any linear map f : VWScript error: No such module "Check for unknown parameters". between finite-dimensional vector spaces can be described by a matrix A = (aij)Script error: No such module "Check for unknown parameters"., after choosing bases v1, ..., vnScript error: No such module "Check for unknown parameters". of Template:Mvar, and w1, ..., wmScript error: No such module "Check for unknown parameters". of Template:Mvar (so Template:Mvar is the dimension of Template:Mvar and Template:Mvar is the dimension of Template:Mvar), which is such that f(𝐯j)=i=1mai,j𝐰ifor j=1,,n. In other words, column Template:Mvar of AScript error: No such module "Check for unknown parameters". expresses the image of vjScript error: No such module "Check for unknown parameters". in terms of the basis vectors wiScript error: No such module "Check for unknown parameters". of Template:Mvar; thus this relation uniquely determines the entries of the matrix AScript error: No such module "Check for unknown parameters".. The matrix depends on the choice of the bases: different choices of bases give rise to different, but equivalent matrices.Template:Sfnp Many of the above concrete notions can be reinterpreted in this light, for example, the transpose matrix ATScript error: No such module "Check for unknown parameters". describes the transpose of the linear map given by AScript error: No such module "Check for unknown parameters"., concerning the dual bases.Template:Sfnp

These properties can be restated more naturally: the category of matrices with entries in a field k with multiplication as composition is equivalent to the category of finite-dimensional vector spaces and linear maps over this field.Template:Sfnp

More generally, the set of m×nScript error: No such module "Check for unknown parameters". matrices can be used to represent the Template:Mvar-linear maps between the free modules Template:Mvar and Template:Mvar for an arbitrary ring Template:Mvar with unity. When n = mScript error: No such module "Check for unknown parameters". composition of these maps is possible, and this gives rise to the matrix ring of n×nScript error: No such module "Check for unknown parameters". matrices representing the endomorphism ring of Template:Mvar.Template:Sfnp

Matrix groups

Script error: No such module "Labelled list hatnote". A group is a mathematical structure consisting of a set of objects together with a binary operation, that is, an operation combining any two objects to a third, subject to certain requirements.Template:Sfnp A group in which the objects are matrices and the group operation is matrix multiplication is called a matrix group.[7]Template:Sfnp All invertible matrices of a given size form a matrix group, called a general linear group. Since every element of a matrix group must be invertible, the general linear groups are the most general matrix groups, in the sense that every matrix group is a subgroup of a general linear group.Template:Sfnp

Any property of matrices that is preserved under matrix products and inverses can be used to define further matrix groups. For example, matrices with a given size and with a determinant of 1Script error: No such module "Check for unknown parameters". form a subgroup of (that is, a smaller group contained in) their general linear group, called a special linear group.Template:Sfnp Orthogonal matrices, determined by the condition 𝐌T𝐌=𝐈, form the orthogonal group.Template:Sfnp Every orthogonal matrix has determinant 1Script error: No such module "Check for unknown parameters". or −1Script error: No such module "Check for unknown parameters".. Orthogonal matrices with determinant 1Script error: No such module "Check for unknown parameters". form a subgroup called the special orthogonal group.Template:Sfnp

Every finite group is isomorphic to a matrix group, as one can see by considering the regular representation of the symmetric group.Template:Sfnp General groups can be studied using matrix groups, which are comparatively well understood, using representation theory.[8]

Infinite matrices

It is also possible to consider matrices with infinitely many rows and/or columns.[9] The basic operations introduced above are defined the same way in this case. Matrix multiplication, however, and all operations stemming therefrom are only meaningful when restricted to certain matrices, since the sum featuring in the above definition of the matrix product will contain an infinity of summands.Template:Sfnp An easy way to circumvent this issue is to restrict to finitary matrices all of whose rows (or columns) contain only finitely many nonzero terms.Template:Sfnp As in the finite case (see above), where matrices describe linear maps, infinite matrices can be used to describe operators on Hilbert spaces, where convergence and continuity questions arise. However, the explicit point of view of matrices tends to obfuscate the matter,[10] and the abstract and more powerful tools of functional analysis are used instead, by relating matrices to linear maps (as in the finite case above), but imposing additional convergence and continuity constraints.

Empty matrix

An empty matrix is a matrix in which the number of rows or columns (or both) is zero.[11][1] Empty matrices can be a useful base case for certain recursive constructions,Template:Sfnp and can help to deal with maps involving the zero vector space.Template:Sfnp For example, if AScript error: No such module "Check for unknown parameters". is a 3-by-0 matrix and BScript error: No such module "Check for unknown parameters". is a 0-by-3 matrix, then ABScript error: No such module "Check for unknown parameters". is the 3-by-3 zero matrix corresponding to the null map from a 3-dimensional space Template:Mvar to itself, while BAScript error: No such module "Check for unknown parameters". is a 0-by-0 matrix. There is no common notation for empty matrices, but most computer algebra systems allow creating and computing with them.[12] The determinant of the 0-by-0 matrix is conventionally defined to be 1, consistent with the empty product occurring in the Leibniz formula for the determinant.Template:Sfnp This value is also needed for consistency with the 2×2 case of the Desnanot–Jacobi identity relating determinants to the determinants of smaller matrices.Template:Sfnp

Applications

There are numerous applications of matrices, both in mathematics and other sciences. Some of them merely take advantage of the compact representation of a set of numbers in a matrix. For example,Text mining and automated thesaurus compilation makes use of document-term matrices such as tf-idf to track frequencies of certain words in several documents.Template:Sfnp

Complex numbers can be represented by particular real 2-by-2 matrices via a+ib[abba], under which addition and multiplication of complex numbers and matrices correspond to each other. For example, 2-by-2 rotation matrices represent the multiplication with some complex number of absolute value 1, as above. A similar interpretation is possible for quaternionsTemplate:Sfnp and Clifford algebras in general.

In game theory and economics, the payoff matrix encodes the payoff for two players, depending on which out of a given (finite) set of strategies the players choose.Template:Sfnp The expected outcome of the game, when both players play mixed strategies, is obtained by multiplying this matrix on both sides by vectors representing the strategies.Template:Sfnp The minimax theorem central to game theory is closely related to the duality theory of linear programs, which are often formulated in terms of matrix-vector products.Template:Sfnp

Early encryption techniques such as the Hill cipher also used matrices. However, due to the linear nature of matrices, these codes are comparatively easy to break.Template:Sfnp Computer graphics uses matrices to represent objects; to calculate transformations of objects using affine rotation matrices to accomplish tasks such as projecting a three-dimensional object onto a two-dimensional screen, corresponding to a theoretical camera observation; and to apply image convolutions such as sharpening, blurring, edge detection, and more.Template:Sfnp Matrices over a polynomial ring are important in the study of control theory.Template:Sfnp

Chemistry makes use of matrices in various ways, particularly since the use of quantum theory to discuss molecular bonding and spectroscopy. Examples are the overlap matrix and the Fock matrix used in solving the Roothaan equations to obtain the molecular orbitals of the Hartree–Fock method.Template:Sfnp

Graph theory

File:Labelled undirected graph.svg
An undirected graph with adjacency matrix: [110101010].

The adjacency matrix of a finite graph is a basic notion of graph theory.Template:Sfnp It records which vertices of the graph are connected by an edge. Matrices containing just two different values (1Script error: No such module "Check for unknown parameters". and 0Script error: No such module "Check for unknown parameters". meaning for example "yes" and "no", respectively) are called logical matrices. The distance (or cost) matrix contains information about the distances of the edges.Template:Sfnp These concepts can be applied to websites connected by hyperlinks,Template:Sfnp or cities connected by roads etc., in which case (unless the connection network is extremely dense) the matrices tend to be sparse, that is, contain few nonzero entries. Therefore, specifically tailored matrix algorithms can be used in network theory.Template:Sfnp

Analysis and geometry

The Hessian matrix of a differentiable function f:n consists of the second derivatives of Template:Mvar concerning the several coordinate directions, that is,Template:Sfnp H(f)=[2fxixj].

File:Saddle Point SVG.svg
At the saddle point (x = 0, y = 0)Script error: No such module "Check for unknown parameters". (red) of the function f (x,−y) = x2y2Script error: No such module "Check for unknown parameters"., the Hessian matrix [2002] is indefinite.

It encodes information about the local growth behavior of the function: given a critical point x = (x1, ..., xn)Script error: No such module "Check for unknown parameters"., that is, a point where the first partial derivatives

f/xi

of Template:Mvar vanish, the function has a local minimum if the Hessian matrix is positive definite. Quadratic programming can be used to find global minima or maxima of quadratic functions closely related to the ones attached to matrices (see above).Template:Sfnp

Another matrix frequently used in geometrical situations is the Jacobi matrix of a differentiable map Template:Tmath. If f1, ..., fmScript error: No such module "Check for unknown parameters". denote the components of Template:Mvar, then the Jacobi matrix is defined asTemplate:Sfnp J(f)=[fixj]1im,1jn. If n > mScript error: No such module "Check for unknown parameters"., and if the rank of the Jacobi matrix attains its maximal value Template:Mvar, Template:Mvar is locally invertible at that point, by the implicit function theorem.[13]

Partial differential equations can be classified by considering the matrix of coefficients of the highest-order differential operators of the equation. For elliptic partial differential equations this matrix is positive definite, which has a decisive influence on the set of possible solutions of the equation in question.Template:Sfnp

The finite element method is an important numerical method to solve partial differential equations, widely applied in simulating complex physical systems. It attempts to approximate the solution to some equation by piecewise linear functions, where the pieces are chosen concerning a sufficiently fine grid, which in turn can be recast as a matrix equation.[14]

Probability theory and statistics

File:Markov chain SVG.svg
Two different Markov chains. The chart depicts the number of particles (of a total of 1000) in state "2". Both limiting values can be determined from the transition matrices, which are given by [0.700.31] (red) and [0.70.20.30.8] (black).

Stochastic matrices are square matrices whose rows are probability vectors, that is, whose entries are non-negative and sum up to one. Stochastic matrices are used to define Markov chains with finitely many states.Template:Sfnp A row of the stochastic matrix gives the probability distribution for the next position of some particle currently in the state that corresponds to the row. Properties of the Markov chain—like absorbing states, that is, states that any particle attains eventually—can be read off the eigenvectors of the transition matrices.Template:Sfnp

Statistics also makes use of matrices in many different forms.[15] Descriptive statistics is concerned with describing data sets, which can often be represented as data matrices, which may then be subjected to dimensionality reduction techniques. The covariance matrix encodes the mutual variance of several random variables.Template:Sfnp Another technique using matrices are linear least squares, a method that approximates a finite set of pairs (x1, y1), (x2, y2), ..., (xN, yN)Script error: No such module "Check for unknown parameters"., by a linear function yiaxi+b,i=1,,N which can be formulated in terms of matrices, related to the singular value decomposition of matrices.Template:Sfnp

Random matrices are matrices whose entries are random numbers, subject to suitable probability distributions, such as matrix normal distribution. Beyond probability theory, they are applied in domains ranging from number theory to physics.[16][17]

Quantum mechanics and particle physics

The first model of quantum mechanics (Heisenberg, 1925) used infinite-dimensional matrices to define the operators that took over the role of variables like position, momentum and energy from classical physics.Template:Sfnp (This is sometimes referred to as matrix mechanics.Template:Sfnp) Matrices, both finite and infinite-dimensional, have since been employed for many purposes in quantum mechanics. One particular example is the density matrix, a tool used in calculating the probabilities of the outcomes of measurements performed on physical systems.Template:SfnpTemplate:Sfnp

Linear transformations and the associated symmetries play a key role in modern physics. For example, elementary particles in quantum field theory are classified as representations of the Lorentz group of special relativity and, more specifically, by their behavior under the spin group. Concrete representations involving the Pauli matrices and more general gamma matrices are an integral part of the physical description of fermions, which behave as spinors.Template:Sfnp For the three lightest quarks, there is a group-theoretical representation involving the special unitary group SU(3); for their calculations, physicists use a convenient matrix representation known as the Gell-Mann matrices, which are also used for the SU(3) gauge group that forms the basis of the modern description of strong nuclear interactions, quantum chromodynamics. The Cabibbo–Kobayashi–Maskawa matrix, in turn, expresses the fact that the basic quark states that are important for weak interactions are not the same as, but linearly related to the basic quark states that define particles with specific and distinct masses.Template:Sfnp

Another matrix serves as a key tool for describing the scattering experiments that form the cornerstone of experimental particle physics: Collision reactions such as occur in particle accelerators, where non-interacting particles head towards each other and collide in a small interaction zone, with a new set of non-interacting particles as the result, can be described as the scalar product of outgoing particle states and a linear combination of ingoing particle states. The linear combination is given by a matrix known as the S-matrix, which encodes all information about the possible interactions between particles.Template:Sfnp

Normal modes

A general application of matrices in physics is the description of linearly coupled harmonic systems. The equations of motion of such systems can be described in matrix form, with a mass matrix multiplying a generalized velocity to give the kinetic term, and a force matrix multiplying a displacement vector to characterize the interactions. The best way to obtain solutions is to determine the system's eigenvectors, its normal modes, by diagonalizing the matrix equation. Techniques like this are crucial when it comes to the internal dynamics of molecules: the internal vibrations of systems consisting of mutually bound component atoms.Template:Sfnp They are also needed for describing mechanical vibrations, and oscillations in electrical circuits.Template:Sfnp

Geometrical optics

Geometrical optics provides further matrix applications. In this approximative theory, the wave nature of light is neglected. The result is a model in which light rays are indeed geometrical rays. If the deflection of light rays by optical elements is small, the action of a lens or reflective element on a given light ray can be expressed as multiplication of a two-component vector with a two-by-two matrix called ray transfer matrix analysis: the vector's components are the light ray's slope and its distance from the optical axis, while the matrix encodes the properties of the optical element. There are two kinds of matrices, viz. a refraction matrix describing the refraction at a lens surface, and a translation matrix, describing the translation of the plane of reference to the next refracting surface, where another refraction matrix applies. The optical system, consisting of a combination of lenses and/or reflective elements, is simply described by the matrix resulting from the product of the components' matrices.Template:Sfnp

The Jones calculus models the polarization of a light source as a 2×2 vector, and the effects of optical filters on this polarization vector as a matrix.Template:Sfnp

Electronics

Electronic circuits that are composed of linear components (such as resistors, inductors and capacitors) obey Kirchhoff's circuit laws, which leads to a system of linear equations, which can be described with a matrix equation that relates the source currents and voltages to the resultant currents and voltages at each point in the circuit, and where the matrix entries are determined by the circuit.Template:Sfnp

History

Matrices have a long history of application in solving linear equations but they were known as arrays until the 1800s. The Chinese text The Nine Chapters on the Mathematical Art written in the 10th–2nd century BCE is the first example of the use of array methods to solve simultaneous equations,[18] including the concept of determinants. In 1545 Italian mathematician Gerolamo Cardano introduced the method to Europe when he published Ars Magna.Template:Sfnp The Japanese mathematician Seki used the same array methods to solve simultaneous equations in 1683.[19] The Dutch mathematician Jan de Witt represented transformations using arrays in his 1659 book Elements of Curves (1659).Template:Sfnp Between 1700 and 1710 Gottfried Wilhelm Leibniz publicized the use of arrays for recording information or solutions and experimented with over 50 different systems of arrays.Template:Sfnp Cramer presented his rule in 1750.Template:SfnpTemplate:Sfnp

The term "matrix" (Latin for "womb", "dam" (non-human female animal kept for breeding), "source", "origin", "list", and "register", are derived from mater—mother[20]) was coined by James Joseph Sylvester in 1850,[21] who understood a matrix as an object giving rise to several determinants today called minors, that is to say, determinants of smaller matrices that derive from the original one by removing columns and rows. In an 1851 paper, Sylvester explains:Template:Sfnp

<templatestyles src="Template:Blockquote/styles.css" />

I have in previous papers defined a "Matrix" as a rectangular array of terms, out of which different systems of determinants may be engendered from the womb of a common parent.

Script error: No such module "Check for unknown parameters".

Arthur Cayley published a treatise on geometric transformations using matrices that were not rotated versions of the coefficients being investigated as had previously been done. Instead, he defined operations such as addition, subtraction, multiplication, and division as transformations of those matrices and showed the associative and distributive properties held. Cayley investigated and demonstrated the non-commutative property of matrix multiplication as well as the commutative property of matrix addition.Template:Sfnp Early matrix theory had limited the use of arrays almost exclusively to determinants and Cayley's abstract matrix operations were revolutionary. He was instrumental in proposing a matrix concept independent of equation systems. In 1858, Cayley published his A memoir on the theory of matricesTemplate:SfnpTemplate:Sfnp in which he proposed and demonstrated the Cayley–Hamilton theorem.Template:Sfnp

The English mathematician Cuthbert Edmund Cullis was the first to use modern bracket notation for matrices in 1913 and he simultaneously demonstrated the first significant use of the notation A = [ai,j]Script error: No such module "Check for unknown parameters". to represent a matrix where ai,jScript error: No such module "Check for unknown parameters". refers to the Template:Mvarth row and the Template:Mvarth column.Template:Sfnp

The modern study of determinants sprang from several sources.Template:Sfnp Number-theoretical problems led Gauss to relate coefficients of quadratic forms, that is, expressions such as x2 + xy − 2y2Script error: No such module "Check for unknown parameters"., and linear maps in three dimensions to matrices. Eisenstein further developed these notions, including the remark that, in modern parlance, matrix products are non-commutative. Cauchy was the first to prove general statements about determinants, using as the definition of the determinant of a matrix A = [ai,j]Script error: No such module "Check for unknown parameters". the following: replace the powers ajkScript error: No such module "Check for unknown parameters". by aj,kScript error: No such module "Check for unknown parameters". in the polynomial a1a2ani<j(ajai), where denotes the product of the indicated terms. He also showed, in 1829, that the eigenvalues of symmetric matrices are real.Template:Sfnp Jacobi studied "functional determinants"—later called Jacobi determinants by Sylvester—which can be used to describe geometric transformations at a local (or infinitesimal) level, see above. Kronecker's Vorlesungen über die Theorie der Determinanten[22] and Weierstrass's Zur Determinantentheorie,[23] both published in 1903, first treated determinants axiomatically, as opposed to previous more concrete approaches such as the mentioned formula of Cauchy. At that point, determinants were firmly established.Template:SfnpTemplate:Sfnp

Many theorems were first established for small matrices only, for example, the Cayley–Hamilton theorem was proved for 2×2 matrices by Cayley in the aforementioned memoir, and by Hamilton for 4×4 matrices. Frobenius, working on bilinear forms, generalized the theorem to all dimensions (1898). Also at the end of the 19th century, the Gauss–Jordan elimination (generalizing a special case now known as Gauss elimination) was established by Wilhelm Jordan. In the early 20th century, matrices attained a central role in linear algebra,Template:Sfnp partially due to their use in the classification of the hypercomplex number systems of the previous century.Template:Sfnp

The inception of matrix mechanics by Heisenberg, Born and Jordan led to studying matrices with infinitely many rows and columns.Template:Sfnp Later, von Neumann carried out the mathematical formulation of quantum mechanics, by further developing functional analytic notions such as linear operators on Hilbert spaces, which, very roughly speaking, correspond to Euclidean space, but with an infinity of independent directions.Template:Sfnp

Other historical usages of the word "matrix" in mathematics

The word has been used in unusual ways by at least two authors of historical importance.

Bertrand Russell and Alfred North Whitehead in their Principia Mathematica (1910–1913) use the word "matrix" in the context of their axiom of reducibility. They proposed this axiom as a means to reduce any function to one of lower type, successively, so that at the "bottom" (0 order) the function is identical to its extension:[24]

<templatestyles src="Template:Blockquote/styles.css" />

Let us give the name of matrix to any function, of however many variables, that does not involve any apparent variables. Then, any possible function other than a matrix derives from a matrix using generalization, that is, by considering the proposition that the function in question is true with all possible values or with some value of one of the arguments, the other argument or arguments remaining undetermined.

Script error: No such module "Check for unknown parameters".

For example, a function Φ(x, y)Script error: No such module "Check for unknown parameters". of two variables Template:Mvar and Template:Mvar can be reduced to a collection of functions of a single variable, such as Template:Mvar, by "considering" the function for all possible values of "individuals" Template:Mvar substituted in place of a variable Template:Mvar. And then the resulting collection of functions of the single variable Template:Mvar, that is, ai: Φ(ai, y)Script error: No such module "Check for unknown parameters"., can be reduced to a "matrix" of values by "considering" the function for all possible values of "individuals" biScript error: No such module "Check for unknown parameters". substituted in place of variable Template:Mvar: bjai:ϕ(ai,bj).

Alfred Tarski in his 1941 Introduction to Logic used the word "matrix" synonymously with the notion of truth table as used in mathematical logic.Template:Sfnp

See also

Script error: No such module "Portal".

Notes

<templatestyles src="Reflist/styles.css" />

  1. a b "A matrix having at least one dimension equal to zero is called an empty matrix", MATLAB Data Structures Script error: No such module "webarchive".
  2. For example, for Template:Tmath, see Script error: No such module "Footnotes"., p. 48; for Template:Tmath, see Script error: No such module "Footnotes"., p. 50.
  3. Script error: No such module "citation/CS1"..
  4. Script error: No such module "Footnotes".. Note however that Greub follows a transposed convention of representing a transformation by multiplying a row vector by a matrix, rather than multiplying a matrix by a column vector, leading to the reversed order for the two matrices in the product that represents a composition.
  5. Script error: No such module "citation/CS1".
  6. Eigen means "own" in German and in Dutch. See Wiktionary.
  7. Additionally, the group must be closed in the general linear group.
  8. See any reference in representation theory or group representation.
  9. See the item "Matrix" in Itô 1987.
  10. "Not much of matrix theory carries over to infinite-dimensional spaces, and what does is not so useful, but it sometimes helps." Halmos 1982, p. 23, Chapter 5.
  11. "Empty Matrix: A matrix is empty if either its row or column dimension is zero", Glossary Script error: No such module "webarchive"., O-Matrix v6 User Guide
  12. The notation of empty matrix is used differently from some sources like Template:Harvp use 00×n, resembling the zero matrix; Template:Harvp use 0×n.
  13. Lang 1987, Ch. XVI.5. For a more advanced, and more general statement see Lang 1969, Ch. VI.2.
  14. Šolin 2005, Ch. 2.5. See also stiffness method.
  15. Script error: No such module "citation/CS1".
  16. Conrey 2007
  17. Zabrodin, Brézin & Kazakov et al. 2006
  18. Shen, Crossley & Lun 1999 cited by Bretscher 2005, p. 1
  19. Script error: No such module "citation/CS1".
  20. Script error: No such module "citation/CS1".
  21. Although many sources state that J. J. Sylvester coined the mathematical term "matrix" in 1848, Sylvester published nothing in 1848. (For proof that Sylvester published nothing in 1848, see Script error: No such module "Footnotes".. His earliest use of the term "matrix" occurs in 1850 in J. J. Sylvester (1850) "Additions to the articles in the September number of this journal, "On a new class of theorems," and on Pascal's theorem," The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 37: 363-370. From page 369: "For this purpose, we must commence, not with a square, but with an oblong arrangement of terms consisting, suppose, of m lines and n columns. This does not in itself represent a determinant, but is, as it were, a Matrix out of which we may form various systems of determinants ... "
  22. Kronecker 1897
  23. Weierstrass 1915, pp. 271–286
  24. Whitehead, Alfred North; and Russell, Bertrand (1913) Principia Mathematica to *56, Cambridge at the University Press, Cambridge UK (republished 1962) cf page 162ff.

Script error: No such module "Check for unknown parameters". <templatestyles src="Reflist/styles.css" />

Script error: No such module "Check for unknown parameters".

References

Mathematical references

<templatestyles src="Refbegin/styles.css" />

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".}
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1"..
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

Physics references

<templatestyles src="Refbegin/styles.css" />

  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

Historical references

<templatestyles src="Refbegin/styles.css" />

  • Script error: No such module "citation/CS1"., reprint of the 1907 original edition
  • Script error: No such module "citation/CS1".; reprinted in The collected mathematical papers of Arthur Cayley, vol. II, Cambridge University Press, 1889, pp. 475–496.
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".; reprint of 1946 corrected printing, Dover Publications, 1995, Template:ISBN
  • Script error: No such module "citation/CS1".

Further reading

  • Script error: No such module "Template wrapper".
  • Script error: No such module "citation/CS1".
  • Script error: No such module "citation/CS1".

External links

Script error: No such module "Sister project links".Script error: No such module "Check for unknown parameters".

Script error: No such module "Navbox".

Template:Tensors Template:Authority control