Turning a matrix on its side, so that its rows become columns, gives its transpose . The transpose has simple rules, with one surprise for products, and it leads to two important families of square matrices: symmetric matrices, which equal their own transpose, and skew-symmetric matrices, which equal the negative of their transpose. Every square matrix turns out to be the sum of one of each.
The transpose#
The transpose of a matrix A A A , written A ′ A' A ′ or A T A^T A T , is the matrix obtained by writing the rows of A A A as columns. If A A A is of order m × n m \times n m × n , then A ′ A' A ′ is of order n × m n \times m n × m , and the entry in row i i i , column j j j of A ′ A' A ′ is a j i a_{ji} a j i .
Example 1#
Find the transposes of A = [ 1 4 − 2 0 3 5 ] A = \begin{bmatrix} 1 & 4 & -2 \\ 0 & 3 & 5 \end{bmatrix} A = [ 1 0 4 3 − 2 5 ] and B = [ 7 − 1 ] B = \begin{bmatrix} 7 \\ -1 \end{bmatrix} B = [ 7 − 1 ] .
The first row of A A A becomes the first column of A ′ A' A ′ , and the second row becomes the second column:
A ′ = [ 1 0 4 3 − 2 5 ] , B ′ = [ 7 − 1 ] A' = \begin{bmatrix} 1 & 0 \\ 4 & 3 \\ -2 & 5 \end{bmatrix}, \qquad B' = \begin{bmatrix} 7 & -1 \end{bmatrix} A ′ = 1 4 − 2 0 3 5 , B ′ = [ 7 − 1 ]
A A A is 2 × 3 2 \times 3 2 × 3 and A ′ A' A ′ is 3 × 2 3 \times 2 3 × 2 . The transpose of a column matrix is a row matrix.
Properties of the transpose#
For matrices of suitable orders and a scalar k k k :
( A ′ ) ′ = A (A')' = A ( A ′ ) ′ = A
( A + B ) ′ = A ′ + B ′ (A + B)' = A' + B' ( A + B ) ′ = A ′ + B ′
( k A ) ′ = k A ′ (kA)' = kA' ( k A ) ′ = k A ′
( A B ) ′ = B ′ A ′ (AB)' = B'A' ( A B ) ′ = B ′ A ′ (the reversal law )
The fourth property is the surprise: the transpose of a product is the product of the transposes in the reverse order .
Example 2#
Verify ( A B ) ′ = B ′ A ′ (AB)' = B'A' ( A B ) ′ = B ′ A ′ for A = [ 1 2 3 4 ] A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} A = [ 1 3 2 4 ] and B = [ 5 6 7 8 ] B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} B = [ 5 7 6 8 ] .
From the previous lesson, A B = [ 19 22 43 50 ] AB = \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix} A B = [ 19 43 22 50 ] , so ( A B ) ′ = [ 19 43 22 50 ] (AB)' = \begin{bmatrix} 19 & 43 \\ 22 & 50 \end{bmatrix} ( A B ) ′ = [ 19 22 43 50 ] .
Now B ′ = [ 5 7 6 8 ] B' = \begin{bmatrix} 5 & 7 \\ 6 & 8 \end{bmatrix} B ′ = [ 5 6 7 8 ] and A ′ = [ 1 3 2 4 ] A' = \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} A ′ = [ 1 2 3 4 ] , and
B ′ A ′ = [ 5 + 14 15 + 28 6 + 16 18 + 32 ] = [ 19 43 22 50 ] B'A' = \begin{bmatrix} 5 + 14 & 15 + 28 \\ 6 + 16 & 18 + 32 \end{bmatrix} = \begin{bmatrix} 19 & 43 \\ 22 & 50 \end{bmatrix} B ′ A ′ = [ 5 + 14 6 + 16 15 + 28 18 + 32 ] = [ 19 22 43 50 ]
The two agree. (You can check that A ′ B ′ A'B' A ′ B ′ gives a different matrix.)
Symmetric matrices#
A square matrix A A A is symmetric if A ′ = A A' = A A ′ = A , that is, a i j = a j i a_{ij} = a_{ji} a ij = a j i for all i i i and j j j . The entries are mirror images in the principal diagonal.
[ 2 3 1 3 0 5 1 5 7 ] is symmetric: a 12 = a 21 = 3 , a 13 = a 31 = 1 , a 23 = a 32 = 5. \begin{bmatrix} 2 & 3 & 1 \\ 3 & 0 & 5 \\ 1 & 5 & 7 \end{bmatrix} \text{ is symmetric: } a_{12} = a_{21} = 3, \; a_{13} = a_{31} = 1, \; a_{23} = a_{32} = 5. 2 3 1 3 0 5 1 5 7 is symmetric: a 12 = a 21 = 3 , a 13 = a 31 = 1 , a 23 = a 32 = 5.
Skew-symmetric matrices#
A square matrix A A A is skew-symmetric if A ′ = − A A' = -A A ′ = − A , that is, a i j = − a j i a_{ij} = -a_{ji} a ij = − a j i for all i i i and j j j .
On the principal diagonal i = j i = j i = j , so a i i = − a i i a_{ii} = -a_{ii} a ii = − a ii , which gives 2 a i i = 0 2a_{ii} = 0 2 a ii = 0 . Every diagonal entry of a skew-symmetric matrix is 0 0 0 .
[ 0 2 − 2 − 2 0 − 1 2 1 0 ] is skew-symmetric. \begin{bmatrix} 0 & 2 & -2 \\ -2 & 0 & -1 \\ 2 & 1 & 0 \end{bmatrix} \text{ is skew-symmetric.} 0 − 2 2 2 0 1 − 2 − 1 0 is skew-symmetric.
Example 3#
Find x x x and y y y if [ 0 x 4 − 3 0 y − 4 6 0 ] \begin{bmatrix} 0 & x & 4 \\ -3 & 0 & y \\ -4 & 6 & 0 \end{bmatrix} 0 − 3 − 4 x 0 6 4 y 0 is skew-symmetric.
We need a 12 = − a 21 a_{12} = -a_{21} a 12 = − a 21 , so x = − ( − 3 ) = 3 x = -(-3) = 3 x = − ( − 3 ) = 3 ; and a 23 = − a 32 a_{23} = -a_{32} a 23 = − a 32 , so y = − 6 y = -6 y = − 6 .
Splitting a square matrix#
Result. Every square matrix A A A can be written as the sum of a symmetric matrix and a skew-symmetric matrix:
A = P + Q , where P = 1 2 ( A + A ′ ) and Q = 1 2 ( A − A ′ ) \displaystyle A = P + Q, \quad \text{where } P = \frac{1}{2}(A + A') \text{ and } Q = \frac{1}{2}(A - A') A = P + Q , where P = 2 1 ( A + A ′ ) and Q = 2 1 ( A − A ′ )
Why it works. Adding, P + Q = 1 2 ( 2 A ) = A \displaystyle P + Q = \frac{1}{2}(2A) = A P + Q = 2 1 ( 2 A ) = A . Using the properties of the transpose, P ′ = 1 2 ( A ′ + A ) = P \displaystyle P' = \frac{1}{2}(A' + A) = P P ′ = 2 1 ( A ′ + A ) = P , so P P P is symmetric; and Q ′ = 1 2 ( A ′ − A ) = − Q \displaystyle Q' = \frac{1}{2}(A' - A) = -Q Q ′ = 2 1 ( A ′ − A ) = − Q , so Q Q Q is skew-symmetric.
Example 4#
Express A = [ 2 5 − 1 1 0 4 3 6 7 ] A = \begin{bmatrix} 2 & 5 & -1 \\ 1 & 0 & 4 \\ 3 & 6 & 7 \end{bmatrix} A = 2 1 3 5 0 6 − 1 4 7 as the sum of a symmetric and a skew-symmetric matrix.
A ′ = [ 2 1 3 5 0 6 − 1 4 7 ] A' = \begin{bmatrix} 2 & 1 & 3 \\ 5 & 0 & 6 \\ -1 & 4 & 7 \end{bmatrix} A ′ = 2 5 − 1 1 0 4 3 6 7
P = 1 2 ( A + A ′ ) = 1 2 [ 4 6 2 6 0 10 2 10 14 ] = [ 2 3 1 3 0 5 1 5 7 ] \displaystyle P = \frac{1}{2}(A + A') = \frac{1}{2}\begin{bmatrix} 4 & 6 & 2 \\ 6 & 0 & 10 \\ 2 & 10 & 14 \end{bmatrix} = \begin{bmatrix} 2 & 3 & 1 \\ 3 & 0 & 5 \\ 1 & 5 & 7 \end{bmatrix} P = 2 1 ( A + A ′ ) = 2 1 4 6 2 6 0 10 2 10 14 = 2 3 1 3 0 5 1 5 7
Q = 1 2 ( A − A ′ ) = 1 2 [ 0 4 − 4 − 4 0 − 2 4 2 0 ] = [ 0 2 − 2 − 2 0 − 1 2 1 0 ] \displaystyle Q = \frac{1}{2}(A - A') = \frac{1}{2}\begin{bmatrix} 0 & 4 & -4 \\ -4 & 0 & -2 \\ 4 & 2 & 0 \end{bmatrix} = \begin{bmatrix} 0 & 2 & -2 \\ -2 & 0 & -1 \\ 2 & 1 & 0 \end{bmatrix} Q = 2 1 ( A − A ′ ) = 2 1 0 − 4 4 4 0 2 − 4 − 2 0 = 0 − 2 2 2 0 1 − 2 − 1 0
P P P is symmetric, Q Q Q is skew-symmetric, and adding them entry by entry gives back A A A .
Practice#
Write the transpose of [ 3 − 1 0 2 ] \begin{bmatrix} 3 & -1 & 0 & 2 \end{bmatrix} [ 3 − 1 0 2 ] and state its order.
Write the transpose of [ 1 2 3 4 5 6 ] \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{bmatrix} 1 3 5 2 4 6 .
For A = [ 1 − 2 3 0 ] A = \begin{bmatrix} 1 & -2 \\ 3 & 0 \end{bmatrix} A = [ 1 3 − 2 0 ] and B = [ 2 1 1 4 ] B = \begin{bmatrix} 2 & 1 \\ 1 & 4 \end{bmatrix} B = [ 2 1 1 4 ] , find ( A + B ) ′ (A + B)' ( A + B ) ′ .
With the same A A A and B B B , verify that ( A B ) ′ = B ′ A ′ (AB)' = B'A' ( A B ) ′ = B ′ A ′ .
Is [ 1 4 4 − 3 ] \begin{bmatrix} 1 & 4 \\ 4 & -3 \end{bmatrix} [ 1 4 4 − 3 ] symmetric, skew-symmetric or neither?
Is [ 0 − 5 5 0 ] \begin{bmatrix} 0 & -5 \\ 5 & 0 \end{bmatrix} [ 0 5 − 5 0 ] symmetric, skew-symmetric or neither?
Find a a a , b b b , c c c if [ 1 a 2 7 4 b c − 3 0 ] \begin{bmatrix} 1 & a & 2 \\ 7 & 4 & b \\ c & -3 & 0 \end{bmatrix} 1 7 c a 4 − 3 2 b 0 is symmetric.
Why can [ 1 2 − 2 0 ] \begin{bmatrix} 1 & 2 \\ -2 & 0 \end{bmatrix} [ 1 − 2 2 0 ] not be skew-symmetric?
Express [ 4 7 1 3 ] \begin{bmatrix} 4 & 7 \\ 1 & 3 \end{bmatrix} [ 4 1 7 3 ] as the sum of a symmetric and a skew-symmetric matrix.
Express [ 3 1 − 2 5 0 4 2 6 1 ] \begin{bmatrix} 3 & 1 & -2 \\ 5 & 0 & 4 \\ 2 & 6 & 1 \end{bmatrix} 3 5 2 1 0 6 − 2 4 1 as the sum of a symmetric and a skew-symmetric matrix.
Answers#
Show answers
[ 3 − 1 0 2 ] \begin{bmatrix} 3 \\ -1 \\ 0 \\ 2 \end{bmatrix} 3 − 1 0 2 , of order 4 × 1 4 \times 1 4 × 1 .
[ 1 3 5 2 4 6 ] \begin{bmatrix} 1 & 3 & 5 \\ 2 & 4 & 6 \end{bmatrix} [ 1 2 3 4 5 6 ] .
A + B = [ 3 − 1 4 4 ] A + B = \begin{bmatrix} 3 & -1 \\ 4 & 4 \end{bmatrix} A + B = [ 3 4 − 1 4 ] , so ( A + B ) ′ = [ 3 4 − 1 4 ] (A + B)' = \begin{bmatrix} 3 & 4 \\ -1 & 4 \end{bmatrix} ( A + B ) ′ = [ 3 − 1 4 4 ] .
A B = [ 0 − 7 6 3 ] AB = \begin{bmatrix} 0 & -7 \\ 6 & 3 \end{bmatrix} A B = [ 0 6 − 7 3 ] , so ( A B ) ′ = [ 0 6 − 7 3 ] (AB)' = \begin{bmatrix} 0 & 6 \\ -7 & 3 \end{bmatrix} ( A B ) ′ = [ 0 − 7 6 3 ] . Also B ′ A ′ = [ 2 1 1 4 ] [ 1 3 − 2 0 ] = [ 0 6 − 7 3 ] B'A' = \begin{bmatrix} 2 & 1 \\ 1 & 4 \end{bmatrix}\begin{bmatrix} 1 & 3 \\ -2 & 0 \end{bmatrix} = \begin{bmatrix} 0 & 6 \\ -7 & 3 \end{bmatrix} B ′ A ′ = [ 2 1 1 4 ] [ 1 − 2 3 0 ] = [ 0 − 7 6 3 ] . They agree.
Symmetric.
Skew-symmetric.
a = 7 a = 7 a = 7 , b = − 3 b = -3 b = − 3 , c = 2 c = 2 c = 2 .
Its diagonal entry 1 1 1 is not 0 0 0 .
P = [ 4 4 4 3 ] P = \begin{bmatrix} 4 & 4 \\ 4 & 3 \end{bmatrix} P = [ 4 4 4 3 ] and Q = [ 0 3 − 3 0 ] Q = \begin{bmatrix} 0 & 3 \\ -3 & 0 \end{bmatrix} Q = [ 0 − 3 3 0 ] .
P = [ 3 3 0 3 0 5 0 5 1 ] P = \begin{bmatrix} 3 & 3 & 0 \\ 3 & 0 & 5 \\ 0 & 5 & 1 \end{bmatrix} P = 3 3 0 3 0 5 0 5 1 and Q = [ 0 − 2 − 2 2 0 − 1 2 1 0 ] Q = \begin{bmatrix} 0 & -2 & -2 \\ 2 & 0 & -1 \\ 2 & 1 & 0 \end{bmatrix} Q = 0 2 2 − 2 0 1 − 2 − 1 0 .