Types of Matrix

7 mins read2.8K Views Comment
Vikram
Vikram Singh
Assistant Manager - Content
Updated on Apr 12, 2024 10:47 IST

Matrix is one of the most important topics of linear algebra that has several applications across the domain. In this article, we will discuss different types of matrix such as square matrix, row matrix, column matrix, and many more.

2022_10_Types-of-Matrix.jpg

In Linear Algebra, Matrices are one of the most important topics of mathematics. The application of matrix is not just limited to mathematical solving problems; it has its applications across all the domains such as Data Science, Machine Learning, Cryptography, Wireless Communication, and many more. In this article, we will discuss different types of matrix with examples. In the final section, we will also discuss some special matrices, such as the Idempotent Matrix, Involutory Matrix, and Orthogonal Matrix.

Must Check: Top Math Courses for Data Science

Must Check: Top Data Science Online Courses and Certifications

Table of Content

Recommended online courses

Best-suited Data Science courses for you

Learn Data Science with these high-rated online courses

80 K
4 months
1.18 L
12 months
90 K
24 months
Free
4 weeks
1.24 L
48 months
1.75 L
20 weeks

What is Matrix?

A matrix is a rectangular arrangement of data in rows and columns to form an array.

  • The horizontal arrangement is called a row.
  • A vertical arrangement is called a column.

Notation: Any matrix having m rows and n columns is given by: [A]m x n.

  • Each member of the matrix is called an element of the matrix.
  • Order of a Matrix: If a matrix has m rows and n columns, then it is said to be a matrix of order mn.

Now, moving forward, we will know the different types of matrix.

Types of Matrix

Singleton Matrix

A matrix having only one element is known as a singleton matrix.

  • A= [aij]mn is a singleton if i = j = 1.
  • Example: [1], [0], [9]

Row Matrix

A matrix having only one row is called a row matrix.

  • It can have any number of the column.
  • A = [aij]mn is a row matrix if i = 1 and <= j <= n.
  • Example: A = [1, 2, 3, 4, 5], B = [ -3, -6, -9]

Column Matrix

A matrix having only one column is called a column matrix.

  • It can have any number of rows.
  • A= [aij]mn is a row matrix if 1 <= i <= m and 1.
  • Example: 

Null Matrix/Zero Matrix:

If all the entries of a matrix are zero, it is called a null matrix.

  • It can be a square or rectangular matrix.
  • A = [aij]mn is called a zero matrix if aij 0.
  • Example:

Square Matrix

Any matrix is said to be a square matrix if it has the same number of rows and a same number of columns.

  • A= [aij]mn is a square matrix if m = n.
  • Example:

Note: The vector of values from the diagonal of the matrix from the top left to the bottom right is known as a Principal diagonal. 

Diagonal Matrix

If in a square matrix, all the elements of a principal diagonal are non-zero and all the other entries are zero, then it is called a diagonal matrix.

  • A= [aij]mn is a diagonal matrix if aij = 0 for all i != j (i not equal to j) and for i = j, aij can take any value from real numbers.
  • Example

Note: Null matrix is also a diagonal matrix.

Scalar Matrix

It is a particular case of a diagonal matrix in which all the elements of the diagonal are identical.

  • In simple terms, if all the elements of a diagonal matrix are equal, it is called a scalar matrix.
  • A= [aij]mn is a scalar matrix if aij = 0 for all i != j (i not equal to j) and aij = a for all i = j, where a is a constant

Identity Matrix

It is a particular case of the scalar matrix. If all the non-zero elements of the scalar matrix are equal to 1, then it is termed as an Identity matrix.

  • A= [aij]mn is a scalar matrix if aij = 0 for all i != j (i not equal to j) and aij = 1 for all i = j
  • Example

Triangular Matrix

A square matrix that has all the values in the upper-right or lower left and the remaining values are filled with zero, then such matrices are called Triangular matrix.

These are of two types:

  • Upper Triangular Matrix
  • Lower Triangular Matrix

Note: Zero/Null Matric is also a type of Triangular Matrix.

Upper Triangular Matrix

A square matrix in which all the elements below the principal diagonal are zero is known as a upper triangular matrix.

  • A= [aij]mn is a scalar matrix if aij = 0, when i > j.
  • Example:

Lower Triangular Matrix

A square matrix in which all the elements above the principal diagonal are zero is known as Lower Triangular Matrix.

  • A= [aij]mn is a scalar matrix if aij = 0, when i < j.
  • Example:

 

Symmetric Matrix

