Discord

INAIO Guide Stage 1 11Matrices and Linear Transformations

11.4 Systems and transformations

Write simultaneous equations as Ax=b and use matrices to describe how every point is transformed.

In Module 2.2, we solved several linear equations at once. In Module 11.3, each matrix row produced one output from the same inputs. Put those ideas together: a system of equations can be written as one matrix calculation. The same calculation also tells us how a matrix moves every input vector to an output vector. These are two ways to read Ax=bAx=b.

This is intermediate linear algebra. OpenStax's lesson on matrix systems develops solving methods. Review matrix–vector multiplication (Module 11.3) first.

A basic idea: equations as rows, transformations as columns

The system 2x+y=52x+y=5, x−y=1x-y=1 becomes

[211−1]⏟A[xy]⏟unknown=[51]⏟b.\underbrace{\begin{bmatrix}2&1\\1&-1\end{bmatrix}}_{A} \underbrace{\begin{bmatrix}x\\y\end{bmatrix}}_{\text{unknown}} =\underbrace{\begin{bmatrix}5\\1\end{bmatrix}}_{b}.

Each row encodes one equation, so writing Ax=bAx=b packages the system from Module 2.2; it does not change its solutions. For the geometric reading, ask what AA does to a point (x,y)(x,y): A(x,y)TA(x,y)^{\mathsf T} is its new position. The first column of AA is where (1,0)(1,0) lands and the second is where (0,1)(0,1) lands. These two unit arrows are called the standard basis vectors. Knowing where they land tells us where every point lands, because (x,y)=x(1,0)+y(0,1)(x,y)=x(1,0)+y(0,1).

A square grid becomes a slanted grid under the shear matrix with first column (1,0) and second column (1,1).A square grid becomes a slanted grid under the shear matrix with first column (1,0) and second column (1,1).
A transformation sends the basis arrows to the matrix columns and carries the grid with them.

A quick tour of properties

For AA of shape m×nm\times n, Ax=bAx=b has mm equations and nn unknowns. A system can have exactly one solution, no solution, or infinitely many. A linear transformation ff satisfies f(u+v)=f(u)+f(v)f(u+v)=f(u)+f(v) and f(cu)=cf(u)f(cu)=cf(u); therefore it always sends the zero vector to zero. An added offset would make the map affine, not linear.

Application 1: solve two equations

Solve 2x+y=52x+y=5 and x−y=1x-y=1.

  1. From the second equation, y=x−1y=x-1.
  2. Substitute into the first: 2x+(x−1)=52x+(x-1)=5, so 3x=63x=6 and x=2x=2.
  3. Then y=1y=1. Check: A(2,1)T=(5,1)TA(2,1)^{\mathsf T}=(5,1)^{\mathsf T}.

Application 2: shear a point

Let S=[1101]S=\begin{bmatrix}1&1\\0&1\end{bmatrix}. Its columns show S(1,0)=(1,0)S(1,0)=(1,0) and S(0,1)=(1,1)S(0,1)=(1,1). For (2,1)(2,1),

S[21]=2[10]+1[11]=[31].S\begin{bmatrix}2\\1\end{bmatrix} =2\begin{bmatrix}1\\0\end{bmatrix} +1\begin{bmatrix}1\\1\end{bmatrix} =\begin{bmatrix}3\\1\end{bmatrix}.

The basis-vector view and the row calculation agree.

Resources

SourceTitleWhy read it
OpenStaxSolving systems with Gaussian eliminationWrite systems using coefficient matrices and solve them.
OpenStaxMatrices and matrix operationsReview matrix products used by transformations.

Finished this module? Mark it done.

Comments

Stuck on something, spotted a mistake, or found a resource that helped you? Tell us below.

Loading comments