Mirror images and undoing#
If a square matrix is unchanged when you transpose it, we call it symmetric. If transposing just flips all its signs, it is skew-symmetric. The nice thing is that every square matrix can be split into one of each. Some square matrices can also be undone, that is, they have inverses. We will prove the splitting, say exactly what an invertible matrix is, find inverses using elementary row operations, and end with mixed practice.
Symmetric and skew-symmetric matrices#
A A A is symmetric if A T = A A^T = A A T = A , skew-symmetric if A T = − A A^T = -A A T = − A . Notice that a skew-symmetric matrix must have zeros on its diagonal (a i i = − a i i a_{ii} = -a_{ii} a ii = − a ii ).
Now take any square A A A . Then A + A T A + A^T A + A T is symmetric and A − A T A - A^T A − A T is skew-symmetric, so
A = 1 2 ( A + A T ) + 1 2 ( A − A T ) . \displaystyle A = \tfrac{1}{2}(A + A^T) + \tfrac{1}{2}(A - A^T). A = 2 1 ( A + A T ) + 2 1 ( A − A T ) .
Example 1. A = [ 4 3 − 1 2 ] A = \begin{bmatrix} 4 & 3 \\ -1 & 2 \end{bmatrix} A = [ 4 − 1 3 2 ] . Here P = 1 2 ( A + A T ) = [ 4 1 1 2 ] \displaystyle P = \tfrac{1}{2}(A + A^T) = \begin{bmatrix} 4 & 1 \\ 1 & 2 \end{bmatrix} P = 2 1 ( A + A T ) = [ 4 1 1 2 ] , Q = 1 2 ( A − A T ) = [ 0 2 − 2 0 ] \displaystyle Q = \tfrac{1}{2}(A - A^T) = \begin{bmatrix} 0 & 2 \\ -2 & 0 \end{bmatrix} Q = 2 1 ( A − A T ) = [ 0 − 2 2 0 ] , and indeed P + Q = A P + Q = A P + Q = A .
Example 2. If A A A and B B B are symmetric of the same order, A B AB A B is symmetric exactly when A B = B A AB = BA A B = B A , because ( A B ) T = B T A T = B A (AB)^T = B^TA^T = BA ( A B ) T = B T A T = B A .
Invertible matrices#
A square matrix A A A is invertible if there is B B B with A B = B A = I AB = BA = I A B = B A = I . Then we write B = A − 1 B = A^{-1} B = A − 1 , and there is only one such matrix. ( A B ) − 1 = B − 1 A − 1 (AB)^{-1} = B^{-1}A^{-1} ( A B ) − 1 = B − 1 A − 1 .
There are three elementary row operations : swap two rows, multiply a row by a non-zero number, and add a multiple of one row to another. To find A − 1 A^{-1} A − 1 , write A = I A A = IA A = I A and apply row operations to A A A on the left and to I I I on the right until the left side becomes I I I . Whatever stands on the right is then A − 1 A^{-1} A − 1 . If a row of zeros turns up on the left, stop: A A A has no inverse.
Example 3. A = [ 2 5 1 3 ] A = \begin{bmatrix} 2 & 5 \\ 1 & 3 \end{bmatrix} A = [ 2 1 5 3 ] . [ 2 5 ∣ 1 0 1 3 ∣ 0 1 ] \left[\begin{smallmatrix} 2 & 5 & | & 1 & 0 \\ 1 & 3 & | & 0 & 1 \end{smallmatrix}\right] [ 2 1 5 3 ∣ ∣ 1 0 0 1 ] ; R 1 ↔ R 2 R_1 \leftrightarrow R_2 R 1 ↔ R 2 : [ 1 3 ∣ 0 1 2 5 ∣ 1 0 ] \left[\begin{smallmatrix} 1 & 3 & | & 0 & 1 \\ 2 & 5 & | & 1 & 0 \end{smallmatrix}\right] [ 1 2 3 5 ∣ ∣ 0 1 1 0 ] ; R 2 → R 2 − 2 R 1 R_2 \to R_2 - 2R_1 R 2 → R 2 − 2 R 1 : [ 1 3 ∣ 0 1 0 − 1 ∣ 1 − 2 ] \left[\begin{smallmatrix} 1 & 3 & | & 0 & 1 \\ 0 & -1 & | & 1 & -2 \end{smallmatrix}\right] [ 1 0 3 − 1 ∣ ∣ 0 1 1 − 2 ] ; R 2 → − R 2 R_2 \to -R_2 R 2 → − R 2 , then R 1 → R 1 − 3 R 2 R_1 \to R_1 - 3R_2 R 1 → R 1 − 3 R 2 : A − 1 = [ 3 − 5 − 1 2 ] A^{-1} = \begin{bmatrix} 3 & -5 \\ -1 & 2 \end{bmatrix} A − 1 = [ 3 − 1 − 5 2 ] . Always check your answer: A A − 1 = I AA^{-1} = I A A − 1 = I .
Example 4. [ 2 4 3 6 ] \begin{bmatrix} 2 & 4 \\ 3 & 6 \end{bmatrix} [ 2 3 4 6 ] : R 2 → R 2 − 3 2 R 1 \displaystyle R_2 \to R_2 - \tfrac{3}{2}R_1 R 2 → R 2 − 2 3 R 1 gives a zero row, so there is no inverse.
Mixed practice#
Show that A = [ 0 3 − 2 − 3 0 5 2 − 5 0 ] A = \begin{bmatrix} 0 & 3 & -2 \\ -3 & 0 & 5 \\ 2 & -5 & 0 \end{bmatrix} A = 0 − 3 2 3 0 − 5 − 2 5 0 is skew-symmetric.
Write [ 3 5 1 − 1 ] \begin{bmatrix} 3 & 5 \\ 1 & -1 \end{bmatrix} [ 3 1 5 − 1 ] as the sum of a symmetric and a skew-symmetric matrix.
Write [ 1 4 − 2 0 3 6 2 − 2 5 ] \begin{bmatrix} 1 & 4 & -2 \\ 0 & 3 & 6 \\ 2 & -2 & 5 \end{bmatrix} 1 0 2 4 3 − 2 − 2 6 5 as a sum of symmetric and skew-symmetric parts.
Show that for any square A A A , A A T AA^T A A T is symmetric.
Find the inverse by row operations: [ 3 1 5 2 ] \begin{bmatrix} 3 & 1 \\ 5 & 2 \end{bmatrix} [ 3 5 1 2 ] ; [ 4 − 3 1 − 1 ] \begin{bmatrix} 4 & -3 \\ 1 & -1 \end{bmatrix} [ 4 1 − 3 − 1 ] .
Show that [ 6 − 3 − 2 1 ] \begin{bmatrix} 6 & -3 \\ -2 & 1 \end{bmatrix} [ 6 − 2 − 3 1 ] has no inverse.
Find A − 1 A^{-1} A − 1 for A = [ 1 2 0 0 1 3 0 0 1 ] A = \begin{bmatrix} 1 & 2 & 0 \\ 0 & 1 & 3 \\ 0 & 0 & 1 \end{bmatrix} A = 1 0 0 2 1 0 0 3 1 .
If A = [ cos α − sin α sin α cos α ] A = \begin{bmatrix} \cos\alpha & -\sin\alpha \\ \sin\alpha & \cos\alpha \end{bmatrix} A = [ cos α sin α − sin α cos α ] , show A T A = I A^TA = I A T A = I and hence A − 1 = A T A^{-1} = A^T A − 1 = A T .
If A A A and B B B are invertible, verify ( A B ) − 1 = B − 1 A − 1 (AB)^{-1} = B^{-1}A^{-1} ( A B ) − 1 = B − 1 A − 1 by multiplying.
Find k k k if A = [ 1 2 3 4 ] A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} A = [ 1 3 2 4 ] satisfies A 2 − 5 A − k I = O A^2 - 5A - kI = O A 2 − 5 A − k I = O .
Answers to check against#
Show answers
A T = − A A^T = -A A T = − A entry by entry.
[ 3 3 3 − 1 ] + [ 0 2 − 2 0 ] \begin{bmatrix} 3 & 3 \\ 3 & -1 \end{bmatrix} + \begin{bmatrix} 0 & 2 \\ -2 & 0 \end{bmatrix} [ 3 3 3 − 1 ] + [ 0 − 2 2 0 ] .
P = [ 1 2 0 2 3 2 0 2 5 ] P = \begin{bmatrix} 1 & 2 & 0 \\ 2 & 3 & 2 \\ 0 & 2 & 5 \end{bmatrix} P = 1 2 0 2 3 2 0 2 5 , Q = [ 0 2 − 2 − 2 0 4 2 − 4 0 ] Q = \begin{bmatrix} 0 & 2 & -2 \\ -2 & 0 & 4 \\ 2 & -4 & 0 \end{bmatrix} Q = 0 − 2 2 2 0 − 4 − 2 4 0 .
( A A T ) T = ( A T ) T A T = A A T (AA^T)^T = (A^T)^TA^T = AA^T ( A A T ) T = ( A T ) T A T = A A T .
[ 2 − 1 − 5 3 ] \begin{bmatrix} 2 & -1 \\ -5 & 3 \end{bmatrix} [ 2 − 5 − 1 3 ] ; [ 1 − 3 1 − 4 ] \begin{bmatrix} 1 & -3 \\ 1 & -4 \end{bmatrix} [ 1 1 − 3 − 4 ] .
R 1 → R 1 + 3 R 2 R_1 \to R_1 + 3R_2 R 1 → R 1 + 3 R 2 gives a zero row.
[ 1 − 2 6 0 1 − 3 0 0 1 ] \begin{bmatrix} 1 & -2 & 6 \\ 0 & 1 & -3 \\ 0 & 0 & 1 \end{bmatrix} 1 0 0 − 2 1 0 6 − 3 1 .
Multiplying out, you get cos 2 α + sin 2 α = 1 \cos^2\alpha + \sin^2\alpha = 1 cos 2 α + sin 2 α = 1 on the diagonal, 0 0 0 off it.
( A B ) ( B − 1 A − 1 ) = A ( B B − 1 ) A − 1 = A A − 1 = I (AB)(B^{-1}A^{-1}) = A(BB^{-1})A^{-1} = AA^{-1} = I ( A B ) ( B − 1 A − 1 ) = A ( B B − 1 ) A − 1 = A A − 1 = I .
A 2 = [ 7 10 15 22 ] A^2 = \begin{bmatrix} 7 & 10 \\ 15 & 22 \end{bmatrix} A 2 = [ 7 15 10 22 ] ; A 2 − 5 A = [ 2 0 0 2 ] A^2 - 5A = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} A 2 − 5 A = [ 2 0 0 2 ] : k = 2 k = 2 k = 2 .