MATH 332 — Fall 2026

Bases, Dimension,
and Coordinates

Anton, Rorres, & Kaul §§4.4–4.7
Assignment 5 due November 6
Quiz 4 · November 12

Fred J. Hickernell

November 23, 2026

Course Map

In this deck

Basis (coordinates use the listed order): \(\mathcal{B}=\{1,t,t^2\}\)

Vector in \(\mathbb{P}_2\)
\(p(t)=2\cdot1-3\cdot t+5\cdot t^2\)
\(\longleftarrow\)
Coordinates in \(\mathcal{B}\)
\([p]_{\mathcal{B}}=\begin{bmatrix}2\\-3\\5\end{bmatrix}\)

Why Span, Bases, and Coordinates?

Which vectors can we build, and how can we describe each one uniquely?

A transformed grid motivates the question; definitions and proofs make the answer reliable

From building vectors to giving them addresses

Use a row of vectors \([\vct{b}_1\ \cdots\ \vct{b}_k]\) from the vector space \(V\) and a scalar column \(\vct{c}=[c_1,\ldots,c_k]^\top\)

Concept Notation What it does
Linear combination \(c_1\vct{b}_1+\cdots+c_k\vct{b}_k=[\vct{b}_1\ \cdots\ \vct{b}_k]\vct{c}\) Builds one vector from chosen coefficients
Subspace \(W\subseteq V\) Contains zero and is closed under linear combinations
Span \(\operatorname{span}\{\vct{b}_1,\ldots,\vct{b}_k\}\) Collects all vectors we can build
Linear independence \(c_1\vct{b}_1+\cdots+c_k\vct{b}_k=[\vct{b}_1\ \cdots\ \vct{b}_k]\vct{c}=\vct{0}\)
\(\implies c_1=\cdots=c_k=0\quad(\vct{c}=\vct{0})\)
Makes the coefficients unique
Basis \(\mathcal{B}=\{\vct{b}_1,\ldots,\vct{b}_k\}\) Builds every vector in \(V\) uniquely
Dimension \(\dim V=k\) for a basis \(\mathcal{B}\) Counts basis vectors and coordinates
Coordinates \([\vct{v}]_{\mathcal{B}}=[c_1,\ldots,c_k]^\top\) Records the unique basis coefficients as an address

Spanning gives existence; independence gives uniqueness

A row of vectors is a linear-combination recipe

Each \(\vct{b}_j\) is one vector in \(V\); each \(c_j\) is a scalar

Recall the row-of-vectors convention in Vector Spaces and Span

\[ [\vct{b}_1\ \cdots\ \vct{b}_k]\vct{c} =c_1\vct{b}_1+\cdots+c_k\vct{b}_k \]

What are the \(\vct{b}_j\)? How to read the brackets
Numerical columns in \(\reals^m\) A numerical \(m\times k\) matrix
Polynomials, functions, or matrices A row of abstract vectors in \(V\)

For example, a row of polynomials builds a polynomial:

\[ \begin{bmatrix}1&t\end{bmatrix}\begin{bmatrix}2\\3\end{bmatrix}=2+3t \]

Linear-combination rules work in every \(V\)

For numerical elimination or inversion, first assemble a matrix of scalar entries

The questions that organize this deck

We want to replace a vector by numbers without losing what it means

Question How we will answer it Concept
Can different coefficient lists give the same vector? Subtract two representations to test whether their coefficients must agree Independence
Can every vector have one address? Combine existence from spanning with uniqueness from independence Basis
How many coordinates are needed? Prove that every basis of the same space has the same number of vectors Dimension
Why compute with coordinates? Show that adding and scaling coordinate columns matches adding and scaling vectors Coordinate arithmetic
Why do linear maps have matrices? Use linearity to build every output from the images of the basis vectors Matrix representation

Each example illustrates one of these questions; each proof explains why the method works

A square becomes a parallelogram

The same map transforms the shape and the basis vectors

\[\begin{gather*} \mat{A}=\begin{bmatrix}2&1\\0&1\end{bmatrix},\qquad \vct{b}_1=\mat{A}\vct{e}_1=\begin{bmatrix}2\\0\end{bmatrix},\qquad \vct{b}_2=\mat{A}\vct{e}_2=\begin{bmatrix}1\\1\end{bmatrix} \end{gather*}\]

Read right to left: the unit square in the right panel, with its standard basis and point c equals (one quarter, three quarters), maps under A to the parallelogram in the left panel, with edge vectors b1 equals (2,0) and b2 equals (1,1). The transformed grid locates v equals (five quarters, three quarters) using the same weights.

\[ \vct{v}=\mat{A}\vct{c}=\tfrac14\vct{b}_1+\tfrac34\vct{b}_2 =\begin{bmatrix}5/4\\3/4\end{bmatrix} \quad\xleftarrow{\mat{A}}\quad \vct{c}=\begin{bmatrix}1/4\\3/4\end{bmatrix} \]

Unique addresses need independent directions

Keep \(\vct{b}_1=\begin{bmatrix}2\\0\end{bmatrix}\), \(\vct{b}_2=\begin{bmatrix}1\\1\end{bmatrix}\), and \(\mathcal{B}=\{\vct{b}_1,\vct{b}_2\}\)

\(\exstar\) Can we reach every vector in \(\reals^2\) uniquely using \(\vct{b}_1\) and \(\vct{b}_2\)? Solve the coefficient system below for arbitrary \(x,y\in\reals\); is there exactly one solution?

\[ \underbrace{\begin{bmatrix}2&1\\0&1\end{bmatrix}}_{[\vct{b}_1\ \vct{b}_2]} \begin{bmatrix}c_1\\c_2\end{bmatrix} =\begin{bmatrix}x\\y\end{bmatrix} \]

Reaching every vector uniquely means \(\mathcal{B}\) is a basis for \(\reals^2\)

For our vector, the coordinates in this basis are

\[ \vct{v}=\begin{bmatrix}5/4\\3/4\end{bmatrix}, \qquad [\vct{v}]_{\mathcal{B}}=\begin{bmatrix}1/4\\3/4\end{bmatrix} \]

\(\vct{b}_1^\top\vct{b}_2=2\ne0\): a basis need not be orthogonal

An extra direction makes coefficient lists nonunique

Keep \(\vct{b}_1=\begin{bmatrix}2\\0\end{bmatrix}\), \(\vct{b}_2=\begin{bmatrix}1\\1\end{bmatrix}\), and the same \(\vct{v}=\begin{bmatrix}5/4\\3/4\end{bmatrix}\)

Add \(\vct{b}_3=\vct{b}_1+\vct{b}_2=\begin{bmatrix}3\\1\end{bmatrix}\)

\(\exstar\) Find two different coefficient lists for the same \(\vct{v}\) Both lists must satisfy \(\vct{v}=c_1\vct{b}_1+c_2\vct{b}_2+c_3\vct{b}_3\)

For a coordinate system, \(\vct{b}_3\) is redundant: it adds no new direction and makes coefficient lists nonunique

Independence and Redundancy

When can two coefficient lists build the same vector?
The zero-vector test detects precisely that ambiguity

Independence means the zero vector has one construction

Vectors \(\vct{v}_1,\ldots,\vct{v}_k\) are linearly independent when

\[ c_1\vct{v}_1+\cdots+c_k\vct{v}_k=\vct{0} \]

forces

\[ c_1=\cdots=c_k=0 \]

They are linearly dependent when some nonzero coefficient vector produces the zero vector

Why test only zero? Subtract two constructions of the same vector

Why test only the zero vector?

Write the row of vectors \(\mat{V}=[\vct{v}_1\ \cdots\ \vct{v}_k]\)
The product \(\mat{V}\vct{c}\) means their linear combination, including for functions or matrices

Compare two coefficient columns \(\vct{c}\) and \(\vct{d}\) for the same vector:

\[ \mat{V}\vct{c}=\mat{V}\vct{d} \quad\Longleftrightarrow\quad \mat{V}(\vct{c}-\vct{d})=\vct{0} \]

  • Independent: \(\vct{c}-\vct{d}=\vct{0}\), so the two lists agree
  • Dependent: if \(\mat{V}\vct{z}=\vct{0}\) with \(\vct{z}\ne\vct{0}\), then \(\mat{V}(\vct{c}+\vct{z})=\mat{V}\vct{c}\)

One homogeneous test controls uniqueness for every vector in the span

Spanning is the separate question of which vectors are reachable

Example: independent Fourier modes

Are \(1\) and \(e^{2\pi\sqrt{-1}\,t}\) independent over \(\mathbb{C}\) on \([0,1]\)?

Suppose \(a+be^{2\pi\sqrt{-1}\,t}=0\) for every \(t\in[0,1]\)

\[ \begin{array}{rcl} t=0&:&a+b=0\\ t=\tfrac12&:&a-b=0 \end{array} \quad\implies\quad a=b=0 \]

Only the trivial combination gives the zero function, so the two modes are independent

Are two Fourier modes independent?

\(\exstar\) Are \(e^{2\pi\sqrt{-1}\,t}\) and \(e^{-2\pi\sqrt{-1}\,t}\) linearly independent over \(\mathbb{C}\) on \([0,1]\)? Set their linear combination equal to zero for every \(t\); evaluate at \(t=0\) and \(t=1/4\) Repeat for \(1\) and \(e^{4\pi\sqrt{-1}\,t}\), choosing two useful values of \(t\)

A homogeneous coefficient system detects independence

Here the candidates \(\vct{v}_j\in\reals^m\) are numerical columns:

\[ \mat{V}= \begin{bmatrix} \vct{v}_1&\cdots&\vct{v}_k \end{bmatrix} \]

Now \(\mat{V}\) is a numerical \(m\times k\) matrix, and

\[ c_1\vct{v}_1+\cdots+c_k\vct{v}_k=\vct{0} \quad\Longleftrightarrow\quad \mat{V}\vct{c}=\vct{0} \]

