Matrix

A matrix is a rectangular array of numbers (or symbols or expressions) arranged in rows and columns.

β”Œ       ┐
β”‚ 1 2 3 β”‚
β”‚ Β΅ βˆ‘ βˆ‚ β”‚
β””       β”˜

The dimensions of this matrix are 2x3 ("two by three"). In notations concerning matrices, the rows are always first, the columns last.

Individual items in an nΓ—m matrix A, denoted a[i,j] (i <= n, j <= m) are called its elements or entries.

Identity matrix

Identity matrix is a square matrix in which all the elements of the main (major, principal, leading) diagonal are ones and all other elements are zeros.

               β”Œ     ┐   β”Œ       ┐
IΒΉ = 1 = IΒ² =  β”‚ 1 0 β”‚ = β”‚ 1 0 0 β”‚ = ...
               β”‚ 0 1 β”‚   β”‚ 0 1 0 β”‚
               β””     β”˜   β”‚ 0 0 1 β”‚
                         β””       β”˜

The effect of multiplying a given matrix by an identity matrix is to leave the given matrix unchanged.

Last updated