Open In App

Types of Matrices

Last Updated : 03 Jul, 2025
Summarize
Comments
Improve
Suggest changes
Share
Like Article
Like
Report

A matrix is a rectangular array of numbers arranged in rows and columns. Each element in the matrix is identified by its position, which is denoted as "aij"​, where "i" is the row number and "j" is the column number of the element.

A matrix is typically represented as [A]m×n​, where m is the number of rows and n is the number of columns. Thus, the element of the matrix at the i-th row and j-th column can be represented as aij​.

In linear algebra, matrices can be classified into various types based on their properties, such as the values of their elements, as well as their order (dimensions).

Below is a visual representation of the different types of matrices, which will be explored in greater detail in this article.


The different types of matrices are mentioned below, let's learn about the types of matrices in detail.

Singleton Matrix

A matrix that has only one element is called a singleton matrix. In this type of matrix number of columns and the number of rows is equal to 1. A singleton matrix is represented as [a]1⨯1.

Example of a Singleton Matrix

singleton
Singleton Matrix

In the above example of the Singleton Matrix, there is only one element, 5. Hence, there is only one column and only one row.

Null Matrix

A matrix whose all elements are zero is called a Null Matrix. A null matrix is also called a Zero Matrix because all its elements are zero. An example of a null matrix is mentioned below:

Example of a Zero Matrix

null
Null matrix

In the above example of a null or zero matrix, all the elements are zero. Hence, the given example is a matrix of order 3 ⨯ 3 whose all elements are zero.

Row Matrix

A matrix that contains only one row and any number of columns is known as a row matrix. A row matrix is represented as [a]1⨯n, where 1 is the number of rows and n is the number of columns present in a row matrix. An example of a row matrix is given below.

Example of Row Matrix

Row
Row matrix

In the above example of a row matrix, the number of rows is 1, and the number of columns is 3. Hence, the order of the matrix is 1 ⨯ 3.

Column Matrix

A matrix that contains only one column and any number of rows is called a Column Matrix. A Column Matrix is represented as [a]n⨯1 where n is the number of rows and 1 is the number of columns. An example of a column matrix is given below:

Example of Column Matrix

COLUMM
Column Matrix

In the above example of a column matrix, the number of rows is 4 and the number of columns is 1, thus making it a matrix of order 4 ⨯ 1.

Horizontal Matrix

A matrix in which the number of rows is lower than the number of columns is called a Horizontal Matrix.

Example of Horizontal Matrix

Horizontal
Horizontal Matrix

In the above matrix, the number of rows is 2 while the number of columns is 4, thus making it a horizontal matrix.

Vertical Matrix

The matrix in which the number of rows exceeds the number of columns is called a Vertical Matrix. A Vertical matrix is represented as [a]i⨯j where i > j. An example of a Vertical Matrix is mentioned below:

Example of Vertical Matrix

vertical
Vertical Matrix

In the above matrix, the number of rows is 4 while the number of columns is 2 thus making it a Vertical matrix.

Rectangular Matrix

A matrix that does not have an equal number of rows and columns is known as a Rectangular Matrix. A rectangular matrix can be represented as [A]m×n where m ≠ n. An example of a rectangular matrix is mentioned below:

Example of Rectangular Matrix

rectangular
Rectangular Matrix

In the above example, we see that the number of rows is 3 while the number of columns is 4, i.e. both are unequal, thus making it a rectangular matrix. We can say that both horizontal and vertical matrices are examples of rectangular matrices.

Square Matrix

A matrix that has an equal number of rows and an equal number of columns is called a Square Matrix. Generally, the representation used for the square matrix is [A]n×n. An example of a Square Matrix is mentioned below:

Example of aSquare Matrix

square
Square Matrix

In the above example of a Square Matrix, both the number of rows and columns are 3, thus making them seem like a square structure.

Diagonal Matrix

A matrix that has all elements as 0 except diagonal elements is known as a diagonal matrix. A Diagonal Matrix is only possible in the case of a Square Matrix. An example of a Diagonal Matrix is mentioned below:

Example of Diagonal Matrix

Diagonal
Diagonal Matrix

In the above example, the diagonal elements are 8, 4, and 9 and the rest elements are zero.

Scalar Matrix 

A diagonal matrix whose all diagonal elements are non-zero and the same is called a Scalar Matrix. Scalar Matrix is a kind of diagonal matrix where all diagonal elements are the same. Identity Matrix is a special case of Scalar Matrix.