Only \(\vct{c}=\vct{0}\) solves this system exactly when every column has a pivot

The familiar homogeneous system answers the abstract independence question

Test independence with a coefficient system

Take \(\vct{u}_1=\begin{bmatrix}1\\1\\0\end{bmatrix}\), \(\vct{u}_2=\begin{bmatrix}1\\0\\1\end{bmatrix}\), and \(\vct{u}_3=\begin{bmatrix}2\\1\\1\end{bmatrix}\)

\(\exstar\) Place the vectors in columns and solve \(\mat{U}\vct{c}=\vct{0}\) Are these three vectors independent? Give a nonzero coefficient list if they are dependent Which vector can you remove without changing their span? Replace \(\vct{u}_3\) by \(\begin{bmatrix}2\\1\\2\end{bmatrix}\) and test independence again

Dependence identifies a redundant generator

In a dependence relation, choose a vector with a nonzero coefficient and put it last

Write the reordered row of vectors as \([\mat{U}\ \vct{w}]\), with \(\mat{U}\) containing the other vectors:

\[ [\mat{U}\ \vct{w}] \begin{bmatrix}\vct{c}\\d\end{bmatrix}=\vct{0}, \qquad d\ne0 \]

Solve for the last vector:

\[ \vct{w}=\mat{U}\!\left(-\frac{\vct{c}}{d}\right) \]

Removing \(\vct{w}\) preserves the span: the other vectors already build it

Conversely, \(\vct{w}=\mat{U}\vct{a}\) gives the nontrivial zero-combination \(\mat{U}\vct{a}-\vct{w}=\vct{0}\)

A dependence relation is a certificate of redundancy

Bases and Unique Representations

How do we keep every vector reachable while removing redundant generators?
A basis gives both existence and uniqueness

A basis balances reach and economy

A finite set

\[ \mathcal{B}=\{\vct{b}_1,\ldots,\vct{b}_n\} \]

is a basis for \(V\) when

  1. \(\mathcal{B}\) spans \(V\)
  2. \(\mathcal{B}\) is linearly independent

For coordinates, use the basis vectors in the order listed

Spanning guarantees existence of coefficients

Independence guarantees uniqueness of coefficients

Every vector has a unique coefficient list in a chosen ordered basis

Independence makes coordinates unique

For a basis \(\mathcal{B}\) of \(V\), write the row of vectors \(\mat{B}=[\vct{b}_1\ \cdots\ \vct{b}_n]\)

Here \(\mat{B}\vct{c}\) means \(\sum_{j=1}^n c_j\vct{b}_j\); the \(\vct{b}_j\) need not be numerical columns

Spanning supplies coefficients; suppose one vector has two coefficient lists

\[ \vct{v}=\mat{B}\vct{c}=\mat{B}\vct{d} \]

Subtract the two representations

\[ \mat{B}(\vct{c}-\vct{d})=\vct{0} \quad\implies\quad \vct{c}=\vct{d} \]

Linear independence forces the two coefficient lists to agree

A space can have many bases

Coordinates are unique once the ordered basis is fixed

Elimination extracts a basis from a spanning set

The retained vectors must span the same space and be independent

Here the vectors are numerical columns in \(\reals^m\):

  1. place the spanning vectors into columns: \(\mat{A}=[\vct{b}_1\ \cdots\ \vct{b}_k]\)
  2. reduce to row echelon form: \(\mat{U}=[\vct{u}_1\ \cdots\ \vct{u}_k]\)
  3. identify the pivot column numbers in \(\mat{U}\): the columns containing the first nonzero entry from the left in each nonzero row
  4. keep the corresponding original columns \(\vct{b}_j\) from \(\mat{A}\)

Row operations preserve dependence relations among columns but change the columns themselves

Why the original pivot columns work

Let \(\mat{U}\) be any row echelon form of \(\mat{A}\); row operations are reversible, so

\[ \mat{A}\vct{c}=\vct{0} \quad\Longleftrightarrow\quad \mat{U}\vct{c}=\vct{0} \]

  1. In the nonzero rows, the pivot columns form an upper-triangular matrix with nonzero diagonal: they are independent
  2. Back substitution writes every other column of \(\mat{U}\) as a combination of its pivot columns
  3. Reversible row operations transfer independence and the column relations back to \(\mat{A}\)

The original pivot columns are independent and span every original column

Example: remove redundant generators

Let \(W\) be the span of the columns of \(\mat{V}\)

\[ \mat{V}=[\vct{v}_1\ \vct{v}_2\ \vct{v}_3\ \vct{v}_4] =\begin{bmatrix}1&2&0&1\\0&0&1&1\\1&2&1&2\end{bmatrix} \;\xrightarrow{R_3\leftarrow R_3-R_1-R_2}\; \begin{bmatrix}1&2&0&1\\0&0&1&1\\0&0&0&0\end{bmatrix} \]

The first and third columns are pivot columns

\[ \vct{v}_4=\vct{v}_1+\vct{v}_3, \qquad \vct{v}_2=2\vct{v}_1 \]

Remove \(\vct{v}_4\) and \(\vct{v}_2\) without changing the span

\[ W=\operatorname{span}\{\vct{v}_1,\vct{v}_2,\vct{v}_3,\vct{v}_4\} =\operatorname{span}\{\vct{v}_1,\vct{v}_3\} \]

\(\mathcal{B}=\{\vct{v}_1,\vct{v}_3\}\) still spans \(W\)

\(a\vct{v}_1+b\vct{v}_3=\vct{0}\) forces \(a=b=0\): independence completes the basis proof

Different bases can describe the same span

Use the preceding generators of the plane \(W=\left\{\begin{bmatrix}x\\y\\z\end{bmatrix}:z=x+y\right\}\)

\[ \vct{v}_1=\begin{bmatrix}1\\0\\1\end{bmatrix},\quad \vct{v}_2=\begin{bmatrix}2\\0\\2\end{bmatrix},\quad \vct{v}_3=\begin{bmatrix}0\\1\\1\end{bmatrix},\quad \vct{v}_4=\begin{bmatrix}1\\1\\2\end{bmatrix} \]

\(\exstar\) A basis must span \(W\) and be independent Show that \(\{\vct{v}_3,\vct{v}_4\}\) is another basis for \(W\) Explain why \(\{\vct{v}_1,\vct{v}_2\}\) is not a basis for \(W\)

Dimension: Why Basis Size Is Fixed

Different bases can look very different
Why must their sizes agree, and when can counting replace a computation?

An independent list cannot outnumber a spanning list

Suppose \(V=\operatorname{span}\{\vct{b}_1,\ldots,\vct{b}_n\}\), \(\vct{u}_1,\ldots,\vct{u}_r\in V\), and \(r>n\)

Each \(\vct{u}_j\) is a combination of the \(\vct{b}_i\), so for some numerical \(n\times r\) coefficient matrix \(\mat{A}\),

\[ [\vct{u}_1\ \cdots\ \vct{u}_r] =[\vct{b}_1\ \cdots\ \vct{b}_n]\mat{A} \]

The bracketed rows contain vectors in \(V\); \(\mat{A}\) contains scalar coefficients

Since \(r>n\), \(\mat{A}\vct{c}=\vct{0}\) has a free variable, giving a solution \(\vct{c}\ne\vct{0}\)

Therefore

\[ [\vct{u}_1\ \cdots\ \vct{u}_r]\vct{c} =[\vct{b}_1\ \cdots\ \vct{b}_n]\mat{A}\vct{c} =\vct{0} \]

The nonzero coefficient list \(\vct{c}\) gives a zero combination, so the list \(\vct{u}_1,\ldots,\vct{u}_r\) is linearly dependent

Dimension counts vectors in any basis

A space is finite-dimensional if it has a finite basis

Let \(\mathcal{B}\) be a basis with \(n\) vectors; compare it with any other basis \(\mathcal{C}\)

  • \(\mathcal{C}\) cannot contain \(n+1\) independent vectors, so it is finite
  • \(\mathcal{C}\) is independent and \(\mathcal{B}\) spans: \(|\mathcal{C}|\le n\)
  • \(\mathcal{B}\) is independent and \(\mathcal{C}\) spans: \(n\le|\mathcal{C}|\)

That common size is the dimension:

\[ \dim(V)=n \]

Dimension belongs to the space, even though coordinates require a chosen basis

Familiar spaces: identify a basis, then count

Over \(\reals\), exhibit a basis before assigning a dimension

Space Basis Dimension
\(\reals^n\) Standard columns \(\vct{e}_1,\ldots,\vct{e}_n\) \(n\)
\(\mathbb{P}_k\) Monomials \(1,t,\ldots,t^k\) \(k+1\)
\(\reals^{m\times n}\) Single-entry matrices \(\mat{E}_{ij}\) \(mn\)

\(\mat{E}_{ij}\) has a 1 in entry \((i,j)\) and zeros elsewhere

Our earlier \(U=\{p\in\mathbb{P}_3:p(0)=0\}\) has basis \(\{t,t^2,t^3\}\), so \(\dim(U)=3\)

The zero space has the empty basis, so \(\dim(\{\vct{0}\})=0\)

Dimension counts independent directions, not the number of vectors in the space

Example: count monomials to find dimension

In \(\mathbb{P}_2(\reals^2)\), total degree is at most two: add the \(x\) and \(y\) exponents

\[ \underbrace{1}_{0}, \qquad \underbrace{x,\ y}_{1}, \qquad \underbrace{x^2,\ xy,\ y^2}_{2} \]

Every polynomial in the space is a unique linear combination of these six monomials

They form a basis, so

\[ \dim(\mathbb{P}_2(\reals^2))=1+2+3=6 \]

Count freely chosen coefficients after identifying a basis

Dimension beyond coordinate columns

