Skip to main content

Section 34 Coordinate Vectors and Coordinate Transformations

Subsection Application: Calculating Sums

Consider the problem of calculating sums of powers of integers. For example,

\begin{align*} \sum_{t=0}^{n-1} t \amp = \frac{1}{2}\left(n^2-n\right)\\ \sum_{t=0}^{n-1} t^2 \amp = \frac{1}{6}\left(2n^3-3n^2+1\right)\\ \sum_{t=0}^{n-1} t^3 \amp = \frac{1}{4}\left(n^4-2n^3+n^2\right) \end{align*}

and so on. It is possible to prove these formulas if we have an idea of what the formula is, but how can one come up with these formulas in the first place? As we will see later in this section, we can make use of coordinate vectors to find and verify such formulas.

Subsection Introduction

In Section 16 we defined the coordinate vector of a vector \(\vx\) in \(\R^n\) with respect to a basis \(\CB = \vv_1, \vv_2, \vv_n\}\) of \(\R^n\) to be the vector \([x_1 \ x_2 \ \ldots \ x_n]^{\tr}\) if

\begin{equation*} \vx = x_1 \vv_1 + x_2 \vv_2 + \cdots + x_n \vv_n\text{.} \end{equation*}

We can define coordinate vectors in vector spaces in the same way. As we will see, this is a powerful idea as it allows us to translate problems in finite dimensional vector spaces to problems in \(\R^n\) where we have many tools at our disposal. First we define a coordinate vector.

Definition 34.1.

Let \(\CB = \{\vv_1, \vv_2, \ldots, \vv_n\}\) be an ordered basis for a vector space \(V\text{.}\) For any vector \(\vx\) in \(V\text{,}\) the coordinate vector of \(\vx\) with respect to \(\CB\) is the vector

\begin{equation*} [\vx]_{\CB} = \left[ \begin{array}{c} x_1 \\ x_2 \\ \vdots \\ x_n \end{array} \right]\text{,} \end{equation*}

where

\begin{equation*} \vx = x_1 \vv_1 + x_2 \vv_2 + \cdots + x_n \vv_n\text{.} \end{equation*}

The scalars \(x_1\text{,}\) \(x_2\text{,}\) \(\ldots\text{,}\) \(x_n\) are the coordinates of the vector \(\vx\) with respect to the basis.

Preview Activity 34.1.

Let \(b_1(t) = 4+2t\text{,}\) \(b_2(t) = -6+6t\text{,}\) \(c_1(t) = 1+t\text{,}\) \(c_2(t) = 1-t\text{,}\) and let \(\CB = \{b_1(t), b_2(t)\}\) and \(\CC = \{c_1(t), c_2(t)\}\text{.}\)

(a)

Show that \(\CB\) and \(\CC\) are bases for \(\pol_1\text{.}\)

(b)

Let \(p(t) = 3 b_1(t) + 2 b_2(t)\text{.}\) What is \([p(t)]_{\CB}\text{?}\)

(c)

Find the coordinate vector of \(f(t) = 2+4t\) with respect to both \(\CB\) and \(\CC\text{.}\)

(d)

Find a polynomial \(r(t)\) such that \([r(t)]_{\CB} = [1 \ 3]^{\tr}\text{.}\) Determine exactly how many such polynomials \(s(t)\) have the property that \([s(t)]_{\CB} = [1 \ 3]^{\tr}\text{.}\) Explain your reasoning.

(e)

Find a polynomial \(q(t)\) such that \([q(t)]_{\CC} = [1 \ 3]^{\tr}\text{.}\) Determine exactly how many such polynomials \(s(t)\) have the property that \([s(t)]_{\CC} = [1 \ 3]^{\tr}\text{.}\) Explain your reasoning.

(f)

What specific property does a basis have that ensures the responses to parts (c) and (d) will always be the same?

Recall that there is exactly one way to write a vector as a linear combination of basis vectors, so there is only one coordinate vector of a given vector with respect to a basis. Therefore, the coordinate vector of any vector is well-defined.

Subsection The Coordinate Transformation

We have seen that both \(\R^2\) and \(\pol_1\) are vector spaces of dimension 2. Moreover, we can pair the polynomial \(a_0+a_1t\) in \(\pol_1\) with the vector \([a_0 \ a_1]\) in \(\R^2\) as the coordinate vector of \(a_0+a_1t\) with respect to the standard basis for \(\pol_1\text{.}\) In this way we can see that the vector space \(\pol_1\) “looks” like the vector space \(\R^2\text{.}\) In fact, using this same idea, we can show that any vector space of dimension \(n\) “looks” like \(\R^n\text{.}\) The key idea to make this work is the coordinate transformation.

As we saw in Preview Activity 34.1, the coordinate vector of a vector with respect to a basis depends on the basis we choose. In this activity we found that \([2+4t]_{\CB} = \left[ 1 \ \frac{1}{3} \right]^{\tr}\) and \([2+4t]_{\CC} = [ 3 \ -1]^{\tr}\text{,}\) where \(\CB = \{4+2t, -6+6t\}\) and \(\CC = \{1+t, 1-t\}\text{.}\) These coordinate vectors allow us to identify polynomials in \(\pol_1\) with vectors in \(\R^2\text{.}\) In this way, the coordinate vectors provide an identification between the vector space \(\pol_1\) and the vector space \(\R^2\) via a coordinate transformation.

Definition 34.2.

Let \(V\) be a vector space of dimension \(n\) with basis \(\CB\text{.}\) The coordinate transformation \(T\) from \(V\) to \(\R^n\) with respect to the ordered basis \(\CB\) is the mapping defined by

