Matrix Definition

Description of matrices definition with examples

Matrix Definition

A matrix (plural matrices) is a group of mathematical objects in a rectangular arrangement, like the figure below. With these matrices can be calculated in certain ways. For example, by adding or multiplying matrices. This article gives an overview of the different types of matrices.

The dimensions of the matrix are called \(p\) and \(q\).
A \(p ยท q\) - Matrix has \(p\) rows and \(q\) columns.
The position of an element is indicated by a double index. In the term \(a_{ij}\), \(i\) denotes the index of the line and \(j\) the index of the column.
\(\displaystyle A=\begin{bmatrix}1 & 2 & 3 \\ 4 & 5 & 6\end{bmatrix}\)


Square Matrix

A square matrix is called a matrices that split an equal number and have rows.

\(\displaystyle A=\begin{bmatrix}a & b & c \\ d & e & f\\ g & h & i\end{bmatrix}\)


Diagonal Matrix

A diagonal matrix is square and all non-diagonal elements are zero.

\(\displaystyle D=\begin{bmatrix}1 & 0 & 0 \\ 0 & 2 & 0\\ 0 & 0 & 3\end{bmatrix}\)


Identity Matrix or Unit Matrix

An identity matrix or unit matrix is a quadratic matrix whose main diagonal is filled with ones. All other elements are null.

\(\displaystyle I=\begin{bmatrix}1 & 0 & 0 \\ 0 & 1 & 0\\ 0 & 0 & 1\end{bmatrix}\)


Zero Matrix or Null Matrix

A zero matrix or null matrix is a matrix where all elements are zero. Written as \(0_{mn}\).

\(\displaystyle 0_{mn}=\begin{bmatrix}0 & 0 & 0 \\ 0 & 0 & 0\\ 0 & 0 & 0\end{bmatrix}\)
\(\displaystyle 0_{3,3}=\begin{bmatrix}0 & 0 & 0 \\ 0 & 0 & 0\\ 0 & 0 & 0\end{bmatrix}\)
\(\displaystyle 0_{2,3}=\begin{bmatrix}0 & 0 & 0 \\ 0 & 0 & 0\end{bmatrix}\)


Upper Triangular Matrix

An upper triangular matrix has all elements below the diagonal element equal to zero.

\(\displaystyle U=\begin{bmatrix}1 & 2 & 6.5 \\ 0 & 4 & 8\\ 0 & 0 & 10\end{bmatrix}\)


Lower Triangular Matrix

A lower triangular matrix has all elements above the diagonal element equal to zero.

\(\displaystyle U=\begin{bmatrix}1 & 0 & 0 \\ 2 & 4 & 0\\ 3 & 6 & 8\end{bmatrix}\)


Matrices of one column or row are called vectors. Matrices with one column are column vectors. Likewise, matrices with one row are row vectors.

Matrices or vectors may be transpose. That means that the 1st row becomes the 1st column, the 2nd row the 2nd column, etc. The symbol to indicate a transpose is usually a capital superscript \(T\).