\(\exstar\) Find a basis and count its vectors; total degree adds the \(x\) and \(y\) exponents \(\mathbb{P}_3(\reals^2)\): list monomials by total degree All upper-triangular \(3\times3\) matrices All symmetric \(3\times3\) matrices Could five symmetric \(3\times3\) matrices span their entire space?

Dimension turns two tests into one

Suppose \(\dim(V)=n\) and \(\vct{u}_1,\ldots,\vct{u}_n\) are exactly \(n\) vectors in \(V\)

\[ \text{linearly independent} \quad\Longleftrightarrow\quad \text{spans}\ \ V \quad\Longleftrightarrow\quad \text{is a basis of}\ \ \ V \]

The counting comparison also gives

  • more than \(n\) vectors: dependent, since a basis spans with \(n\) vectors
  • fewer than \(n\) vectors: cannot span, since a basis has \(n\) independent vectors

First establish the dimension and check the list has exactly \(n\) vectors

Then either independence or spanning completes the basis test

Why exactly n vectors make the two tests equivalent

Fix a basis \(\mathcal{B}=\{\vct{b}_1,\ldots,\vct{b}_n\}\) of \(V\), with scalar field \(\mathbb{K}\)
Write the candidates using the basis vectors:

\[ [\vct{u}_1\ \cdots\ \vct{u}_n] =[\vct{b}_1\ \cdots\ \vct{b}_n]\mat{A}, \qquad \mat{A}\in\mathbb{K}^{n\times n} \]

Uniqueness in \(\mathcal{B}\) translates the two questions into systems:

Question about the candidates Equivalent question about \(\mat{A}\)
Independent? \(\mat{A}\vct{c}=\vct{0}\) has only the zero solution: a pivot in every column
Span \(V\)? \(\mat{A}\vct{c}=\vct{d}\) is solvable for every \(\vct{d}\in\mathbb{K}^n\): a pivot in every row

For a square matrix, a pivot in every column means a pivot in every row, and conversely

Use dimension before computing

Since \(\dim(\mathbb{P}_3)=4\):

\(\exstar\) What can the dimension alone tell you? Can three polynomials span \(\mathbb{P}_3\)? Can five polynomials be linearly independent in \(\mathbb{P}_3\)? If four polynomials are independent, what else follows?

Build a basis by adding or removing vectors

Assume \(V\) has a finite basis \(\{\vct{b}_1,\ldots,\vct{b}_n\}\)

Start with a finite spanning list

Remove a redundant vector using a dependence relation; repeat until independent
The span stays \(V\), so the remaining list is a basis

Start with an independent list in \(V\)

Consider \(\vct{b}_1,\ldots,\vct{b}_n\) in turn; append each one outside the current span
Appending such a vector preserves independence
Afterward every \(\vct{b}_j\) lies in the span, so the list spans \(V\) and is a basis

Trim while preserving reach; grow while preserving uniqueness

Why a new direction preserves independence

Let \(\mat{U}=[\vct{u}_1\ \cdots\ \vct{u}_r]\) be a row of independent vectors in \(V\), with \(\vct{w}\notin\operatorname{span}\{\vct{u}_1,\ldots,\vct{u}_r\}\)

Test a zero combination in the enlarged list:

\[ [\mat{U}\ \vct{w}] \begin{bmatrix}\vct{c}\\d\end{bmatrix} =\mat{U}\vct{c}+d\vct{w}=\vct{0} \]

If \(d\ne0\), then

\[ \vct{w}=\mat{U}\!\left(-\frac{\vct{c}}{d}\right) \]

This puts \(\vct{w}\) in the span of the original vectors: a contradiction

Thus \(d=0\) and \(\mat{U}\vct{c}=\vct{0}\); independence of the original vectors forces \(\vct{c}=\vct{0}\)

Adding a vector outside the span increases reach without losing uniqueness

Dimension depends on the scalar field

The same set \(\mathbb{C}\) can be viewed as two different vector spaces

Scalars A basis Dimension
\(\mathbb{C}\) \(\{1\}\) \(\dim_{\mathbb{C}}(\mathbb{C})=1\)
\(\reals\) \(\{1,\sqrt{-1}\}\) \(\dim_{\reals}(\mathbb{C})=2\)

Over \(\mathbb{C}\), any \(z\) is the scalar multiple \(z\cdot1\)

Over \(\reals\), write \(z=a+b\sqrt{-1}\) with two real coefficients

\(\exstar\) Find the dimensions of \(\mathbb{C}^2\) over \(\mathbb{C}\) and over \(\reals\)

Coordinates and Their Arithmetic

A basis is now available: turn its unique coefficients into a usable description
Read the coefficients in a chosen basis, then use them to compute

A basis gives every vector unique coordinates

A basis \(\mathcal{B}=\{\vct{b}_1,\ldots,\vct{b}_n\}\) spans \(V\) and is independent

The \(\vct{b}_j\in V\) may be numerical columns, whole polynomials, other functions, or matrices

For \(\vct{v}\in V\), spanning gives existence and independence gives uniqueness:

\[ \vct{v}=c_1\vct{b}_1+\cdots+c_n\vct{b}_n =\begin{bmatrix}\vct{b}_1&\cdots&\vct{b}_n\end{bmatrix} \begin{bmatrix}c_1\\\vdots\\c_n\end{bmatrix} \]

The coordinate vector of \(\vct{v}\) relative to \(\mathcal{B}\) is

\[ [\vct{v}]_{\mathcal{B}} =\begin{bmatrix}c_1\\\vdots\\c_n\end{bmatrix}, \qquad \vct{v}=[\vct{b}_1\ \cdots\ \vct{b}_n][\vct{v}]_{\mathcal{B}} \]

For coordinates, the listed order matters: entry \(j\) multiplies \(\vct{b}_j\)

Basis vectors belong to \(V\); coordinates are scalars from its scalar field

We have been using the standard basis

In \(\reals^2\), the standard basis is

\[ \mathcal{E}=\left\{\vct{e}_1=\begin{bmatrix}1\\0\end{bmatrix}, \vct{e}_2=\begin{bmatrix}0\\1\end{bmatrix}\right\} \]

Writing \(\vct{x}=\begin{bmatrix}5\\1\end{bmatrix}\) has meant

\[ \vct{x}=5\vct{e}_1+1\vct{e}_2 =\begin{bmatrix}\vct{e}_1&\vct{e}_2\end{bmatrix} \underbrace{\begin{bmatrix}5\\1\end{bmatrix}}_{[\vct{x}]_{\mathcal{E}}} \]

In \(\reals^n\), use \(\mathcal{E}=\{\vct{e}_1,\ldots,\vct{e}_n\}\), where \(\vct{e}_j\) has a 1 in entry \(j\) and zeros elsewhere

For the standard basis \(\mathcal{E}\) of \(\reals^n\), coordinates are the vector itself

\[ [\vct{x}]_{\mathcal{E}}=\vct{x} \]

Same vector, different coordinate columns

For \(\vct{x}=\begin{bmatrix}5\\1\end{bmatrix}\), compare the standard basis \(\mathcal{E}=\left\{\begin{bmatrix}1\\0\end{bmatrix},\begin{bmatrix}0\\1\end{bmatrix}\right\}\) with

\[ \mathcal{B}=\left\{\vct{b}_1=\begin{bmatrix}1\\1\end{bmatrix}, \vct{b}_2=\begin{bmatrix}1\\-1\end{bmatrix}\right\} \]

The same vector has two descriptions:

\[ \vct{x}=5\vct{e}_1+1\vct{e}_2=3\vct{b}_1+2\vct{b}_2 \]

\[ \vct{x} =\begin{bmatrix}1&0\\0&1\end{bmatrix} \underbrace{\begin{bmatrix}5\\1\end{bmatrix}}_{[\vct{x}]_{\mathcal{E}}} =\begin{bmatrix}1&1\\1&-1\end{bmatrix} \underbrace{\begin{bmatrix}3\\2\end{bmatrix}}_{[\vct{x}]_{\mathcal{B}}} \]

The coordinates are unique in each fixed ordered basis

The entries 3 and 2 are weights on \(\vct{b}_1\) and \(\vct{b}_2\), not the standard horizontal and vertical components

Same vector at \((5,1)\); different coordinates in a different basis

Read the basis label before the numbers

Use \(\mathcal{E}=\left\{\begin{bmatrix}1\\0\end{bmatrix},\begin{bmatrix}0\\1\end{bmatrix}\right\}\) and \(\mathcal{B}=\left\{\begin{bmatrix}1\\1\end{bmatrix},\begin{bmatrix}1\\-1\end{bmatrix}\right\}\)

\(\exstar\) Interpret each coordinate column If \([\vct{u}]_{\mathcal{B}}=\begin{bmatrix}1\\0\end{bmatrix}\), find \(\vct{u}\) in standard coordinates If \([\vct{v}]_{\mathcal{E}}=\begin{bmatrix}1\\0\end{bmatrix}\), find \(\vct{v}\). Is it the same vector as \(\vct{u}\)? Reverse the listed order of \(\mathcal{B}\) to get \(\mathcal{B}'\). Find \([\vct{x}]_{\mathcal{B}'}\) for \(\vct{x}=\begin{bmatrix}5\\1\end{bmatrix}\)

The coordinate map preserves linear combinations

For a basis \(\mathcal{B}\) of an \(n\)-dimensional real vector space, define

\[ \vct{v}\longmapsto[\vct{v}]_{\mathcal{B}}\in\reals^n \]

The column \([\vct{v}]_{\mathcal{B}}\) lists coefficients in this ordered basis, so

\[ [\alpha\vct{u}+\beta\vct{v}]_{\mathcal{B}} =\alpha[\vct{u}]_{\mathcal{B}}+\beta[\vct{v}]_{\mathcal{B}} \]

Every vector has one coordinate column, and every column describes one vector

This one-to-one, onto linear map is a linear isomorphism

