Skip to content

Chapter 23. Coordinate Systems

A coordinate system is a way to describe vectors by scalars. In linear algebra, coordinates are not attached to a vector by nature. They depend on a chosen basis.

A vector is an element of a vector space. A coordinate vector is a column of scalars that represents that vector relative to an ordered basis. The same vector can have different coordinate vectors under different bases. A basis gives each vector a unique coordinate representation.

23.1 Coordinates from a Basis

Let VV be a vector space over a field FF. Let

B=(v1,v2,,vn) B=(v_1,v_2,\ldots,v_n)

be an ordered basis of VV.

Since BB spans VV, every vector vVv\in V can be written as

v=c1v1+c2v2++cnvn. v=c_1v_1+c_2v_2+\cdots+c_nv_n.

Since BB is linearly independent, the scalars

c1,c2,,cn c_1,c_2,\ldots,c_n

are unique.

The coordinate vector of vv with respect to BB is

[v]B=[c1c2cn]. [v]_B= \begin{bmatrix} c_1\\ c_2\\ \vdots\\ c_n \end{bmatrix}.

The notation [v]B[v]_B means “the coordinates of vv in the basis BB.”

23.2 Ordered Bases

A coordinate system requires an ordered basis.

The set

{v1,v2} \{v_1,v_2\}

and the set

{v2,v1} \{v_2,v_1\}

contain the same vectors, but they give different coordinate columns.

If

v=3v1+5v2, v=3v_1+5v_2,

then with

B=(v1,v2) B=(v_1,v_2)

we have

[v]B=[35]. [v]_B= \begin{bmatrix} 3\\ 5 \end{bmatrix}.

With

C=(v2,v1), C=(v_2,v_1),

the same vector is written as

v=5v2+3v1, v=5v_2+3v_1,

so

[v]C=[53]. [v]_C= \begin{bmatrix} 5\\ 3 \end{bmatrix}.

The order of the basis determines the order of the coordinates.

23.3 Standard Coordinates in Rn\mathbb{R}^n

The standard basis of Rn\mathbb{R}^n is

E=(e1,e2,,en), E=(e_1,e_2,\ldots,e_n),

where

e1=[100],e2=[010],,en=[001]. e_1= \begin{bmatrix} 1\\ 0\\ \vdots\\ 0 \end{bmatrix}, \quad e_2= \begin{bmatrix} 0\\ 1\\ \vdots\\ 0 \end{bmatrix}, \quad \ldots, \quad e_n= \begin{bmatrix} 0\\ 0\\ \vdots\\ 1 \end{bmatrix}.

Every vector

x=[x1x2xn] x= \begin{bmatrix} x_1\\ x_2\\ \vdots\\ x_n \end{bmatrix}

has the expansion

x=x1e1+x2e2++xnen. x=x_1e_1+x_2e_2+\cdots+x_ne_n.

Therefore

[x]E=[x1x2xn]. [x]_E= \begin{bmatrix} x_1\\ x_2\\ \vdots\\ x_n \end{bmatrix}.

In the standard basis, the coordinate vector looks exactly like the vector. This is why it is easy to forget that coordinates depend on a basis.

23.4 A Nonstandard Coordinate System

Consider the basis

B=([11],[11]) B= \left( \begin{bmatrix} 1\\ 1 \end{bmatrix}, \begin{bmatrix} 1\\ -1 \end{bmatrix} \right)

of R2\mathbb{R}^2.

Let

x=[73]. x= \begin{bmatrix} 7\\ 3 \end{bmatrix}.

To find [x]B[x]_B, solve

x=c1[11]+c2[11]. x=c_1 \begin{bmatrix} 1\\ 1 \end{bmatrix} + c_2 \begin{bmatrix} 1\\ -1 \end{bmatrix}.

This gives

[73]=[c1+c2c1c2]. \begin{bmatrix} 7\\ 3 \end{bmatrix} = \begin{bmatrix} c_1+c_2\\ c_1-c_2 \end{bmatrix}.

Thus

c1+c2=7,c1c2=3. c_1+c_2=7, \qquad c_1-c_2=3.

Adding the equations gives

2c1=10, 2c_1=10,

so

c1=5. c_1=5.

Then

c2=2. c_2=2.

Therefore

[x]B=[52]. [x]_B= \begin{bmatrix} 5\\ 2 \end{bmatrix}.