\begin{equation*} T(\vx) = [\vx]_{\CB} \end{equation*}

for any vector \(\vx\) in \(V\text{.}\)

Coordinate transformations have several useful properties that allow us to use them to compare the structure of vector spaces.

Activity 34.2.

Let \(a(t) = 8+2t\) and \(b(t) = -5+t\) in \(\pol_1\text{.}\) Suppose we know \(\CC = \{1 + t, 2 - t\}\) is a basis of \(\pol_1\text{.}\) Let \(T(\vx)=[\vx]_\CC\) for \(\vx\) in \(\pol_1\text{.}\)

(a)

What are \(T(a(t))\) and \(T(b(t))\text{?}\)

(b)

Find \(T(a(t)) + T(b(t))\text{.}\)

(c)

What is \(T(a(t)+b(t))= [a(t)+b(t)]_{\CC}\text{?}\)

(d)

What is the relationship between \(T(a(t)) + T(b(t))\) and \(T(a(t)+b(t))\text{?}\)

(e)

Show that if \(c\) is any scalar, then \(T(ca(t)) = cT(a(t))\text{.}\)

(f)

Where have we seen functions with these properties before?

Activity 34.2 shows that coordinate transformations behave in ways similar to matrix transformations. Recall that if \(A\) is an \(m \times n\) matrix, then

\begin{equation*} A(\vu+\vw) = A\vu + A\vw \ \text{ and } \ A(c\vu) = cA\vu \end{equation*}

for any vectors \(\vu\) and \(\vw\) in \(\R^n\) and any scalar \(c\text{.}\) Because of these properties, the transformation \(A\) preserves linear combinations. That is, if \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) and \(\vv_n\) are any vectors in \(\R^n\) and \(c_1\text{,}\) \(c_2\text{,}\) \(\ldots\text{,}\) \(c_n\) are any scalars, then

\begin{equation*} A(c_1 \vv_1 + c_2 \vv_2 + \cdots + c_n \vv_n) = c_1 A\vv_1 + c_2 A\vv_2 + \cdots + c_n A\vv_n\text{.} \end{equation*}

Activity 34.2 contains the essential ideas to show that if \(T\) is a coordinate transformation from a vector space \(V\) with basis \(\CB\) to \(\R^n\text{,}\) then

\begin{equation*} T(\vu+\vw) = T(\vu) + T(\vw) \ \text{ and } \ T(c\vu) = cT(\vu) \end{equation*}

for any vectors \(\vu\) and \(\vw\) in \(V\) and any scalar \(c\text{.}\) The fact that any coordinate transformation satisfies these properties is contained in the following theorem.

Proof.

Let \(\vv_1\text{,}\) \(\vv_2\text{,}\) \(\ldots\text{,}\) and \(\vv_n\) be vectors that form a basis \(\CB\) for a vector space \(V\text{.}\) To verify the first property, let \(\vu\) and \(\vw\) be two arbitrary vectors from \(V\text{.}\) We will show that \(T(\vu)+T(\vw) = T(\vu + \vw)\) for these two vectors. Consider \(T(\vu)\text{.}\) If \(T(\vu)=[u_1 \ u_2 \ \ldots \ u_n]^{\tr}\text{,}\) then the fact that \(T(\vu)= [\vu]_\CB\) implies that

\begin{equation*} \vu = u_1\vv_1 + u_2\vv_2 + \cdots + u_n \vv_n \,\text{.} \end{equation*}

Similarly, if \(T(\vw)=[w_1 \ w_2 \ \ldots \ w_n]^{\tr}\text{,}\) then \(T(\vw)=[\vw]_\CB\) implies that

\begin{equation*} \vw = w_1\vv_1 + w_2\vv_2 + \cdots + w_n \vv_n \,\text{.} \end{equation*}

We then obtain

\begin{align*} \vu+\vw \amp = (u_1\vv_1 + u_2\vv_2 + \cdots + u_n \vv_n) + (w_1\vv_1 + w_2\vv_2 + \cdots + w_n \vv_n)\\ \amp = (u_1+w_1)\vv_1 + (u_2+w_2)\vv_2 + \cdots + (u_n+w_n) \vv_n\text{.} \end{align*}

Thus, by definition of \(T\) again,

\begin{equation*} T(\vu+\vw)= [\vu+\vw]_{\CB} = [(u_1+w_1) \ (u_2+w_2) \ \ldots \ (u_n+w_n)]^{\tr}\text{.} \end{equation*}

To show that \(T(\vu + \vw) = T(\vu) + T(\vw)\text{,}\) note that

\begin{align*} T(\vu) + T(\vw) \amp = [u_1 \ u_2 \ \ldots \ u_n]^{\tr} + [w_1 \ w_2 \ \ldots \ w_n]^{\tr}\\ \amp = [(u_1+w_1) \ (u_2+w_2) \ \ldots \ (u_n+w_n)]^{\tr}\\ \amp = [\vu+\vw]_{\CB}\\ \amp = T(\vu+\vw)\text{.} \end{align*}

The proof of the second property is left for the exercises.

Theorem 34.3 can be extended to any linear combination of vectors by mathematical induction. That is, if \(T : V \to \R^n\) is the coordinate mapping defined by \(T(\vx) = [\vx]_{\CB}\) for some basis \(\CB\text{,}\) and if \(\vu_1\text{,}\) \(\vu_2\text{,}\) \(\ldots\text{,}\) \(\vu_m\) are vectors in an \(n\)-dimensional vector space \(V\) with basis \(\CB\text{,}\) and \(x_1\text{,}\) \(x_2\text{,}\) \(\ldots\text{,}\) \(x_m\) are scalars, then \(T(x_1\vu_1+x_2\vu_2+\cdots +x_m\vu_m) = x_1T(\vu_1) + x_2T(\vu_2) + \cdots + x_mT(\vu_m)\text{.}\) In other words,