With an inner product on \(V\): a linear isometry (distance-preserving) exactly when \(\mathcal{B}\) is orthonormal

Every \(n\)-dimensional real vector space has the same linear structure as \(\reals^n\)

Why coordinate arithmetic works

Put \(\mat{B}=[\vct{b}_1\ \cdots\ \vct{b}_n]\), with \(\vct{c}=[\vct{u}]_{\mathcal{B}}\) and \(\vct{d}=[\vct{v}]_{\mathcal{B}}\)

For any \(V\), \(\mat{B}\vct{a}\) means \(a_1\vct{b}_1+\cdots+a_n\vct{b}_n\)
For polynomial bases, \(\mat{B}\) is a row of whole polynomials; \(\mat{B}\vct{a}\) is their weighted sum

\[ \alpha\vct{u}+\beta\vct{v} =\alpha\mat{B}\vct{c}+\beta\mat{B}\vct{d} =\mat{B}(\alpha\vct{c}+\beta\vct{d}) \]

Uniqueness makes these coefficients the coordinates of the result:

\[ [\alpha\vct{u}+\beta\vct{v}]_{\mathcal{B}} =\alpha[\vct{u}]_{\mathcal{B}}+\beta[\vct{v}]_{\mathcal{B}} \]

Every column \(\vct{a}\in\reals^n\) reconstructs exactly one vector \(\mat{B}\vct{a}\); reading its coordinates returns \(\vct{a}\)

Reconstruction and taking coordinates undo each other and preserve linear combinations

Example: combine coordinate vectors

Read the coordinates in \(\mathcal{B}=\{1,1+t,t^2\}\) from these expansions:

\[\begin{align*} p&=2+3t+t^2=-1(1)+3(1+t)+1t^2\\ q&=1-t+2t^2=2(1)-1(1+t)+2t^2 \end{align*}\]

\[ [2p-q]_{\mathcal{B}} =2\underbrace{\begin{bmatrix}-1\\3\\1\end{bmatrix}}_{[p]_{\mathcal{B}}} -\underbrace{\begin{bmatrix}2\\-1\\2\end{bmatrix}}_{[q]_{\mathcal{B}}} =\begin{bmatrix}-4\\7\\0\end{bmatrix} \]

Reconstruct using the row of basis polynomials:

\[ 2p-q=-4(1)+7(1+t)+0t^2 =\begin{bmatrix}1&1+t&t^2\end{bmatrix} \begin{bmatrix}-4\\7\\0\end{bmatrix} =3+7t \]

Coordinate arithmetic uses coefficients in the chosen basis

Reconstruct after coordinate arithmetic

Keep \(\mathcal{B}=\{1,1+t,t^2\}\) and suppose

\[ [p]_{\mathcal{B}}=\begin{bmatrix}1\\2\\-1\end{bmatrix}, \qquad [q]_{\mathcal{B}}=\begin{bmatrix}-2\\1\\3\end{bmatrix} \]

\(\exstar\) Coordinate entries multiply \(1\), \(1+t\), and \(t^2\) in that order Find \([p+2q]_{\mathcal{B}}\) without first expanding the polynomials Reconstruct \(p+2q\) using \([1\ \ 1+t\ \ t^2][p+2q]_{\mathcal{B}}\) and expand the polynomial Why is its constant coefficient different from the first coordinate?

The coordinate map need not preserve lengths

Here \(V=\reals^2\), with Euclidean length; use \(\mathcal{B}=\left\{\begin{bmatrix}1\\0\end{bmatrix},\begin{bmatrix}1\\1\end{bmatrix}\right\}\)

\[ \mat{B}=\begin{bmatrix}1&1\\0&1\end{bmatrix}, \qquad \mat{B}^\top\mat{B}=\begin{bmatrix}1&1\\1&2\end{bmatrix}\ne\mat{I} \]

Lengths: reconstruct \(\vct{u}=\mat{B}\vct{c}\) and use the dot product

\[ \|\vct{u}\|^2=(\mat{B}\vct{c})^\top(\mat{B}\vct{c}) =\vct{c}^\top\mat{B}^\top\mat{B}\vct{c} \]

For \(\vct{c}=\begin{bmatrix}1\\1\end{bmatrix}\), \(\vct{u}=\begin{bmatrix}2\\1\end{bmatrix}\): \(\|\vct{c}\|^2=2\), but \(\|\vct{u}\|^2=5\)

The coordinate map is a linear isometry exactly when \(\mat{B}^\top\mat{B}=\mat{I}\)

It then preserves all distances: an orthonormal basis of mutually orthogonal unit vectors

Coordinate arithmetic preserves algebra, not lengths

In \(\reals^2\), use \(\mathcal{B}=\left\{\begin{bmatrix}1\\1\end{bmatrix},\begin{bmatrix}1\\-1\end{bmatrix}\right\}\)

\(\exstar\) Separate linear structure from geometry Suppose \([\vct{u}]_{\mathcal{B}}=\begin{bmatrix}1\\0\end{bmatrix}\) and \([\vct{v}]_{\mathcal{B}}=\begin{bmatrix}0\\1\end{bmatrix}\). Find \([2\vct{u}-\vct{v}]_{\mathcal{B}}\) and reconstruct \(2\vct{u}-\vct{v}\) Compare the Euclidean lengths of \(\vct{u}\) and \([\vct{u}]_{\mathcal{B}}\) Why does preserving linear combinations not guarantee preserving lengths?

Basis directions locate every solution

Recall the affine solution set in Vector Spaces and Span: one solution plus the null space

For \(x+2y=1\), choose a solution point and a direction basis:

\[ \vct{x}_p=\begin{bmatrix}1\\0\end{bmatrix}, \qquad \vct{b}_1=\begin{bmatrix}-2\\1\end{bmatrix} \]

The nonzero vector \(\vct{b}_1\) gives a basis \(\mathcal{B}=\{\vct{b}_1\}\) of \(\operatorname{null}([1\ \ 2])\)

Every solution has the form

\[ \vct{x}=\vct{x}_p+t\vct{b}_1 =\vct{x}_p+\begin{bmatrix}-2\\1\end{bmatrix}[t] =\begin{bmatrix}1-2t\\t\end{bmatrix}, \qquad [\vct{x}-\vct{x}_p]_{\mathcal{B}}=[t] \]

The parameter \(t\) is unique: it is the second entry of the solution

The basis describes the direction space, not the shifted line

The parameter locates a solution relative to the chosen base point \(\vct{x}_p\)

Coordinates describe polynomials and matrices

For the standard polynomial basis

\[ \mathcal{E}=\{1,t,t^2\} \]

Write the polynomial as a sum or a basis-row product:

\[ p=2(1)-3t+5t^2 =\underbrace{\begin{bmatrix}1&t&t^2\end{bmatrix}}_{\text{row of polynomials}} \underbrace{\begin{bmatrix}2\\-3\\5\end{bmatrix}}_{[p]_{\mathcal{E}}} \]

A different basis can give different coordinates for this same polynomial

Choosing a basis converts abstract vectors into coordinate columns

Example: one line, two coordinate systems

In \(\mathbb{P}_1\), choose coordinates that match how a line is measured

Slope-intercept form

\[ p(x)=b+mx \]

Basis \(\mathcal{B}=\{1,x\}\), in that order

\[ p(x)=\begin{bmatrix}1&x\end{bmatrix} \underbrace{\begin{bmatrix}b\\m\end{bmatrix}}_{[p]_{\mathcal{B}}} \]

Coordinates: intercept and slope

Two-point form at \(x=0,1\)

\[ p(x)=y_0(1-x)+y_1x \]

Basis \(\mathcal{C}=\{1-x,x\}\), in that order

\[ p(x)=\begin{bmatrix}1-x&x\end{bmatrix} \underbrace{\begin{bmatrix}y_0\\y_1\end{bmatrix}}_{[p]_{\mathcal{C}}} \]

Coordinates: \(y_0=p(0)\) and \(y_1=p(1)\)

For \(p(x)=2+3x=2(1-x)+5x\):
\([p]_{\mathcal{B}}=\begin{bmatrix}2\\3\end{bmatrix}\) and \([p]_{\mathcal{C}}=\begin{bmatrix}2\\5\end{bmatrix}\)

Same line, different coordinates in different bases

A third point gives redundant data

Add the point at \(x=2\) to the two-point description

\[ p(2)=y_0(1-2)+2y_1=2y_1-y_0 =\begin{bmatrix}-1&2\end{bmatrix}\begin{bmatrix}y_0\\y_1\end{bmatrix} \]

For \(p(x)=2+3x\), the three points are \((0,2)\), \((1,5)\), and \((2,8)\)

  • The first two values determine the line uniquely
  • The third value must satisfy \(y_2=2y_1-y_0\)
  • Arbitrary values at \(x=0,1,2\) may require a quadratic

Three sampled values of a line cannot vary independently

 

There is no basis of three polynomials in \(\mathbb{P}_1\)

Three linear generators give many coefficient lists

Extend the two-point basis to the spanning family \(\mathcal{G}=\{1-x,x,1\}\)

It is dependent because

\[ (1-x)+x-1=0 \]

The same line has infinitely many representations, one for each \(s\in\reals\):

\[ 2+3x=(2-s)(1-x)+(5-s)x+s(1) =\begin{bmatrix}1-x&x&1\end{bmatrix} \begin{bmatrix}2-s\\5-s\\s\end{bmatrix} \]

For example,

\[ 2(1-x)+5x+0(1)=1(1-x)+4x+1(1) \]

A basis gives unique coordinates; redundant generators give nonunique weights

Coordinates and a third sample

Use \(\mathcal{B}=\{1,x\}\) and \(\mathcal{C}=\{1-x,x\}\), in the listed order

