Here you will learn what is the diagonal matrix definition and order of diagonal matrix with examples.
Let’s begin –
Diagonal Matrix
Definition : A square matrix A = [aij]n×n is called a diagonal matrix if all the elements, except those in the leading diagonal, are zero
i.e. aij = 0 for all i ≠ j.
A diagonal matrix of order n×n having d1, d2, …. , dn as diagonal elements is denoted by diag[d1,d2,….,dn].
Also Read : Different Types of Matrices – Definitions and Examples
Examples :
1). [100020003] is a diagonal matrix.
The order of above matrix is 3×3 and it is denoted by diag[1, 2, 3].
2). [200−2] is a diagonal matrix.
The order of above matrix is 2×2 and it is denoted by diag[2, -2].
3). [1000020000300004] is a diagonal matrix.
The order of above matrix is 4×4 and it is denoted by diag[1, 2, 3, 4].