\begin{equation*} [x_1\vu_1+x_2\vu_2+\cdots + x_m\vu_m]_{\CB} = x_1[\vu_1]_{\CB} + x_2[\vu_2]_{\CB} + \cdots + x_m[\vu_m]_{\CB}\text{.} \end{equation*}

In other words, coordinate transformations take linear combinations of vectors in \(V\) to linear combinations of vectors in \(\R^n\text{.}\)

In essence, a coordinate transformation makes an identification of any vector space of dimension \(n\) with \(\R^n\text{.}\) One of the driving forces behind this identification is the fact that, just as in \(\R^n\text{,}\) if a vector space \(V\) has a basis of \(n\) elements, then any basis for \(V\) will have exactly \(n\) elements. The fact that any coordinate transformation from a vector space \(V\) to \(\R^n\) is linear means that elements in \(V\) behave the same way with respect to addition and multiplication by scalars in \(V\) as do their images in \(\R^n\) under the coordinate transformation. To make this identification complete, there are still two questions to address. First, given a coordinate transformation \(T\) from a vector space \(V\) to \(\R^n\text{,}\) is is possible for two vectors in \(V\) to have the same image in \(\R^n\) (in other words, is \(T\) one-to-one), and is every vector in \(\R^n\) the image of some vector in \(V\) under \(T\) (in other words, does \(T\) map \(V\) onto \(\R^n\))? If the coordinate transformations are one-to-one and onto, then, in essence, any vector space of dimension \(n\) is just a copy of \(\R^n\text{.}\) As a result, to understand any vector space with a basis of \(n\) vectors, it is enough to understand \(\R^n\text{.}\)

Activity 34.3.

Let \(V\) be a vector space with an ordered basis \(\CB = \{\vv_1, \vv_2, \ldots, \vv_n\}\text{.}\) Then \(T\) maps \(V\) into \(\R^n\text{.}\) We want to show that \(T\) maps \(V\) onto \(\R^n\text{.}\) Recall that a function \(f\) from a set \(X\) to a set \(Y\) is onto if for any element \(y\) in \(Y\text{,}\) there is an element \(x\) in \(X\) such that \(f(x) = y\text{.}\) Let \(\vb = [b_1 \ b_2 \ \ldots \ b_n]^{\tr}\) be a vector in \(\R^n\text{.}\) Must there be a vector \(\vv\) in \(V\) so that \(T(\vv) = \vb\text{?}\) If so, find such a vector. If not, explain why not.

Activity 34.3 shows that a coordinate transformation maps an \(n\)-dimensional vector space \(V\) onto \(\R^n\text{.}\) What's more, any coordinate transformation is also one-to-one (the proof that \(T\) is one-to-one is left for the exercises). We summarize these results in the following theorem.

Theorem 34.3 and Theorem 34.4 show that a coordinate transformation from an \(n\)-dimensional vector space \(V\) with basis \(\CB\) to \(\R^n\) provides an identification of \(V\) with \(\R^n\text{,}\) where a vector \(\vv\) in \(V\) is identified with the vector \([\vv]_{\CB}\text{.}\) This identification allows us to transfer questions (linear dependence, independence, span) in \(V\) to \(\R^n\) where we can apply our knowledge of matrices to answer the questions.

Activity 34.4.

Let \(V = \pol_3\) and let \(\CB = \{1,t,t^2,t^3\}\text{.}\) Let \(S = \{1+t+t^2+t^3, t-t^3, 1+2t^2, 1+5t-t^3\}\text{.}\)

(a)

Find each of \([1+t+t^2+t^3]_{\CB}\text{,}\) \([t-t^3]_{\CB}\text{,}\) \([1+2t^2]_{\CB}\text{,}\) and \([1+5t-t^3]_{\CB}\text{.}\)

(b)

Are the vectors \([1+t+t^2+t^3]_{\CB}\text{,}\) \([t-t^3]_{\CB}\text{,}\) \([1+2t^2]_{\CB}\text{,}\) and \([1+5t-t^3]_{\CB}\) linearly independent or dependent? Explain. If the vectors are linearly dependent, write one of the vectors as a linear combination of the others.

(c)

The coordinate transformation identifies the vectors in \(S = \{1+t+t^2+t^3, t-t^3, 1+2t^2, 1+5t-t^3\}\) with their coordinate vectors in \(\R^4\text{.}\) Use that information to determine if \(S\) is a linearly independent or dependent set. If dependent, write one of the vectors in \(S\) as a linear combination of the others.

Subsection Examples

What follows are worked examples that use the concepts from this section.

Example 34.5.

(a)

Find the coordinate vector of \(\vv\) with respect to the ordered basis \(\CB\) in the indicated vector space.

(i)

\(\CB = \{1+t, 2-t\}\) in \(\pol_1\) with \(\vv = 4+t\)

Solution.

Find the coordinate vector of \(\vv\) with respect to the ordered basis \(\CB\) in the indicated vector space.

We need to write \(\vv =4+t\) as a linear combination of \(1+t\) and \(2-t\text{.}\) If \(4+t = c_1(1+t) + c_2(2-t)\text{,}\) then equating coefficients of like power terms yields the equations \(4 = c_1 +2c_2\) and \(1 = c_1-c_2\text{.}\) The solution to this system is \(c_1 = 2\) and \(c_2 = 1\text{,}\) so \([4+t]_{\CB} = [2 \ 1]^{\tr}\text{.}\)