\(\exstar\) A polynomial \(p\in\mathbb{P}_1\) satisfies \(p(0)=3\) and \(p(1)=-1\) Find \([p]_{\mathcal{C}}\), reconstruct \(p(x)\), and find \([p]_{\mathcal{B}}\) Predict \(p(2)\); could the point \((2,-4)\) lie on this same line? Find two different coefficient lists for \(p\) in the redundant family \(\{1-x,x,1\}\)

Example: a basis of symmetric matrices

For real symmetric \(2\times2\) matrices (\(\mat{A}^\top=\mat{A}\)), use

\[ \mat{B}_1=\begin{bmatrix}1&0\\0&0\end{bmatrix}, \quad \mat{B}_2=\begin{bmatrix}0&1\\1&0\end{bmatrix}, \quad \mat{B}_3=\begin{bmatrix}0&0\\0&1\end{bmatrix} \]

Every symmetric matrix has exactly one representation

\[ \begin{bmatrix}a&b\\b&d\end{bmatrix} =a\mat{B}_1+b\mat{B}_2+d\mat{B}_3 =\begin{bmatrix}\mat{B}_1&\mat{B}_2&\mat{B}_3\end{bmatrix} \begin{bmatrix}a\\b\\d\end{bmatrix} \]

Thus \(\mathcal{B}=\{\mat{B}_1,\mat{B}_2,\mat{B}_3\}\) spans the space and is independent

\[ \mat{A}=\begin{bmatrix}2&-1\\-1&3\end{bmatrix} \quad\implies\quad [\mat{A}]_{\mathcal{B}}=\begin{bmatrix}2\\-1\\3\end{bmatrix} \]

The row contains three whole matrices; its product is their weighted sum

Bases for other matrix spaces

\(\exstar\) For real \(2\times2\) matrices, build bases from the freely chosen entries Find an ordered basis for all upper-triangular \(2\times2\) matrices In your basis, find the coordinates of \(\begin{bmatrix}2&-1\\0&3\end{bmatrix}\) Find a basis for the skew-symmetric matrices: \(\mat{A}^\top=-\mat{A}\) Explain why your lists both span and are independent

Example: test a polynomial basis

Review the basis test; use the resulting basis to find coordinates

In \(\mathbb{P}_2\), the polynomials in \(t\) of degree at most two, take \(\mathcal{D}=\{1,t,1+t^2\}\)

Its coefficient columns relative to \(\{1,t,t^2\}\) form

\[ \begin{bmatrix}1&0&1\\0&1&0\\0&0&1\end{bmatrix} \]

Three pivots: every coefficient vector is reached uniquely, so \(\mathcal{D}\) spans \(\mathbb{P}_2\) and is independent

For \(p(t)=2+4t+3t^2\),

\[ p=-1(1)+4t+3(1+t^2) =\begin{bmatrix}1&t&1+t^2\end{bmatrix} \underbrace{\begin{bmatrix}-1\\4\\3\end{bmatrix}}_{[p]_{\mathcal{D}}} \]

A basis question combines two tests

In \(\mathbb{P}_2\), consider

\[ \mathcal{B}=\{1+t,\ t+t^2,\ 1+t^2\} \]

\(\exstar\) Does \(\mathcal{B}\) span all of \(\mathbb{P}_2\) and is it independent? Form the matrix of coefficients relative to \(\{1,t,t^2\}\) Test its columns for independence If it is a basis, find \([2+4t]_{\mathcal{B}}\)

Two more polynomial basis tests

In \(\mathbb{P}_2\), consider

\[ \mathcal{C}=\{1+t,\ t+t^2,\ 1+2t+t^2\}, \qquad \mathcal{D}=\{1+t,\ t+t^2,\ 1\} \]

\(\exstar\) Use spanning and independence to decide which list is a basis of \(\mathbb{P}_2\) For the basis, find the coordinates of \(2+4t\)

Transformations and Change of Basis

Two tasks: describe the same vector in a new basis, or apply a linear map
Both use the same principle: determine the outputs of the input basis vectors

The companion notebook explores basis extraction and coordinate changes

A basis matrix converts coordinates to standard form

Here \(V=\reals^n\): the basis vectors \(\mathcal{B}=\{\vct{b}_1,\ldots,\vct{b}_n\}\) are numerical columns

\[ \mat{P}_{\mathcal{B}} =\begin{bmatrix}\vct{b}_1&\cdots&\vct{b}_n\end{bmatrix} \]

The numerical \(n\times n\) matrix \(\mat{P}_{\mathcal{B}}\) is invertible

The coordinate map multiplies by the inverse basis matrix:

\[ \vct{x}=\mat{P}_{\mathcal{B}}[\vct{x}]_{\mathcal{B}}, \qquad [\vct{x}]_{\mathcal{B}}=\mat{P}_{\mathcal{B}}^{-1}\vct{x} \]

For the standard basis \(\mathcal{E}=\{\vct{e}_1,\ldots,\vct{e}_n\}\), coordinates equal the vector:

\[ \mat{P}_{\mathcal{E}}=\mat{I}_n, \qquad [\vct{x}]_{\mathcal{E}}=\vct{x} \]

Basis vectors are the columns: multiply coordinates to rebuild the vector

For other vector spaces, first express the basis vectors as numerical coordinate columns

Polynomials build vectors; numerical matrices convert coordinates

Use \(\mathcal{B}=\{1,1+t,t^2\}\) and the reference basis \(\mathcal{E}=\{1,t,t^2\}\)

Polynomial entries: brackets describe a linear combination

\[ p=\begin{bmatrix}1&1+t&t^2\end{bmatrix} \begin{bmatrix}c_1\\c_2\\c_3\end{bmatrix} =c_1+c_2(1+t)+c_3t^2 \]

Numerical entries: columns contain \([1]_{\mathcal{E}}\), \([1+t]_{\mathcal{E}}\), and \([t^2]_{\mathcal{E}}\)

\[ [p]_{\mathcal{E}}= \underbrace{\begin{bmatrix}1&1&0\\0&1&0\\0&0&1\end{bmatrix}}_{\mat{A}} [p]_{\mathcal{B}}, \qquad [p]_{\mathcal{B}}=\mat{A}^{-1}[p]_{\mathcal{E}} \]

The polynomial row builds \(p\); the numerical matrix \(\mat{A}\) converts coordinate columns

Before using a matrix inverse, identify a square matrix of scalar entries

Change of basis passes through the vector

Let \(\mathcal{B}\) and \(\mathcal{C}\) be ordered bases of \(\reals^n\)

\(\mat{P}_{\mathcal{B}}\) and \(\mat{P}_{\mathcal{C}}\) contain their basis vectors as columns

\[ [\vct{x}]_{\mathcal{C}} \quad\xleftarrow{\mat{P}_{\mathcal{C}}^{-1}}\quad \vct{x}=[\vct{x}]_{\mathcal{E}} \quad\xleftarrow{\mat{P}_{\mathcal{B}}}\quad [\vct{x}]_{\mathcal{B}} \]

Change-of-basis matrix: first rebuild the vector, then read its new coordinates

\[ [\vct{x}]_{\mathcal{C}} =\underbrace{\mat{P}_{\mathcal{C}}^{-1}\mat{P}_{\mathcal{B}}}_{ \mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}}} [\vct{x}]_{\mathcal{B}} \]

Read \(\mathcal{C}\leftarrow\mathcal{B}\) as from \(\mathcal{B}\) to \(\mathcal{C}\): input on the right, output on the left

Same vector, new description: only its coordinate column changes

Transition columns describe the old basis in the new one

In \(\mathbb{P}_1\), convert from \(\mathcal{B}=\{1,1+t\}\) to \(\mathcal{C}=\{1,t\}\)

Describe each old basis polynomial using each basis, in the listed order:

Old basis polynomial Its \(\mathcal{B}\)-coordinates Its \(\mathcal{C}\)-coordinates
\(1\) \(\begin{bmatrix}1\\0\end{bmatrix}\) \(\begin{bmatrix}1\\0\end{bmatrix}\)
\(1+t\) \(\begin{bmatrix}0\\1\end{bmatrix}\) \(\begin{bmatrix}1\\1\end{bmatrix}\)

For example, \(1+t=0(1)+1(1+t)=1(1)+1(t)\)

The two \(\mathcal{C}\)-coordinate columns form the conversion matrix:

\[ \mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}} =\begin{bmatrix}1&1\\0&1\end{bmatrix}, \qquad \begin{bmatrix}1&1\\0&1\end{bmatrix}\begin{bmatrix}0\\1\end{bmatrix} =\begin{bmatrix}1\\1\end{bmatrix} \]

The second column is \(\begin{bmatrix}1\\1\end{bmatrix}\) because the second old basis polynomial is \(1+t=1(1)+1(t)\)

Why each transition column has this form

Let \(\mathcal{B}=\{\vct{b}_1,\ldots,\vct{b}_n\}\) and \(\mathcal{C}\) be bases of the same \(n\)-dimensional real vector space

The conversion matrix takes old coordinates as input and returns new coordinates:

\[ [\vct{v}]_{\mathcal{C}} =\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}}[\vct{v}]_{\mathcal{B}} \]

To build \(\vct{b}_j\) in its own basis, take one copy of \(\vct{b}_j\) and zero copies of the other basis vectors
Thus \([\vct{b}_j]_{\mathcal{B}}=\vct{e}_j\): one in position \(j\), zero elsewhere

\[ \underbrace{\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}}\vct{e}_j}_{\text{selects column }j} =\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}}[\vct{b}_j]_{\mathcal{B}} =[\vct{b}_j]_{\mathcal{C}} \]

Put these output columns side by side, keeping the order of \(\mathcal{B}\):

