A matrix connects a set of inputs to a set of outputs, and flipping its rows into columns lets us trace those exact same connections in the opposite direction.
1
Turning Rows into Columns and Inputs into Outputs
To find the transpose of a matrix A, we turn each row of A into a column of AT, which swaps the roles of the inputs and outputs in the network.
Turning Rows into Columns and Inputs into Outputs
Text solution
Turn each row of A into a column of ATThe first row [1,2,3] and second row [4,5,6] become the first and second columns of the transposed matrix.
A=[142536]⟶transposeAT=123456
Read the columns of AT from outputs back to inputsBecause Row i of A showed how Output i gathered from all 3 inputs, Column i of AT now shows how Output i sends back to those same 3 inputs.
Row i of A (into Output i)⟶Column i of AT (out of Output i)
2
Moving a Matrix Across a Dot Product
Tracing connections backward does not undo the matrix, which is the job of the inverse A−1. Instead, the transpose tells us how to move a matrix from one vector to the other inside a dot product.
To take the dot product of two column vectors x and y using matrix multiplication, we transpose the first vector into a row so it can dot with the column on the right:
x⋅y=xTy
Now suppose a matrix A multiplies y inside that dot product, x⋅(Ay), and we want to move A onto x instead.
Moving a Matrix Across a Dot Product
x⋅(Ay)=(?)⋅y
Text solution
Group A with y on the rightMultiply y by A first, then take the dot product of x with the resulting vector Ay.
x⋅(Ay)=[12]⋅([1031][21])=[12]⋅[51]=7
Move A across the dot onto x as ATMoving the matrix to the left side swaps which vector is on the row side and which is on the column side, so every entry of A flips across the diagonal into AT to keep pairing the same entries of x and y.
(ATx)⋅y=([1301][12])⋅[21]=[15]⋅[21]=7
When A moves across the dot from x⋅(Ay) to (ATx)⋅y, it flips across its main diagonal into AT. That keeps every entry (i,j) paired with the exact same xi and yj, so the dot product stays the same.
Moving a matrix to the other side of a dot product flips it across its diagonal so every number stays wired to the same parts of both vectors.
For any matrix A and vectors x and y of matching sizes, moving the matrix across the dot puts a transpose on it:
x⋅(Ay)=(ATx)⋅y
3
Transposing Sums and Products
Next, we want to transpose expressions where matrices are scaled, added, or multiplied together. Scaling or adding matrices happens entry by entry, while multiplying AB chains two input-output steps one after the other.
Transposing Sums and Products
(AB)T=?
Flipping a matrix twice returns the original matrix, and we can transpose a sum or scalar multiple term by term, but transposing a product reverses the order of multiplication:
(AT)T(cA)T(A+B)T=A=cAT=AT+BT
(AB)T(ABC)T=BTAT=CTBTAT
Even when A and B are square, entry (i,j) of AB comes from dotting Row i of A on the left with Column j of B on the right. In (AB)T, that number moves to position (j,i). To get that same dot product in position (j,i), Column j of B has to become Row j of BT on the left, and Row i of A has to become Column i of AT on the right.
When you transpose a matrix product, moving an entry across the diagonal turns the second matrix's column into the row on the left and the first matrix's row into the column on the right, which only happens when you reverse the order of the matrices.
4
Symmetric Matrices
A square matrix is symmetric when it equals its own transpose, meaning every entry across the main diagonal matches its mirror image and every connection between i and j is equal in both directions.
Symmetric Matrices
Text solution
Apply the reverse-order rule to (AB)TEven when AT=A and BT=B, transposing their product reverses the multiplication order to BA.
(AB)T=BTAT=BA
Multiply A and B to see why AB is not symmetricBecause B triples the second column of A without tripling the second row, the off-diagonal entries 6 and 2 no longer match.
AB=[1221][1003]=[1263]=(AB)T
To guarantee a symmetric product even when AB=BA, put one matrix on both sides of the other so the order reads the same backward and forward:
(ABA)T=ATBTAT=ABA
5
Building Symmetry with ATA and AAT
Most data tables aren't symmetric or even square. To build a square, symmetric comparison table from any rectangular matrix A, we multiply A by its own transpose in either order.
Building Symmetry with AᵀA and AAᵀ
Text solution
Put AT on the left to compare the 2 columns (movies)The rows of AT are the columns of A, so ATA dots every column of A with every column of A to build a 2×2 symmetric table.
Put A on the left to compare the 3 rows (people)Now A puts its 3 rows on the left and AT puts those same rows as columns on the right, dotting every row with every row to build a 3×3 symmetric table.
Instead of multiplying a square matrix A by AT, we can average A and AT to get its two-way symmetric part, and take half their difference to get its one-way skew-symmetric part.
Symmetric and Skew-Symmetric Parts
Text solution
Average A and AT to get the symmetric part SAdding A and AT and dividing by 2 keeps the diagonal entries 2 and 4 and replaces the off-diagonal pair 6 and 0 with their average, 3.
S=21(A+AT)=21([2064]+[2604])=[2334]
Take half the difference to get the skew-symmetric part KSubtracting AT from A and dividing by 2 puts zeros on the main diagonal and opposite entries +3 and −3 across it, so KT=−K.
K=21(A−AT)=21([2064]−[2604])=[0−330]
Add S and K to get A backThe +AT and −AT terms cancel out, splitting A into its two-way average and its one-way difference.
In a 2×2 matrix A, the symmetric part S=21(A+AT) averages the two off-diagonal entries and stretches or flips space along perpendicular axes. The skew-symmetric part K=21(A−AT) takes half their difference, which turns space a quarter turn and scales it, and disappears whenever the two off-diagonal entries match.
Any square matrix splits into a symmetric part using the average of its cross-connections, and a skew-symmetric part using half their difference.
Key concepts
Flipping rows into columns swaps inputs and outputs
Entry (i,j) of A moves to (j,i) of AT, so Row i of A (how Output i gathers from the inputs) becomes Column i of AT (how Output i sends back to the inputs). On a square matrix, the main diagonal stays in place while off-diagonal entries flip across it.
Moving a matrix across a dot product transposes it
Because x⋅y=xTy, you can move A from one vector to the other by transposing it:
x⋅(Ay)=(ATx)⋅y
Use this whenever you already know ATx (for example, if ATx=[25] and y=[13], then x⋅(Ay)=[25]⋅[13]=17 with no need to find A).
Reverse the order when transposing a product
Sums transpose term by term, (A+B)T=AT+BT, but products reverse order:
(AB)T(ABC)T=BTAT=CTBTAT
Don't write (AB)T as ATBT. Even if A and B are square, ATBT dots the wrong rows and columns together.
Symmetry (AT=A) vs. skew-symmetry (KT=−K)
A symmetric matrix has matching entries across the diagonal (aij=aji); a skew-symmetric matrix has opposite entries across the diagonal (kij=−kji) and must have 0s all along the main diagonal. Don't assume the product AB of two symmetric matrices is symmetric: (AB)T=BA, which only equals AB when AB=BA.
Building and splitting symmetry
For any rectangular m×n matrix A, put the items you want to compare into the rows of the left matrix: ATA (n×n) dots columns with columns, while AAT (m×m) dots rows with rows. For any square matrix A, split it into its symmetric average and skew-symmetric difference:
A=21(A+AT)+21(A−AT)
7
Practice
1
Let A=[2305−14] represent a network where 3 inputs feed 2 outputs. Write AT, and state which column of AT tells how Output 2 sends back to the 3 inputs.
Which row of A gathers the connections into Output 2, and where does that row go when you transpose A?
Turn the 2 rows of A into the 2 columns of AT:
AT=20−1354
Be careful not to pick the second column of A,[05], which belongs to Input 2 rather than Output 2. Output 2 is Row 2 of A, so in AT it becomes Column 2 of AT,354.
2
Suppose A is a 3×3 matrix and you only know that ATx=2−14 for a vector x. If y=352, find x⋅(Ay).
Watch the negative sign on −1⋅5=−5; adding +5 instead gives the wrong answer 19.
Move A across the dot product so it multiplies x instead of y.
Move A across the dot onto x as AT, then dot ATx with y (watch the negative sign on −1⋅5=−5; adding +5 instead gives the wrong answer 19):
Given AT=[1−132] and BT=21−2041, find (AB)T and explain why ATBT cannot be multiplied.
Write the sizes of AT and BT first. Which multiplication order makes their inner dimensions match?
You don't need to transpose AT and BT back into A and B; use them directly in the reverse-order rule (AB)T=BTAT:
(AB)T=BTAT=21−2041[1−132]=2−3−3611−4
The product ATBT has sizes (2×2)(3×2), so its inner dimensions 2 and 3 do not match.
4
Find a,b,c so that A=47ca15−2b0 is symmetric, and find x,y,z so that K=xyz−3014−10 is skew-symmetric.
Compare each unknown to its mirror entry across the main diagonal: when do mirror entries match, and when are they opposites?
For A=AT, mirror entries across the diagonal must be equal, giving a=7,b=5, and c=−2. For KT=−K, don't copy the same signs across the diagonal (which would give y=−3,z=4) or leave x as any number: every diagonal entry of a skew-symmetric matrix must be zero and mirror entries must have opposite signs, giving x=0,y=3, and z=−4.
5
The 4×2 matrix A=102121−11 records how 4 people (rows) rated 2 movies (columns). State whether ATA or AAT gives the 2×2 movie comparison table, and compute it.
Are the 2 movies the rows or the columns of A, and which product puts them into the rows of the left matrix?
The 2 movies are the columns of A, so ATA puts those 2 columns into the rows on the left to build the 2×2 movie comparison table (computing AAT instead would give the 4×4 person comparison table). Watch (−1)2=+1 in the bottom-right entry (subtracting 1 gives 5 instead of 7):
ATA=[12012−111]102121−11=[6117]
6
Split A=3248−10−265 into the sum of a symmetric matrix S and a skew-symmetric matrix K.
Don't forget to divide both A+AT and A−AT by 2 (leaving out the 21 makes the two matrices add up to 2A instead of A).
For each off-diagonal pair, what is their average, and what is half their difference?
Don't forget to divide both A+AT and A−AT by 2 (leaving out the 21 makes the two matrices add up to 2A instead of A):
Let A=[1225] and B=[111k]. (a) Find the value of k for which the product AB is symmetric. (b) For any two symmetric matrices A and B of the same size, use the transpose rules to show that AB+BA is always symmetric and AB−BA is always skew-symmetric.
Match the two off-diagonal entries (not the diagonal entries 3 and 2+5k, which would give k=51).
(a) Multiply AB and compare the two off-diagonal entries. (b) What does (AB)T simplify to when AT=A and BT=B?
(a) Multiply A and B:
AB=[1225][111k]=[371+2k2+5k]
Match the two off-diagonal entries (not the diagonal entries 3 and 2+5k, which would give k=51): 1+2k=7, so k=3.
(b) Because AT=A and BT=B, reversing the order gives (AB)T=BTAT=BA and (BA)T=ATBT=AB. Therefore:
Suppose K is an n×n skew-symmetric matrix (KT=−K). Show that for any n×m matrix B, the product BTKB is also skew-symmetric, and use this to find xTKx for any column vector x.
Apply the reverse-order transpose rule to (BTKB)T, then ask what a 1×1 skew-symmetric matrix must equal.
Reverse the order of the three-matrix product and substitute KT=−K (keep the minus sign from −K; dropping it makes BTKB look symmetric):
(BTKB)T=BTKT(BT)T=BT(−K)B=−(BTKB)
So BTKB is skew-symmetric. When B is a single column vector x,xTKx is a 1×1 skew-symmetric matrix, which is a single number on the main diagonal equal to its own negative, so xTKx=0.