(ii)

\(\CB = \left\{ \left[ \begin{array}{cc} 1\amp 0\\0\amp 1 \end{array} \right], \left[ \begin{array}{rc} 1\amp 0\\-1\amp 1 \end{array} \right], \left[ \begin{array}{cc} 1\amp 1\\0\amp 1 \end{array} \right], \left[ \begin{array}{cc} 0\amp 0\\0\amp 1 \end{array} \right] \right\}\) in \(\M_{2 \times 2}\) with \(\vv = \left[ \begin{array}{cc} 2\amp 3\\1\amp 0 \end{array} \right]\)

Solution.

Find the coordinate vector of \(\vv\) with respect to the ordered basis \(\CB\) in the indicated vector space.

We need to write \(\vv\) as a linear combination of the vectors in \(\CB\text{.}\) If

\begin{align*} \left[ \begin{array}{cc} 2\amp 3\\ 1\amp 0 \end{array} \right] \amp = c_1\left[ \begin{array}{cc} 1\amp 0\\ 0\amp 1 \end{array} \right] + c_2 \left[ \begin{array}{rc} 1\amp 0\\ -1\amp 1 \end{array} \right]\\ \amp \qquad + c_3 \left[ \begin{array}{cc} 1\amp 1\\ 0\amp 1 \end{array} \right] + c_4 \left[ \begin{array}{cc} 0\amp 0\\ 0\amp 1 \end{array} \right]\text{,} \end{align*}

equating corresponding components produces the system

\begin{alignat*}{6} {}c_1 \amp {}+{} \amp {}c_2 \amp {}+{} \amp {}c_3 \amp {}{} \amp {} \amp {}={} \amp \ {}\amp 2\amp {}\\ {} \amp {}{} \amp {} \amp {}{} \amp {}c_3 \amp {}{} \amp {} \amp {}={} \amp \ {}\amp 3\amp {}\\ {} \amp {}{} \amp {-}c_2 \amp {}{} \amp {} \amp {}{} \amp {} \amp {}={} \amp \ {}\amp 1\amp {}\\ {}c_1 \amp {}+{} \amp {}c_2 \amp {}+{} \amp {}c_3 \amp {}+{} \amp {}c_4 \amp {}={} \amp \ {}\amp 0\amp {.} \end{alignat*}

The solution to this system is \(c_1 = 0\text{,}\) \(c_2 = -1\text{,}\) \(c_3 = 3\text{,}\) and \(c_4 = -2\text{,}\) so \([\vv]_{\CB} = [0 \ -1 \ 3 \ -2]^{\tr}\text{.}\)

(b)

Find the vector \(\vv\) in the indicated vector space \(V\) given the basis \(\CB\) of \(V\) and \([\vv]_{\CB}\text{.}\)

(i)

\(V = \pol_2\text{,}\) \(\CB = \{1+t^2, 1+t, t+t^2\}\text{,}\) \([\vv]_{\CB} = [2 \ 1 \ 3]^{\tr}\)

Solution.

Find the vector \(\vv\) in the indicated vector space \(V\) given the basis \(\CB\) of \(V\) and \([\vv]_{\CB}\text{.}\)

Since \([\vv]_{\CB} = [2 \ 1 \ 3]^{\tr}\text{,}\) it follows that

\begin{equation*} \vv = 2(1+t^2) + 1(1+t) + 3(t+t^2) = 3+4t+5t^2\text{.} \end{equation*}
(ii)

\(\CB = \left\{\cos(x), \frac{1}{1+x^2}\right\}\text{,}\) \(V = \Span \ \CB\) as a subspace of \(\F\text{,}\) \([\vx]_{\CB} = [2 \ -1]^{\tr}\)

Solution.

Find the vector \(\vv\) in the indicated vector space \(V\) given the basis \(\CB\) of \(V\) and \([\vv]_{\CB}\text{.}\)

Since \([\vx]_{\CB} = [2 \ -1]^{\tr}\text{,}\) it follows that

\begin{equation*} \vv = 2\cos(x) - \frac{1}{1+x^2}\text{.} \end{equation*}

Example 34.6.

Let \(p_1(t)=1\text{,}\) \(p_2(t)=2-t\text{,}\) \(p_3(t)=3+t-t^2\text{,}\) \(p_4(t)= t+t^3\text{,}\) and \(p_5(t) = 2t+t^2+t^4\) be in \(\pol_4\text{.}\) Also, let \(\CB = \{1, t ,t^2, t^3, t^4\}\) be the standard basis for \(\pol_4\text{.}\)

(a)

Find \([p_1(t)]_{\CB}\text{,}\) \([p_2(t)]_{\CB}\text{,}\) \([p_3(t)]_{\CB}\text{,}\) \([p_4(t)]_{\CB}\text{,}\) and \([p_5(t)]_{\CB}\text{.}\)

Solution.

The coordinate vectors of a polynomial with respect to the standard basis in \(\pol_4\) is found by just reading off the coefficients of the polynomial. So

\begin{align*} [p_1(t)]_{\CB} \amp = [1 \ 0 \ 0 \ 0 \ 0 ]^{\tr}\\ [p_2(t)]_{\CB} \amp = [2 \ -1 \ 0 \ 0 \ 0]^{\tr}\\ [p_3(t)]_{\CB} \amp = [3 \ 1 \ -1 \ 0 \ 1]^{\tr}\\ [p_4(t)]_{\CB} \amp = [0 \ 1 \ 0 \ 1 \ 0]^{\tr}\\ [p_5(t)]_{\CB} \amp = [0 \ 2 \ 1 \ 0 \ 1]^{\tr}\text{.} \end{align*}
(b)