\[ \color{#007acc}\boxed{\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}} =\begin{bmatrix}[\vct{b}_1]_{\mathcal{C}}&\cdots&[\vct{b}_n]_{\mathcal{C}}\end{bmatrix}} \]

Each \([\vct{b}_j]_{\mathcal{C}}\) is a whole column of \(n\) numbers; together they form an \(n\times n\) matrix

Taylor coordinates for a quadratic approximation

For \(t>0\) near \(1\), the quadratic Taylor approximation is

\[ \log(t)\approx p_2(t)=(t-1)-\frac12(t-1)^2 \]

Compare two bases of \(\mathbb{P}_2\), using their listed orders

\[ \mathcal{B}=\{1,t-1,(t-1)^2\},\qquad \mathcal{C}=\{1,t,t^2\} \]

The Taylor coordinates are the coefficients of the shifted powers

\[ p_2(t)=\begin{bmatrix}1&t-1&(t-1)^2\end{bmatrix} \underbrace{\begin{bmatrix}0\\1\\-1/2\end{bmatrix}}_{[p_2]_{\mathcal{B}}} \]

Convert Taylor coordinates to monomial coordinates

Expand each \(\mathcal{B}\) polynomial in the standard basis \(\mathcal{C}=\{1,t,t^2\}\)

Old basis polynomial Expansion in \(\mathcal{C}\) \(\mathcal{C}\)-coordinates
\(1\) \(1+0t+0t^2\) \([1,0,0]^\top\)
\(t-1\) \(-1+t+0t^2\) \([-1,1,0]^\top\)
\((t-1)^2\) \(1-2t+t^2\) \([1,-2,1]^\top\)

These numerical columns give the forward transition matrix

\[ \mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}} =\begin{bmatrix}1&-1&1\\0&1&-2\\0&0&1\end{bmatrix},\qquad [p_2]_{\mathcal{C}} =\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}} \begin{bmatrix}0\\1\\-1/2\end{bmatrix} =\begin{bmatrix}-3/2\\2\\-1/2\end{bmatrix} \]

\(p_2(t)=-3/2+2t-t^2/2\): the same polynomial, expressed in powers of \(t\)

Invert the numerical transition matrix

Reduce \([\,\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}}\mid\mat{I}_3\,]\)

\[ \left[\begin{array}{ccc|ccc} 1&-1&1&1&0&0\\0&1&-2&0&1&0\\0&0&1&0&0&1 \end{array}\right] \xrightarrow{R_2\gets R_2+2R_3} \left[\begin{array}{ccc|ccc} 1&-1&1&1&0&0\\0&1&0&0&1&2\\0&0&1&0&0&1 \end{array}\right] \]

Then use the updated \(R_2\) in \(R_1\gets R_1+R_2\), followed by \(R_1\gets R_1-R_3\)

\[ \left[\begin{array}{ccc|ccc} 1&0&0&1&1&1\\0&1&0&0&1&2\\0&0&1&0&0&1 \end{array}\right] =[\,\mat{I}_3\mid\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}}^{-1}\,] \]

The right block is \(\mat{Q}_{\mathcal{B}\leftarrow\mathcal{C}}=\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}}^{-1}\): the reverse coordinate change

Reverse the coordinate change

Convert from \(\mathcal{C}=\{1,t,t^2\}\) back to \(\mathcal{B}=\{1,t-1,(t-1)^2\}\)

\[ [p_2]_{\mathcal{B}} =\underbrace{\begin{bmatrix}1&1&1\\0&1&2\\0&0&1\end{bmatrix}}_{\mat{Q}_{\mathcal{B}\leftarrow\mathcal{C}}} \underbrace{\begin{bmatrix}-3/2\\2\\-1/2\end{bmatrix}}_{[p_2]_{\mathcal{C}}} =\begin{bmatrix}0\\1\\-1/2\end{bmatrix} \]

Reconstruct the same quadratic in either basis

\[\begin{align*} p_2(t)&=0(1)+1(t-1)-\tfrac12(t-1)^2\\ &=-\tfrac32+2t-\tfrac12t^2 \end{align*}\]

Changing coordinates and changing them back leaves the polynomial unchanged

Example: change between polynomial bases

In \(\mathbb{P}_2\), choose

\[ \mathcal{B}=\{1,1+t,t^2\},\qquad \mathcal{C}=\{1,t,t+t^2\} \]

Write each \(\mathcal{B}\) polynomial using the \(\mathcal{C}\) polynomials, in their listed order:

\(\mathcal{B}\) polynomial Expansion using \(\mathcal{C}=\{1,t,t+t^2\}\) \(\mathcal{C}\)-coordinate column
\(1\) \(1(1)+0(t)+0(t+t^2)\) \([1,0,0]^\top\)
\(1+t\) \(1(1)+1(t)+0(t+t^2)\) \([1,1,0]^\top\)
\(t^2\) \(0(1)-1(t)+1(t+t^2)\) \([0,-1,1]^\top\)

Put these coefficient columns side by side:

\[ \mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}} =\begin{bmatrix}[1]_{\mathcal{C}}&[1+t]_{\mathcal{C}}&[t^2]_{\mathcal{C}}\end{bmatrix} =\begin{bmatrix}1&1&0\\0&1&-1\\0&0&1\end{bmatrix} \]

Convert a polynomial and check both descriptions

Use \(\mathcal{B}=\{1,1+t,t^2\}\) and \(\mathcal{C}=\{1,t,t+t^2\}\), in those orders

For \(p(t)=2-3t+5t^2\), first find its \(\mathcal{B}\)-coordinates:

\[\begin{align*} p(t)&=a(1)+b(1+t)+ct^2\\ &=(a+b)+bt+ct^2 \end{align*}\]

Matching coefficients gives \(b=-3\), \(c=5\), and \(a=2-b=5\)

Now convert the coordinate column:

\[ [p]_{\mathcal{C}} =\underbrace{\begin{bmatrix}1&1&0\\0&1&-1\\0&0&1\end{bmatrix}}_{\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}}} \underbrace{\begin{bmatrix}5\\-3\\5\end{bmatrix}}_{[p]_{\mathcal{B}}} =\begin{bmatrix}5-3\\-3-5\\5\end{bmatrix} =\begin{bmatrix}2\\-8\\5\end{bmatrix} \]

\(2(1)-8t+5(t+t^2)=2-3t+5t^2=p\)
New coordinates, same polynomial

Coordinates change with the basis

Keep \(\vct{x}=\begin{bmatrix}5\\1\end{bmatrix}\) and compare

\[ \mathcal{C}=\left\{\begin{bmatrix}1\\0\end{bmatrix},\begin{bmatrix}1\\1\end{bmatrix}\right\}, \qquad \mathcal{D}=\left\{\begin{bmatrix}2\\1\end{bmatrix},\begin{bmatrix}1\\1\end{bmatrix}\right\} \]

\(\exstar\) Find \([\vct{x}]_{\mathcal{C}}\) and \([\vct{x}]_{\mathcal{D}}\) Reconstruct \(\vct{x}\) from each coordinate vector Use basis vectors as columns of \(\mat{P}_{\mathcal{C}}\) and \(\mat{P}_{\mathcal{D}}\); check the change from \(\mathcal{C}\) to \(\mathcal{D}\) with \(\mat{P}_{\mathcal{D}}^{-1}\mat{P}_{\mathcal{C}}\)

Build a polynomial transition matrix in the right direction

In \(\mathbb{P}_1\), use \(\mathcal{B}=\{1,t\}\) and \(\mathcal{C}=\{1-t,t\}\)

\(\exstar\) Convert \(\mathcal{B}\)-coordinates to \(\mathcal{C}\)-coordinates Find \([1]_{\mathcal{C}}\) and \([t]_{\mathcal{C}}\); use them as columns of \(\mat{Q}_{\mathcal{C}\leftarrow\mathcal{B}}\) For \(p(t)=3-2t\), find \([p]_{\mathcal{C}}\) by matrix multiplication and reconstruct \(p\) Would the same matrix convert \(\mathcal{C}\)-coordinates back to \(\mathcal{B}\)-coordinates? Find the reverse matrix

Transform coordinates to obtain output coordinates

Let \(T:V\to W\) be linear between real vector spaces, with ordered bases \(\mathcal{B}=\{\vct{b}_1,\ldots,\vct{b}_n\}\) of \(V\) and \(\mathcal{C}=\{\vct{c}_1,\ldots,\vct{c}_m\}\) of \(W\)

The basis vectors may be functions or matrices; their coordinate columns are numerical

Transform each input basis vector; put its output coordinates in a column:

\[ \mat{M}_{\mathcal{C}\leftarrow\mathcal{B}} =\begin{bmatrix}[T(\vct{b}_1)]_{\mathcal{C}}&\cdots&[T(\vct{b}_n)]_{\mathcal{C}}\end{bmatrix} \in\reals^{m\times n} \]

Then transform any input coordinate column:

\[ \boxed{[T(\vct{v})]_{\mathcal{C}} =\mat{M}_{\mathcal{C}\leftarrow\mathcal{B}}[\vct{v}]_{\mathcal{B}}} \]

\(\mathcal{C}\) describes the output space; \(T\) need not reach every vector in \(W\)

Input coordinates in, output coordinates out: the bases determine what the entries mean

For a change of basis, \(T(\vct{v})=\vct{v}\): the vector stays fixed while its coordinates change

Why the basis images determine the matrix

Let \(\vct{a}=[\vct{v}]_{\mathcal{B}}\)
Linearity carries the same coefficient column through \(T\):

\[\begin{align*} \vct{v}&=[\vct{b}_1\ \cdots\ \vct{b}_n]\vct{a}\\ T(\vct{v})&=[T(\vct{b}_1)\ \cdots\ T(\vct{b}_n)]\vct{a} \end{align*}\]

Take coordinates in the output basis \(\mathcal{C}\):

\[ [T(\vct{v})]_{\mathcal{C}} =\underbrace{\begin{bmatrix}[T(\vct{b}_1)]_{\mathcal{C}}&\cdots&[T(\vct{b}_n)]_{\mathcal{C}}\end{bmatrix}}_{\mat{M}_{\mathcal{C}\leftarrow\mathcal{B}}}\vct{a} =\mat{M}_{\mathcal{C}\leftarrow\mathcal{B}}[\vct{v}]_{\mathcal{B}} \]

