GO-V.ORG
As seen in

Matrix (mathematics)

For example, represents the element at the second row and first column of the matrix. In mathematics, a matrix ( : matrices) is a rectangular array of numbers or other mathematical objects with elements or entries arranged in rows and columns, usually satisfying certain properties of addition and multiplication. For example, \begin{bmatrix 1 & 9 & -13 \\20 & 5 & -6 \end{bmatrix denotes a matrix with two rows and three columns. This is often referred to as a "two-by-three matrix", a matrix, or a matrix of dimension . In linear algebra, matrices are used as linear maps. In geometry, matrices are used for geometric transformations (for example rotations) and coordinate changes. In numerical... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

. For example, represents the element at the second row and first column of the matrix.]] In mathematics, a matrix ( : matrices) is a rectangular array of numbers or other mathematical objects with elements or entries arranged in rows and columns, usually satisfying certain properties of addition and multiplication. For example, \begin{bmatrix}1 & 9 & -13 \\20 & 5 & -6 \end{bmatrix} denotes a matrix with two rows and three columns. This is often referred to as a "two-by-three matrix", a matrix, or a matrix of dimension . In linear algebra, matrices are used as linear maps. In geometry, matrices are used for 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. Also, the eigenvalues of a square matrix are the roots of its characteristic polynomial, \det(\lambda I - A) . 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. \mathbf{A} = \begin{bmatrix} -1.3 & 0.6 \\ 20.4 & 5.5 \\ 9.7 & -6.2 \end{bmatrix}. The numbers (or other objects) 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. \mathbf{A} = \begin{bmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} \end{bmatrix} = \begin{pmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} \end{pmatrix}. This may be abbreviated by writing only a single generic term, possibly along with indices, as in \mathbf{A} = \left(a_{ij}\right), \quad \left[ a_{ij}\right], \quad \text{or} \quad \left(a_{ij}\right)_{1\leq i\leq m, \; 1\leq j\leq n} or \mathbf{A}=(a_{i,j})_{1\leq i,j\leq n} in the case that . Matrices are usually symbolized using upper-case letters (such as {\mathbf{A}} in the examples above), while the corresponding lower-case letters, with two subscript indices (e.g., , or ), represent the entries. 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 {{tmath|1= \underline{\underline{A} } }}. The entry in the th row and th column of a matrix is sometimes referred to as the {i,j} or (i,j) entry of the matrix, and commonly denoted by a_{i,j} or . Alternative notations for that entry are {\mathbf{A}[i,j]} and . For example, the (1,3) entry of the following matrix \mathbf{A} is (also denoted , , \mathbf{A}[1,3] or {{tmath|1= {\mathbf{A} }_{1,3} }}): \mathbf{A}=\begin{bmatrix} 4 & -7 & \color{red}{5} & 0 \\ -2 & 0 & 11 & 8 \\ 19 & 1 & -3 & 12 \end{bmatrix} Sometimes, the entries of a matrix can be defined by a formula such as . For example, each of the entries of the following matrix \mathbf{A} is determined by the formula . \mathbf A = \begin{bmatrix} 0 & -1 & -2 & -3\\ 1 & 0 & -1 & -2\\ 2 & 1 & 0 & -1 \end{bmatrix} 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 {\mathbf{A}}=[i-j] or . If matrix size is , the above-mentioned formula f(i,j) is valid for any i=1,\dots,m and any . This can be specified separately or indicated using as a subscript. For instance, the matrix \mathbf{A} above is , and can be defined as {\mathbf{A}}=[i-j] (i=1,2,3; j=1,\dots,4) or . Some programming languages utilize doubly subscripted arrays (or arrays of arrays) to represent an { -by- matrix. Some programming languages start the numbering of array indexes at zero, in which case the entries of an matrix are indexed by 0\leq i \leq m-1 and . This article follows the more common convention in mathematical writing where enumeration starts from . The set of all -by- real matrices is often denoted , or . The set of all matrices over another field, or over a ring , is similarly denoted , or . If , such as in the case of square matrices, one does not repeat the dimension: , or . Often, , or , is used in place of . \begin{align} (\bold A + \bold B)_{i, j} = \bold A_{i,j} + \bold B_{i,j}, \quad 1 \leq i \leq m, \quad 1 \leq j \leq n. \\ (\bold A - \bold B)_{i, j} = \bold A_{i,j} - \bold B_{i,j}, \quad 1 \leq i \leq m, \quad 1 \leq j \leq n. \end{align} For example, \begin{bmatrix} 1 & 3 & 1 \\ 1 & 0 & 0 \end{bmatrix} + \begin{bmatrix} 0 & 0 & 5 \\ 7 & 5 & 0 \end{bmatrix} = \begin{bmatrix} 1+0 & 3+0 & 1+5 \\ 1+7 & 0+5 & 0+0 \end{bmatrix} = \begin{bmatrix} 1 & 3 & 6 \\ 8 & 5 & 0 \end{bmatrix} 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: . (c\bold A)_{i,j} = c \cdot \bold A_{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". For example: 2 \cdot \begin{bmatrix} 1 & 8 & -3 \\ 4 & -2 & 5 \end{bmatrix} = \begin{bmatrix} 2 \cdot 1 & 2\cdot 8 & 2\cdot -3 \\ 2\cdot 4 & 2\cdot -2 & 2\cdot 5 \end{bmatrix} = \begin{bmatrix} 2 & 16 & -6 \\ 8 & -4 & 10 \end{bmatrix} Matrix subtraction is consistent with composition of matrix addition with scalar multiplication by : \mathbf A - \mathbf B = \mathbf A +(-1)\cdot \mathbf B \left( \bold A^{\rm T} \right)_{i,j} = \bold A_{j,i}. For example: \begin{bmatrix} 1 & 2 & 3 \\ 0 & -6 & 7 \end{bmatrix}^\mathrm{T} = \begin{bmatrix} 1 & 0 \\ 2 & -6 \\ 3 & 7 \end{bmatrix} The transpose is compatible with addition and scalar multiplication, as expressed by and . Finally, . [\mathbf{AB}]_{i,j} = a_{i,1}b_{1,j} + a_{i,2}b_{2,j} + \cdots + a_{i,n}b_{n,j} = \sum_{r=1}^n a_{i,r}b_{r,j}, where and . For example, the underlined entry 2340 in the product is calculated as \begin{align} \begin{bmatrix} \underline{2} & \underline 3 & \underline 4 \\ 1 & 0 & 0 \\ \end{bmatrix} \begin{bmatrix} 0 & \underline{1000} \\ 1 & \underline{100} \\ 0 & \underline{10} \\ \end{bmatrix} &= \begin{bmatrix} 3 & \underline{2340} \\ 0 & 1000 \\ \end{bmatrix}. \end{align} Matrix multiplication satisfies the rules (associativity), and as well as (left and right distributivity), whenever the size of the matrices is such that the various products are defined. The product may be defined without being defined, namely if and are and matrices, respectively, and Even if both products are defined, they generally need not be equal, that is: \bold{AB} \ne \bold{BA}. 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. An example of two matrices not commuting with each other is: \begin{bmatrix} 1 & 2\\ 3 & 4\\ \end{bmatrix} \begin{bmatrix} 0 & 1\\ 0 & 0\\ \end{bmatrix}= \begin{bmatrix} 0 & 1\\ 0 & 3\\ \end{bmatrix}, whereas \begin{bmatrix} 0 & 1\\ 0 & 0\\ \end{bmatrix} \begin{bmatrix} 1 & 2\\ 3 & 4\\ \end{bmatrix}= \begin{bmatrix} 3 & 4\\ 0 & 0\\ \end{bmatrix}. 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. They arise in solving matrix equations such as the Sylvester equation. === Submatrix === A submatrix of a matrix is a matrix obtained by deleting any collection of rows or columns or both. For example, from the following matrix, we can construct a submatrix by removing row 3 and column 2: \mathbf{A}=\begin{bmatrix} 1 & \color{red}{2} & 3 & 4 \\ 5 & \color{red}{6} & 7 & 8 \\ \color{red}{9} & \color{red}{10} & \color{red}{11} & \color{red}{12} \end{bmatrix} \rightarrow \begin{bmatrix} 1 & 3 & 4 \\ 5 & 7 & 8 \end{bmatrix}. The minors and cofactors of a matrix are found by computing the determinant of certain submatrices. 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. Other authors define a principal submatrix as one in which the first rows and columns, for some number , are the ones that remain; this type of submatrix has also been called a leading principal submatrix. \mathbf{Ax} = \mathbf{b} is equivalent to the system of linear equations \begin{align} a_{1,1}x_1 + a_{1,2}x_2 + &\cdots + a_{1,n}x_n = b_1 \\ &\ \ \vdots \\ a_{m,1}x_1 + a_{m,2}x_2 + &\cdots + a_{m,n}x_n = b_m \end{align} Using matrices, this can be solved more compactly than would be possible by writing out all the equations separately. If and the equations are independent, then this can be done by writing \mathbf{x} = \mathbf{A}^{-1} \mathbf{b} where is the inverse matrix of . If has no inverse, solutions—if any—can be found using its generalized inverse. Matrices and matrix multiplication reveal their essential features when related to linear transformations, also known as linear maps. A real -by- matrix gives rise to a linear transformation \R^n \to \R^m mapping each vector in to the (matrix) product , which is a vector in Conversely, each linear transformation f: \R^n \to \R^m arises from a unique -by- matrix : explicitly, the -entry of is the th coordinate of , where is the unit vector with in the th position and elsewhere. The matrix is said to represent the linear map , and is called the transformation matrix of . For example, the matrix \mathbf{A} = \begin{bmatrix} a & c\\b & d \end{bmatrix} can be viewed as the transform of the unit square into a parallelogram with vertices at , , , and . The parallelogram pictured at the right is obtained by multiplying with each of the column vectors , , , and in turn. These vectors define the vertices of the unit square. The following table shows several real matrices with the associated linear maps of . The original is mapped to the grid and shapes. The origin is marked with a black point. Under the 1-to-1 correspondence between matrices and linear maps, matrix multiplication corresponds to composition of maps: if a -by- matrix represents another linear map , then the composition is represented by since (g \circ f)(\bold x) = g(f(\bold x)) = g(\bold{Ax}) = \bold B(\bold {Ax}) = (\bold{BA}) \bold x. The last equality follows from the above-mentioned associativity of matrix multiplication. The rank of a matrix 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. Equivalently it is the dimension of the image of the linear map represented by . 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. \begin{align} \mathbf{I}_1 &= \begin{bmatrix} 1 \end{bmatrix}, \\[4pt] \mathbf{I}_2 &= \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}, \\[4pt] \vdots& \\[4pt] \mathbf{I}_n &= \begin{bmatrix} 1 & 0 & \cdots & 0 \\ 0 & 1 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & 1 \end{bmatrix} \end{align} It is a square matrix of order , and also a special kind of diagonal matrix. It is called an identity matrix because multiplication with it leaves a matrix unchanged: \bold{AI}_n = \bold I_m \bold A = \bold A for any -by- matrix . A scalar multiple of an identity matrix is called a scalar matrix. \bold{AB} = \bold{BA} = \bold I_n, where is the identity matrix with for each entry on the main diagonal and elsewhere. If exists, it is unique and is called the inverse matrix of , denoted . 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. f(\bold x) = \bold x^{\rm T} \bold{Ax} has a positive value for every nonzero vector in . If yields only negative values then is negative-definite; if does produce both negative and positive values then is indefinite. If the quadratic form 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. 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. 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, 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 : B_{\bold A} (\bold x, \bold y) = \bold x^{\rm T} \bold{Ay}. In the case of complex matrices, the same terminology and results apply, with symmetric matrix, quadratic form, bilinear form, and transpose replaced respectively by Hermitian matrix, Hermitian form, sesquilinear form, and conjugate transpose . \mathbf{A}^\mathrm{T}=\mathbf{A}^{-1}, \, which entails \mathbf{A}^\mathrm{T} \mathbf{A} = \mathbf{A} \mathbf{A}^\mathrm{T} = \mathbf{I}_n, where is the identity matrix of size . An orthogonal matrix is necessarily invertible (with inverse ), unitary ( ), and normal ( ). The determinant of any orthogonal matrix is either or . A special orthogonal matrix is an orthogonal matrix with determinant . As a linear transformation, every orthogonal matrix with determinant is a pure rotation without reflection, i.e., the transformation preserves the orientation of the transformed structure, while every orthogonal matrix with determinant reverses the orientation, i.e., is a composition of a pure reflection and a (possibly null) rotation. The identity matrices have determinant and are pure rotations by an angle zero. The complex analog of an orthogonal matrix is a unitary matrix. \operatorname{tr}(\mathbf{AB}) =\operatorname{tr}(\mathbf{BA}). This is immediate from the definition of matrix multiplication: \operatorname{tr}(\mathbf{AB}) = \sum_{i=1}^m \sum_{j=1}^n a_{ij} b_{ji} = \operatorname{tr}(\mathbf{BA}). 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, , in general. Also, the trace of a matrix is equal to that of its transpose, that is, \operatorname{tr}(\bold A) = \operatorname{tr}(\bold A^{\rm T}). \det \begin{bmatrix}a&b\\c&d\end{bmatrix} = ad-bc. The determinant of matrices involves six terms (rule of Sarrus). The more lengthy Leibniz formula generalizes these two formulae to all dimensions. The determinant of a product of square matrices equals the product of their determinants: \det(\bold{AB}) = \det(\bold A) \cdot \det(\bold B), or using alternate notation: |\bold{AB}| = |\bold A| \cdot |\bold B|. 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 . 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. This expansion can be used for a recursive definition of determinants (taking as starting case the determinant of a matrix, which is its unique entry, or even the determinant of a matrix, which is ), 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. A number \lambda and a nonzero vector satisfying \mathbf{A} \mathbf{v} = \lambda \mathbf{v} are called an eigenvalue and an eigenvector of , respectively. The number is an eigenvalue of an matrix if and only if is not invertible, which is equivalent to \det(\mathbf{A}-\lambda \mathbf{I}) = 0. The polynomial in an indeterminate given by evaluation of the determinant is called the characteristic polynomial of . It is a monic polynomial of degree . Therefore the polynomial equation has at most different solutions, that is, eigenvalues of the matrix. They may be complex even if the entries of are real. According to the Cayley–Hamilton theorem, , that is, the result of substituting the matrix itself into its characteristic polynomial yields the zero matrix. \bold A^{-1} = \operatorname{adj}(\bold A) / \det(\bold A). 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. \bold A^n = (\bold{VDV}^{-1})^{n} = \bold{VDV}^{-1} \bold{VDV}^{-1} \ldots \bold{VDV}^{-1} = \bold{VD}^n \bold V^{-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 instead. This can be used to compute the matrix exponential , a need frequently arising in solving linear differential equations, matrix logarithms and square roots of matrices. To avoid numerically ill-conditioned situations, further algorithms such as the Schur decomposition can be employed. 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 or , for example rational numbers or finite fields. For example, coding theory makes use of matrices over finite fields. 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. Alternatively one can consider only matrices with entries in an algebraically closed field, such as from the outset. Matrices whose entries are polynomials, and more generally, matrices with entries in a ring are widely used in mathematics. 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 (also denoted ) of all square -by- matrices over is a ring called matrix ring, isomorphic to the endomorphism ring of the left -module . If the ring is commutative, that is, its multiplication is commutative, then the ring is also an associative algebra over . The determinant of square matrices over a commutative ring can still be defined using the Leibniz formula; such a matrix is invertible if and only if its determinant is invertible in , generalizing the situation over a field , where every nonzero element is invertible. Matrices over superrings are called supermatrices. Matrices do not always have all their entries in the same ring – 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. f(\mathbf{v}_j) = \sum_{i=1}^m a_{i,j} \mathbf{w}_i\qquad\mbox{for}\ j=1,\ldots,n. In other words, column of expresses the image of in terms of the basis vectors of ; thus this relation uniquely determines the entries of the matrix . The matrix depends on the choice of the bases: different choices of bases give rise to different, but equivalent matrices. Many of the above concrete notions can be reinterpreted in this light, for example, the transpose matrix describes the transpose of the linear map given by , concerning the dual bases. 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. More generally, the set of matrices can be used to represent the -linear maps between the free modules and for an arbitrary ring with unity. When composition of these maps is possible, and this gives rise to the matrix ring of matrices representing the endomorphism ring of . \bold M^{\rm T} \bold M = \bold I, form the orthogonal group. Every orthogonal matrix has determinant or . Orthogonal matrices with determinant form a group called the special orthogonal group. Every finite group is isomorphic to a matrix group, as one can see by considering the regular representation of the symmetric group. General groups can be studied using matrix groups, which are comparatively well understood, using representation theory. \det\nolimits_+M=\sum_{\sigma\in\operatorname{Alt}(n)}M_{1\sigma(1)}\cdots M_{n\sigma(n)} \det\nolimits_-M=\sum_{\sigma\in\operatorname{Sym}(n)\setminus\operatorname{Alt}(n)}M_{1\sigma(1)}\cdots M_{n\sigma(n)} where the sums are taken over even permutations and odd permutations, respectively. The functor \otimes is distributive over coproducts; i.e., for all object X and a family of objects (Y_i)_{i\in I} in \mathcal C , the canonical \mathcal C -morphisms \coprod_{i\in I}(X\otimes Y_i)\to X\otimes\coprod_{i\in I}Y_i \coprod_{i\in I}(Y_i\otimes X)\to\left(\coprod_{i\in I}Y_i\right)\otimes X are isomorphisms. In particular, the canonical morphisms \varnothing\to X\otimes\varnothing and \varnothing\to\varnothing\otimes X are isomorphisms. Then, the bicategory of \mathcal C -matrices \operatorname{Mat}(\mathcal C) is as follows: The objects are the sets. A 1-morphism M\colon A\to B is a map M\colon A\times B\to\operatorname{Ob}(\mathcal C) ; this is just a matrix over \mathcal C . The composition of 1-morphisms M\colon A\to B and N\colon B\to C , which can be understood as matrix multiplication, is (N\circ M)(a,c)=\coprod_{b\in B}M(a,b)\otimes N(b,c). The identity 1-morphism on A is \operatorname{id}_A(a,b)=\begin{cases} I & a=b \\ \varnothing & a\ne b \end{cases}. A 2-morphism between 1-morphisms M,N\colon A\to B is a family of \mathcal C -morphisms (f_{ab}\colon M(a,b)\to N(a,b))_{(a,b)\in A\times B} . The definition of vertical and horizontal composition of 2-morphisms is natural: the vertical composition is componentwise composition of \mathcal C -morphisms; the horizontal composition is that derived from the functoriality of \otimes and the universal property of coproducts. In general, the bicategory of matrices need not be a strict 2-category. For example, the composition of 1-morphisms may not be associative in the usual strict sense, but only up to coherent isomorphism. a + ib \leftrightarrow \begin{bmatrix} a & -b \\ b & a \end{bmatrix}, 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 quaternions 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. 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. 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. 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. 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. Matrices over a polynomial ring are important in the study of control theory. 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. H(f) = \left [\frac {\partial^2f}{\partial x_i \, \partial x_j} \right ]. (red) of the function , the Hessian matrix \begin{bmatrix} 2 & 0 \\ 0 & -2 \end{bmatrix} is indefinite.]]It encodes information about the local growth behavior of the function: given a critical point , that is, a point where the first partial derivatives \partial f / \partial x_i of 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). Another matrix frequently used in geometrical situations is the Jacobi matrix of a differentiable map . If denote the components of , then the Jacobi matrix is defined as J(f) = \left [\frac {\partial f_i}{\partial x_j} \right ]_{1 \leq i \leq m, 1 \leq j \leq n}. If , and if the rank of the Jacobi matrix attains its maximal value , is locally invertible at that point, by the implicit function theorem. 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. 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. y_i \approx ax_i + b, \quad i = 1, \ldots, N which can be formulated in terms of matrices, related to the singular value decomposition of matrices. 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. a_1 a_2 \cdots a_n \prod_{i where \textstyle\prod denotes the product of the indicated terms. He also showed, in 1829, that the eigenvalues of symmetric matrices are real. 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 and Weierstrass's Zur Determinantentheorie, 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. Many theorems were first established for small matrices only, for example, the Cayley–Hamilton theorem was proved for matrices by Cayley in the aforementioned memoir, and by Hamilton for 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, partially due to their use in the classification of the hypercomplex number systems of the previous century. The inception of matrix mechanics by Heisenberg, Born and Jordan led to studying matrices with infinitely many rows and columns. 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. \forall b_j \forall a_i \colon \phi(a_i, b_j). Alfred Tarski in his 1941 Introduction to Logic used the word "matrix" synonymously with the notion of truth table as used in mathematical logic.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Matrix (mathematics)". 1790774180. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377683304

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·