Use the result of part (a) to explain why \(\{p_1(t), p_2(t), p_3(t), p_4(t), p_5(t)\}\) is a basis for \(\pol_4\text{.}\)

Solution.

Let

\begin{align*} \CC \amp = \{p_1(t), p_2(t), p_3(t), p_4(t), p_5(t)\} \text{ and }\\ \CS \amp = \{[p_1(t)]_{\CB}, [p_2(t)]_{\CB}, [p_3(t)]_{\CB}, [p_4(t)]_{\CB},[p_5(t)]_{\CB}\}\text{.} \end{align*}

Since the coordinate transformation is one-to-one and onto, the two sets \(\CC\) and \(\CS\) are either both linearly dependent or linearly independent. Technology shows that the reduced row echelon form of

\begin{equation*} [[p_1(t)]_{\CB} \ [p_2(t)]_{\CB} \ [p_3(t)]_{\CB} \ [p_4(t)]_{\CB} \ [p_5(t)]_{\CB}] \end{equation*}

is \(I_5\text{,}\) so the sets \(\CC\) and \(\CS\) are both linearly linearly independent. Since \(\dim(\pol_4) = 5\text{,}\) it follows that any linearly independent set of five vectors in \(\pol_4\) is a basis for \(\pol_4\text{.}\) Therefore, the set \(\CC\) is a basis for \(\pol_4\text{.}\)

(c)

Let \(p(t) = 2-t+t^2-3t^3+4t^4\text{.}\) Find \([p(t)]_{\CB}\text{.}\)

Solution.

Similar to part (a), we have \([p(t)]_{\CB} = [2 \ -1 \ 1 \ -3 \ 4]^{\tr}\text{.}\)

(d)

Use the coordinate vectors in parts (a) and (c) to write \(p(t)\) as a linear combination of \(p_1(t)\text{,}\) \(p_2(t)\text{,}\) \(p_3(t)\text{,}\) \(p_4(t)\text{,}\) and \(p_5(t)\)

Solution.

Technology shows that the reduced row echelon form of the augmented matrix

\begin{equation*} [[p_1(t)]_{\CB} \ [p_2(t)]_{\CB} \ [p_3(t)]_{\CB} \ [p_4(t)]_{\CB} \ [p_5(t)]_{\CB} \ | \ [p(t)]_{\CB}] \end{equation*}

is

\begin{equation*} \left[ \begin{array}{ccccc|r} 1\amp 0\amp 0\amp 0\amp 0\amp -25 \\ 0\amp 1\amp 0\amp 0\amp 0\amp 9 \\ 0\amp 0\amp 1\amp 0\amp 0\amp 3 \\ 0\amp 0\amp 0\amp 1\amp 0\amp -3 \\ 0\amp 0\amp 0\amp 0\amp 1\amp 4 \end{array} \right]\text{.} \end{equation*}

So

\begin{equation*} [p(t)]_{\CB} = -25[p_1(t)]_{\CB} + 9[p_2(t)]_{\CB} + 3[p_3(t)]_{\CB} - 3[p_4(t)]_{\CB} + 4[p_5(t)]_{\CB} \end{equation*}

and

\begin{equation*} p(t) = -25p_1(t) + 9p_2(t) + 3p_3(t) - 3p_4(t) + 4p_5(t)\text{.} \end{equation*}

Subsection Summary

The key idea in this handout is the coordinate vector with respect to a basis.

  • If \(\CB = \{\vv_1, \vv_2, \vv_3, \ldots, \vv_n\}\) is a basis for a vector space \(V\text{,}\) then the coordinate vector of \(\vx\) in \(V\) with respect to \(\CB\) is the vector

    \begin{equation*} [\vx]_{\CB} = [x_1, x_2, \ldots, x_n]^{\tr}\text{,} \end{equation*}

    where

    \begin{equation*} \vx = x_1 \vv_1 + x_2 \vv_2 + \cdots + x_n \vv_n\text{.} \end{equation*}
  • The coordinate transformation \(\vx \mapsto [\vx]_{\CB}\) is a one-to-one and onto transformation from an \(n\)-dimensional vector space \(V\) to \(\R^n\) which preserves linear combinations.

  • The coordinate transformation \(\vx \mapsto [\vx]_{\CB}\) allows us to translate problems in arbitrary vector spaces to \(\R^n\) where we have already developed tools to solve the problems.

Exercises Exercises

1.

Let \(\CB=\left\{ \left[ \begin{array}{r} 0\\1\\-1 \end{array} \right], \left[ \begin{array}{c} 1\\2\\0 \end{array} \right] \right\}\) be a basis of the subspace defined by the equation \(y-4x+z=0\text{.}\) Find the coordinates of the vector \(\vb=\left[ \begin{array}{c} 3\\4\\2 \end{array} \right]\) with respect to the basis \(\CB\text{.}\)

2.

Given basis \(\CB=\{1+t, 2+t^2, t+t^2\}\) of \(\pol_2\text{,}\)

(a)

For which \(p(t)\) in \(\pol_2\) is \([p(t)]_{\CB} = [ 1 \ -1 \ 3 ]^\tr\text{?}\)

(b)

Determine coordinates of \(q(t)=-1+t+2t^2\) in \(\pol_2\) with respect to basis \(\CB\text{.}\)

3.

