matrix

A matrix is a rectangular array of mathematical objects with elements or entries arranged in rows and columns, usually satisfying certain properties of addition and multiplication.

Most commonly, a matrix over a field F is a rectangular array of elements of F. The objects in the matrix are called its entries or its elements.

The horizontal and vertical lines of entries in a matrix are called rows and columns, respectively.
A matrix with m rows and n columns is called an m×n matrix, or m-by-n matrix, where m and n are called its dimensions.

An m×n matrix takes the form

A=(a11a12a1na21a22a2nam1am2amn)

where entry aij is the entry of A in row i and column j.
This can be abbreviated

A=(aij)1im,1jn

Matrices of the same size can be added entrywise:

A+B=(aij)+(bij)=(aij+bij)

or, explicitly,

(a11a12a1na21a22a2nam1am2amn)+(b11b12b1nb21b22b2nbm1bm2bmn)=(a11+b11a12+b12a1n+b1na21+b21a22+b22a2n+b2nam1+bm1am2+bm2amn+bmn)

The product of a matrix with a scalar, i.e. scalar multiplication, is computed by multiplying each element of the matrix by the scalar:

cA=(caij)

or, explicitly,

cA=(ca11ca12ca1nca21ca22ca2ncam1cam2camn)

The transpose of an m×n matrix A is the n×m matrix AT, constructed such that the ith row of A is the ith column of AT and the jth column of A is the jth row of AT:

A=(a11a12a1na21a22a2nam1am2amn), AT=(a11a21an1a12a22an2a1ma2manm)

A matrix A is said to be symmetric if AT=A
A matrix A is said to be skew-symmetric if AT=A


Matrix multiplication of two matrices corresponds to the composition of linear transformations represented by each matrix, and is only defined if the number of columns of the left matrix is equal to the number of rows of the right matrix.

If A is an m×n matrix and B is an n×p matrix, then the matrix product AB is the m×p matrix whose entries are given by the dot product of the corresponding row of A and column of B:

[AB]ij=ai1b1j+a21b2j++ainbnj=k=1naikbkj

where 1im and 1jp.


See also:
linear system

Powered by Forestry.md