Evanalysis
3.3Estimated reading time: 25 min

3.3 Transpose, symmetric, and skew-symmetric matrices

Use transpose, symmetry, and commuting products to read matrix structure and algebraic behavior.

Course contents

Motivation

Once matrix multiplication is available, the shape of a matrix matters as much as its numerical entries. A row of coefficients and a column of coordinates play different roles in a product, yet many arguments need to pass from one role to the other without changing the underlying data. Transpose performs exactly that conversion: rows become columns, columns become rows, and the dimensions change accordingly.

For square matrices, this index swap can be pictured as reflection across the main diagonal. Matrices fixed by that reflection are symmetric; matrices sent to their negatives are skew-symmetric. These conditions are more than visual patterns. They determine how products behave, explain why multiplication order matters, and lead to a canonical way of separating any square matrix into two structurally simpler parts.

Throughout this note, matrix entries are real numbers. All transpose identities remain valid over an arbitrary field, but the statements that divide by 22 or deduce aii=0a_{ii}=0 from aii=−aiia_{ii}=-a_{ii} require that 22 be nonzero and invertible. Thus they also hold over any field of characteristic not equal to 22. In characteristic 22, symmetric and skew-symmetric conditions are no longer distinct, so those conclusions must be reformulated.

Transpose swaps rows and columns

Definition

Transpose

If A=[aij]A = [a_{ij}] is an m×nm \times n matrix, then its transpose ATA^T is the n×mn \times m matrix whose (j,i)(j,i) entry is aija_{ij}.

Equivalently,

(AT)ji=aij.(A^T)_{ji} = a_{ij}.

So every row of AA becomes a column of ATA^T, and every column of AA becomes a row.

This operation does not alter the entries themselves; it changes where each entry is read. If AA is m×nm \times n, then the row index of AA ranges from 11 to mm and its column index ranges from 11 to nn. After transposition, those index ranges exchange places. This dimension check should be made before using any transpose identity, because an equality of matrices is meaningful only when both sides have the same size.

The sequence below sets out the geometric picture before the examples: transpose is an index swap, and for square matrices that index swap becomes reflection across the main diagonal.

Transpose, symmetry, and skew-symmetry

Follow transpose as index-swapping and diagonal reflection, then connect that picture to symmetric matrices, skew-symmetric matrices, product order reversal, and the symmetric/skew decomposition.

  1. Index swap

    The entry a_ij in A appears at position (j,i) in A^T, so an m x n matrix becomes an n x m matrix.

  2. Diagonal reflection

    For a square matrix, transpose keeps the main diagonal fixed and swaps entries across that diagonal.

  3. Symmetric rule

    A matrix is symmetric when A^T = A, which means each off-diagonal pair satisfies a_ij = a_ji.

  4. Skew rule

    A matrix is skew-symmetric when A^T = -A, so paired entries have opposite signs and diagonal entries must be zero.

  5. Product order

    Transpose reverses products: (AB)^T = B^T A^T. The order changes because row-column pairings turn around.

  6. Two-part split

    For square A, the matrix 1/2(A+A^T) is symmetric, 1/2(A-A^T) is skew-symmetric, and the two parts add back to A.

Transpose swaps the two indices. For square matrices, that is diagonal reflection: symmetric matrices keep paired entries equal, skew-symmetric matrices make paired entries opposite, and every square matrix splits into symmetric and skew-symmetric parts.

Guided visual comparison

The live comparison below lets you switch among several examples. Compare AA with ATA^T, then look at what happens to entries on opposite sides of the main diagonal.

Read and try

Compare a matrix with its transpose

The live widget compares a matrix with its transpose and shows how the symmetric and skew-symmetric parts are built.

Choose an example

Original matrix A

2-1
-13

Transpose A^T

2-1
-13

Classification

The off-diagonal entries match, so swapping rows and columns changes nothing.

A^T = A

Symmetric

Symmetric part 1/2(A + A^T)

2-1
-13

Skew-symmetric part 1/2(A - A^T)

00
00

Worked example

Compute a transpose

Let

