Evanalysis
3.2Estimated reading time: 15 min

3.2 Transpose and special matrices

Use transpose, symmetry, non-commuting products, and block structure to read matrix shape and algebraic behavior.

Course contents

MATH1030: Linear algebra I

Linear algebra notes.

37 sections

Once matrix multiplication is available, the shape of a matrix starts to matter as much as its numerical entries. The transpose is the first tool in this section that lets us read a matrix by its geometry: rows become columns, and the main diagonal becomes the axis of reflection. That simple idea explains symmetry, skew-symmetry, commuting patterns, and block structure.

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) 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 is not a new operation that changes the numbers in a mysterious way. It is purely a re-reading of the same entries in the opposite orientation.

Worked example

Compute a transpose

Let

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

Then

AT=[104325].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.

Two 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

For compatible matrices:

  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. (AC)T=CTAT(AC)^T = C^T A^T

The proof of the product rule is worth reading carefully once. To compare (AC)T(AC)^T and CTATC^T A^T, you compare their corresponding entries. The transpose does not change the numbers involved in the summation; it only changes the direction in which those numbers are arranged.

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.

Symmetry says the matrix matches its reflection across the main diagonal. Skew-symmetry says the reflected matrix is the negative of the original.

Worked example

Recognize symmetry

The matrix

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

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

The matrix

[021204140]\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 0.

Three quick consequences are especially useful:

  • every diagonal entry of a real skew-symmetric matrix is 0
  • 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,(AAT)T=(AAT).(A + A^T)^T = A + A^T, \qquad (A - A^T)^T = -(A - A^T).

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

Proof

Why the identities hold

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 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(AAT).S = \frac{1}{2}(A + A^T), \qquad K = \frac{1}{2}(A - A^T).

The proof is a good model for how the course turns rough intuition into a formal argument.

Worked example

Decompose a matrix

Let

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

Then

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

So

12(A+AT)=[1152115252520],\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(AAT)=[0132101232120].\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 very useful symmetric pattern that appears whenever a product is paired with its transpose.

Theorem

Products with a transpose are symmetric

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

Proof

One-line proof

This identity is one of the main reasons transpose shows up again in later topics such as orthogonality, projections, and least-squares style arguments.

Commuting and non-commuting matrices

Definition

Commuting matrices

Two matrices AA and BB of the same size 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.

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 ABBAAB \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, then

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

Proof

Why this is true

Worked example

Symmetric times skew-symmetric, with commutation

Let

S=[2003],K=[0110].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=[0230],KS=[0320].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.

Special matrices

Special matrices are defined by where the zero entries must be. That makes them much easier to read and often much easier to multiply.

Definition

Diagonal, upper-triangular, and lower-triangular matrices

  • A diagonal matrix has all off-diagonal entries equal to 0.
  • An upper-triangular matrix has all entries below the main diagonal equal to 0.
  • A lower-triangular matrix has all entries above the main diagonal equal to 0.

Worked example

Transpose of a triangular matrix

If

U=[123045006],U = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 4 & 5 \\ 0 & 0 & 6 \end{bmatrix},

then

UT=[100240356].U^T = \begin{bmatrix} 1 & 0 & 0 \\ 2 & 4 & 0 \\ 3 & 5 & 6 \end{bmatrix}.

So the transpose of an upper-triangular matrix is lower-triangular.

Two structural facts are worth keeping in mind:

  • the product of two diagonal matrices is diagonal
  • the product of two upper-triangular matrices is upper-triangular
  • the product of two lower-triangular matrices is lower-triangular

For diagonal matrices, the product is especially simple:

diag(d1,,dn)diag(e1,,en)=diag(d1e1,,dnen).\operatorname{diag}(d_1,\dots,d_n)\, \operatorname{diag}(e_1,\dots,e_n) = \operatorname{diag}(d_1 e_1,\dots,d_n e_n).

That is why diagonal matrices of the same size commute with each other.

Common mistake

Do not confuse the matrix with its zero pattern

An upper-triangular matrix may have many nonzero entries above the diagonal, but never below it. A diagonal matrix is more restrictive: every off-diagonal entry must be zero.

Block matrices

Large matrices are often easier to read if we group entries into blocks. A block matrix is still just a matrix; the blocks are a way of organizing it.

Definition

Block matrix

