alg2

Table of contents

  1. Section 2.5
  2. Section 2.6
  3. Section 2.7
  4. Section 3.1

1. Section 2.5

1.1 Gauss-Jordan elimination for matrix inversion

Gauss-Jordan elimination can be applied to the augmented matrix [U I][U \ I] to compute the inverse of an upper triangular matrix UU.

  • Inversion process: The method involves row reducing the augmented matrix [U I][U \ I] until the left side becomes the identity matrix II, resulting in [I U−1][I \ U^{-1}].
  • Bidiagonal matrix inversion: For a bidiagonal matrix AA with 1's on the diagonal and −a,−b,−c-a, -b, -c on the superdiagonal, the inverse can be found via row reduction or by using the series expansion A−1=(I−N)−1=I+N+N2+N3A^{-1} = (I - N)^{-1} = I + N + N^2 + N^3, where NN is the nilpotent part of the matrix.

📝 To find the inverse of a 3×33 \times 3 upper triangular matrix UU with entries a,b,ca, b, c, row operations such as R1=R1−aR2R_1 = R_1 - aR_2 and R2=R2−cR3R_2 = R_2 - cR_3 are used to transform [U I][U \ I] into [I U−1][I \ U^{-1}] 1.

1.2 Problem 24 and 40

These problems demonstrate specific applications of Gauss-Jordan elimination to structured matrices.

  • Problem 24: Focuses on finding the inverse of a 3×33 \times 3 upper triangular matrix UU using row reduction on [U I][U \ I].
  • Problem 40: Requires finding the inverse of a 4×44 \times 4 bidiagonal matrix AA with 1's on the diagonal and −a,−b,−c-a, -b, -c on the superdiagonal 1.

2. Section 2.6

2.1 LU decomposition of symmetric matrices 2

The LULU decomposition factors a matrix AA into a lower triangular matrix LL and an upper triangular matrix UU.

  • Symmetric matrix decomposition: For a specific symmetric matrix AA with entries a,b,c,da, b, c, d, the elimination process produces UU by subtracting rows sequentially.
  • Multipliers and LL: The multipliers lijl_{ij} used during elimination form the entries of the LL matrix.
  • Pivot conditions: The existence of four pivots in a 4×44 \times 4 matrix depends on specific constraints on the original entries.
Matrix TypePivot/Multiplier Property
Symmetric AAMultipliers lijl_{ij} are all 1
UU matrixDiagonal entries are the pivots
LL matrix1's on diagonal and below it

📝 For the symmetric matrix AA with entries a,b,c,da, b, c, d, the four pivots exist if and only if a=0,b=a,c=b,a = 0, b = a, c = b, and d=cd = c 2.

2.2 Uniqueness of LDU decomposition

If a matrix AA has an LDULDU decomposition where all factors are invertible, that decomposition is unique.

  • Uniqueness proof: Given A=LDU=L1D1U1A = LDU = L_1D_1U_1, the relationship L1−1LD=D1U1U−1L_1^{-1}LD = D_1U_1U^{-1} can be derived.
  • Structural properties: The left side L1−1LDL_1^{-1}LD is lower triangular, while the right side D1U1U−1D_1U_1U^{-1} is upper triangular; since they are equal, both must be diagonal.
  • Identity derivation: Because LL and UU have 1's on their diagonals, the equality L1−1L=IL_1^{-1}L = I and U1U−1=IU_1U^{-1} = I implies L=L1L = L_1 and U=U1U = U_1, which further leads to D=D1D = D_1.

📝 If A=LDUA = LDU and A=L1D1U1A = L_1D_1U_1 with invertible factors, then L=L1L = L_1, D=D1D = D_1, and U=U1U = U_1 2.

2.3 Second difference constant-diagonal matrix 2 3