A=[14−2035].A = \begin{bmatrix} 1 & 4 & -2 \\ 0 & 3 & 5 \end{bmatrix}.

Then

AT=[1043−25].A^T = \begin{bmatrix} 1 & 0 \\ 4 & 3 \\ -2 & 5 \end{bmatrix}.

The 2×32 \times 3 matrix becomes a 3×23 \times 2 matrix because rows and columns swap roles.

Three basic identities should be treated as part of the definition-level vocabulary of the subject:

(AT)T=A,(A+B)T=AT+BT,(cA)T=cAT.(A^T)^T = A, \qquad (A + B)^T = A^T + B^T, \qquad (cA)^T = cA^T.

When products are defined, transpose reverses the order:

(AB)T=BTAT.(AB)^T = B^T A^T.

That reversal is not a cosmetic detail. It reflects the fact that matrix multiplication is built from row-column pairings, and transposition switches the role of rows and columns.

Worked example

Transpose identities in action

Take

A=[1201],B=[3045].A = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}, \qquad B = \begin{bmatrix} 3 & 0 \\ 4 & 5 \end{bmatrix}.

Then

A+B=[4246],(A+B)T=[4426].A + B = \begin{bmatrix} 4 & 2 \\ 4 & 6 \end{bmatrix}, \qquad (A + B)^T = \begin{bmatrix} 4 & 4 \\ 2 & 6 \end{bmatrix}.

On the other hand,

AT+BT=[1021]+[3405]=[4426].A^T + B^T = \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix} + \begin{bmatrix} 3 & 4 \\ 0 & 5 \end{bmatrix} = \begin{bmatrix} 4 & 4 \\ 2 & 6 \end{bmatrix}.

The product rule is similar, but the order matters:

AB=[111045],(AB)T=[114105],AB = \begin{bmatrix} 11 & 10 \\ 4 & 5 \end{bmatrix}, \qquad (AB)^T = \begin{bmatrix} 11 & 4 \\ 10 & 5 \end{bmatrix},

while

BTAT=[3405][1021]=[114105].B^T A^T = \begin{bmatrix} 3 & 4 \\ 0 & 5 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 2 & 1 \end{bmatrix} = \begin{bmatrix} 11 & 4 \\ 10 & 5 \end{bmatrix}.

Theorem

Basic properties of transpose

Let AA and BB have the same size when they are added, let cc be a scalar, and suppose AA is m×nm \times n and BB is n×pn \times p when they are multiplied. Then:

  1. (AT)T=A(A^T)^T = A
  2. (A+B)T=AT+BT(A + B)^T = A^T + B^T
  3. (cA)T=cAT(cA)^T = cA^T
  4. (AB)T=BTAT(AB)^T = B^T A^T

The first three rules follow immediately by comparing entries. The product rule deserves a complete calculation because it explains why the order reverses.

Proof

Entrywise proof of the product rule

Let A=[aij]A=[a_{ij}] be m×nm \times n and B=[bij]B=[b_{ij}] be n×pn \times p. Then ABAB is m×pm \times p, so both (AB)T(AB)^T and BTATB^T A^T are p×mp \times m. For 1≤i≤p1 \le i \le p and 1≤j≤m1 \le j \le m, the (i,j)(i,j) entry of the first matrix is

((AB)T)ij=(AB)ji=∑k=1najkbki.\bigl((AB)^T\bigr)_{ij} =(AB)_{ji} =\sum_{k=1}^{n} a_{jk}b_{ki}.

On the other hand, the (i,j)(i,j) entry of BTATB^T A^T is

(BTAT)ij=∑k=1n(BT)ik(AT)kj=∑k=1nbkiajk=∑k=1najkbki.\begin{aligned} (B^T A^T)_{ij} &=\sum_{k=1}^{n}(B^T)_{ik}(A^T)_{kj} \\ &=\sum_{k=1}^{n}b_{ki}a_{jk} \\ &=\sum_{k=1}^{n}a_{jk}b_{ki}. \end{aligned}