If a matrix is partitioned by drawing horizontal and vertical cuts, the resulting submatrices are called blocks.

For example,

A=[1021340152637810]=[A11A12A21A22],A = \begin{bmatrix} 1 & 0 & 2 & 1 \\ 3 & 4 & 0 & -1 \\ 5 & 2 & 6 & 3 \\ 7 & 8 & 1 & 0 \end{bmatrix} = \begin{bmatrix} A_{11} & A_{12} \\ A_{21} & A_{22} \end{bmatrix},

where

A11=[1034],A12=[2101],A21=[5278],A22=[6310].A_{11} = \begin{bmatrix} 1 & 0 \\ 3 & 4 \end{bmatrix}, \quad A_{12} = \begin{bmatrix} 2 & 1 \\ 0 & -1 \end{bmatrix}, \quad A_{21} = \begin{bmatrix} 5 & 2 \\ 7 & 8 \end{bmatrix}, \quad A_{22} = \begin{bmatrix} 6 & 3 \\ 1 & 0 \end{bmatrix}.

At the block level, transpose simply swaps the blocks and transposes each block:

AT=[A11TA21TA12TA22T].A^T = \begin{bmatrix} A_{11}^T & A_{21}^T \\ A_{12}^T & A_{22}^T \end{bmatrix}.

This is the same row/column swap principle as before, just applied to grouped pieces instead of individual entries.

Worked example

Block multiplication

Suppose the partition sizes are compatible, and write

M=[ABCD],N=[EFGH].M = \begin{bmatrix} A & B \\ C & D \end{bmatrix}, \qquad N = \begin{bmatrix} E & F \\ G & H \end{bmatrix}.

Then

MN=[AE+BGAF+BHCE+DGCF+DH].MN = \begin{bmatrix} AE + BG & AF + BH \\ CE + DG & CF + DH \end{bmatrix}.

The formula looks exactly like ordinary 2×22 \times 2 matrix multiplication, but each entry is now a block product.

The key condition is compatibility: the inner block sizes must match so that each block product is meaningful. If the partitions do not align, block multiplication is not even defined.

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 skew-symmetric real matrix has a zero diagonal

If AT=AA^T = -A, then each diagonal entry must equal its own negative, so every diagonal entry is 0.

Common mistake

Block sizes must line up

You may only multiply block matrices when the blocks are partitioned compatibly. Treating blocks as letters is only valid when the block products actually make sense.

Quick checks

Quick check

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

Swap rows and columns.

Solution

Answer

Quick check

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

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

Solution

Answer

Quick check

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

Remember that transpose reverses the order of multiplication.

Solution

Answer

Quick check

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

Read the definitions directly.

Solution

Answer

Guided exercises

Quick check

Find the symmetric and skew-symmetric parts of A=[[2,1],[4,3]]A = [[2,1],[4,3]].

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

Solution

Guided solution

Quick check

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

Use the transpose identity and the commuting assumption.

Solution

Guided solution

This note builds on 3.1 Matrix multiplication and identity matrices. For solution-set structure, continue to 4.1 Homogeneous systems and null space.

Section mastery checkpoint

Answer each question correctly to complete this section checkpoint. Correct progress: 0%.

Skills: transpose, matrix-dimensions

If A is 2×5, what is the size of A^T?

Attempts used: 0

Attempts remaining: Unlimited attempts

Preview does not consume an attempt.

Submit records a graded attempt.

Skills: transpose, matrix-identities

Fill in the blank: for every matrix A, (A^T)^T = ____.

Attempts used: 0

Attempts remaining: Unlimited attempts

Preview does not consume an attempt.

Submit records a graded attempt.

Syntax guidance: A short symbolic answer such as AA is enough.

Skills: transpose, special-matrices, symmetric-matrix

Which condition is required for A to be a symmetric matrix?

Attempts used: 0

Attempts remaining: Unlimited attempts

Preview does not consume an attempt.

Submit records a graded attempt.

Skills: transpose, symmetric-matrix, matrix-algebra

For any square matrix AA, what can be said about A+ATA + A^T?

Attempts used: 0

Attempts remaining: Unlimited attempts

Preview does not consume an attempt.

Submit records a graded attempt.

Key terms in this unit

Premium learning add-ons

Core notes stay free. Advanced exercises, video explanations, and premium exports are available through paid plans.