A square matrix that is equal to its transpose is called a symmetric matrix, i.e., if A is any square matrix, then A is said to be a symmetric matrix if and only if:

A = AT

Representation:

If A= [aij]mn   is a symmetric matrix, then aij = aji, where:

  • 1<= i <= n, 1 <= j <= n and n belong Natural Number.
  • aij is an element at the position (i, j), which is ith row and jth column.

Example:

Also Read: All About Symmetric Matrix

Skew-Symmetric Matrix

A square matrix that is equal to its transpose is called a symmetric matrix i.e., if A is any square matrix, then A is said to be a symmetric matrix if and only if:

A = -AT 

Representation

If A= [aij]mn   is a symmetric matrix, then aij = – aji, where:

  • 1<= i <= n, 1 <= j <= n and n belong Natural Number.
  • aij is an element at the position (i, j), which is ith row and jth column.

Example:

Special Matrices

Idempotent Matrix

A square matrix A is said to be Idempotent if:

A2 = A

Example:

Involutory Matrix

A square matrix A is said to be Involutory if:

A2 = I

where I is an identity matrix.

Example:

Orthogonal Matrix

A square matrix A is said to be an orthogonal matrix if it satisfies the following:

A.AT = I

where  AT  is the transpose of a matrix.

and I is an Identity matrix. 

Example: 

Conclusion

In this article, we have discussed different types of matrices, such as Singleton Matrix, Row Matrix, Column Matrix, Null Matrix, Square Matrix, Diagonal Matrix, Triangular Matrix, Symmetric Matrix, and Skew-Symmetric Matrix.
Hope you will like this article.
Kee Learning!!
Keep Sharing!!

3 Important Types of Vector Norm Used in Machine Learning
Transpose of a Matrix
All About Skew Symmetric Matrix
Difference between Eigenvalue and Eigenvector
All about Symmetric Matrix
Difference Between Transportation Problem and Assignment Problem
Understanding the Complexities of Zero: Rational or Irrational?
How Vectors are Used in Machine Learning
Maxima and Minima: Definition, Types and Tests

All About Skew Symmetric Matrix

All about Symmetric Matrix

Matrix Multiplication in C

Types of Matrix

Adjacency Matrix For Graphs

Lower Triangular Matrix: Definition, Example, and Properties

Transpose of a Matrix

Confusion Matrix in Machine Learning

Diagonal Matrix: Definition, Example, and Properties

Identity Matrix: Definition, Examples, and Properties

Why, How, and When to Adopt a Matrix Organizational Structure

Matrix Multiplication: A Beginner’s Guide to Understand and Implement

Upper Triangular Matrix: Definition, Example, and Properties

How to Calculate the Determinant of a Matrix?

FAQs

What is a matrix?

A matrix is a rectangular array of numbers, symbols, or expressions arranged in rows and columns. It is used to represent and manipulate data in various fields such as mathematics, computer science, physics, and engineering.

What are the types of matrices depending on dimension?

On the basis of dimensions, matrices are classified into: Row Matrix, Column Matrix, Rectangular Matrix, and Square Matrix.

What are the types of matrices depending on elements?

On the basis of elements, matrices are classified into: Zero Matrix, Identity Matrix, Diagonal Matrix, Scalar Matrix, Symmetric Matrix, Skew-Symmetric Matrix, and Triangular Matrix (Upper and Lower).

What is a Diagonal Matrix?

If in a square matrix, all the elements of a principal diagonal are non-zero and all the other entries are zero, then it is called a diagonal matrix.

What is a Scalar Matrix?

It is a particular case of a diagonal matrix in which all the elements of the diagonal are identical. In simple terms, if all the elements of a diagonal matrix are equal, it is called a scalar matrix.

What is a Triangular Matrix?

A square matrix that has all the values in the upper-right or lower left and the remaining values are filled with zero, then such matrices are called a Triangular matrix. There are of two types: Upper Triangular Matrix Lower Triangular Matrix

What is an Orthogonal Matrix?

A square matrix with real numbers or elements is said to be an orthogonal matrix if its transpose is equal to its inverse matrix. Or we can say when the product of a square matrix and its transpose gives an identity matrix, then the square matrix is known as an orthogonal matrix.

About the Author
author-image
Vikram Singh
Assistant Manager - Content

Vikram has a Postgraduate degree in Applied Mathematics, with a keen interest in Data Science and Machine Learning. He has experience of 2+ years in content creation in Mathematics, Statistics, Data Science, and Mac... Read Full Bio