The last equality uses commutativity of scalar multiplication, not commutativity of matrix multiplication. Corresponding entries therefore agree, so (AB)T=BTAT(AB)^T=B^T A^T. The dimensions also explain the reversed order: BTB^T is p×np \times n and ATA^T is n×mn \times m, whereas ATBTA^T B^T would generally not even be defined.

Why transpose matters beyond rearranging entries

Suppose AA is m×nm \times n, xx is a column in Rn\mathbb{R}^n, and yy is a column in Rm\mathbb{R}^m. The product AxAx lies in Rm\mathbb{R}^m, so its dot product with yy is defined. Written as matrix multiplication, the same scalar can be regrouped as

(Ax)Ty=xTATy=xT(ATy).(Ax)^T y=x^T A^T y=x^T(A^T y).

The first equality uses the product-transpose rule; the second only changes parentheses, using associativity. Thus an application of AA to xx can be transferred to an application of ATA^T to yy when the two sides occur inside a dot product. Later courses describe ATA^T as the matrix that moves a linear map from one side of the Euclidean inner product to the other.

The dimensions clarify the roles. The matrix AA sends an nn-component input to an mm-component output, whereas ATA^T sends an mm-component coefficient vector back to nn components. This does not say that ATA^T undoes AA; that would be a statement about an inverse. It says instead that transpose records how the same coefficients are read after rows and columns exchange roles. This distinction becomes essential in orthogonality, projections, and least-squares problems, where a rectangular matrix cannot have an ordinary two-sided inverse but always has a transpose.

This identity also provides a reliable dimension audit: if either side is not a scalar, then at least one matrix or vector has been placed in the wrong order.

Symmetric and skew-symmetric matrices

Definition

Symmetric and skew-symmetric matrices

Let AA be a square matrix.

  • AA is symmetric if AT=AA^T = A.
  • AA is skew-symmetric if AT=−AA^T = -A.

Notice the word square. If AA is not square, then AA and ATA^T do not even have the same size, so the equations AT=AA^T = A and AT=−AA^T = -A cannot be true.

Symmetry says the matrix matches its reflection across the main diagonal. Skew-symmetry says the reflected matrix is the negative of the original. Entrywise, these statements are

A symmetric  ⟺  aij=aji,A skew-symmetric  ⟺  aij=−ajiA\text{ symmetric} \iff a_{ij}=a_{ji}, \qquad A\text{ skew-symmetric} \iff a_{ij}=-a_{ji}

for every pair of indices i,ji,j. The diagonal deserves special attention. If AA is skew-symmetric, then aii=−aiia_{ii}=-a_{ii}, so 2aii=02a_{ii}=0. Over the real numbers this forces aii=0a_{ii}=0. This short argument is exactly where the characteristic-not-22 assumption enters.

Worked example

Recognize symmetry

The matrix

[2−14−130405]\begin{bmatrix} 2 & -1 & 4 \\ -1 & 3 & 0 \\ 4 & 0 & 5 \end{bmatrix}

is symmetric, because the (i,j)(i,j) and (j,i)(j,i) entries agree.

The matrix

[02−1−2041−40]\begin{bmatrix} 0 & 2 & -1 \\ -2 & 0 & 4 \\ 1 & -4 & 0 \end{bmatrix}

is skew-symmetric, because the transpose changes every off-diagonal entry's sign and leaves the diagonal as 00.

Three quick consequences are especially useful:

  • every diagonal entry of a real skew-symmetric matrix is 00
  • the zero matrix is both symmetric and skew-symmetric
  • the identity matrix is symmetric

The third item is a special case of the fact that diagonal matrices are fixed by transpose.

Theorem

Useful transpose-based identities

For every square matrix AA,

(A+AT)T=A+AT,(A−AT)T=−(A−AT).(A + A^T)^T = A + A^T, \qquad (A - A^T)^T = -(A - A^T).

So A+ATA + A^T is symmetric and A−ATA - A^T is skew-symmetric.

Proof

Why the identities hold

Apply the basic transpose rules:

(A+AT)T=AT+(AT)T=AT+A=A+AT.(A + A^T)^T = A^T + (A^T)^T = A^T + A = A + A^T.

For the difference,

