1.7 Diagonal, Triangular and Symmetric Matrices-07

Table of contents

  1. Diagonal, Triangular, and Symmetric Matrices
  2. Exercise Set 1.7
  3. True-False Exercises

1. Diagonal, Triangular, and Symmetric Matrices

1.1 Diagonal matrices

A diagonal matrix is a square matrix where all entries off the main diagonal are zero. A general n×nn \times n diagonal matrix DD can be represented with its diagonal entries d1,d2,…,dnd_1, d_2, \dots, d_n.

  • A diagonal matrix is invertible if and only if all its diagonal entries are nonzero.
  • The inverse of an invertible diagonal matrix DD has diagonal entries 1/di1/d_i.
  • Raising a diagonal matrix DD to a power kk results in a matrix where each diagonal entry is raised to the power kk.

📝 If A=[1000−30002]A = \begin{bmatrix} 1 & 0 & 0 \\ 0 & -3 & 0 \\ 0 & 0 & 2 \end{bmatrix}, then A−1=[1000−1/30001/2]A^{-1} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & -1/3 & 0 \\ 0 & 0 & 1/2 \end{bmatrix} and A5=[1000−24300032]A^5 = \begin{bmatrix} 1 & 0 & 0 \\ 0 & -243 & 0 \\ 0 & 0 & 32 \end{bmatrix} 1.

1.2 Triangular matrices 2

A lower triangular matrix has all entries above the main diagonal equal to zero. Conversely, an upper triangular matrix has all entries below the main diagonal equal to zero.

A matrix that is either lower or upper triangular is simply called triangular.

Matrix TypeDescription
Lower triangularAll entries above the main diagonal are zero.
Upper triangularAll entries below the main diagonal are zero.

Theorems regarding triangular matrices include:

  • The transpose of a lower triangular matrix is upper triangular, and vice versa.
  • The product of two lower triangular matrices is lower triangular, and the product of two upper triangular matrices is upper triangular.
  • A triangular matrix is invertible if and only if all its diagonal entries are nonzero.
  • The inverse of an invertible lower triangular matrix is lower triangular, and the inverse of an invertible upper triangular matrix is upper triangular.

📝 For upper triangular matrices A=[13−1024005]A = \begin{bmatrix} 1 & 3 & -1 \\ 0 & 2 & 4 \\ 0 & 0 & 5 \end{bmatrix} and B=[3−2−10−21001]B = \begin{bmatrix} 3 & -2 & -1 \\ 0 & -2 & 1 \\ 0 & 0 & 1 \end{bmatrix}, their product AB=[3−220−42005]AB = \begin{bmatrix} 3 & -2 & 2 \\ 0 & -4 & 2 \\ 0 & 0 & 5 \end{bmatrix} is also upper triangular 2.

1.3 Symmetric matrices 3

A square matrix AA is defined as symmetric if it is equal to its transpose (A=ATA = A^T).

MatrixTransposeSymmetric?
[7−3 −35]\begin{bmatrix} 7 & -3 \ -3 & 5 \end{bmatrix}[7−3 −35]\begin{bmatrix} 7 & -3 \ -3 & 5 \end{bmatrix}Yes
[145 4−30 507]\begin{bmatrix} 1 & 4 & 5 \ 4 & -3 & 0 \ 5 & 0 & 7 \end{bmatrix}[145 4−30 507]\begin{bmatrix} 1 & 4 & 5 \ 4 & -3 & 0 \ 5 & 0 & 7 \end{bmatrix}Yes
[d1000 0d200 00d30 000d4]\begin{bmatrix} d_1 & 0 & 0 & 0 \ 0 & d_2 & 0 & 0 \ 0 & 0 & d_3 & 0 \ 0 & 0 & 0 & d_4 \end{bmatrix}[d1000 0d200 00d30 000d4]\begin{bmatrix} d_1 & 0 & 0 & 0 \ 0 & d_2 & 0 & 0 \ 0 & 0 & d_3 & 0 \ 0 & 0 & 0 & d_4 \end{bmatrix}Yes