Example of Scalar Matrix

scalar
Scalar Matrix

In the above example, the given matrix is a diagonal matrix whose all diagonal elements are 4, and hence, this is an example of a Scalar Matrix.

Identity Matrix

A diagonal matrix where all the diagonal elements are 1 and all non-diagonal elements are 0 is called an Identity Matrix. The Identity Matrix is called the Unit Matrix. The identity matrix or unit matrix always has an equal number of rows and columns.

Example of Identity Matrix

identity
Identity Matrix

In the above diagonal matrix of order 3 ⨯ 3, all the diagonal elements are 1, and non-diagonal elements are zero. Hence this diagonal matrix is an Identity Matrix.

Triangular Matrix

A square matrix in which the non-zero elements form a triangular below and above the diagonal is called a Triangular Matrix. Based on the triangle formed below or above the diagonal, the triangular matrix is classified as:

  • Upper Triangular Matrix
  • Lower Triangular Matrix

Upper Triangular Matrix

A square matrix in which all the elements below the diagonal are zero and the elements from the diagonal and above are non-zero elements is called an Upper Triangular Matrix. In an Upper Triangular Matrix, the non-zero elements form a triangular-like shape.

Example of Upper Triangular Matrix

upper
Triangular Matrix


In the above example of the Upper Triangular Matrix, all the elements below the diagonal are zero.

Lower Triangular Matrix

A square matrix in which all the elements above the diagonal are zero and the elements from the diagonal and below are non-zero elements is called a Lower Triangular Matrix. In a Lower Triangular Matrix, the non-zero elements form a triangular-like shape from the diagonal and below.

Example of Lower Triangular Matrix

lower
Triangular Matrix

In the above example of the lower triangular matrix, all the elements above the diagonal are zero.

Singular Matrix

A singular matrix is referred to as a square matrix whose determinant is zero and is not invertible.
If det A = 0, a square matrix "A" is said to be singular; otherwise, it is said to be non-singular.

Example of Singular Matrix

singular
Singular Matrix


⇒ |A| = 3(12 × 6 - 18 × 4) - 6(6 × 6 - 18 × 2) + 9(6 × 4 - 12 × 2)
⇒ |A| = 3(72 - 72) - 6(36 - 36) + 9(24 - 24)
⇒ |A| = 3 × 0 - 6 × 0 + 9 × 0 = 0

Non Singular Matrix

A Non-Singular matrix is defined as a square matrix whose determinant is not equal to zero and is invertible.

Example of a Non-Singular Matrix

non
Non-Singular Matrix


⇒ |A| = 8 × 1 - 9 × 5 = 8 - 45 = -37

Symmetric Matrix

A square matrix "A" of any order is defined as a symmetric matrix if the transpose of the matrix is equal to the original matrix itself, i.e., AT = A.

Example of Symmetric Matrix

symmetric
Symmetric Matrix


Skew Symmetric Matrix

A square matrix "A" of any order is defined as a skew-symmetric matrix if the transpose of the matrix is equal to the negative of the original matrix itself, i.e., AT = -A.

Example of Skew Symmetric Matrix

skew
Symmetric Matrix

Orthogonal Matrix

A square matrix whose transpose is equal to its inverse is called Orthogonal Matrix. In an Orthogonal Matrix if AT = A-1 then AAT = I where I is the Identity Matrix.

Example of Orthogonal Matrix

org
Orthogonal Matrix

Idempotent Matrix

An idempotent matrix is a special type of square matrix that remains unchanged when multiplied by itself, i.e., A2 = A.

Example of Idempotent Matrix

idem
Idempotent Matrix

Nilpotent Matrix

A Nilpotent is a square matrix that when raised to some positive power results in a zero matrix. The least power let's say 'p' for which the matrix yields zero matrices, then it is called the Nilpotent Matrix of power 'p'.

Example of Nilpotent Matrix

Nilpotent
Nilpotent Matrix

Hence, A is a Nilpotent Matrix of index 3.

Periodic Matrix

A periodic matrix is a square matrix that exhibits periodicity, meaning there exists a positive integer p such that when the matrix is raised to the power p+1, it equals the original matrix (Ap+1 = A). If p = 1 then A2 = A it means A is an Idempotent Matrix. Thus we can say that the Idempotent Matrix is a case of the Periodic Matrix.

Example of Periodic Matrix

periodic
Periodic Matrix

