4.1 What is linear algebra?

Linear algebra is the mathematics of two operations on a collection of objects called vectors: you can add two vectors to get a vector, and you can multiply a vector by a number to get a vector. That is the whole definition. Anything else linear algebra studies — matrices, eigenvalues, inner products, the spectral theorem — is built on those two operations.

The reason this minimal-looking structure is so powerful is that an enormous range of physical and mathematical objects satisfy these two rules:

Anything you can add and scale is, at root, a vector. Linear algebra is the unified language for all of it.

This first lesson skips the algebra and shows the geometric picture that everything else in the chapter will live inside.

Vectors as arrows; matrices as transformations

A two-dimensional vector v=(x,y)\mathbf{v} = (x, y) is a column of two numbers, or equivalently an arrow from the origin to the point (x,y)(x, y) in the plane. Adding two vectors corresponds to stacking arrows tip-to-tail; scaling stretches an arrow without rotating it. That is the entire content of “vectors form a vector space.”

A matrix is the next concept. A 2×22 \times 2 matrix

A  =  (a11a12a21a22)A \;=\; \begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix}

is a rule for sending one vector to another. The recipe is matrix–vector multiplication: given an input v=(x,y)\mathbf{v} = (x, y), the output is

Av  =  (a11x+a12ya21x+a22y).A \mathbf{v} \;=\; \begin{pmatrix} a_{11} x + a_{12} y \\ a_{21} x + a_{22} y \end{pmatrix}.

We will work through this formula carefully in 4.2. For now, take the geometric view: a matrix is a transformation of the plane that respects addition and scaling. If you input u+v\mathbf{u} + \mathbf{v} you get Au+AvA\mathbf{u} + A\mathbf{v}; if you input cvc \mathbf{v} you get cAvc \cdot A\mathbf{v}. That linearity property is so restrictive that the matrix’s behaviour is completely determined by what it does to just two vectors — the standard basis e1=(1,0)\mathbf{e}_1 = (1, 0) and e2=(0,1)\mathbf{e}_2 = (0, 1) — because every other vector is xe1+ye2x \mathbf{e}_1 + y \mathbf{e}_2.

The picture

A e₁ = (1.00, 0.00)A e₂ = (0.00, 1.00)matrix A⎡ 1.00 0.00 ⎤ ⎣ 0.00 1.00 ⎦determinantdet A = 1.000orientation preserved
preset:

The pale grid is the original plane; the blue grid is its image under A. The two coloured arrows are the images of the standard basis vectors: A e₁ is the first column of A, A e₂ is the second. Every vector v = (x, y) ends up at x · A e₁ + y · A e₂ — multiplying by A means "express v in the e₁, e₂ basis, then walk the columns." The determinant counts oriented area: positive det preserves orientation, negative det flips it, zero det collapses the plane onto a line or a point.

The interactive shows a unit grid (faint, in the original plane) being mapped to a parallelogram grid (blue) by a 2×22 \times 2 matrix AA. Pick a preset or slide the four matrix entries directly. Things to absorb:

Why this matters beyond pictures

The geometric picture in two dimensions generalises directly to higher dimensions, even when “picture” stops being literally possible. A 3×33 \times 3 matrix is a linear transformation of 3-D space; an n×nn \times n matrix is a linear transformation of nn-dimensional space; an infinite-dimensional linear operator (the time-evolution operator of a quantum state, the Laplacian acting on functions in a cavity) is a linear transformation of an infinite-dimensional function space.

The structure carries over: the operator has columns (in some basis), an “area” generalisation (a determinant or a related volume form), eigenvalues (directions only stretched, not rotated), and a notion of singularity (loss of information). Every one of those concepts appears repeatedly across Sound, Hearing, and Cavitation, because every linear PDE on the bookshelf is a linear operator whose eigenvalue structure determines its physics.

The next lesson defines the operations carefully — what matrix–vector multiplication does, how matrices compose, what the inverse means.