Find two different bases \(\CB_1\) and \(\CB_2\) of \(\R^2\) so that \([\vb]_{\CB_1} = [\vb]_{\CB_2} = \left[ \begin{array}{c} 2\\1 \end{array} \right]\text{,}\) where \(\vb=\left[ \begin{array}{c} 5\\3 \end{array} \right]\text{.}\)

4.

If \([\vb_1]_{\CB} = \left[ \begin{array}{c} 1\\2 \end{array} \right]\) and \([\vb_2]_{\CB} = \left[ \begin{array}{c} 2\\1 \end{array} \right]\) with respect to some basis \(\CB\text{,}\) where \(\vb_1=\left[ \begin{array}{c} 1\\2\\3 \end{array} \right]\) and \(\vb_2=\left[ \begin{array}{c} 2\\1\\3 \end{array} \right]\text{,}\) what are the coordinates of \(\left[ \begin{array}{r} -2\\3\\1 \end{array} \right]\text{?}\)

5.

If \([\vb_1]_{\CB} = \left[ \begin{array}{c} 1\\1 \end{array} \right]\) and \([\vb_2]_{\CB} = \left[ \begin{array}{c} 2\\1 \end{array} \right]\) with respect to some basis \(\CB\text{,}\) where \(\vb_1=\left[ \begin{array}{c} 3\\1\\3 \end{array} \right]\) and \(\vb_2=\left[ \begin{array}{c} 4\\1\\5 \end{array} \right]\text{,}\) what are the vectors in \(\CB\text{?}\)

6.

Let \(\CB=\{ \vv_1, \vv_2, \ldots, \vv_n\}\) be a basis for a vector space \(V\text{.}\) Describe how the coordinates of a vector with respect to \(\CB\) will change if \(\vv_1\) is replaced with \(\frac{1}{2}\vv_1\text{.}\)

7.

Let \(\CB = \{1, t, 1+t^2\}\) in \(\pol_2\text{.}\)

(a)

Show that \(\CB\) is a basis for \(\pol_2\text{.}\)

(b)

Let \(p_1(t) = 1+2t^2\text{,}\) \(p_2(t)=1+t+2t^2\text{,}\) and \(p_3(t) = 2-t+t^2\) in \(\pol_2\text{.}\)

(i)

Find \([p_1(t)]_{\CB}\text{,}\) \([p_2(t)]_{\CB}\text{,}\) and \([p_3(t)]_{\CB}\text{.}\)

(ii)

Use the coordinate vectors in part i. to determine if the set \(\{p_1(t), p_2(t), p_3(t)\}\) is linearly independent or dependent.

8.

Let \(W = \Span\{2+4t+6t^3, 3-t^2, 3-t^2+9t^3\}\) in \(\pol_3\text{.}\) Let \(\CB = \{1, t, t^2, t^3\}\) be the standard basis for \(\pol_3\text{.}\)

(a)

Calculate \([2+4t+6t^3]_{\CB}\text{,}\) \([3-t^2]_{\CB}\) and \([3-t^2+9t^3]_{\CB}\text{.}\)

(b)

Use the coordinate vectors from part (a) to determine if the polynomials \(2+4t+6t^3\text{,}\) \(3-t^2\text{,}\) and \(3-t^2+9t^3\) are linearly independent or dependent.

(c)

Let \(p(t) = 4+2t-t^2+9t^3\text{.}\) Find \([p(t)]_{\CB}\text{.}\)

(d)

Use the calculations from parts (a) and (c) to determine if \(p(t)\) is in \(W\text{.}\) If so, write \(p(t)\) as a linear combination of the polynomials \(2+4t+6t^3\text{,}\) \(3-t^2\text{,}\) and \(3-t^2+9t^3\text{.}\) If not, explain why not.

9.

Let \(\CB=\left\{ \left[\begin{array}{cc} 1\amp 0\\0\amp 0 \end{array} \right], \left[\begin{array}{cc} 1\amp 1\\0\amp 0 \end{array} \right], \left[\begin{array}{cc} 0\amp 0\\1\amp 1 \end{array} \right], \left[\begin{array}{cc} 1\amp 2\\2\amp 1 \end{array} \right] \right\}\) in \(M_{2\times 2}\text{.}\)

(a)

Show that \(\CB\) is a basis of \(M_{2\times 2}\text{.}\)

(b)

Let

\begin{equation*} A = \left[\begin{array}{cc} 1\amp 2\\2\amp 1 \end{array} \right] \, , \, B=\left[\begin{array}{cc} 1\amp 1\\1\amp 1 \end{array} \right] \, , \, C= \left[\begin{array}{cc} 2\amp 1\\1\amp 1 \end{array} \right]\, , \, D= \left[\begin{array}{cc} 1\amp 1\\1\amp 0 \end{array} \right]\text{.} \end{equation*}

Find \([A]_\CB,[B]_\CB, [C]_\CB, [D]_\CB\text{.}\)

(c)

Determine if the set \(\{A, B, C, D\}\) is linearly dependent or independent.

10.

Let \(V\) be a vector space of dimension \(n\) and let \(\CB\) be a basis for \(V\text{.}\) Show that the coordinate transformation \(T\) from \(V\) to \(\R^n\) defined by \(T(\vx) = [\vx]_{\CB}\) satisfies \(T(\vzero_V) = \vzero\text{,}\) where \(\vzero_V\) is the additive identity in \(V\text{.}\)

11.

Prove the second property of Theorem 34.3. That is, if a vector space \(V\) has a basis of \(n\) vectors, then the coordinate mapping \(T : V \to \R^n\) defined by \(T(\vx) = [\vx]_{\CB}\) satisfies

\begin{equation*} T(c\vu) = cT(\vu) \end{equation*}