The matrix KK is a second difference matrix with a constant diagonal of 2 and super/subdiagonals of −1-1.

  • LULU structure: For the 6×66 \times 6 matrix KK, both LL and UU have only two nonzero diagonals because KK has three 2.
  • Inverse of LL: The entries of L−1L^{-1} follow a specific pattern based on the row and column indices.
  • Structure of K−1K^{-1}: While K−1K^{-1} itself may not appear simple, the matrix 7K−17K^{-1} (for n=6n=6) follows a highly structured pattern.
TermPattern/Value
(L−1)ij(L^{-1})_{ij}j/ij/i for j≤ij \leq i, and 00 for j>ij > i
7K−17K^{-1} row 1(6,5,4,3,2,16, 5, 4, 3, 2, 1)
7K−17K^{-1} above diagonalRow ii is ii times row 1
7K−17K^{-1} below diagonalColumn jj is jj times column 1
det⁡(K)\det(K) for 3×33 \times 34

📝 For a 6×66 \times 6 matrix KK, the matrix M=7K−1M = 7K^{-1} is constructed such that its first row is (6,5,4,3,2,1)(6, 5, 4, 3, 2, 1) and subsequent rows/columns are scaled accordingly 3.

3. Section 2.7

3.1 Matrix groups 4

A group of matrices is a set that is closed under matrix multiplication and contains the inverse of every element within the set.

  • Group requirements: a set of matrices forms a group if it includes both the product of any two elements and the inverse of any element.
  • Examples of matrix groups:
  • Lower triangular matrices LL with 1's on the diagonal: these form a group because their products remain lower triangular with 1's on the diagonal, and their inverses are also of this form.
  • Diagonal invertible matrices DD: these form a group as the product and inverse of diagonal matrices remain diagonal and invertible.
  • Permutation matrices PP: these form a group.
  • Orthogonal matrices: matrices satisfying QT=Q−1Q^T = Q^{-1} form a group because (AB)T=BTAT=B−1A−1=(AB)−1(AB)^T = B^T A^T = B^{-1} A^{-1} = (AB)^{-1} and (A−1)T=(AT)−1=A−1(A^{-1})^T = (A^T)^{-1} = A^{-1}.
  • Non-groups:
  • Symmetric matrices SS: these do not form a group because the product of two symmetric matrices is not necessarily symmetric.
  • Positive matrices MM: these do not form a group because the inverse of a positive matrix is not always positive.
Matrix SetIs a Group?Reasoning
Lower triangular (diag=1)YesClosed under product and inverse
Symmetric matricesNoProduct ABAB may not be symmetric
Positive matricesNoInverse may not be positive
Diagonal invertibleYesClosed under product and inverse
Permutation matricesYesStandard group property
Orthogonal (QT=Q−1Q^T = Q^{-1})YesClosed under product and inverse

📝 Two symmetric matrices A=[010100001]A = \begin{bmatrix} 0 & 1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{bmatrix} and B=[123245356]B = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 5 \\ 3 & 5 & 6 \end{bmatrix} result in a product AB=[245123356]AB = \begin{bmatrix} 2 & 4 & 5 \\ 1 & 2 & 3 \\ 3 & 5 & 6 \end{bmatrix} that is not symmetric.

3.2 Properties of orthogonal matrices 4

If a matrix QQ satisfies QT=Q−1Q^T = Q^{-1}, it is an orthogonal matrix, which implies specific geometric properties regarding its columns.

  • Column properties: the condition QTQ=IQ^T Q = I dictates the relationship between the columns q1,…,qnq_1, \dots, q_n.
  • Unit vectors: every column qiq_i is a unit vector, meaning qiTqi=1q_i^T q_i = 1.
  • Orthogonality: any two distinct columns qiq_i and qjq_j are perpendicular, meaning qiTqj=0q_i^T q_j = 0 for i≠ji \neq j.
PropertyMathematical Expression
Unit vectorqiTqi=1q_i^T q_i = 1
Perpendicular columnsqiTqj=0q_i^T q_j = 0 for i≠ji \neq j
Orthogonality conditionQTQ=IQ^T Q = I