(A−AT)T=AT−(AT)T=AT−A=−(A−AT).(A - A^T)^T = A^T - (A^T)^T = A^T - A = -(A - A^T).

The previous result is the starting point for the most important structural fact in this section.

Theorem

Decomposition into symmetric and skew-symmetric parts

Every real square matrix AA can be written uniquely as

A=S+K,A = S + K,

where SS is symmetric and KK is skew-symmetric. In fact,

S=12(A+AT),K=12(A−AT).S = \frac{1}{2}(A + A^T), \qquad K = \frac{1}{2}(A - A^T).

The conclusion is both an existence statement and a uniqueness statement. A formula alone is not enough unless both parts are checked.

Proof

Existence and uniqueness of the decomposition

For existence, define

S=12(A+AT),K=12(A−AT).S=\frac12(A+A^T), \qquad K=\frac12(A-A^T).

The preceding transpose identities give ST=SS^T=S and KT=−KK^T=-K, so SS is symmetric and KK is skew-symmetric. Moreover,

S+K=12(A+AT)+12(A−AT)=A.S+K =\frac12(A+A^T)+\frac12(A-A^T) =A.

Thus a decomposition exists. To prove uniqueness, suppose instead that some symmetric matrix SS and some skew-symmetric matrix KK satisfy A=S+KA=S+K. Taking transposes and using the defining properties gives a second equation,

AT=ST+KT=S−K.A^T=S^T+K^T=S-K.

Adding and subtracting the two equations yields

A+AT=2S,A−AT=2K.A+A^T=2S, \qquad A-A^T=2K.

Because 22 is invertible over the real numbers,

S=12(A+AT),K=12(A−AT).S=\frac12(A+A^T), \qquad K=\frac12(A-A^T).

Any proposed decomposition must therefore use exactly these two matrices. This proves uniqueness as well as existence. The same proof works over every field of characteristic not equal to 22.

Worked example

Decompose a matrix

Let

A=[1012−13420].A = \begin{bmatrix} 1 & 0 & 1 \\ 2 & -1 & 3 \\ 4 & 2 & 0 \end{bmatrix}.

Then

AT=[1240−12130].A^T = \begin{bmatrix} 1 & 2 & 4 \\ 0 & -1 & 2 \\ 1 & 3 & 0 \end{bmatrix}.

So

12(A+AT)=[11521−15252520],\frac{1}{2}(A + A^T) = \begin{bmatrix} 1 & 1 & \frac{5}{2} \\ 1 & -1 & \frac{5}{2} \\ \frac{5}{2} & \frac{5}{2} & 0 \end{bmatrix},

and

12(A−AT)=[0−1−32101232−120].\frac{1}{2}(A - A^T) = \begin{bmatrix} 0 & -1 & -\frac{3}{2} \\ 1 & 0 & \frac{1}{2} \\ \frac{3}{2} & -\frac{1}{2} & 0 \end{bmatrix}.

The first matrix is symmetric, the second is skew-symmetric, and their sum is AA.

There is also a useful symmetric pattern whenever a matrix is multiplied by its transpose. It converts a possibly rectangular matrix into square matrices that encode row or column interactions.

Theorem

Products with a transpose are symmetric

If the product is defined, then both ATAA^T A and AATA A^T are symmetric.

Proof

Proof by transposition

If AA is m×nm \times n, then ATAA^T A is n×nn \times n and AATAA^T is m×mm \times m, so symmetry is dimensionally possible in both cases. For the first product,

(ATA)T=AT(AT)T=ATA.(A^T A)^T = A^T (A^T)^T = A^T A.

For the second,

(AAT)T=(AT)TAT=AAT.(AA^T)^T=(A^T)^T A^T=AA^T.

Each product equals its transpose, which is precisely the definition of a symmetric matrix.

This identity is one of the main reasons transpose shows up again in later topics such as orthogonality, projections, and least-squares problems. For example, when xx is a compatible real column vector,

xTATAx=(Ax)T(Ax)=∥Ax∥2≥0.x^T A^T A x=(Ax)^T(Ax)=\lVert Ax\rVert^2\ge 0.

