A square matrix A = [aᵢⱼ]ₙₓₙ is called a diagonal matrix if aᵢⱼ = 0 for
Correct Answer :
i ≠ j
Solution :
The correct option is i ≠ j.
To understand why this is the correct option, let us review the definition of a diagonal matrix.
A square matrix is a matrix in which the number of rows is equal to the number of columns (both equal to ).
The elements for which (such as , , , ..., ) constitute the principal diagonal (or main diagonal) of the matrix.
By definition, a square matrix is called a diagonal matrix if all its non-diagonal elements are equal to zero.
The non-diagonal elements are those elements where the row index is not equal to the column index .
Therefore, the mathematical condition for to be a diagonal matrix is:
This matches the correct option i ≠ j.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Crey. Perfect for teachers and institutes.
Copyright © 2026 Crey. All Rights Reserved.