The vector has standard coordinates (7,3)(7,3), but its coordinates in BB are (5,2)(5,2).

23.5 Coordinate Maps

Given an ordered basis

B=(v1,,vn) B=(v_1,\ldots,v_n)

of VV, the coordinate map is the function

ΦB:VFn \Phi_B:V\to F^n

defined by

ΦB(v)=[v]B. \Phi_B(v)=[v]_B.

This map sends an abstract vector to its coordinate column.

It is linear. If

[u]B=[a1an],[v]B=[b1bn], [u]_B= \begin{bmatrix} a_1\\ \vdots\\ a_n \end{bmatrix}, \qquad [v]_B= \begin{bmatrix} b_1\\ \vdots\\ b_n \end{bmatrix},

then

u+v=(a1+b1)v1++(an+bn)vn. u+v=(a_1+b_1)v_1+\cdots+(a_n+b_n)v_n.

Therefore

[u+v]B=[u]B+[v]B. [u+v]_B=[u]_B+[v]_B.

Similarly,

[cu]B=c[u]B. [cu]_B=c[u]_B.

Thus coordinates preserve the vector space operations.

23.6 Coordinates and Isomorphism

The coordinate map

ΦB:VFn \Phi_B:V\to F^n

is an isomorphism.

It is one-to-one because each vector has unique coordinates. It is onto because every column

[c1cn]Fn \begin{bmatrix} c_1\\ \vdots\\ c_n \end{bmatrix} \in F^n

comes from the vector

c1v1++cnvn. c_1v_1+\cdots+c_nv_n.

Thus every nn-dimensional vector space over FF can be identified with FnF^n after choosing a basis.

This identification is useful, but it should be read carefully. The space VV and the coordinate space FnF^n are structurally equivalent, but the equivalence depends on the chosen basis.

23.7 Coordinate Matrix of a Basis

Let

B=(v1,,vn) B=(v_1,\ldots,v_n)

be a basis of Rn\mathbb{R}^n. Place the basis vectors as columns of a matrix:

PB=[v1v2vn]. P_B= \begin{bmatrix} |&|&&|\\ v_1&v_2&\cdots&v_n\\ |&|&&| \end{bmatrix}.

Then for any vector xRnx\in\mathbb{R}^n,

x=PB[x]B. x=P_B[x]_B.

This equation converts BB-coordinates into standard coordinates.

The matrix PBP_B is invertible because its columns form a basis. Therefore

[x]B=PB1x. [x]_B=P_B^{-1}x.

This equation converts standard coordinates into BB-coordinates.

23.8 Example Using a Basis Matrix

Let

B=([11],[11]). B= \left( \begin{bmatrix} 1\\ 1 \end{bmatrix}, \begin{bmatrix} 1\\ -1 \end{bmatrix} \right).

Then

PB=[1111]. P_B= \begin{bmatrix} 1&1\\ 1&-1 \end{bmatrix}.

For

[x]B=[52], [x]_B= \begin{bmatrix} 5\\ 2 \end{bmatrix},

standard coordinates are

x=PB[x]B=[1111][52]=[73]. x=P_B[x]_B = \begin{bmatrix} 1&1\\ 1&-1 \end{bmatrix} \begin{bmatrix} 5\\ 2 \end{bmatrix} = \begin{bmatrix} 7\\ 3 \end{bmatrix}.

Conversely, if

x=[73], x= \begin{bmatrix} 7\\ 3 \end{bmatrix},

then

[x]B=PB1x. [x]_B=P_B^{-1}x.

Since

PB1=12[1111]=[1/21/21/21/2], P_B^{-1} = \frac{1}{-2} \begin{bmatrix} -1&-1\\ -1&1 \end{bmatrix} = \begin{bmatrix} 1/2&1/2\\ 1/2&-1/2 \end{bmatrix},

we get

[x]B=[1/21/21/21/2][73]=[52]. [x]_B= \begin{bmatrix} 1/2&1/2\\ 1/2&-1/2 \end{bmatrix} \begin{bmatrix} 7\\ 3 \end{bmatrix} = \begin{bmatrix} 5\\ 2 \end{bmatrix}.

23.9 Change of Coordinates

A change of coordinates converts the coordinate vector of the same vector from one basis to another.

Let

B=(b1,,bn) B=(b_1,\ldots,b_n)

and

C=(c1,,cn) C=(c_1,\ldots,c_n)