Thus ATAA^T A carries information about the lengths of vectors after applying AA. This observation will later connect transpose to geometry, not merely to entry rearrangement.

Commuting and non-commuting matrices

Definition

Commuting matrices

Two square matrices AA and BB of the same order commute if

AB=BA.AB = BA.

For addition, commutativity is automatic. For multiplication, it is exceptional. This is one of the most important differences between scalar algebra and matrix algebra.

The zero matrix and the identity matrix commute with every square matrix of the same size. Diagonal matrices of the same size also commute with one another, because their products remain diagonal and the diagonal entries multiply in the ordinary commutative way.

Transpose gives a precise test for when products of structured matrices retain structure. If AA and BB are symmetric, then (AB)T=BA(AB)^T=BA; consequently ABAB is symmetric exactly when AB=BAAB=BA. For two skew-symmetric matrices the same formula (AB)T=BA(AB)^T=BA appears, because the two minus signs cancel. By contrast, if SS is symmetric and KK is skew-symmetric, then (SK)T=−KS(SK)^T=-KS, so a commuting product SK=KSSK=KS is skew-symmetric rather than symmetric.

Worked example

A non-commuting pair

Take

A=[1101],B=[1011].A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}, \qquad B = \begin{bmatrix} 1 & 0 \\ 1 & 1 \end{bmatrix}.

Then

AB=[2111],BA=[1112].AB = \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix}, \qquad BA = \begin{bmatrix} 1 & 1 \\ 1 & 2 \end{bmatrix}.

So AB≠BAAB \ne BA.

That kind of example is not a curiosity. It is the reason matrix identities must always preserve the order of factors.

Theorem

A useful skew-symmetric commuting test

If AA and BB are skew-symmetric square matrices of the same order, then

AB is symmetric   ⟺  AB=BA.AB \text{ is symmetric } \iff AB = BA.

Proof

Why this is true

Because AT=−AA^T = -A and BT=−BB^T = -B,

(AB)T=BTAT=(−B)(−A)=BA.(AB)^T = B^T A^T = (-B)(-A) = BA.

So ABAB is symmetric exactly when (AB)T=AB(AB)^T = AB, and that happens exactly when BA=ABBA = AB.

Worked example

Symmetric times skew-symmetric

Let

S=[2003],K=[01−10].S = \begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix}, \qquad K = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}.

Here SS is symmetric and KK is skew-symmetric, but they do not commute:

SK=[02−30],KS=[03−20].SK = \begin{bmatrix} 0 & 2 \\ -3 & 0 \end{bmatrix}, \qquad KS = \begin{bmatrix} 0 & 3 \\ -2 & 0 \end{bmatrix}.

If two matrices of this kind do commute, then their product is skew-symmetric, because

(SK)T=KTST=(−K)S=−KS=−SK.(SK)^T = K^T S^T = (-K)S = -KS = -SK.

Common mistakes

Common mistake

Transpose reverses products

The correct identity is (AB)T=BTAT(AB)^T = B^T A^T, not ATBTA^T B^T.

Common mistake

Symmetric does not mean commuting

Symmetric is a property of one matrix. Commuting is a property of two matrices. They are different statements.

Common mistake

A zero diagonal does not guarantee skew-symmetry

If AT=−AA^T=-A, then every diagonal entry is 00, but the converse is false. For example, [0110]\begin{bmatrix}0&1\\1&0\end{bmatrix} has a zero diagonal and is symmetric, not skew-symmetric. The off-diagonal conditions aij=−ajia_{ij}=-a_{ji} must also be checked.

Common mistake

Transpose is not the same as inverse

Transpose always exists and only exchanges indices. An inverse exists only for certain square matrices and must satisfy AA−1=A−1A=IAA^{-1}=A^{-1}A=I. The symbols ATA^T and A−1A^{-1} therefore describe different operations, even though they coincide for special matrices studied later.

Summary

Transpose exchanges the two matrix indices, changes an m×nm \times n matrix into an n×mn \times m matrix, and reverses multiplication order. Symmetric and skew-symmetric matrices are square matrices characterized by AT=AA^T=A and AT=−AA^T=-A; over the real numbers, the latter condition forces a zero diagonal.

