← Back to Math 010

4.5 Coordinates and Basis: Class Notes

Definition

If S={𝐯1,𝐯2,…,𝐯n} is a set of vectors in a finite-dimensional vector space V, then S is called a basis for V if:
a) S spans V
b) S is linearly independent.

{e→1,e→2,e→3} are the standard basis vectors for R3. These relate to mutually perpendicular axes. However, any 3 vectors in R3 that do not lie in the same plane can be used to represent any other vector in R3. These 3 vectors are called basis vectors.

#1

Use the determinant of a coefficient matrix to show that the following set of vectors forms a basis for R2: {(2,1), (3,0)}.

Solution

Let A=[2310] (the vectors are its columns).

If Ax→=b→ always has a solution, then the set spans R2. If Ax→=0→ has only the trivial solution, then the set is independent.

det(A)=−3≠0. Thus both conditions are met, and the set is a basis for R2.

Answer: det(A)=−3≠0, so the set is a basis for R2.

#8

Show that the following vectors do not form a basis for P2.
1−3x+2x2, 1+x+4x2, 1−7x

Solution

Put the coefficients of each polynomial (constant, x, x2) in a column and find the determinant. Use the diagonal method: copy the first two columns to the right, add the products down the diagonals to the right (blue), and subtract the products up the diagonals to the right (red).

|111−31−7240|11−3124

0−14−12−2+28+0=0

So the vectors do not form a basis for P2.

Note that 2(1−3x+2x2)−(1+x+4x2)=1−7x, so the set is linearly dependent.

Answer: The determinant is 0, so the vectors do not form a basis for P2.

Definition

A basis in which the listed order of the vectors matters is called an ordered basis.

Some Standard bases

{ı^, ȷ^} is a basis for R2 (this is the same as {𝐞1,𝐞2}).

{ı^, ȷ^, k^} is basis for R3 (this is the same as {𝐞1,𝐞2,𝐞3}).

{𝐞1,𝐞2,…,𝐞n} is a basis for Rn.

{1, x, x2, …, xn} is a basis for Pn.

{[1000],[0100],[0010],[0001]} is a basis for M22.

The basis for the zero vector space V={0→} is ∅ (the empty set).

Theorem 4.5.1 Uniqueness of Basis Representation

If S={𝐯1,𝐯2,…,𝐯n} is a basis for a vector space V, then every vector 𝐯 in V can be expressed in the form 𝐯=c1𝐯1+c2𝐯2+…+cn𝐯n in exactly one way.

Proof

Let v→∈V. Since S spans V, there are scalars c1,c2,…,cn such that

v→=c1v→1+c2v→2+⋯+cnv→n.

Suppose also that

v→=k1v→1+k2v→2+⋯+knv→n.

Subtract the two expressions:

0→=v→−v→=(c1−k1)v→1+(c2−k2)v→2+⋯+(cn−kn)v→n

Since S is linearly independent, ci−ki=0 for all i, so ci=ki for all i.

Definition

If S={𝐯1,𝐯2,…,𝐯n} is an ordered basis for a vector space V, and 𝐯=c1𝐯1+c2𝐯2+…+cn𝐯n is the expression for a vector 𝐯 in terms of the basis S, then the scalars c1,c2,…,cn are called the coordinates of 𝐯 relative to the basis 𝐒. The vector (c1,c2,…,cn) in Rn constructed from these coordinates is called the coordinate vector of 𝐯 relative to the basis 𝐒; it is denoted by (𝐯)S=(c1,c2,…,cn).

Example

Consider 𝐯=(−1,7,2)∈R3. The set B={𝐯1,𝐯2,𝐯3}, where 𝐯1=(2,−1,−1), 𝐯2=(−2,1,2), and 𝐯3=(3,5,4) forms a basis for R3 (verify). Find (𝐯)S (where S is the standard basis for R3) and (𝐯)B.

Solution

First verify that B is a basis. The system

c1(2,−1,−1)+c2(−2,1,2)+c3(3,5,4)=(b1,b2,b3)

should always have a solution, and

c1(2,−1,−1)+c2(−2,1,2)+c3(3,5,4)=(0,0,0)

should have only the trivial solution. Both hold because the determinant of the coefficient matrix is not zero:

|2−23−115−124|=−13≠0.

Now consider c1v→1+c2v→2+c3v→3=(−1,7,2). Find c1,c2,c3.

[2−23−115−124]c→=[−172] ⟶ [2−23−1−1157−1242]

becomes

[100−6010−40011]

So (c1,c2,c3)=(−6,−4,1). That means

−6(2,−1,−1)−4(−2,1,2)+1(3,5,4)=(−1,7,2).

Since (c1,c2,c3)=(−6,−4,1) are the coefficients used with B={v→1,v→2,v→3} that yield v→=(−1,7,2), the vector (v→)B=(−6,−4,1) is the coordinate vector of (−1,7,2) relative to the basis B={(2,−1,−1),(−2,1,2),(3,5,4)}.

Note: v→ itself is the coordinate vector relative to the standard basis {e→1,e→2,e→3}, so (v→)S=(−1,7,2).

Answer: (v→)S=(−1,7,2) and (v→)B=(−6,−4,1)

#16

First show that the set S={A1,A2,A3,A4} is a basis for M22, then express A as a linear combination of the vectors in S, and then find the coordinate vector of A relative to S.

A1=[1010], A2=[1100], A3=[1001], A4=[0010]; A=[6253]

Solution

Write c1A1+c2A2+c3A3+c4A4=A and match entries: each row of the coefficient matrix below comes from one position, in the order upper left (magenta), upper right (blue), lower left (orange), lower right (green).

[1110010010010010] ⟶ [1000010000100001] ✓

The matrix reduces to the identity, so S is a basis for M22.

By inspection, c2=2 (only A2 has an upper-right entry) and c3=3 (only A3 has a lower-right entry). Then c1=1 (from c1+c2+c3=6) and c4=4 (from c1+c4=5).

A=1A1+2A2+3A3+4A4

Answer: (A)S=(1,2,3,4)