• NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • Class 6-10
      • Class 6th
      • Class 7th
      • Class 8th
      • Class 9th
      • Class 10th
    • View All Options
      • Online Courses
      • Distance Learning
      • Hindi Medium Courses
      • International Olympiad
    • NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE (Main+Advanced)
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE Main
      • Class 11th
      • Class 12th
      • Class 12th Plus
  • Classroom
    • NEET
      • 2025
      • 2024
      • 2023
      • 2022
    • JEE
      • 2025
      • 2024
      • 2023
      • 2022
    • Class 6-10
    • JEE Main
      • Previous Year Papers
      • Sample Papers
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • JEE Advanced
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NEET
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
      • College Predictor
      • Counselling
    • NCERT Solutions
      • Class 6
      • Class 7
      • Class 8
      • Class 9
      • Class 10
      • Class 11
      • Class 12
    • CBSE
      • Notes
      • Sample Papers
      • Question Papers
    • Olympiad
      • NSO
      • IMO
      • NMTC
  • NEW
    • TALLENTEX
    • AOSAT
  • ALLEN E-Store
    • ALLEN for Schools
    • About ALLEN
    • Blogs
    • News
    • Careers
    • Request a call back
    • Book home demo
Home
JEE Maths
Diagonal Matrix

Diagonal Matrices

A Diagonal Matrix is a special kind of square matrix in which all the elements outside the main diagonal are zero. Only the elements on the main diagonal (from the top-left corner to the bottom-right corner) can be non-zero or zero.

Definition:

A square matrix A=[aij​] of order n x n is called a Diagonal Matrix if:

aij​={aii​,0,​if i=jif i=j​

In simple terms,

A=​a11​00⋮0​0a22​0⋮0​00a33​⋮0​⋯⋯⋯⋱⋯​000⋮ann​​​

Example of a Diagonal Matrix:

​500​0−30​002​​

1.0What is a Diagonal Matrix?

A diagonal matrix is a type of square matrix where all elements outside the main diagonal are zero. In simpler terms, only the elements on the main diagonal (from top-left to bottom-right) can be non-zero, and everything else is zero.

2.0Diagonal Matrix Formula

Let [aij​]be an n x n matrix. Then A is a diagonal matrix if:

aij​=0 for all i=j

So, a general diagonal matrix of order n looks like:

D=​d1​00⋮0​0d2​0⋮0​00d3​⋮0​⋯⋯⋯⋱⋯​000⋮dn​​​

3.0Diagonal Matrix 2 x 2 Example

A diagonal matrix of order 2 x 2:

D=[50​03​]

Here, all non-diagonal elements are 0.

You can also have zeros on the diagonal:

D=[00​07​]

4.0Diagonal Matrix 3x3 Example

D=​100​0−40​006​​

Clearly, the only non-zero elements are on the main diagonal.

5.0 Properties of a Diagonal Matrix

  • All off-diagonal elements are 0.
  • A scalar matrix is a special diagonal matrix where all diagonal elements are equal.
  • The transpose of a diagonal matrix is itself.
  • The product of two diagonal matrices is also a diagonal matrix.
  • The inverse of a diagonal matrix (if all diagonal elements ≠ 0) is also a diagonal matrix.

6.0Diagonal Matrix Determinant

The determinant of a diagonal matrix is the product of its diagonal elements.

If D=​d1​00​0d2​0​00d3​​​, then det(D)=d1​⋅d2​⋅d3​

Example:

D=​200​050​004​​⟹det(D)=2⋅5⋅4=40

7.0Diagonal Matrix Examples

Here are more examples for clarity:

Example 1 (2x2):

A=[90​0−1​]⟹Diagonal matrix of order 2

Example 2 (3x3):

B=​000​000​005​​⟹Diagonal matrix with one non-zero entry

8.0Solved Examples on Diagonal Matrices

Example 1: Determine whether the following matrix is a diagonal matrix:

A=​500​0−30​007​​

Solution:

A matrix is diagonal if all off-diagonal elements are zero and diagonal elements can be any number (including zero).

Here, all off-diagonal elements are 0, and diagonal elements are 5, -3, and 7.

Answer: Yes, A is a diagonal matrix.

Example 2: Let . A=[20​05​],B=[30​0−1​]Find A + B.

Solution:

A+B=[2+30+0​0+05+(−1)​]=[50​04​]

Answer:

A+B=[50​04​]

Example 3: Let A=[40​03​],B=[20​05​]. Find A x B.

Solution:

Multiplying diagonal matrices is easy:

AB=[4×20​03×5​]=[80​015​]

Answer:

AB=[80​015​]

Example 4: Find the inverse of A=​200​0−30​005​​if it exists.

Solution:

A diagonal matrix is invertible if none of its diagonal elements are zero.

The inverse of a diagonal matrix is another diagonal matrix with reciprocals of the original diagonal elements.

So,

A−1=​21​00​0−31​0​0051​​​

Answer:

A−1=​21​00​0−31​0​0051​​​

Example 5: Find A^3, where A=[20​0−3​]

Solution:

For a diagonal matrix, raising to a power means raising each diagonal element to that power.

So,

A3=[230​0(−3)3​]=[80​0−27​]

Answer:

A3=[80​0−27​]

9.0Practice Questions on Diagonal Matrices

  1. Identify whether the following matrix is diagonal:

​200​000​001​​

  1. Find the determinant of:

[30​0−5​]

  1. Is the matrix [70​07​] a scalar matrix?

Also Read:

Determinant of a Matrix

Rank of Matrix

Adjacency Matrix

Types of Matrices

Matrix Operations

Skew Hermitian Matrix

Eigenvectors of a Matrix

Orthogonal Matrix

Symmetric Matrix

Table of Contents


  • 1.0What is a Diagonal Matrix?
  • 2.0Diagonal Matrix Formula
  • 3.0Diagonal Matrix 2 x 2 Example
  • 4.0Diagonal Matrix 3x3 Example
  • 5.0 Properties of a Diagonal Matrix
  • 6.0Diagonal Matrix Determinant
  • 7.0Diagonal Matrix Examples
  • 8.0Solved Examples on Diagonal Matrices
  • 9.0Practice Questions on Diagonal Matrices

Frequently Asked Questions

A diagonal matrix is a square matrix in which all elements outside the main diagonal are zero. Only the diagonal elements (from top-left to bottom-right) may be non-zero or zero.

Yes, a diagonal matrix can have zero elements on the diagonal. However, if all diagonal elements are zero, it is called the zero matrix, which is a special case of the diagonal matrix.

Yes, every diagonal matrix is symmetric because The transpose of a diagonal matrix is itself, as swapping rows and columns does not change the diagonal structure.

Yes, by definition, diagonal matrices are always square matrices (i.e., number of rows equals number of columns), because the concept of a diagonal applies only to square matrices.

Join ALLEN!

(Session 2025 - 26)


Choose class
Choose your goal
Preferred Mode
Choose State
  • About
    • About us
    • Blog
    • News
    • MyExam EduBlogs
    • Privacy policy
    • Public notice
    • Careers
    • Dhoni Inspires NEET Aspirants
    • Dhoni Inspires JEE Aspirants
  • Help & Support
    • Refund policy
    • Transfer policy
    • Terms & Conditions
    • Contact us
  • Popular goals
    • NEET Coaching
    • JEE Coaching
    • 6th to 10th
  • Courses
    • Online Courses
    • Distance Learning
    • Online Test Series
    • International Olympiads Online Course
    • NEET Test Series
    • JEE Test Series
    • JEE Main Test Series
  • Centers
    • Kota
    • Bangalore
    • Indore
    • Delhi
    • More centres
  • Exam information
    • JEE Main
    • JEE Advanced
    • NEET UG
    • CBSE
    • NCERT Solutions
    • Olympiad
    • NEET 2025 Results
    • NEET 2025 Answer Key
    • NEET College Predictor
    • NEET 2025 Counselling

ALLEN Career Institute Pvt. Ltd. © All Rights Reserved.

ISO