Properties of symmetric matrices include:

  • If AA and BB are symmetric matrices of the same size, then ATA^T, A+BA+B, A−BA-B, and kAkA (where kk is a scalar) are also symmetric.
  • The product of two symmetric matrices AA and BB is symmetric if and only if AB=BAAB = BA (i.e., they commute).
  • If AA is an invertible symmetric matrix, then its inverse A−1A^{-1} is also symmetric.
  • For any matrix AA, the products AATA A^T and ATAA^T A are always symmetric.

📝 Let A=[1223]A = \begin{bmatrix} 1 & 2 \\ 2 & 3 \end{bmatrix} and B=[−433−1]B = \begin{bmatrix} -4 & 3 \\ 3 & -1 \end{bmatrix}. Both AA and BB are symmetric. Their product AB=[2113]AB = \begin{bmatrix} 2 & 1 \\ 1 & 3 \end{bmatrix} is also symmetric because AB=BAAB = BA 3.

📝 Let A=[1−2430−5]A = \begin{bmatrix} 1 & -2 & 4 \\ 3 & 0 & -5 \end{bmatrix}. Then ATA=[10−2−11−24−8−11−841]A^T A = \begin{bmatrix} 10 & -2 & -11 \\ -2 & 4 & -8 \\ -11 & -8 & 41 \end{bmatrix} and AAT=[21−17−1734]A A^T = \begin{bmatrix} 21 & -17 \\ -17 & 34 \end{bmatrix}. Both ATAA^T A and AATA A^T are symmetric 4.

Theorem 1.7.5 states that if AA is an invertible matrix, then AATA A^T and ATAA^T A are also invertible 4.

2. Exercise Set 1.7

2.1 Matrix Classification and Invertibility 5 7

Matrices are classified as upper triangular, lower triangular, or diagonal. A diagonal matrix is a special case that is both upper and lower triangular.

The invertibility of these matrices can often be determined by inspection.

  • Upper triangular matrix: All entries below the main diagonal are zero.
  • Lower triangular matrix: All entries above the main diagonal are zero.
  • Diagonal matrix: All entries not on the main diagonal are zero.
