Search Knowledge

© 2026 LIBREUNI PROJECT

Linear Algebra / Linear Maps

Linear Transformations and Matrices

Linear Transformations and Matrices

A linear transformation T:VWT: V \to W is a mapping between vector spaces that preserves the operations of addition and scalar multiplication.

Properties of Linear Maps

TT is linear if for all u,vV\mathbf{u}, \mathbf{v} \in V and cFc \in F:

  1. T(u+v)=T(u)+T(v)T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})
  2. T(cv)=cT(v)T(c\mathbf{v}) = cT(\mathbf{v})

Every linear transformation between finite-dimensional vector spaces can be represented as a matrix.

python

Interactive Lab

Read the code, make a small change, then run it and inspect the output. Runtime setup messages stay outside the terminal so the result remains focused on what the program prints.

Step 1
Inspect the idea
Step 2
Edit the program
Step 3
Run and compare

Composition and Matrix Multiplication

If T:UVT: U \to V and S:VWS: V \to W are linear maps, their composition ST:UWS \circ T: U \to W is also linear. The matrix representing STS \circ T is the product of the matrices representing SS and TT.

If A is a 3x2 matrix and B is a 2x5 matrix, what is the size of AB?

Change of Basis

The matrix representation of a linear map depends on the choice of bases for VV and WW. If [T]B[T]_B is the matrix in basis BB, and PP is the transition matrix from basis BB' to BB, then: [T]B=P1[T]BP[T]_{B'} = P^{-1} [T]_B P

python

Interactive Lab

Read the code, make a small change, then run it and inspect the output. Runtime setup messages stay outside the terminal so the result remains focused on what the program prints.

Step 1
Inspect the idea
Step 2
Edit the program
Step 3
Run and compare

What type of matrix transforms any vector to itself?