Difference between revisions of "Basis and coordinates"
m |
|||
Line 4: | Line 4: | ||
==What is a coordinate== | ==What is a coordinate== | ||
− | Suppose we have a [[Span, linear independence, linear dependence, basis and dimension#Basis|Basis]], a finite one, <math>\{b_1,...,b_n\}</math>, a point {{M|p}} is given by < | + | Suppose we have a [[Span, linear independence, linear dependence, basis and dimension#Basis|Basis]], a finite one, <math>\{b_1,...,b_n\}</math>, a point {{M|p}} is given by <m>\sum^n_{k=1}a_ib_i</m> and it is said to have coordinates <math>(a_1,...,a_n)</math> - because the basis set must be linearly independent, there is only one such <math>(a_1,...,a_n)</math> - hence "coordinate" |
==First example== | ==First example== |
Revision as of 11:06, 12 June 2015
This is very much a "motivation" page and a discussion of the topic.
See Change of basis matrix for the more maths aspect.
Contents
[hide]What is a coordinate
Suppose we have a Basis, a finite one, {b1,...,bn}
First example
Let us suppose we have two people working on squared paper, one of them is working on nice normal squared paper, the other one has found squared paper with squares half the length.
Immediately one sees that the point (0,1) in our space is (0,2) in theirs.
We will call their space "prime" space, so the coordinate (x,y) is on our paper, and (x,y)′ or (x′,y′) is on their paper.
It is immediately obvious that (x,y)=(2x,2y)′
Let us try it (ax1+bx2,ay1+by1)=(2ax1+2bx2,2ay1+2by2)′=a(2x1,2y1)′+b(2x2,2y2)′
This looks linear. So what is the change of basis matrix? Well without knowing that we can see quite obviously that:
(2002)(xy)=(2x2y)
Formal definitions
- Let Sbe our squared paper
- Let S′be their squared paper
- Let L:S→S′be the transform that maps points on our paper to their paper.
Then the matrix form of L, denoted [L]S′S=(2002)
Notice the notation [L]tofrom
Inverse
It is clear from simple thought that to go from S′ to S the transform is simply (x,y)′=(12x,12y)
K:S′→S
This notation seems a little heavy and redundant (for example what would [K]BA
Combining things together
We now have the functions:
- L:S→S′
- K:S′→S
These are linear isomorpisms (they're bijective and linear) and just like functions we can compose them.
[L]S′S[K]SS′
If you multiply these matrices (which I simply cannot be bothered to write) you will get the identity matrix, that is ([L]S′S[K]SS′)(x,y)=(x,y)
Introducing a third person
What we have so far, including third person. There is an error within the S space, the blue thick lines representing basis vectors should be double their depicted length |
The bold lines are the "basis" vectors, notice the unit square differs in all of these.
Rather than working out the transform from C to S′ or whatever we can simply notice:
(a×b×)(10)=(ab)
Recall the definition of coordinate, (10)
So this transform takes the first basis vector in one space to (ab)
We will use (x,y)″
Coordinates again
It is clear from the diagram that (0,1)=(0,2)′=(1,1)″
Interpreting the determinant
Notice the unit square in S - it's 4 of S′'s squares big in area, notice that Det((2002))=4
Using ℓ2Space to denote unit area in Space we see that
1ℓ2S=4ℓ2S′=2ℓ2C
Visually there are 4 half squares in the unit square in C, which is 2 full squares (keep in mind one square on my paper is one square in S′) so yes, 4 full squares = 1 unit square in S = is 2 unit squares in C
This can take a while to get used to but is really quite a nice and easy thing to see
Inverse
If 1ℓ2S=4ℓ2S′
- A matrix is invertible if and only if it has non-zero determinant
Computing the change of basis
So using (a×b×)(10)=(ab)
- [G]CS
- G:S→C
Either of these will do.
It is clear that (0,1)↦(1,1)
Notation
In all cases above we actually had maps on R2
For two basis sets A and B do not be afraid to write L:R2A→R2B
This is where the [⋅]BA
L is actually the identity
Yes that function L(x,y)↦(2x,2y)′
So why is there room for a letter in [⋅]BA
Well although it is true that every invertible linear transform is a change of basis from one basis to some other - we don't have to care what it is. For suppose we wish to scale all points by 3, this has the matrix (3003)
Then:
- S3:R2→R2
- [S3]EE=(3003)where E is some basis on R2 - and it is certainly not the identity.
Note [⋅]B
A basis need not be orthogonal
Consider:
What we have so far, including third person. There is an error within the S space, the blue thick lines representing basis vectors should be double their depicted length |
And again recall: (a×b×)(10)=(ab)
We can see (1,0)G↦(14,1)
This gives: [Id]SG=(141211)
It is geometrically significant that the determinant of this transform is −14