Types of Matrix

7 mins read2.8K Views Comment Call 8585951111Call 8585951111
Updated on Apr 12, 2024 10:47 IST
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.

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

Recommended online courses

Best-suited Data Science courses for you

Learn Data Science with these high-rated online courses

1.1 L
24 months

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.

Stay updated with the latest blogs on online courses and skills
Enter Mobile Number

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!!

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
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

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

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

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

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
qna

Comments