Types of Matrix

7 mins read2.8K Views Comment
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

3.15 L
4 years
Free
4 weeks
80 K
4 months
60 K
2 years
Free
6 hours
1.24 L
48 months
Free
4 weeks
Free
8 hours

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
3 Important Types of Vector Norm Used in Machine Learning
The length or the magnitude of the vector is known as vector norm or vector magnitude. In mathematics, a function is defined on a vector space that maps each vector...read more
Transpose of a Matrix
Transpose of a Matrix
Transpose of a matrix is a matrix flipped over its main diagonal, switching the matrix’s rows and column indices. In this article, we will briefly discuss what transpose of a...read more
All About Skew Symmetric Matrix
All About Skew Symmetric Matrix
A skew-symmetric matrix is a square matrix whose transpose is equal to its negative. In other words, it is a matrix that satisfies the condition A^T = -A. This type...read more
Difference between Eigenvalue and Eigenvector
Difference between Eigenvalue and Eigenvector
Let A be a square matrix of order ‘n-by-n.’ A scalar k is called a eigenvalue of A, if there exist a non-zero vector v satisfying Av = kv, then...read more
All about Symmetric Matrix
All about Symmetric Matrix
A matrix is a rectangular arrangement of numbers (real or complex) or symbols arranged in rows and columns. The number in the matrix are called the elements, and if the...read more
Difference Between Transportation Problem and Assignment Problem
Difference Between Transportation Problem and Assignment Problem
The transportation problem in operational research aims to find the most economical way of transporting goods from multiple sources to multiple destinations. On the other hand, the assignment problem focuses...read more
Understanding the Complexities of Zero: Rational or Irrational?
Understanding the Complexities of Zero: Rational or Irrational?
“Is zero a rational number? The great mathematical debate that divides experts. Discover the arguments for and against this mind-boggling puzzle and find out where you stand on the zero-rationality...read more
How Vectors are Used in Machine Learning
How Vectors are Used in Machine Learning
Vectors are mathematical objects that contain both magnitude and direction, and they can be represented by the directed line segments (lines having directions) whose lengths are their magnitude. It is...read more
Maxima and Minima: Definition, Types and Tests
Maxima and Minima: Definition, Types and Tests
Maxima and minima are the extrema value of any function, i.e., the maximum (highest) and the minimum (lowest) value of any function within the defined range. In this article, we...read more

All About Skew Symmetric Matrix
All About Skew Symmetric Matrix
A skew-symmetric matrix is a square matrix whose transpose is equal to its negative. In other words, it is a matrix that satisfies the condition A^T = -A. This type...read more

All about Symmetric Matrix
All about Symmetric Matrix
A matrix is a rectangular arrangement of numbers (real or complex) or symbols arranged in rows and columns. The number in the matrix are called the elements, and if the...read more

Matrix Multiplication in C
Matrix Multiplication in C
A matrix is a collection of numbers organized in rows and columns. Matrices can be manipulated using operations like Addition, Subtraction, and Multiplication. Multiplying two matrices is only possible when...read more

Types of Matrix
Types of Matrix
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...read more

Adjacency Matrix For Graphs
Adjacency Matrix For Graphs
An Adjacency Matrix is a method of representing graphs in matrix form. The adjacency matrix plays a vital role in describing finite graphs, making them easier to understand and compact...read more

Lower Triangular Matrix: Definition, Example, and Properties
Lower Triangular Matrix: Definition, Example, and Properties
Discover the essentials of lower triangular matrices in linear algebra. Explore their unique properties, practical applications in solving linear systems, and their significance in mathematical computations. Perfect for students and...read more

Transpose of a Matrix
Transpose of a Matrix
Transpose of a matrix is a matrix flipped over its main diagonal, switching the matrix’s rows and column indices. In this article, we will briefly discuss what transpose of a...read more

Confusion Matrix in Machine Learning
Confusion Matrix in Machine Learning
Are you tired of your AI models getting confused? Untangle their mysteries with the Confusion Matrix, your secret weapon for accuracy! Decode True Positives, False Negatives, and more to uncover...read more

Diagonal Matrix: Definition, Example, and Properties
Diagonal Matrix: Definition, Example, and Properties
A diagonal matrix is a special type of square matrix in which all non-diagonal entries are equal to zero, but all diagonal entries can either be zero or non-zero. This...read more

Identity Matrix: Definition, Examples, and Properties
Identity Matrix: Definition, Examples, and Properties
A square matrix of order n x n with ones on the main diagonal and zeros elsewhere is known as an Identity Matrix. From solving a system of linear equations...read more

Why, How, and When to Adopt a Matrix Organizational Structure
Why, How, and When to Adopt a Matrix Organizational Structure
Discover the meaning, types, advantages and disadvantages of the matrix organizational structure. This article delves into its real-world applications, guiding you through adoption steps, potential pitfalls, and when it's best...read more

Matrix Multiplication: A Beginner’s Guide to Understand and Implement
Matrix Multiplication: A Beginner’s Guide to Understand and Implement
Matrix multiplication is a binary operation whose output is also a binary operation. If A and B are two matrices of order m x n and n x p, then the order of the output matrix will...read more

Upper Triangular Matrix: Definition, Example, and Properties
Upper Triangular Matrix: Definition, Example, and Properties
Explore the world of upper triangular matrices in our comprehensive guide. Understand their definition, properties, and practical applications in solving linear equations and beyond. Dive into the role of these...read more

How to Calculate the Determinant of a Matrix?
How to Calculate the Determinant of a Matrix?
The determinant of a matrix is a scalar value that is calculated from the elements of the Square matrix. It is used to determine whether a given matrix is invertible...read more

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