be bases of VV.

For a vector vv, one may know

[v]B [v]_B

and want

[v]C. [v]_C.

The vector vv itself does not change. Only its coordinate description changes.

In Rn\mathbb{R}^n, if PBP_B and PCP_C are the basis matrices, then

v=PB[v]B v=P_B[v]_B

and

v=PC[v]C. v=P_C[v]_C.

Thus

PB[v]B=PC[v]C. P_B[v]_B=P_C[v]_C.

Multiplying by PC1P_C^{-1},

[v]C=PC1PB[v]B. [v]_C=P_C^{-1}P_B[v]_B.

The matrix

PCB=PC1PB P_{C\leftarrow B}=P_C^{-1}P_B

is called the change-of-coordinates matrix from BB-coordinates to CC-coordinates.

23.10 Identity Map, Different Coordinates

The formula

[v]C=PC1PB[v]B [v]_C=P_C^{-1}P_B[v]_B

represents the identity map on VV, not a transformation of the vector itself.

The vector remains vv. The coordinate column changes because the basis changes.

This distinction is important. A matrix can represent either:

Matrix roleMeaning
Linear transformationChanges the vector
Change of coordinatesChanges the description of the same vector

The same numerical matrix may appear in either role, but the interpretation differs.

23.11 Coordinates in Polynomial Spaces

Let

P2 P_2

be the vector space of polynomials of degree at most 22. Let

B=(1,x,x2). B=(1,x,x^2).

For

p(x)=35x+2x2, p(x)=3-5x+2x^2,

the coordinate vector is

[p]B=[352]. [p]_B= \begin{bmatrix} 3\\ -5\\ 2 \end{bmatrix}.

Now choose another basis:

C=(1,1+x,1+x+x2). C=(1,1+x,1+x+x^2).

To find [p]C[p]_C, solve

p(x)=a1+b(1+x)+c(1+x+x2). p(x)=a\cdot 1+b(1+x)+c(1+x+x^2).

The right-hand side is

a+b+c+(b+c)x+cx2. a+b+c+(b+c)x+cx^2.

Match coefficients with

35x+2x2. 3-5x+2x^2.

Then

c=2, c=2, b+c=5, b+c=-5,

so

b=7, b=-7,

and

a+b+c=3, a+b+c=3,

so

a=8. a=8.

Thus

[p]C=[872]. [p]_C= \begin{bmatrix} 8\\ -7\\ 2 \end{bmatrix}.

The polynomial has not changed. Its coordinates changed because the basis changed.

23.12 Coordinates in Matrix Spaces

Let

M2×2(R) M_{2\times 2}(\mathbb{R})

have the ordered basis

B=(E11,E12,E21,E22), B=(E_{11},E_{12},E_{21},E_{22}),

where

E11=[1000],E12=[0100], E_{11}= \begin{bmatrix} 1&0\\ 0&0 \end{bmatrix}, \quad E_{12}= \begin{bmatrix} 0&1\\ 0&0 \end{bmatrix}, E21=[0010],E22=[0001]. E_{21}= \begin{bmatrix} 0&0\\ 1&0 \end{bmatrix}, \quad E_{22}= \begin{bmatrix} 0&0\\ 0&1 \end{bmatrix}.

For

A=[2174], A= \begin{bmatrix} 2&-1\\ 7&4 \end{bmatrix},

we have

A=2E11E12+7E21+4E22. A=2E_{11}-E_{12}+7E_{21}+4E_{22}.

Therefore

[A]B=[2174]. [A]_B= \begin{bmatrix} 2\\ -1\\ 7\\ 4 \end{bmatrix}.

A matrix can itself be a vector. Its coordinates are determined by the ordered basis chosen for the matrix space.

23.13 Coordinates in Function Spaces

Let

W=span(1,cosx,sinx) W=\operatorname{span}(1,\cos x,\sin x)

with ordered basis

B=(1,cosx,sinx). B=(1,\cos x,\sin x).

For

f(x)=42cosx+5sinx, f(x)=4-2\cos x+5\sin x,

the coordinate vector is

[f]B=[425]. [f]_B= \begin{bmatrix} 4\\ -2\\ 5 \end{bmatrix}.

Again, coordinates record coefficients relative to a basis. The vector may be a function, a polynomial, a matrix, or another object. The coordinate principle is the same.

23.14 Coordinate Systems and Linear Equations