📝 A 2×22 \times 2 rotation matrix [cos⁡θ−sin⁡θsin⁡θcos⁡θ]\begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix} satisfies the orthogonal property where the first entry q11=cos⁡θq_{11} = \cos \theta.

4. Section 3.1

4.1 Subspaces and matrix sets 4

A subspace must be closed under addition and scalar multiplication, a property that determines whether certain matrix sets qualify.

  • Symmetric and skew-symmetric matrices:
  • Symmetric matrices: the set where AT=AA^T = A forms a subspace because (A+B)T=AT+BT=A+B(A + B)^T = A^T + B^T = A + B.
  • Skew-symmetric matrices: the set where AT=−AA^T = -A forms a subspace because (A+B)T=AT+BT=−A−B=−(A+B)(A + B)^T = A^T + B^T = -A - B = -(A + B).
  • Unsymmetric matrices: the set where AT≠AA^T \neq A does not form a subspace.
Matrix TypeConditionSubspace?
SymmetricAT=AA^T = AYes
Skew-symmetricAT=−AA^T = -AYes
UnsymmetricAT≠AA^T \neq ANo

📝 The sum of two unsymmetric matrices [1111]+[1111]\begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} + \begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} does not necessarily result in an unsymmetric matrix, failing the subspace requirement.

4.2 Column spaces 5

The column space C(A)C(A) is the set of all linear combinations of the columns of AA.

  • Adding columns: adding an extra column bb to a matrix AA increases the dimension of the column space unless bb is already in C(A)C(A).
  • Solvability of Ax=bAx = b: the equation Ax=bAx = b is solvable if and only if bb lies in the column space of AA.
  • Matrix products and column space:
  • Augmented products: the matrices AA and [AAB][A \quad AB] have the same column space because every column of ABAB is a linear combination of the columns of AA.
  • Powers of matrices: the column space of A2A^2 can be smaller than the column space of AA.
  • Invertibility: an n×nn \times n matrix has C(A)=RnC(A) = \mathbb{R}^n if and only if AA is invertible.
Matrix RelationColumn Space Relationship
AA and [AAB][A \quad AB]C(A)=C([AAB])C(A) = C([A \quad AB])
AA and A2A^2C(A2)⊆C(A)C(A^2) \subseteq C(A)
Invertible n×nn \times n matrixC(A)=RnC(A) = \mathbb{R}^n

📝 If A=[0100]A = \begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}, then A2=[0000]A^2 = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}; here C(A)C(A) is the line through [10]\begin{bmatrix} 1 \\ 0 \end{bmatrix}, but C(A2)C(A^2) is the zero vector space {0}\{0\}.

4.3 Sums of subspaces 5

The sum of two subspaces SS and TT is a new set containing all possible sums of their elements.

  • Definition of S+TS + T: the sum S+TS + T contains all vectors s+ts + t where s∈Ss \in S and t∈Tt \in T.
  • Vector space properties: S+TS + T is a subspace because it is closed under addition (s+t)+(st′)=(s+s′)+(t+t′)(s + t) + (s'_t) = (s + s') + (t + t') and scalar multiplication c(s+t)=cs+ctc(s + t) = cs + ct.
  • Sum vs. Union:
  • Union S∪TS \cup T: contains only vectors that are in SS or in TT, and is generally not closed under addition.
  • Span of S∪TS \cup T: the span of the union of two subspaces is exactly their sum S+TS + T.
ConceptDescription
Sum S+TS + TThe set of all s+ts + t for s∈S,t∈Ts \in S, t \in T
Union S∪TS \cup TThe set of vectors in either SS or TT
Span of S∪TS \cup TEquivalent to S+TS + T

📝 If SS and TT are two distinct lines in Rm\mathbb{R}^m, their sum S+TS + T forms a plane, whereas their union S∪TS \cup T is not a subspace because it is not closed under addition.

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

See also