Skip to content
MathsMaths
Start learning

Maths · Lesson 3.2

Matrix Multiplication & Transpose

The row-by-column rule, transpose, symmetric and skew-symmetric matrices.

Core syllabus1 linked experiment
01

Learning objectives

By the end of this lesson, you should be able to:

  • Multiply matrices when the orders are conformable.
  • Use the row-by-column rule accurately.
  • Find the transpose of a matrix.
  • Recognise symmetric and skew-symmetric matrices.
02

Lesson

Matrix multiplication is the operation that makes matrices useful. It combines rows of the first matrix with columns of the second, and it represents the composition of linear transformations. Unlike ordinary multiplication, it is not commutative.

The transpose flips a matrix across its main diagonal. Transposes connect row operations to column operations and are essential for symmetry, least squares and covariance matrices.

A rectangular multiplication grid showing rows and columns.
Rows and columns combine in matrix multiplication

The row-by-column rule

If A is m × n and B is n × p, then AB is m × p. The entry in row i and column j of AB is the dot product of row i of A with column j of B: (AB)ij = ∑k aikbkj. The inner dimensions must match.

Matrix multiplication is associative and distributive, but not commutative. In fact, AB may be defined while BA is not, or the two products may have different orders. The identity matrix satisfies AI = IA = A whenever the orders are compatible.

Transpose and symmetry

The transpose At is obtained by interchanging rows and columns: the entry in row i, column j of At is aji. If A is m × n, then At is n × m. The transpose reverses the order of a product: (AB)t = BtAt.

A square matrix is symmetric if At = A, and skew-symmetric if At = -A. A skew-symmetric matrix must have zeros on its main diagonal, because aii = -aii forces aii = 0.

03

Worked example

Let A = [[1, 2], [3, 4]] and B = [[0, 1], [2, 3]]. Find AB, BA and At.

AB = [[1(0) + 2(2), 1(1) + 2(3)], [3(0) + 4(2), 3(1) + 4(3)]] = [[4, 7], [8, 15]].

BA = [[0(1) + 1(3), 0(2) + 1(4)], [2(1) + 3(3), 2(2) + 3(4)]] = [[3, 4], [11, 16]].

The products are different, so matrix multiplication is not commutative.

At = [[1, 3], [2, 4]] by interchanging rows and columns.

04

Equations

Multiplication(AB)ij = ∑k aikbkj
Transpose(At)ij = aji
SymmetricAt = A
Skew-symmetricAt = −A
05

Key points

  • AB is defined when the number of columns of A equals the number of rows of B.
  • The entry (i, j) of AB is row i of A dotted with column j of B.
  • Matrix multiplication is not commutative in general.
  • The transpose interchanges rows and columns and reverses products.
06

Common misconceptions

Common mistake

AB always equals BA.

Correct understanding

Matrix multiplication is not commutative. In the worked example AB = [[4, 7], [8, 15]] but BA = [[3, 4], [11, 16]].

07

Check your understanding

1. If A is 2×3 and B is 3×4, what is the order of AB?

2. If A is symmetric, which statement is true?

08

Frequently asked questions

Why is matrix multiplication defined this way?

It corresponds to composing linear transformations: applying B and then A produces the matrix AB.

Can AB = 0 with neither A nor B zero?

Yes. Matrix multiplication has zero divisors, which is one reason matrix algebra differs from ordinary algebra.

NERDLYY · FEEDBACK

Help shape Nerdlyy

Your feedback goes directly to the team. We read every submission.

No reply needed — you can send feedback without sharing contact details.