Coordinate systems convert vector equations into scalar equations.

Suppose

v=c1v1++cnvn. v=c_1v_1+\cdots+c_nv_n.

Finding the coordinates of vv means solving for the unknown scalars c1,,cnc_1,\ldots,c_n.

In Rn\mathbb{R}^n, this becomes the linear system

PBc=v, P_Bc=v,

where

c=[v]B. c=[v]_B.

Because PBP_B is invertible, the system has a unique solution.

Thus coordinate computation is a special case of solving a linear system.

23.15 Coordinate Systems and Geometry

In geometry, a coordinate system assigns numbers to points or vectors. In linear algebra, the origin and basis vectors determine the coordinate system for a vector space.

For vector spaces, the origin is fixed as the zero vector. A basis determines the coordinate axes.

In R2\mathbb{R}^2, the standard basis gives the usual horizontal and vertical axes. A nonstandard basis gives oblique axes. Coordinates then measure how far to move along each basis direction.

If the basis vectors are perpendicular and have length 11, the coordinate system is orthonormal. If they are not perpendicular, the coordinate system is oblique.

Both are valid linear coordinate systems as long as the basis vectors are linearly independent and span the space.

23.16 Coordinate Systems and Computation

Coordinates are essential for computation because computers manipulate arrays of numbers.

An abstract vector space becomes computationally usable after choosing a basis. Polynomials become coefficient arrays. Matrices become flattened arrays. Functions in finite-dimensional subspaces become coefficient vectors.

For example, the polynomial

p(x)=a0+a1x++anxn p(x)=a_0+a_1x+\cdots+a_nx^n

can be stored as

[a0a1an]. \begin{bmatrix} a_0\\ a_1\\ \vdots\\ a_n \end{bmatrix}.

This coordinate representation allows addition, scalar multiplication, differentiation, integration, and evaluation to be implemented as operations on arrays.

23.17 Coordinate Dependence

Some quantities depend on the chosen coordinate system. Others do not.

The coordinate vector [v]B[v]_B depends on BB. The vector vv itself does not.

The matrix of a linear transformation depends on the chosen bases. The transformation itself does not.

Dimension does not depend on the basis. Linear independence of an actual list of vectors does not depend on coordinates, although coordinates may be used to test it.

This distinction leads to an important habit: separate objects from their representations.

23.18 Standard Coordinates Are Not Intrinsic

In Rn\mathbb{R}^n, the standard coordinates are so familiar that they may seem intrinsic. They are not. They are coordinates relative to the standard basis.

The vector

[23] \begin{bmatrix} 2\\ 3 \end{bmatrix}

really means

2e1+3e2 2e_1+3e_2

with respect to the standard basis.

Under a different basis, the same vector may have coordinates

[51] \begin{bmatrix} 5\\ -1 \end{bmatrix}

or another column. The column alone does not fully describe the vector unless the basis is known.

A coordinate vector always has an implicit basis.

23.19 Common Notation

NotationMeaning
B=(v1,,vn)B=(v_1,\ldots,v_n)Ordered basis
[v]B[v]_BCoordinate vector of vv in basis BB
PBP_BBasis matrix with columns v1,,vnv_1,\ldots,v_n
x=PB[x]Bx=P_B[x]_BConvert BB-coordinates to standard coordinates
[x]B=PB1x[x]_B=P_B^{-1}xConvert standard coordinates to BB-coordinates
PCBP_{C\leftarrow B}Change-of-coordinates matrix from BB to CC
[v]C=PCB[v]B[v]_C=P_{C\leftarrow B}[v]_BConvert coordinates from BB to CC

23.20 Summary

A coordinate system is determined by an ordered basis. It represents each vector by the unique scalars needed to express that vector as a linear combination of the basis vectors.

The key ideas are:

ConceptMeaning
Coordinate vectorCoefficients of a vector relative to a basis
Ordered basisBasis with fixed order
Coordinate mapMap v[v]Bv\mapsto [v]_B
Basis matrixMatrix whose columns are basis vectors
Change of coordinatesConversion between coordinate descriptions
Standard coordinatesCoordinates relative to the standard basis
Coordinate dependenceRepresentations depend on basis
Intrinsic objectThe vector itself, independent of coordinates

Coordinates make vector spaces computable. They turn abstract vectors into columns of scalars. But coordinates are representations, not the underlying objects. The basis is part of the meaning.