One column for each input basis vector; one entry for each output basis vector

Linearity is why those columns determine every output

Coordinates turn transformations into matrix multiplication

Return to the general matrix rule: differentiate the input basis to build its columns

Differentiation is a linear transformation \(D:\mathbb{P}_3\to\mathbb{P}_2\), \(D(p)=p'\)

\[ \text{Input basis:}\ \mathcal{B}=\{1,t,t^2,t^3\},\qquad \text{output basis:}\ \mathcal{C}=\{1,t,t^2\} \]

For \(p(t)=2-3t+5t^2+4t^3\), transform its coordinates:

\[ \underbrace{\begin{bmatrix}0&1&0&0\\0&0&2&0\\0&0&0&3\end{bmatrix}}_{\mat{M}} \underbrace{\begin{bmatrix}2\\-3\\5\\4\end{bmatrix}}_{[p]_{\mathcal{B}}} =\underbrace{\begin{bmatrix}-3\\10\\12\end{bmatrix}}_{[D(p)]_{\mathcal{C}}} \]

Reconstruct only when needed: \(D(p)(t)=-3+10t+12t^2\)

For a linear map \(T\) and fixed ordered bases: \([T(\vct{v})]_{\mathcal{C}}=\mat{M}[\vct{v}]_{\mathcal{B}}\)

Build \(\mat{M}\) once; compute with coordinates — Matrix Spaces and Rank

Differentiate using two chosen bases

Let \(D:\mathbb{P}_2\to\mathbb{P}_1\) send \(p\) to \(p'\), with

\[ \mathcal{B}=\{1,1+t,t^2\},\qquad \mathcal{C}=\{1,1+t\} \]

\(\exstar\) Compute the derivative through its coordinates Find the \(\mathcal{C}\)-coordinates of \(D(1)\), \(D(1+t)\), and \(D(t^2)\); form \(\mat{M}_{\mathcal{C}\leftarrow\mathcal{B}}\) For \(p(t)=2-3t+5t^2\), find \([p]_{\mathcal{B}}\), multiply by your matrix, and reconstruct \(D(p)\) Why is the matrix \(2\times3\)? What does its zero first column tell you?

Initial data map linearly to a solution function

Can two numbers describe an entire motion? Initial data give a natural choice

Let \(S_{\reals}\) be the real-valued solutions of \(y''+y=0\) on \(\reals\)

Given from differential equations: for every \(a,b\in\reals\), this initial-value problem has exactly one solution

\[ y''+y=0,\qquad y(0)=a,\qquad y'(0)=b \]

\[ T:\reals^2\longrightarrow S_{\reals},\qquad \begin{bmatrix}a\\b\end{bmatrix} \longmapsto y,\qquad y(t)=a\cos(t)+b\sin(t) \]

The standard input basis maps to \(\mathcal{B}=\{\cos(t),\sin(t)\}\):

\[ T\!\left(\begin{bmatrix}1\\0\end{bmatrix}\right)=\cos(t), \qquad T\!\left(\begin{bmatrix}0\\1\end{bmatrix}\right)=\sin(t) \]

Input: two numbers; output: an entire function

Initial conditions recover the coordinates

For \(y(t)=a\cos(t)+b\sin(t)\),

\[ y'(t)=-a\sin(t)+b\cos(t),\qquad \begin{bmatrix}y(0)\\y'(0)\end{bmatrix} =\begin{bmatrix}a\\b\end{bmatrix}=[y]_{\mathcal{B}} \]

With \(\vct{u},\vct{v}\in\reals^2\) and \(c,d\in\reals\),

\[ T(c\vct{u}+d\vct{v})=cT(\vct{u})+dT(\vct{v}) \]

The inverse extracts the initial data:

\[ T^{-1}:y\longmapsto\begin{bmatrix}y(0)\\y'(0)\end{bmatrix}, \qquad [T(\vct{u})]_{\mathcal{B}}=\mat{I}_2\vct{u} \]

\(T\) is a linear isomorphism: \(\dim(S_{\reals})=2\)

Identity coordinate matrix; the map itself sends columns to functions

Complex exponentials give another basis

Allow complex-valued solutions: \(S_{\mathbb{C}}=\{y:y''+y=0\}\) over \(\mathbb{C}\)

Two bases, with coordinates in the listed order:

\[ \mathcal{B}=\{\cos(t),\sin(t)\},\qquad \mathcal{E}=\{e^{\sqrt{-1}\,t},e^{-\sqrt{-1}\,t}\} \]

Euler’s formulas give the transition columns:

\[ \cos(t)=\frac{e^{\sqrt{-1}\,t}+e^{-\sqrt{-1}\,t}}{2}, \qquad \sin(t)=\frac{e^{\sqrt{-1}\,t}-e^{-\sqrt{-1}\,t}}{2\sqrt{-1}} \]

Same solution space; Euler’s formulas give the change-of-basis columns

Change the oscillator’s coordinates, not its motion

Use \(i=\sqrt{-1}\), \(\mathcal{B}=\{\cos(t),\sin(t)\}\) and \(\mathcal{E}=\{e^{it},e^{-it}\}\) in the complex solution space

\[ [y]_{\mathcal{E}} =\underbrace{\color{#007acc}\boxed{\frac12\begin{bmatrix}1&-i\\1&i\end{bmatrix}}}_{\mat{Q}_{\mathcal{E}\leftarrow\mathcal{B}}} \underbrace{\begin{bmatrix}a\\b\end{bmatrix}}_{[y]_{\mathcal{B}}} =\begin{bmatrix}c_+\\c_-\end{bmatrix} \]

Reverse direction: recover the initial position and velocity

\[ [y]_{\mathcal{B}} =\underbrace{\boxed{\begin{bmatrix}1&1\\i&-i\end{bmatrix}}}_{\mat{Q}_{\mathcal{B}\leftarrow\mathcal{E}}} [y]_{\mathcal{E}},\qquad \mat{Q}_{\mathcal{B}\leftarrow\mathcal{E}}=\mat{Q}_{\mathcal{E}\leftarrow\mathcal{B}}^{-1} \]

For \(y(t)=2\cos(t)-\sin(t)\): \([y]_{\mathcal{E}}=\begin{bmatrix}1+i/2\\1-i/2\end{bmatrix}\longleftarrow[y]_{\mathcal{B}}=\begin{bmatrix}2\\-1\end{bmatrix}\)

Same function, different coefficients; real initial data give conjugate exponential coefficients

A critically damped spring: find the solution map

An idealized car spring and shock absorber, with normalized coefficients:

\[ y''+2y'+y=0,\qquad y(0)=a,\qquad y'(0)=b \]

Let \(S_d\) be its real-valued solution space on \(\reals\), with basis

\[ \mathcal{D}=\{e^{-t},te^{-t}\} \]

\(\exstar\) Repeat the undamped construction Verify that both basis functions solve the equation and are independent Write \(y(t)=c_1e^{-t}+c_2te^{-t}\); find \(c_1,c_2\) from the initial data Define \(U:\reals^2\to S_d\) from initial data to the solution; explain why it is a linear isomorphism

Choose output coordinates for the damped motion

Keep \(U:\reals^2\to S_d\) and \(\mathcal{D}=\{e^{-t},te^{-t}\}\)

\(\exstar\) The input basis is the standard basis of \(\reals^2\) Find the \(\mathcal{D}\)-coordinates of \(U\!\left(\begin{bmatrix}1\\0\end{bmatrix}\right)\) and \(U\!\left(\begin{bmatrix}0\\1\end{bmatrix}\right)\); form the matrix representing \(U\) Use those two output functions as a new basis \(\mathcal{F}\); what matrix now represents \(U\)? For \(a=1\), \(b=0\), give \(y(t)\), \([y]_{\mathcal{D}}\), and \([y]_{\mathcal{F}}\)

Applications and Extensions

What does choosing a basis let us do, and when might we keep redundancy?

Regression and PCA use coordinates to represent different objects

Method What we use What we represent
Regression Explanatory data \(\mat{X}\) and a response \(\vct{y}\) The response, through \(\vct{y}\approx\mat{X}\vct{\beta}\)
Principal Component Analysis (PCA) The data \(\mat{X}\) alone The observations, in a basis chosen from their variation

Frames and infinite bases extend the finite-basis picture

Regression fits a linear combination of functions

Five synthetic observations of predictors \(t,u\) and response \(y\)

Observation \(i\) 1 2 3 4 5
\(t_i\) \(0\) \(1\) \(0\) \(1\) \(-1\)
\(u_i\) \(0\) \(0\) \(1\) \(1\) \(1\)
\(y_i\) \(1\) \(2\) \(2\) \(5\) \(0\)

Choose the feature functions \(1,t,u,\exp(tu)\) and allow discrepancies \(e_i\)

\[ y_i=\beta_0+\beta_1t_i+\beta_2u_i+\beta_3\exp(t_i u_i)+e_i \]

For observation 4, substitute \((t_4,u_4)=(1,1)\) and \(y_4=5\)

\[ 5=\beta_0+\beta_1+\beta_2+\exp(1)\beta_3+e_4 \]

The functions may be nonlinear in \(t,u\); the unknown coefficients enter linearly

Stack the observations in matrix form

Keep the observation order and the feature order \(1,t,u,\exp(tu)\)

\[ \underbrace{\begin{bmatrix}1\\2\\2\\5\\0\end{bmatrix}}_{\vct{y}} = \underbrace{\begin{bmatrix} 1&0&0&1\\ 1&1&0&1\\ 1&0&1&1\\ 1&1&1&\exp(1)\\ 1&-1&1&\exp(-1) \end{bmatrix}}_{\mat{X}} \underbrace{\begin{bmatrix}\beta_0\\\beta_1\\\beta_2\\\beta_3\end{bmatrix}}_{\vct{\beta}} + \underbrace{\begin{bmatrix}e_1\\e_2\\e_3\\e_4\\e_5\end{bmatrix}}_{\vct{e}} \]

  • Each row evaluates all four functions at one predictor pair \((t_i,u_i)\)
  • Each column collects one function’s values across all five observations
  • The first column of ones supplies the intercept \(\beta_0\)

The data determine \(\mat{X}\) and \(\vct{y}\); regression chooses \(\widehat{\vct{\beta}}\)

\(\vct{y}\approx\mat{X}\widehat{\vct{\beta}}\) need not be an exact fit

Regression chooses the closest vector we can build

Explanatory data: \(\mat{X}\in\reals^{m\times n}\), with \(m\) observations and \(n\) feature columns \(\vct{X}_0,\ldots,\vct{X}_{n-1}\)

Response: \(\vct{y}\in\reals^m\), one observed response for each observation

\[ \widehat{\vct{y}}=\mat{X}\widehat{\vct{\beta}} =\widehat{\beta}_0\vct{X}_0+\cdots+\widehat{\beta}_{n-1}\vct{X}_{n-1} \]

  • Span: \(W=\operatorname{span}\{\vct{X}_0,\ldots,\vct{X}_{n-1}\}\) contains every possible fitted response
  • Closest fit: choose \(\widehat{\vct{y}}\in W\) minimizing \(\|\vct{y}-\widehat{\vct{y}}\|^2\)
  • When columns are independent: the ordered columns form a basis of \(W\); \(\widehat{\vct{\beta}}\) gives the fitted response’s coordinates

Regression uses the response \(\vct{y}\) to choose the weights \(\widehat{\vct{\beta}}\)

Independent explanatory columns give unique weights

Later: Inner Products — least squares

Example: two features describe one fitted response vector

Fit a response \(y\approx\beta_0+\beta_1t\) to \((t,y)=(0,1),(1,0),(2,2)\)

\[ \mat{X}=\begin{bmatrix}1&0\\1&1\\1&2\end{bmatrix},\qquad \vct{y}=\begin{bmatrix}1\\0\\2\end{bmatrix},\qquad \widehat{\vct{\beta}}=\begin{bmatrix}1/2\\1/2\end{bmatrix} \]

\[ \widehat{\vct{y}}=\tfrac12\begin{bmatrix}1\\1\\1\end{bmatrix} +\tfrac12\begin{bmatrix}0\\1\\2\end{bmatrix} =\begin{bmatrix}1/2\\1\\3/2\end{bmatrix},\qquad \vct{y}-\widehat{\vct{y}}=\begin{bmatrix}1/2\\-1\\1/2\end{bmatrix} \]

The explanatory columns span a plane in response space \(\reals^3\)

The residual is perpendicular to both columns: this is the closest fit

\([1/2,1/2]^\top\) locates the fitted response in that plane; it does not represent the observed response outside the plane

PCA chooses coordinates adapted to the data

Principal component analysis (PCA) describes variation in the data themselves

Here are the eight synthetic observations in the picture, each with two features

\[ \mat{X}= \begin{bmatrix} 10&14\\ -10&-14\\ 11&5\\ -11&-5\\ 4&4\\ -4&-4\\ -2&2\\ 2&-2 \end{bmatrix} \in\reals^{8\times2} \]

Each row is one observation:

\[ \text{row }i=\vct{z}_i^\top, \qquad \vct{z}_i\in\reals^2 \]

Each column records one feature across all eight observations

Both column means are zero: these data are already centered

Each plotted dot is one \(\vct{z}_i\in\reals^2\)

PCA chooses its basis from \(\mat{X}\) alone, without using a response vector

The PCA basis changes every observation’s coordinates

PCA selects orthogonal unit directions with the greatest remaining variation

\[ \underbrace{\begin{bmatrix} 10&14\\ -10&-14\\ 11&5\\ -11&-5\\ 4&4\\ -4&-4\\ -2&2\\ 2&-2 \end{bmatrix}}_{\mat{X}\ (8\times2)} \underbrace{\frac1{\sqrt2}\begin{bmatrix}1&-1\\1&1\end{bmatrix}}_{\mat{Q}=[\vct{q}_1\ \vct{q}_2]\ (2\times2)} = \underbrace{\sqrt2\begin{bmatrix} 12&2\\ -12&-2\\ 8&-3\\ -8&3\\ 4&0\\ -4&0\\ 0&2\\ 0&-2 \end{bmatrix}}_{\mat{S}\ (8\times2)} \]

The scores in row \(i\) of \(\mat{S}\) are \([\vct{z}_i]_{\mathcal{Q}}^\top\), where \(\mathcal{Q}=\{\vct{q}_1,\vct{q}_2\}\)

The first observation has coordinates \(\sqrt2\begin{bmatrix}12\\2\end{bmatrix}\)

PCA concentrates variance in the first coordinate

Original coordinates use the axes \(\vct{e}_1,\vct{e}_2\); PCA coordinates use \(\vct{q}_1,\vct{q}_2\)

For eight centered values \(a_i\), sample variance is \((1/7)\sum_{i=1}^8 a_i^2\)

Coordinates First variance Second variance Total variance
Original \((x_1,x_2)\) \(\approx68.857\) \(\approx68.857\) \(\approx137.714\)
PCA scores \((s_1,s_2)\) \(128.000\) \(\approx9.714\) \(\approx137.714\)

Original coordinates each carry 50 percent of the total variance. The first PCA coordinate carries 92.9 percent and the second carries 7.1 percent.

The total variance stays the same; the first PCA coordinate carries 92.9%

One observation in the PCA basis

The highlighted point is the first row of \(\mat{X}\), written as a column \(\vct{z}\)

Eight centered observations lie near a diagonal principal axis. The highlighted observation z=(10,14) has PCA scores (12 square root of 2, 2 square root of 2). Its projection onto the first axis is 12 square root of 2 times q1.

\[ \vct{q}_1=\frac1{\sqrt2}\begin{bmatrix}1\\1\end{bmatrix},\qquad \vct{q}_2=\frac1{\sqrt2}\begin{bmatrix}-1\\1\end{bmatrix} \]

In this basis, one centered observation is

\[ \vct{z}=12\sqrt2\,\vct{q}_1+2\sqrt2\,\vct{q}_2 \]

Its coordinate vector \(\sqrt2\begin{bmatrix}12\\2\end{bmatrix}\) contains its scores

Full basis: exact coordinates

Keep \(\vct{q}_1\): \(\vct{z}\approx12\sqrt2\,\vct{q}_1\) in its span

Later: Inner Products — low-rank approximation

A frame can keep redundant generators

Extension: redundancy can protect reach when a generator is lost

For a subspace of \(\reals^n\), a finite spanning list is a frame

Independence is optional; for \(W=\left\{\begin{bmatrix}x\\y\\z\end{bmatrix}:z=x+y\right\}\), use

\[ \vct{v}_1=\begin{bmatrix}1\\0\\1\end{bmatrix},\quad \vct{v}_2=2\vct{v}_1, \quad \vct{v}_3=\begin{bmatrix}0\\1\\1\end{bmatrix},\quad \vct{v}_4=\vct{v}_1+\vct{v}_3 \]

\[ \vct{v}_4 =0\vct{v}_1+0\vct{v}_2+0\vct{v}_3+1\vct{v}_4 =1\vct{v}_1+0\vct{v}_2+1\vct{v}_3+0\vct{v}_4 \]

A redundant frame admits more than one coefficient list for the same vector

Here any one of the four vectors can be lost without losing the span

Bases need not be finite

Extension: what changes when no finite list spans the space?

An algebraic (Hamel) basis uses only finite linear combinations

  • All polynomials have a countably infinite basis \(\{1,t,t^2,\ldots\}\)
  • Finite Fourier sums on \([0,1]\), over \(\mathbb{C}\), have a countable basis \(\{e^{2\pi\sqrt{-1}\,kt}:k\in\mathbb{Z}\}\)
  • \(C(\reals)\), all continuous real-valued functions on the real line, has an uncountable algebraic basis

Algebraic bases give exact finite representations

Countable orthonormal bases in \(L^2[a,b]\) allow infinite expansions

Big Ideas

  • Independence means every vector has at most one construction from the generators
  • A basis combines independence and spanning to give unique coordinates
  • Coordinates are coefficients in an ordered basis; the same vector can have different coordinate columns
  • Dimension counts basis vectors and depends on the scalar field
  • Coordinate maps preserve linear structure; transition matrices change descriptions
  • A linear transformation becomes a matrix from input coordinates to output coordinates

How Far We Have Come

  • Systems and Matrices — \([\,\mat{A}\mid\vct{b}\,]\) tests consistency and finds free parameters; PLU saves elimination
  • Matrix actions — products compose, inverses undo; determinants give signed scale and detect collapse
  • Euclidean Spaces — consistent solutions: \(\vct{x}_p+\operatorname{null}(\mat{A})\); dot products, projection, and 3D cross products describe geometry
  • Vector Spaces and Span — subspaces contain all linear combinations; vectors can be matrices, polynomials, or functions
  • Bases and Coordinates — spanning gives coefficients; independence makes them unique; dimension counts basis vectors
  • Coordinates — ordered-basis coordinates preserve linear combinations; changing the basis changes the column, not the vector

With ordered basis \(\mathcal{B}=\{\vct{b}_1,\ldots,\vct{b}_d\}\) and \(d=\dim(V)<\infty\): \(\vct{v}=[\vct{b}_1\ \cdots\ \vct{b}_d][\vct{v}]_{\mathcal{B}}\) with a unique coordinate column \([\vct{v}]_{\mathcal{B}}\)

What Comes Next

How do bases and dimension expose the structure of a matrix?

«
»