for any vector \(\vu\) in \(V\) and any scalar \(c\text{.}\)

12.

Prove Theorem 34.4 by demonstrating that if \(V\) is a vector space with ordered basis \(\CB = \{\vv_1, \vv_2, \ldots, \vv_n\}\text{,}\) then the coordinate mapping \(T : V \to \R^n\) defined by \(T(\vx) = [\vx]_{\CB}\) is one-to-one.

13.

The coordinate transformation \(T\) is one-to-one, so it has an inverse \(T^{-1}\text{.}\) Let \(V\) be an \(n\)-dimensional vector space that has a basis \(\CB\text{,}\) and let \(T : V \to \R^n\) be the coordinate transformation defined by \(T(\vx) = [\vx]_{\CB}\text{.}\) Let \(S = \{\vu_1, \vu_2, \ldots, \vu_k\}\) be a subset of \(V\) and let \(R = \{[\vu_1]_{\CB}, [\vu_2]_{\CB}, \ldots, [\vu_k]_{\CB}\}\) in \(\R^n\text{.}\)

(a)

Suppose \(\vx\) is in \(V\) with \(\vx = x_1 \vu_1 + x_2\vu_2 + \cdots + x_k \vu_k\text{.}\) Write the vector \([\vx]_{\CB}\) as a linear combination of the vectors in \(R\text{.}\) Explain your reasoning and explain how your result shows that \(T\) preserves linear combinations.

(b)

Now suppose \(\vw\) is in \(V\) so that \([\vw]_{\CB} = w_1 [\vu_1]_{\CB} + w_2[\vu_2]_{\CB} + \cdots + w_k [\vu_k]_{\CB}\text{.}\) Write the vector \(\vw\) as a linear combination of the vectors in \(S\text{.}\) Explain your reasoning and explain how your result shows that \(T^{-1}\) preserves linear combinations.

Hint.

Apply \(T\) to an appropriate vector and use the fact that \(T\) is one-to-one.

14.

Let \(S = \{\vu_1, \vu_2, \ldots, \vu_k\}\) be a subset of an \(n\)-dimensional vector space \(V\) with basis \(\CB\text{.}\) Let \(R = \{[\vu_1]_{\CB}, [\vu_2]_{\CB}, \ldots, [\vu_k]_{\CB}\}\) in \(\R^n\text{.}\)

(a)

Show that if \(S\) is linearly independent in \(V\text{,}\) then \(R\) is linearly independent in \(\R^n\text{.}\)

(b)

Is the converse of part (a) true? That is, if \(R\) is linearly independent in \(\R^n\text{,}\) must \(S\) be linearly independent in \(V\text{?}\) Justify your answer.

(c)

Repeat parts (a) and (b), replacing “linearly independent” with “linearly dependent”.

15.

Let \(V\) be an \(n\)-dimensional vector space with basis \(\CB\text{,}\) and let \(S=\{\vw_1, \vw_2, \ldots, \vw_k\}\) be a subset of \(V\) that spans \(V\text{.}\) Prove that \(\{[\vw_1]_\CB, [\vw_2]_\CB, \ldots, [\vw_k]_\CB\}\) spans \(\R^n\text{.}\)

16.

Suppose \(\CB_1\) is a basis of a vector space \(V\) with \(n\) elements and \(\CB_2\) is a basis of \(W\) with \(n\) elements. Show that the map \(T_{VW}\) which sends every \(\vx\) in \(V\) to the vector \(\vy\) in \(W\) such that \([\vx]_{\CB_1} = [\vy]_{\CB_2}\) is one-to-one and onto.

17.

Label each of the following statements as True or False. Provide justification for your response.

(a) True/False.

The coordinates of a non-zero vector cannot be the same in the coordinate systems defined by two different bases.

(b) True/False.

The coordinate vector of the zero vector with respect to any basis is always the zero vector.

(c) True/False.

If \(W\) is a \(k\) dimensional subset of an \(n\) dimensional vector space \(V\text{,}\) and \(\CB\) is a basis of \(W\text{,}\) then \([\vw]_{\CB}\) is a vector in \(\R^n\) for any \(\vw\) in \(W\text{.}\)

(d) True/False.

The order of vectors in a basis do not affect the coordinates of vectors with respect to this basis.

(e) True/False.

If \(T\) is a coordinate transformation from a vector space \(V\) with basis \(\CB\) to \(\R^n\text{,}\) then the vector \([\vx]_{\CB}\) is unique to the vector \(\vx\) in \(V\text{.}\)

(f) True/False.

If \(T\) is a coordinate transformation from a vector space \(V\) with basis \(\CB\) to \(\R^n\text{,}\) then there is always a vector \(\vx\) in \(V\) that maps to any vector \(\vb\) in \(\R^n\text{.}\)

(g) True/False.

A coordinate transformation from a vector space \(V\) with basis \(\CB\) to \(\R^n\) always maps the additive inverse of a vector \(\vx\) in \(V\) to the additive inverse of the vector \([\vx]_{\CB}\) in \(\R^n\text{.}\)

(h) True/False.

A coordinate transformation provides a unique identification of vectors in an \(n\)-dimensional vector space with vectors in \(\R^n\) in a way that preserves the algebraic structure of the spaces.

(i) True/False.

If the coordinate vector of \(\vx\) in a vector space \(V\) is \(\left[ \begin{array}{r} 1\\-1\\2 \end{array} \right]\text{,}\) then the coordinate vector of \(2\vx\) is \(\left[ \begin{array}{r} 2\\-2\\4 \end{array} \right]\text{.}\)

Subsection Project: Finding Formulas for Sums of Powers