The formulas

12(A+AT)and12(A−AT)\frac12(A+A^T) \quad\text{and}\quad \frac12(A-A^T)

are not arbitrary tricks. They are the uniquely determined symmetric and skew-symmetric parts of AA, obtained by solving the two equations A=S+KA=S+K and AT=S−KA^T=S-K. Products such as ATAA^T A are automatically symmetric, while products of two structured square matrices may require commutativity to retain symmetry or skew-symmetry. These ideas prepare the algebra needed for orthogonality, quadratic forms, projections, and least-squares problems.

Quick checks

Checkpoint

If AA is 3×23 \times 2, what is the size of ATA^T?

Swap rows and columns.

Solution · Answer

ATA^T is 2×32 \times 3.

Checkpoint

What must every diagonal entry of a real skew-symmetric matrix be?

Use AT=−AA^T = -A on the diagonal.

Solution · Answer

Every diagonal entry must be 00.

Checkpoint

Which identity is correct: (AB)T=ATBT(AB)^T = A^T B^T or (AB)T=BTAT(AB)^T = B^T A^T?

Compare an arbitrary entry on the two sides, or test a noncommuting pair of square matrices.

Solution · Answer

(AB)T=BTAT(AB)^T = B^T A^T.

Checkpoint

If SS is symmetric and KK is skew-symmetric, what is STS^T and what is KTK^T?

Read the definitions directly.

Solution · Answer

ST=SS^T = S and KT=−KK^T = -K.

Guided exercises

Checkpoint

Find the symmetric and skew-symmetric parts of A=[2143]A = \begin{bmatrix}2&1\\4&3\end{bmatrix}.

Use S=1/2(A+AT)S = 1/2 (A + A^T) and K=1/2(A−AT)K = 1/2 (A - A^T).

Solution · Guided solution

First compute

AT=[2413].A^T = \begin{bmatrix} 2 & 4 \\ 1 & 3 \end{bmatrix}.

Then

S=12[4556]=[252523],S = \frac{1}{2} \begin{bmatrix} 4 & 5 \\ 5 & 6 \end{bmatrix} = \begin{bmatrix} 2 & \frac{5}{2} \\ \frac{5}{2} & 3 \end{bmatrix},

and

K=12[0−330]=[0−32320].K = \frac{1}{2} \begin{bmatrix} 0 & -3 \\ 3 & 0 \end{bmatrix} = \begin{bmatrix} 0 & -\frac{3}{2} \\ \frac{3}{2} & 0 \end{bmatrix}.

Check that SS is symmetric, KK is skew-symmetric, and A=S+KA = S + K.

Checkpoint

Let AA and BB be symmetric matrices. If AB=BAAB = BA, why is ABAB symmetric?

Use the transpose identity and the commuting assumption.

Solution · Guided solution

Because

(AB)T=BTAT=BA=AB.(AB)^T = B^T A^T = BA = AB.

So ABAB equals its transpose, which is exactly the definition of symmetric.

Checkpoint

For a square matrix AA, explain in words why A+ATA + A^T is always symmetric.

You do not need a full formal proof, but you must mention transpose.

Solution · Guided solution

If you transpose A+ATA + A^T, you get (A+AT)T=AT+(AT)T=AT+A=A+AT(A + A^T)^T = A^T + (A^T)^T = A^T + A = A + A^T, so the matrix equals its own transpose and is therefore symmetric.

Checkpoint

For a square matrix AA, explain in words why A−ATA - A^T is always skew-symmetric.

Again, focus on what happens after taking the transpose.

Solution · Guided solution

If you transpose A−ATA - A^T, you get (A−AT)T=AT−A=−(A−AT)(A - A^T)^T = A^T - A = -(A - A^T), so the transpose is the negative of the original matrix.

This note builds on 3.2 Matrix multiplication, identity matrices, and linear systems. Continue to 3.4 Special matrices to study diagonal, triangular, identity, and elementary matrix families.

Practice

Work out your answer, then check it. You can revise and try again.

Loading…

Key terms in this unit