|
Change of Basis
Let V be a vector space and let S = {v1,v2, ¼, vn}
be a set of vectors in V. Recall that S forms a basis for
V if the following two conditions hold:
- S is linearly independent.
- S spans V.
If S = {v1,v2, ¼, vn} is a basis for V, then every
vector v Î V can be expressed uniquely as a linear
combination of v1,v2, ¼, vn:
|
v = c1v1 + c2v2 + ¼+ cnvn. |
|
as the coordinates of v relative to
the basis S. If V has dimension n, then every set of n
linearly independent vectors in V forms a basis for V. In every
application, we have a choice as to what basis we use. In this
tutorial, we will describe the transformation of coordinates of vectors
under a change of basis.
We will focus on vectors in R2, although all of this generalizes to
Rn. The standard basis in R2 is {[1 0]T,[0 1]T}. We specify other bases
with reference to this rectangular coordinate system.
Let B = {u,w} and B¢ = {u¢,w¢} be two bases for
R2. For a vector v Î V, given its coordinates [v]B in basis B we would like to be able to express v in
terms of its coordinates [v]B¢ in basis B¢, and vice versa.
Suppose the basis vectors u¢ and w¢ fo B¢ have the
following coordinates relative to the basis B:
The change of coordinates matrix from B¢ to B
governs the change of coordinates of v Î V under the change
of basis from B¢ to B:
|
[v]B = P[v]B¢ = |
é ê ê
ê ë
|
|
|
ù ú ú
ú û
|
[v]B¢. |
|
That is, if we know the coordinates of v relative to the basis
B¢, multiplying this vector by the change of coordinates matrix
gives us the coordinates of v relative to the basis B.
Why?
The transition matrix P is invertible. In fact, if P is the
change of coordinates matrix from B¢ to B, then P-1 is the
change of coordinates matrix from B to B¢:
Example
Let B = {[1 0]T,[0 1]T} and B¢ = {[3 1]T,[-2 1]T}. The change of basis matrix from B¢ to B is
The vector v with coordinates [v]B¢ = [2 1]T relative to the basis B¢ has coordinates
|
[v]B = |
é ê
ë
|
|
|
ù ú
û
|
|
é ê
ë
|
|
ù ú
û
|
= |
é ê
ë
|
|
ù ú
û
|
|
|
relative to the basis B. Since
we can verify that
|
[v]B¢ = |
é ê
ë
|
|
ù ú
û
|
|
é ê
ë
|
|
ù ú
û
|
= |
é ê
ë
|
|
ù ú
û
|
|
|
which is what we started with.
In the following example, we introduce a third basis to look at the
relationship between two non-standard bases.
Example
|
Let B¢¢ = |
ì í
î
|
|
é ê
ë
|
|
2
1
|
ù ú
û
|
, |
é ê
ë
|
|
1
4
|
ù ú
û
|
ü ý
þ
|
. |
|
To find the change of coordinates matrix from the
basis B¢ of the previous example to B¢¢, we first express the
basis vectors
of B¢ as linear combinations of the basis vectors
of
B¢¢:
|
| |
|
|
|
|
11 7
|
|
é ê
ë
|
|
ù ú
û
|
- |
1 7
|
|
é ê
ë
|
|
ù ú
û
|
|
| |
|
|
-9 7
|
|
é ê
ë
|
|
ù ú
û
|
+ |
4 7
|
|
é ê
ë
|
|
ù ú
û
|
|
|
| |
|
| |
|
| |
|
|
|
a |
é ê
ë
|
|
ù ú
û
|
+ b |
é ê
ë
|
|
ù ú
û
|
|
| |
|
| c |
é ê
ë
|
|
ù ú
û
|
+ d |
é ê
ë
|
|
ù ú
û
|
|
|
| |
|
and solve the resulting systems for a,b,c, and d.
|
|
|
Thus, the transition matrix from B¢ to B¢¢ is
|
|
é ê ê ê ê
ê ê ê ê ë
|
|
ù ú ú ú ú
ú ú ú ú û
|
. |
|
The vector v with coordinates [2 1]T
relative to the basis B¢ has coordinates
|
|
é ê ê ê ê
ê ê ê ê ë
|
|
ù ú ú ú ú
ú ú ú ú û
|
|
é ê
ë
|
|
ù ú
û
|
= |
é ê ê ê ê
ê ê ê ê ë
|
|
ù ú ú ú ú
ú ú ú ú û
|
|
|
relative to the basis B¢¢. This is, back in the standard basis,
|
[ v ]B = |
13 7
|
|
é ê
ë
|
|
ù ú
û
|
+ |
2 7
|
|
é ê
ë
|
|
ù ú
û
|
= |
é ê
ë
|
|
ù ú
û
|
, |
|
which agrees with the results of the previous example.
Rotation of the Coordinate Axes
Suppose we obtain a new coordinate system from the standard
rectangular coordinate system by rotating the axes counterclockwise by
an angle q. The new basis B¢ = {u¢, v¢}
of unit vectors along the x¢- and y¢-axes, respectively, has
coordinates
in the original coordinate system. Thus,
| P = |
é ê ê ê ë
|
|
ù ú ú ú û
|
and P-1 = |
é ê ê ê ë
|
|
ù ú ú ú û
|
A vector [x y]TB in the
original coordinate system has coordinates [x¢ y¢]TB¢ given by
|
|
é ê
ë
|
|
ù ú
û
|
B¢
|
= |
é ê
ë
|
|
ù ú
û
|
|
é ê
ë
|
|
ù ú
û
|
B
|
|
|
in the rotated coordinate system.
Example
The vector [v]B = [3 2]T in the original
coordinate system has coordinates
|
[v]B¢ = |
é ê ê ê ê
ê ê ê ê ë
|
|
ù ú ú ú ú
ú ú ú ú û
|
|
é ê
ë
|
|
ù ú
û
|
= |
é ê ê ê ê
ê ê ê ê ë
|
|
ù ú ú ú ú
ú ú ú ú û
|
|
|
in the coordinate system formed by rotating the axes by 45°.
In the following Exploration, set up your own basis in R2 and
compare the coordinates of vectors in your basis to their coordinates
in the standard basis.
Exploration
Key Concepts
Let B = {u,v} and B¢ = { u¢, v¢ } be two bases for
R2. If [u]B = [a b]T and [v]B = [c d]T, then
is the change of coordinates matrix from
B¢ to B and P-1 is the change of coordinates matrix from B
to B¢. That is, for any v Î V,
|
 |