One way to derive formulas for sums of powers of whole numbers is to use different bases and coordinate vectors. One basis that will be useful is a basis of polynomials created by the binomial coefficients. Recall that the binomial coefficient \(\binom{n}{k}\) is equal to

\begin{equation*} \binom{n}{k} = \frac{n!}{k!(n-k)!}\text{,} \end{equation*}

with \(\binom{n}{k} = 0\) if \(n \lt k\text{.}\)

The binomial coefficient can be rewritten in a way to make it applicable to polynomials as

\begin{equation*} \binom{n}{k} = \frac{n(n-1)(n-2) \cdots (n-k+1)}{k!} = \Pi_{i=1}^k \frac{1}{i}(n-i+1)\text{.} \end{equation*}

With this representation of \(\binom{n}{k}\text{,}\) we can define a new polynomial in \(t\) of degree \(k\) as

\begin{equation*} p_{k}(t) = \frac{1}{k!}(t)(t-1)(t-2) \cdots (t-k+1) \end{equation*}

with \(p_0(t) = 1\text{.}\) For example,

\begin{align*} p_1(t) \amp = \frac{1}{1!}t = t\\ p_2(t) \amp = \frac{1}{2}(t)(t-1) = \frac{1}{2}\left(t^2-t\right)\\ p_3(t) \amp = \frac{1}{6}(t)(t-1)(t-2) = \frac{1}{6}\left(t^3-3t^2+2t\right)\text{.} \end{align*}

These “generalized binomial coefficients” appear in Newton's generalized binomial theorem.

Two facts will make these polynomials useful for our sums.

Project Activity 34.5.

Our polynomials \(p_k(t)\) are defined in terms of binomial coefficients. A useful identity will relate sums of binomial coefficients to other binomial coefficients. This identity, called the hockey-stick identity after the way it can be visualized on Pascal's triangle, is as follows:

\begin{equation*} \sum_{k=0}^{n-1} \binom{k}{r} = \binom{n}{r+1} \end{equation*}

for positive integers \(r\text{.}\) Use the definition of the binomial coefficients and some algebra to verify the hockey-stick identity.

The second useful fact about our polynomials \(p_k(t)\) is that they form a basis for \(\pol_n\text{.}\)

Project Activity 34.6.

(a)

Let \(k\) be a positive integer. Explain why \(p_k(0) = p_k(1) = p_k(2) = \cdots = p_k(k-1) = 0\) and \(p_k(k) = 1\text{.}\)

(b)

Let \(\CP_n = \{p_0(t), p_1(t), p_2(t), \ldots, p_n(t)\}\text{.}\) Show that \(\CP_n\) is a basis for \(\pol_n\text{.}\) (Hint: Let \(c_1\text{,}\) \(c_2\text{,}\) \(\ldots\text{,}\) \(c_n\) be scalars and consider the equation

\begin{equation*} c_0p_0(t) + c_1p_1(t) + c_2 p_2(t) + \cdots + c_np_n(t) = 0\text{.} \end{equation*}

Evaluate this equation at \(t=0\text{,}\) \(t=1\text{,}\) \(\ldots\text{,}\) \(t=n\) and use the result of part (a).)

Now we have the tools we need to derive our formulas. To simplify computations, we will change coordinates to the standard basis \(\CS_n = \{1, t, t^2, \ldots, t^n\}\) for \(\pol_n\text{.}\)

We will illustrate the process of deriving formulas for our sums with the sum \(\sum_{t=0}^{n-1} t\text{.}\) We want to write \(t\) as a linear combination of the vectors in \(\CP_1\) so that we can utilize the hockey-stick identity. In this case, by definition we have \(t = p_1(t)\text{.}\) It follows by the hockey-stick identity and the fact that \(p_1(t) = \binom{t}{1}\) that

\begin{align*} \sum_{t=0}^{n-1} t \amp = \sum_{t=0}^{n-1} p_1(t)\\ \amp = \sum_{t=0}^{n-1} \binom{t}{1}\\ \amp = \binom{n}{2}\\ \amp = \frac{1}{2}\left(n^2-n\right)\text{.} \end{align*}

This is exactly the formula we saw at the beginning of this section. The cases for sums of higher powers work the same way, but we will need to do a little more work to write \(t^n\) in terms of the basis vectors in \(\CP_n\text{.}\)

Project Activity 34.7.

Consider the sum \(\sum_{t=0}^{n-1} t^2\text{.}\) We want to write \(t^2\) as a linear combination of \(p_0(t)\text{,}\) \(p_1(t)\) and \(p_2(t)\text{.}\) To do so, we will use the coordinate vectors with respect to \(\CS_2\) and do our work in \(\R^3\text{.}\)

(a)

Find \([p_0(t)]_{\CS_2}\text{,}\) \([p_1(t)]_{\CS_2}\text{,}\) \([p_2(t)]_{\CS_2}\text{,}\) and \([t^2]_{\CS_2}\text{.}\)

(b)

Use the coordinate vectors from part (a) to write \(t^2\) as a linear combination of the vectors in \(\CP_2\text{.}\)

(c)

Use the result of part (b) and, the hockey-stick identity, and the fact that \(p_k(t) = \binom{t}{k}\) to find a formula for \(\sum_{t=0}^{n-1} t^2\text{.}\)

Deriving formulas for higher powers involves the same process, just with more algebra.

Project Activity 34.8.

Use the process outlined in Project Activity 34.7 to derive formulas for the following sums.

(a)

\(\sum_{t=0}^{n-1} t^3\)

(b)

\(\sum_{t=0}^{n-1} t^4\)