Skip to content
LoveToCalc

Theorem — what does that mean?

Matrix of a linear map

A linear map is decided by where it sends the basis vectors. Put those images as the columns of a matrix and the map becomes a matrix times a vector.

In Swedish: Matrisen för en linjär avbildning

Matrix of a linear map

The relation

(T(x)₁, T(x)₂)=x₁(a₁₁, a₂₁)+x₂(a₁₂, a₂₂)+x₃(a₁₃, a₂₃)

A linear map T: ℝ³ → ℝ² has a 2×3 matrix A whose columns are T(e₁), T(e₂) and T(e₃), and T(x) = Ax = x₁T(e₁) + x₂T(e₂) + x₃T(e₃).

Solved for T(x)

T(x)=(a₁₁x₁+a₁₂x₂+a₁₃x₃, a₂₁x₁+a₂₂x₂+a₂₃x₃)

T(x)=(4, 1)

T(x) equals the vector ((((1 times 2) plus (2 times 1)) plus (0 times (−1))), (((3 times 2) plus ((−1) times 1)) plus (4 times (−1)))), equals the vector (((2 plus 2) plus 0), ((6 plus (−1)) plus (−4))), equals the vector ((4 plus 0), (5 plus (−4))), equals the vector (4, 1)

Working4 steps

Practice questions

You are given

  • x₁=1
  • a₁₁=3
  • a₂₁=2
  • x₂=-2
  • a₁₂=1
  • a₂₂=-1
  • x₃=2
  • a₁₃=-2
  • a₂₃=0
Your answer: The image T(x) T(x)

What a linear map is

A map T from a vector space to another is linear if T(u + v) = T(u) + T(v) and T(λu) = λT(u) for all vectors u, v and numbers λ. It follows that T(0) = 0 and that T of a combination is the combination of the images.

For T from ℝⁿ to ℝᵐ with the standard basis e₁, …, eₙ, write x = x₁e₁ + … + xₙeₙ. Then

where A is the m×n matrix whose columns are T(e₁), …, T(eₙ). The card above is this for n = 3 and m = 2: it forms the combination of the three columns, one coordinate at a time. A 2×3 matrix takes a vector of ℝ³ to a vector of ℝ².

Holds for linear maps and for the standard bases. For a map of a space to itself, the matrix in a new basis is P⁻¹AP; see change of basis.

Worked example

T(x, y, z) = (x + 2y, 3x − y + 4z). The images of the basis vectors are

so A has the rows (1, 2, 0) and (3, −1, 4). For x = (2, 1, −1):

Directly from the formula for T: (2 + 2·1, 3·2 − 1 + 4·(−1)) = (4, 1).

A second example: rotation in the plane

Rotating the plane 90° counterclockwise sends e₁ = (1, 0) to (0, 1) and e₂ = (0, 1) to (−1, 0). The matrix has the columns (0, 1) and (−1, 0), so the rows (0, −1) and (1, 0). The point (3, 2) goes to 3·(0, 1) + 2·(−1, 0) = (−2, 3). On the card, put the third coordinate and the third column to 0 for a map from the plane to the plane.

Map of the plane Images of e₁ and e₂ Matrix rows
Reflection in the x-axis (1, 0), (0, −1) (1, 0) and (0, −1)
Rotation 90° counterclockwise (0, 1), (−1, 0) (0, −1) and (1, 0)
Stretch by 2 along x (2, 0), (0, 1) (2, 0) and (0, 1)

What a matrix does next

Common mistakes

Frequently asked questions

How do I find the matrix if only T(u) and T(v) are given for a basis (u, v)? Write e₁ and e₂ as combinations of u and v, using the coordinates from basis and dimension, and apply T to the combinations. As matrices, A = [T(u) T(v)]·[u v]⁻¹, where [u v] has u and v as its columns.

Is every matrix the matrix of a linear map? Yes. x ↦ Ax is linear for any m×n matrix A, and its columns are the images of the standard basis vectors.

What is the kernel of a map? The vectors x with T(x) = 0, the null space of A. The image is the set of all T(x), the span of the columns.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
T(x)₁a₁₁x₁+a₁₂x₂+a₁₃x₃1·2+2·1+0·(−1)4
T(x)₂a₂₁x₁+a₂₂x₂+a₂₃x₃3·2+(−1)·1+4·(−1)1

Last reviewed November 7, 2026 ·How pages are reviewed

Calculate it in practice

Linear algebraAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.