The above square matrix is a Periodic Matrix of Period 2, where p = 1.

Involuntary Matrix

An involuntary matrix is a special type of square matrix whose inverse is the original matrix itself, i.e., P = P-1, or, in other words, its square is equal to an identity matrix i.e. P2 = I.

Example of Involuntary Matrix

involuntary
Involuntary Matrix

Hermitian Matrix

A complex square matrix is called a Hermitian Matrix if the conjugate transpose of the matrix is equal to the original matrix. In this type of matrix, the diagonal elements must be a real number.

Example of Hermitian Matrix

hermitian
Hermitian Matrix

Skew Hermitian Matrix

A complex square matrix is called a Skew Hermitian Matrix if the conjugate transpose of the matrix is equal to the negative of the original matrix. In this type of matrix, the diagonal elements can be either 0 or a complex number but can not be real numbers other than 0.

Example of Skew Hermitian Matrix

skew
Hermitian Matrix

Boolean Matrix

The matrix which represents the binary relationship and takes 0 and 1 as its element is called a Boolean Matrix.

Example of Boolean Matrix

boolean
Boolean Matrix

Stochastic Matrix

A square matrix represents probability data, meaning that each element is non-negative, and the sum of the elements in each row is equal to 1. Such a matrix is called a stochastic matrix.

Example of Stochastic Matrix

stochastic
Stochastic Matrix

Summary

Different types of matrices in linear algebra along with their representation is given below.


Matrix TypeExample
Singleton Matrix

\begin{bmatrix} 1 \end{bmatrix}

Null Matrix

\mathbf{O} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}

Row Matrix

{R} = \begin{bmatrix} 1 & 2 & 3 \end{bmatrix}

Column Matrix

\mathbf{C} = \begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}

Horizontal Matrix

\mathbf{H} = \begin{bmatrix} 1 & 2 & 3 \end{bmatrix}

Vertical Matrix

\mathbf{V} = \begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}

Rectangular Matrix

\mathbf{A} = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}

Square Matrix

\mathbf{S} = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}

Diagonal Matrix

{D} = \begin{bmatrix} 1 & 0 \\ 0 & 2 \end{bmatrix}

Scalar Matrix

{M} = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}

Identity Matrix

\mathbf{I} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}

Triangular Matrix

\mathbf{T} = \begin{bmatrix} 1 & 2 \\ 0 & 3 \end{bmatrix}

Singular Matrix|A| = 0; determinant is zero
Non-Singular Matrix|A| ≠ 0; determinant is not equal to zero
Symmetric MatrixAT = A; square matrix that remains same when its transpose is taken
Skew-Symmetric MatrixAT = -A; square matrix with transpose equal to negative
Orthogonal MatrixQ QT = ln = QT Q
Idempotent MatrixA*A = A
Nilpotent MatrixAk = 0; where, k ≤ n
Periodic Matrix

A(k+1) = A

Involutory Matrix

A*A = I

Hermitian Matrix

A = \overline{A^{\mathsf{T}}}

Skew Hermitian MatrixIf A is a skew-hermitian matrix, then A* = -A
Boolean Matrix

\mathbf{B} = \begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix}; element is either 0 or 1.

Stochastic Matrix

\mathbf{B} = \begin{bmatrix} 1 & 2.2 \\ 0 & 14 \end{bmatrix}; all elements are non-negative.

Practice Problem Based on Types of Matrix

Question 1. Given the following matrix, is it a Singular or Non-Singular matrix? B = \begin{pmatrix} 5 & 2 \\1 & 2 \end{pmatrix} .

Question 2. Given the matrix A = \begin{pmatrix} 1 & 3 & 0 \\2 & 4 & 1 \\1 & 1 & 2 \end{pmatrix} Is matrix A symmetric or skew-symmetric?

Question 3. Given the matrix A = \begin{pmatrix} 1 & 3 & 0 \\2 & 4 & 1 \\1 & 1 & 2 \end{pmatrix} Find the determinant of matrix A.

Question 4. What type of matrix has its transpose equal to its inverse?

Question 5. What type of matrix has all its elements as zero?

Question 6. Which matrix has the same elements along the diagonal and zero elsewhere?

Answer :-

  1. non-singular.
  2. neither symmetric nor skew-symmetric.
  3. -2.
  4. Orthogonal Matrix.
  5. Null Matrix.
  6. Scalar Matrix.

Next Article

Similar Reads