If you are wondering how may types of matrices are there, you are in the right place. Here you will find the most important types of matrices in linear algebra, and we explain each type of matrix with its definition and with examples so that you fully understand each one.

Table of Contents

## What are the different types of matrices?

In linear algebra the main types of matrices are:

**Row matrix**: matrix that only has one row.**Column matrix**: matrix that only has one column.**Square matrix**: matrix that has the same number of rows as columns.**Rectangular matrix:**matrix whose number of rows is different from its number of columns.**Transpose of a matrix**: special type of matrix that is obtained by changing the rows of the matrix for its columns.**Triangular matrix**: matrix in which all elements above or below the main diagonal are zero.**Diagonal matrix**: matrix in which all the entries outside the main diagonal are zero.**Scalar matrix**: diagonal matrix in which all the values on the main diagonal are equal.**Identity matrix**: scalar matrix whose values on the main diagonal are 1.**Null matrix**: matrix which all its elements are equal to zero.**Symmetric matrix**: matrix whose transpose is equal to the matrix itself.**Antisymmetric matrix**: matrix whose transpose is equal to its negative.

Of course, there are more types of matrices, but these are the most used and the most important in mathematics. If you are interested in rare types of matrices, you can find any other special type of matrix in our website.

Once we’ve seen a brief definition of each type of matrix, now we are going to explain in detail all these types of matrices with their properties.

### Row matrix

As its own name suggests, a row matrix has only one row. For example

### Column matrix

A column matrix is a matrix that has a single column:

### Transpose of a matrix

The transpose of a matrix is the matrix obtained by **changing its rows for its columns**. This type of matrix is indicated by adding a “T” at the top right of the matrix

Transposed matrices have several interesting properties, so we recommend you to see all the properties of the transpose of a matrix.

### Square matrix

A **square matrix** is a matrix that has the same number of rows as columns.

For example, the following matrix is a square matrix of order 3:

The **main diagonal** of a square matrix are the elements that go from the upper left corner to the lower right corner. On the other hand, the **secondary diagonal** of a square matrix are the elements that go from the lower left corner to the upper right corner.

We recommend you to see all the properties of square matrices, since they are the most used type of matrices and, therefore, they are very important for linear algebra.

### Rectangular matrix

A rectangular matrix is the opposite of a square matrix, that is, its numbers of rows differs from its numbers of columns. For example:

### Triangular matrix

A **triangular matrix** is a matrix in which all the elements above or below the main diagonal are 0.

Triangular matrices are divided into two types: **upper triangular matrices**, whose elements below the main diagonal are zero, and **lower triangular matrices**, whose elements above the main diagonal are zero. To fully understand the differences between them, see more examples of triangular matrices.

** Upper triangular matrix**

**Lower triangular matrix**

### Diagonal matrix

A **diagonal matrix** is a square matrix in which all elements that are not on the main diagonal are zeros. You can see all the properties and more examples of diagonal matrices in this link.

Although these matrices seem very simple because they have many zeros, they are actually very important for mathematics. In fact, there is a procedure to diagonalize a matrix, so diagonalizable matrices are of great importance.

### Scalar matrix

A **scalar matrix** is a diagonal matrix in which all the elements of the main diagonal are equal.

Click here to see more examples of scalar matrices.

### Identity matrix

The **identity matrix**, also called unit matrix, is a diagonal matrix in which all the elements of the main diagonal are 1.

The identity matrix is very useful to do operations since it is a matrix with only ones and zeros. Also, the identity matrix has a lot applications, for example it is used to calculate the inverse of a matrix. We recommend you to see all the properties of the identity matrix so that you can understand how useful it is.

### Null matrix

A **null matrix**, also known as zero matrix, is a matrix in which all its elements are 0:

Although it may seem a useless matrix, it has its utility. Click here to see its applications and all null matrix properties.

### Symmetric matrix

A **symmetric matrix** is a matrix in which the main diagonal is an axis of symmetry.

Due to the properties of symmetric matrices, the result of transposing a symmetric matrix is the matrix itself.

### Antisymmetric matrix

An **antisymmetric matrix**, also known as skew-symmetric matrix, is a matrix in which the main diagonal is filled with zeros and is an axis of antisymmetry.

In the following link you can see all the properties of this type of matrix and more examples of antisymmetric matrices.