MatrixClassificationInvertible by Inspection
;Lower triangularYes
;Upper triangularNo
; [0 3/5 0;Diagonal, Upper triangular, Lower triangularYes
;1 3;7Lower triangularNo
;2; 4Diagonal, Upper triangular, Lower triangularYes
[-1; 0; 0; 2; 0; 0; 4; 0; 3Upper triangularYes
[-3 -4; 0; 0 -1 -6; 3; 0; 0; 0; 8; 0; 0 -5Lower triangularNo

2.2 Matrix Multiplication by Inspection 5 6

The product of matrices, particularly when one or more are diagonal, can often be computed by inspection. This involves understanding how diagonal matrices scale rows or columns of other matrices.

  • Multiplying a matrix by a diagonal matrix on the left scales the rows of the matrix.
  • Multiplying a matrix by a diagonal matrix on the right scales the columns of the matrix.
Matrix AMatrix BProduct A * B
;;;;;;
;;;;;9;
;2;43;5;7;;
[u v; [w x; [y z[a 0; [0 b[au av; [bw bx; [by bz
[a 0 0; [0 b 0; [0 0 c[r s t; [u v w; [x y z[ar as at; [bu bv bw; [cx cy cz

📝 Multiplying the matrix A=[uvwxyz]A = \begin{bmatrix} u & v \\ w & x \\ y & z \end{bmatrix} by the diagonal matrix B=[a00b]B = \begin{bmatrix} a & 0 \\ 0 & b \end{bmatrix} on the right scales the columns of AA: AB=[auavbwbxbybz]A B = \begin{bmatrix} au & av \\ bw & bx \\ by & bz \end{bmatrix} 5.

2.3 Powers and Inverses of Diagonal Matrices 5 6

Powers and inverses of diagonal matrices are easily computed by applying the operation to each diagonal element independently. This property simplifies calculations involving these special matrices.

  • For a diagonal matrix DD with diagonal entries d1,d2,…,dnd_1, d_2, \dots, d_n, DkD^k has diagonal entries d1k,d2k,…,dnkd_1^k, d_2^k, \dots, d_n^k.
  • The inverse D−1D^{-1} has diagonal entries 1/d1,1/d2,…,1/dn1/d_1, 1/d_2, \dots, 1/d_n, provided all di≠0d_i \neq 0.
Matrix AA²A⁻²A⁻ᵏ
;3;5;9;[1/36 0 0; [0 1/9 0; [0 0 1/25[(-6)⁻ᵏ 0 0; [0 3⁻ᵏ 0; [0 0 5⁻ᵏ
;;;; 1

📝 For the diagonal matrix A=[−600030005]A = \begin{bmatrix} -6 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 5 \end{bmatrix}, A2=[36000900025]A^2 = \begin{bmatrix} 36 & 0 & 0 \\ 0 & 9 & 0 \\ 0 & 0 & 25 \end{bmatrix} and A−2=[1/360001/90001/25]A^{-2} = \begin{bmatrix} 1/36 & 0 & 0 \\ 0 & 1/9 & 0 \\ 0 & 0 & 1/25 \end{bmatrix} 5.

2.4 Symmetry Conditions for Matrices 6

A matrix AA is symmetric if A=ATA = A^T. This means that the entry in the ii-th row and jj-th column must be equal to the entry in the jj-th row and ii-th column for all ii and jj.

  • For a matrix to be symmetric, entries symmetrically positioned across the main diagonal must be equal.
  • When creating a symmetric matrix, unknown values (represented by 'x') must be substituted to satisfy the symmetry condition.
Matrix ASymmetry Condition
; 3Already symmetric
; [x 4 5 -7; [x3 x5 1 -6; [x2 -7 -6 3x = 7, x3 = -3, x5 = 5, x2 = -7

2.5 Determining Invertibility and Symmetry 7

The invertibility of a matrix can be determined by inspecting its diagonal elements or its triangular form. For symmetric matrices, specific conditions on unknown constants must be met.

  • A triangular matrix is invertible if and only if all its diagonal entries are non-zero.
  • For a symmetric matrix AA, if BB is any n×mn \times m matrix, then BTBB^T B, BBTB B^T, and BTABB^T A B are also symmetric.
Matrix ACondition for Symmetry
[2; 3; 0\na - 2b + 2c; 5;; [2a + b + c; 7{ a - 2b + c = 3, 2a + b + c = 0, a + c = -2 }

2.6 Finding Diagonal Matrices with Specific Properties 8

Diagonal matrices satisfying certain conditions, such as specific powers or equations, can be found by solving for the diagonal elements.

  • If AA is a diagonal matrix, A2A^2 is found by squaring each diagonal element.
  • If A−2=MA^{-2} = M, then AA can be found by taking the square root of the diagonal elements of M−1M^{-1}.
ConditionDiagonal Matrix A
A⁻² =;9;;A =3;2;1 or A =;;
A² - 3A - 4I = 0A =;; or A =;; or A =;; or A =;; or A =;; or A =; 4;

2.7 Properties of Symmetric Matrices

Symmetric matrices have several important properties related to their powers and combinations with other matrices.

  • If AA is a symmetric n×nn \times n matrix, then A2A^2 is also symmetric.
  • If AA is symmetric, then 2A2−3A+I2A^2 - 3A + I is also symmetric, where II is the identity matrix 8.

3. True-False Exercises

3.1 Matrix Transposes and Triangular Forms

This section evaluates statements about the properties of diagonal, upper triangular, and lower triangular matrices, particularly concerning their transposes and sums. Understanding these properties is crucial for matrix manipulation and analysis.

  • Transpose of a diagonal matrix: The transpose of a diagonal matrix is also a diagonal matrix. This is because the transpose operation only swaps elements across the main diagonal, and for a diagonal matrix, these off-diagonal elements are all zero.
  • Transpose of an upper triangular matrix: The transpose of an upper triangular matrix is a lower triangular matrix. When an upper triangular matrix is transposed, the elements above the main diagonal become elements below the main diagonal, and vice versa 10.

3.2 Matrix Sums and Triangular Forms

The sum of matrices with specific triangular properties can result in matrices with different forms. The nature of the resulting matrix depends on the types of triangular matrices being added.

  • Sum of upper and lower triangular matrices: The sum of an upper triangular matrix and a lower triangular matrix is a diagonal matrix. This occurs because the elements above the main diagonal of the upper triangular matrix are zeroed out by the corresponding elements in the lower triangular matrix, and similarly for the elements below the main diagonal.
  • Sum of a diagonal and a lower triangular matrix: The sum of a diagonal matrix and a lower triangular matrix is a lower triangular matrix. The diagonal elements of the resulting matrix are the sum of the diagonal elements of the two matrices, and the elements below the diagonal are preserved from the lower triangular matrix 10.

3.3 Properties of Symmetric and Triangular Matrices

Symmetric and triangular matrices have distinct properties regarding how their entries are determined and their invertibility. These characteristics influence their behavior in various matrix operations.

  • Symmetric matrix entry determination: All entries of a symmetric matrix are determined by the entries occurring on and above the main diagonal. This is because a symmetric matrix is equal to its transpose, meaning Aij=AjiA_{ij} = A_{ji}, so entries below the diagonal are reflections of those above it.
  • Upper triangular matrix entry determination: All entries of an upper triangular matrix are determined by the entries occurring on and above the main diagonal. This is because all entries below the main diagonal are zero by definition.
  • Inverse of an invertible lower triangular matrix: The inverse of an invertible lower triangular matrix is an upper triangular matrix. This property arises from the structure of the inverse calculation, where the elements above the main diagonal of the inverse become zero.
  • Invertibility of a diagonal matrix: A diagonal matrix is invertible if and only if all of its diagonal entries are non-zero. The statement that they must be positive is false; they can be any non-zero real number.
  • Matrix that is both symmetric and upper triangular: A matrix that is both symmetric and upper triangular must be a diagonal matrix. If a matrix is upper triangular, all entries below the main diagonal are zero. If it is also symmetric, then entries above the main diagonal must also be zero to match their corresponding transposed positions below the diagonal 10.

3.4 Properties of Matrix Sums and Multiples

The symmetry or triangular form of matrices can be affected by addition and scalar multiplication. These operations do not always preserve these properties.

  • Sum of matrices and symmetry: If A+BA + B is a symmetric matrix, it does not necessarily mean that both AA and BB are symmetric. For example, if AA is symmetric and BB is skew-symmetric, their sum might not be symmetric.
  • Sum of matrices and upper triangular form: If A+BA + B is an upper triangular matrix, it does not necessarily mean that both AA and BB are upper triangular. For instance, one matrix could have non-zero entries below the diagonal that are canceled out by the other matrix.
  • Symmetry of a matrix and its square: If A2A^2 is a symmetric matrix, it does not necessarily mean that AA is a symmetric matrix. A non-symmetric matrix can have a symmetric square.
  • Symmetry of a matrix and scalar multiple: If kAkA is a symmetric matrix for some non-zero scalar kk, then AA must be a symmetric matrix. This is because if kA=(kA)T=kATkA = (kA)^T = kA^T, then dividing by kk (since k≠0k \neq 0) yields A=ATA = A^T 10.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also