| Line 1: |
Line 1: |
| | ''For the 1999 film, see [[The Matrix]].'' | | ''For the 1999 film, see [[The Matrix]].'' |
| | | | |
| − | A '''matrix''' (pl.: "matrices," [[Latin]] origin) is a complex ordering, in deliberate fashion, of [[numeral|numerals]]. In [[mathematics]], a "matrix" is a regular grid of numbers, which may be manipulated and solved through intermediate-level [[algebra]]. Matrix algebra is usually taught in [[sophomore]] [[high school]] level mathematics. | + | A '''matrix''' (pl.: "matrices," [[Latin]] origin) is a complex ordering, in deliberate fashion, of [[numeral]]s. In [[mathematics]], a "matrix" is a regular grid of numbers, which may be manipulated and solved through intermediate-level [[algebra]]. [[Matrix algebra]] is usually taught in [[sophomore]] [[high school]] level mathematics. |
| | | | |
| | More formally, a matrix is an example of a rank-2 [[tensor]]. | | More formally, a matrix is an example of a rank-2 [[tensor]]. |
| Line 11: |
Line 11: |
| | | | |
| | ===Addition of matrices=== | | ===Addition of matrices=== |
| − | For example, to add two matrices, one would add their respective elements, thus:
| + | To add two matrices, one would add their respective elements. For example: |
| | | | |
| | <math>\begin{bmatrix} | | <math>\begin{bmatrix} |
| Line 36: |
Line 36: |
| | | | |
| | ===Multiplication of matrices=== | | ===Multiplication of matrices=== |
| − | To multiply two matrices, one uses the rule "go along the rows and down the columns". This is best illustrated by a specific example: a matrix times a vector: | + | To multiply two matrices, use the rule for finding the product of two matrices: |
| | | | |
| − | <math>\begin{bmatrix} | + | <math> |
| − | a & b \\
| + | (AB)_{ij}=\sum_k A_{ik}B_{kj} |
| − | c & d
| |
| − | \end{bmatrix} \begin{bmatrix}
| |
| − | e \\ f
| |
| − | \end{bmatrix}=\begin{bmatrix}
| |
| − | ae+bf \\
| |
| − | ce+df \end{bmatrix}
| |
| | </math> | | </math> |
| | | | |
| − | It is important to note that matrix multiplication is not commutative: in general, <math>AB \neq BA</math> for two matrices <math>A</math> and <math>B</math>. This has important consequences in [[quantum mechanics]].
| + | However, not every pair of matrices can be multiplied. In order for matrices <math>A</math> and <math>B</math> to be compatible for multiplication, the number of ''columns'' in <math>A</math> must equal the number of ''rows'' in <math>B</math>. If <math>A</math> is an <math>m \times n</math> matrix and <math>B</math> is an <math>n \times p</math> matrix, the product matrix <math>AB</math> will have <math>m</math> rows and <math>p</math> columns. |
| | | | |
| − | To see why matrix multiplication works the way it does, we will use [[suffix notation]]. Consider first forming the product of two matrices, <math>AB</math>, which is itself a matrix. Then form the product <math>ABx</math>. Matrix multiplication is associative, so we can consider this as either <math>(AB)x</math> or <math>A(Bx)</math>. In suffix notation,
| + | Matrix multiplication is [[associativity|associative]]. However, matrix multiplication is ''not'' [[commutativity|commutative]]. That is, it is possible for <math>AB \neq BA</math>. |
| | | | |
| − | <math> | + | The <math>n \times n</math> [[identity matrix]] <math>I_n</math> satisfies the property: |
| − | \sum_j(AB)_{ij}x_j = \sum_k A_{ik}(Bx)_k=\sum_{j,k}A_{ik}B_{kj}x_j
| + | <center><math>AI_n = I_n A = A</math></center> |
| − | </math> | + | for all <math>n \times n</math> matrices <math>A</math>. |
| − | The vector <math>x</math> is arbitrary, so we can therefore deduce the rule for finding the product of two matrices:
| + | |
| | + | Moreover, every square matrix <math>A</math> with nonzero [[determinant]] has an inverse matrix <math>B</math> such that |
| | + | <center><math>AB = BA = I_n</math></center> |
| | | | |
| − | <math> | + | This means that for every positive integer <math>n</math>, the set of all <math>n \times n</math> matrices with nonzero determinant form a [[group]] under matrix multiplication. This group is known as the [[general linear group]] <math>GL_{n}(\mathbb{R})</math>. |
| − | (AB)_{ij}=\sum_k A_{ik}B_{kj}
| |
| − | </math> | |
| | | | |
| | ===Matrix concepts=== | | ===Matrix concepts=== |
| Line 80: |
Line 74: |
| | | | |
| | *[[Basis]] | | *[[Basis]] |
| − | *[[Diagonalizeable]] | + | *[[Diagonalizable]] |
| | *[[Eigenspace]] | | *[[Eigenspace]] |
| | *[[Eigenvalue]] | | *[[Eigenvalue]] |
| Line 96: |
Line 90: |
| | *[[Resultant]] | | *[[Resultant]] |
| | *[[Span]] | | *[[Span]] |
| − | *[[Systems of linear equations]] | + | *[[Linear equations]] |
| | *[[Transcriptor]] | | *[[Transcriptor]] |
| | *[[Wronskian]] | | *[[Wronskian]] |
| | | | |
| − | [[Category:Linear algebra]] | + | [[Category:Linear Algebra]] |
| | [[Category:Computers]] | | [[Category:Computers]] |