Courses / Mathematics I
Matrices and Vectors

Matrices and Matrix Operations

Mathematics I 350 words Free to read

Rectangular Arrays of Numbers

A matrix is a rectangular array of numbers in rows and columns; an m×nm \times n matrix has mm rows and nn columns. Matrices represent linear systems, transformations, and data — one of the central objects of linear algebra.

The operations:

Matrix multiplication has crucial quirks:

The "row-times-column" rule looks strange until you know its purpose: a matrix represents a linear transformation, and matrix multiplication composes transformations. That is why the rule is exactly right, and why order matters — applying AA then BB differs from BB then AA, just as function composition does.

Common pitfall: assuming matrix multiplication is commutative, or multiplying entry-by-entry like addition. In general ABBAAB \neq BA (order matters, and often only one order is defined). And the product is not formed by multiplying corresponding entries — each result entry is a dot product of a row and a column, so the inner dimensions must match (AA's columns == BB's rows).

Row i of A sweeping across column j of B, each pair multiplied and summed into the accent (i,j) entry of AB — the row-times-column rule.

(AB)ij=kAikBkj(AB)_{ij} = \sum_k A_{ik} B_{kj}

Matrices and Matrix Operations

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

9practice questions
2interactive scenes
Start Mathematics I free

Matrices and Vectors