Coordinates and Change of Basis

Subtopic: Vector Spaces

Different bases give different coordinate systems for the same vector space. The change of basis matrix translates coordinates from one system to another. This is essential for simplifying problems—choosing the right basis can turn a complicated matrix into a simple diagonal one.

Introduction

A map of a city uses a coordinate system. Switch from one map to another—say, from a tourist map to a surveyor's grid—and the same locations get different coordinate labels. The city hasn't changed; only the description has.

Similarly, a vector doesn't change when you switch bases, but its coordinates do. Understanding how coordinates transform lets you pick the basis that makes your problem easiest.

Coordinate Vectors

Let B={v1,v2,…,vn} B equals the set v sub 1 comma v sub 2 comma dot dot dot comma v sub n be a basis for V V. Any vector x∈V x is a member of V can be uniquely written as:

x=c1⁢v1+c2⁢v2+⋯+cn⁢vn x equals c sub 1 v sub 1 plus c sub 2 v sub 2 plus dot dot dot plus c sub n v sub n

The coordinate vector of x x relative to B B is:

[x]B=(c1c2⋮cn) open bracket x close bracket sub B equals the 4 by 1 column matrix Row 1: c sub 1 Row 2: c sub 2 Row 3: vertical ellipsis Row 4: c sub n

This maps the abstract vector x x to a concrete column of numbers.

Change of Basis Matrix

Suppose B={v1,…,vn} B equals the set v sub 1 comma dot dot dot comma v sub n and C={w1,…,wn} C equals the set w sub 1 comma dot dot dot comma w sub n are two bases for V V. The change of basis matrix from B B to C C, denoted PC←B P sub C left arrow B, satisfies:

[x]C=PC←B⁢[x]B open bracket x close bracket sub C equals P sub C left arrow B times open bracket x close bracket sub B

To construct PC←B P sub C left arrow B: express each basis vector of B B in terms of C C, and use those coordinates as columns.

PC←B=(|||[v1]C[v2]C⋯[vn]C|||) P sub C left arrow B equals the 3 by 4 matrix Row 1: Column 1, vertical bar Column 2, vertical bar Column 3, blank Column 4, vertical bar Row 2: Column 1, open bracket v sub 1 close bracket sub C Column 2, open bracket v sub 2 close bracket sub C Column 3, dot dot dot Column 4, open bracket v sub n close bracket sub C Row 3: Column 1, vertical bar Column 2, vertical bar Column 3, blank Column 4, vertical bar

Worked Example

In R2 R squared, let
B={(1,0),(0,1)} B equals the set open paren 1 comma 0 close paren comma open paren 0 comma 1 close paren (standard) and C={(1,1),(1,−1)} C equals the set open paren 1 comma 1 close paren comma open paren 1 comma negative 1 close paren.

Find PC←B P sub C left arrow B, the change of basis matrix from B B to C C.

Step 1 1: Express B B vectors in terms of C C

Write (1,0)=a⁡(1,1)+b⁡(1,−1) open paren 1 comma 0 close paren equals a of open paren 1 comma 1 close paren plus b of open paren 1 comma negative 1 close paren.
This gives a+b=1 a plus b equals 1 and a−b=0 a minus b equals 0, so a=b=12 a equals b equals one half.

Thus [(1,0)]C=(12,12) open bracket open paren 1 comma 0 close paren close bracket sub C equals open paren one half comma one half close paren.

Write (0,1)=a⁡(1,1)+b⁡(1,−1) open paren 0 comma 1 close paren equals a of open paren 1 comma 1 close paren plus b of open paren 1 comma negative 1 close paren.
This gives a+b=0 a plus b equals 0 and a−b=1 a minus b equals 1, so a=12 a equals one half, b=−12 b equals negative one half.

Thus [(0,1)]C=(12,−12) open bracket open paren 0 comma 1 close paren close bracket sub C equals open paren one half comma negative one half close paren.

Step 2 2: Form the matrix

PC←B=(121212−12) P sub C left arrow B equals the 2 by 2 matrix Row 1: one half one half Row 2: one half negative one half

Step 3 3: Verify

Take x=(3,1) x equals open paren 3 comma 1 close paren. In standard basis B B: [x]B=(3,1) open bracket x close bracket sub B equals open paren 3 comma 1 close paren.

Apply the change of basis:

[x]C=PC←B⁢[x]B=(121212−12)⁢(31)=(21) open bracket x close bracket sub C equals P sub C left arrow B times open bracket x close bracket sub B equals the 2 by 2 matrix Row 1: one half one half Row 2: one half negative one half times the 2 by 1 column matrix 3 1 equals the 2 by 1 column matrix 2 1

Check: 2⁢(1,1)+1⁢(1,−1)=(2,2)+(1,−1)=(3,1) 2 times open paren 1 comma 1 close paren plus 1 times open paren 1 comma negative 1 close paren equals open paren 2 comma 2 close paren plus open paren 1 comma negative 1 close paren equals open paren 3 comma 1 close paren.

Key Properties

  • PB←B=I P sub B left arrow B equals I (identity — no change needed)

  • PB←C=(PC←B)−1 P sub B left arrow C equals P sub C left arrow B to the negative 1 power (reverse direction = equals inverse)

  • PD←B=PD←C⁢PC←B P sub D left arrow B equals P sub D left arrow C P sub C left arrow B (chain rule for basis changes)

  • Change of basis matrices are always invertible

Transformations in Different Bases

If T:V→V T colon V right arrow V is a linear transformation with matrix A A in basis B B, its matrix in basis C C is:

A′=PC←B⁢A⁢PB←C=P−1⁢A⁢P A prime equals P sub C left arrow B A P sub B left arrow C equals P to the negative 1 power A P

where P=PB←C P equals P sub B left arrow C. This is called a similarity transformation.

The power of choosing the right basis: if C C consists of eigenvectors, then A′ A prime is diagonal. This is diagonalization.

Applications

In computer graphics, changing between world coordinates, camera coordinates, and screen coordinates requires change of basis matrices.

In quantum mechanics, switching between position and momentum bases reveals different aspects of a quantum state.

In signal processing, changing from time domain to frequency domain (Fourier basis) simplifies analysis of periodic signals.

Summary

Coordinates depend on the choice of basis. The change of basis matrix PC←B P sub C left arrow B converts coordinates from basis B B to basis C C. Construct it by expressing B B vectors in terms of C C. The inverse goes the other direction. For linear transformations, changing basis transforms the matrix by A′=P-1⁢A⁢P A prime equals P to the negative 1 power A P. The right basis choice can dramatically simplify a problem.