We are used to describing a vector by how far right and how far up it goes, but we can describe that exact same arrow using any set of step vectors we choose.
1
What coordinates in a basis mean
When we write a vector like [32] on the standard grid, those two numbers are instructions telling us how many horizontal steps ^=[10] and vertical steps ^=[01] to take from the origin. If we switch from those standard steps to a new basis B made of slanted step vectors b1=[21] and b2=[−11], we want to see what a coordinate pair like [21]B means and how to find where it lands in standard x-y coordinates.
What coordinates in a basis mean
The subscript B on [21]B is not an operation: it just labels that these numbers count steps of b1 and b2 rather than standard horizontal and vertical steps.
Text solution
1. Multiply each basis vector by its B-coordinate and addSince [21]B means taking 2 steps of b1 and 1 step of b2, we multiply each basis vector by its weight and add their entries.
2b1[21]+1b2[−11]=[42]+[−11]=[33]
2. Put the basis vectors into the columns of a matrixPutting b1 and b2 side-by-side into a basis matrix P lets us write that exact same linear combination as a single matrix multiplication.
basis matrix P[21−11][21]B=[33]
So [21]B and [33] are two different coordinate recipes that land on the exact same spot on the board.
Moving a vector parallel to one of the slanted grid lines changes only one of its B-coordinates while changing both x and y, because b1 and b2 each move both horizontally and vertically. [c1c2]B and [xy] are two different step recipes for the exact same arrow.
Standard coordinates and basis coordinates are just two different ways of counting steps along their own grids to reach the exact same arrow tip.
2
Finding a vector's coordinates in a basis
When we already have the slanted recipe [c1c2]B, we just combine the basis vectors to see where we land. Most of the time, though, we are given the target vector in standard coordinates, such as v=[15], and need to work backwards to find the weights [c1c2]B on b1=[21] and b2=[−11] that reach it.
Finding a vector's coordinates in a basis
Text solution
1. Set up a linear combination with unknown weights c1 and c2Asking for the B-coordinates of [15] is asking how many steps of b1 and b2 add up to [15].
c1[21]+c2[−11]=[15]
2. Add the two row equations to solve for c1 and c2Reading across the top and bottom rows gives a system of two equations where adding them cancels c2 right away.
2c1−c2c1+c2=1=5⟹3c1=6⟹c1=2,c2=5−2=3
So [v]B=[23]B, meaning 2 steps of b1 followed by 3 steps of b2 land right on [15].
When the numbers are harder to solve by hand or we have more dimensions, we can solve that same equation in two standard ways: either by row-reducing the augmented matrix with the basis vectors as columns, or by multiplying by the inverse matrix P−1:
A set of step vectors only gives every point a single, reliable coordinate address if the vectors form a basis, meaning they both span the space and are linearly independent. Let's see how coordinates break down when either requirement fails.
Why a basis must span and be linearly independent
If the step vectors don't span the space, like [21] and [42] on the same line, vectors off that line like [15] have no coordinates at all. And if the step vectors aren't linearly independent, like b1=[10],b2=[01], and an extra b3=[11]=b1+b2, the same vector [22] gets infinitely many coordinate recipes, such as 220B,002B, and 111B:
As long as b2 points off the line of b1, their slanted grid covers the board and v has one unique coordinate pair [c1c2]B, but the instant b2 lines up with b1, the grid collapses onto a single line and v has no coordinates at all.
As long as b2 points off the line of b1, the two vectors make a full grid with one unique pair of coordinates for v, until b2 lines up with b1 and the grid collapses onto a single line.
4
Coordinates in a basis for a subspace
Now suppose we have just two basis vectors in 3D space, b1=121 and b2=102, which span a tilted 2D plane through the origin. We want to find the B-coordinates of a 3D vector v=567 on that plane, and see how the algebra tells us when a vector like w=568 sits off the plane altogether.
Coordinates in a basis for a subspace
[v]B=?
1
w=568
v=567
b1
b2
x
y
z
v
w
seen edge-on
Because the basis matrix 121102 has 3 rows and 2 columns, it is not square and has no inverse P−1, so we find the coordinates by solving the system row by row or row-reducing.
Text solution
1. Set up the linear combination with two unknown weightsEven though v=567 has three standard entries, basis B has only two vectors, so [v]B has only two coordinates c1 and c2.
c1121+c2102=567
2. Solve two rows to find c1 and c2The middle row gives c1 right away, and plugging c1=3 into the top row gives c2.
2c1+0c23+c2=6⟹c1=3,=5⟹c2=2
3. Check the remaining row to confirm the vector lies on the planePlugging c1=3 and c2=2 into the bottom row tests whether those steps land at the right z-height.
1(3)+2(2)=3+4=7(matches the third entry 7)
So v lies on the plane and its coordinates are [v]B=[32]B.
When we try the same thing for w=568, the first two rows still give c1=3 and c2=2, but the third row fails:
1(3)+2(2)=7=8(or [001] when row-reduced)
Never stop after two equations give you c1 and c2 for a 3D vector: always plug them into the third row, because when the third row doesn't match, that tells you a vector like w=568 isn't on the plane at all and has no B-coordinates.
5
Choosing a basis to make a problem simple
Dropping from three coordinates to two on a plane in 3D is one reason to change bases. Even when we stay in 2D, picking basis vectors lined up with the geometry of a problem, such as reflecting a vector across a mirror line tilted at 30∘, turns a mess of sines and cosines into a single sign flip.
Choosing a basis to make a problem simple
x
y
30∘
v
reflect v=?
With b1 along the 30∘ mirror line and b2 perpendicular to it, the standard [xy] coordinates change in complicated ways when we reflect, but in the mirror basis the step along b1 stays the same and the step along b2 just flips sign:
[c1c2]Breflect across b1[c1−c2]B
In the standard grid, reflecting across a tilted mirror changes both coordinates in messy ways, while in the mirror's own grid it just flips the second sign.
Key concepts
Every coordinate question comes down to which direction you are converting between the basis B={b1,b2} and standard coordinates:
Given [v]B, find standard coordinates v (combine the steps)
Do not set up a system or invert a matrix, because [v]B already gives you the weights. Multiply the basis vectors by those weights and add, which is the same as multiplying by the basis matrix P=[b1b2]:
If you have two basis vectors in 3D, like b1=121 and b2=102, the 3×2 basis matrix has no inverse. Solve two rows for c1 and c2 and check the third row: if 1(3)+2(2)=7 matches v=567, then [v]B=[32]B has just two coordinates; if 1(3)+2(2)=7=8 for w=568, the vector lies off the plane and has no B-coordinates.
What makes B a valid basis
Spanning guarantees the system has at least one solution (every vector gets coordinates), and linear independence guarantees no step vector is a combination of the others (every vector's coordinates are unique).
6
Practice
1
Let B be the basis b1=[31] and b2=[−12]. Find the standard coordinates of the vector v whose coordinates in basis B are [v]B=[2−3]B.
Watch the double negative (−3)(−1)=+3 in the top entry (keeping it negative gives 6−3=3 and the wrong answer [3−4]).Use the B-coordinates 2 and −3 directly as the weights on b1 and b2 (setting up c1[31]+c2[−12]=[2−3] solves the backwards problem and gives [71−711]).
You already have the step recipe [2−3]B: do you need to solve a system of equations, or combine b1 and b2 using these weights?
Use the B-coordinates 2 and −3 directly as the weights on b1 and b2 (setting up c1[31]+c2[−12]=[2−3] solves the backwards problem and gives [71−711]):
v=2[31]−3[−12]
Watch the double negative (−3)(−1)=+3 in the top entry (keeping it negative gives 6−3=3 and the wrong answer [3−4]):
v=[62]+[3−6]=[9−4]
2
Let B be the basis b1=[13] and b2=[2−1]. Find the coordinates [v]B of the vector v=[70] in basis B.
The bottom equation gives c2=3c1 (writing c1=3c2 or swapping the order of c1 and c2 at the end gives the wrong answer [31]B).
Set up c1b1+c2b2=[70]; what does the bottom row tell you about c2 in terms of c1?
Write the combination with unknown weights c1 and c2:
c1[13]+c2[2−1]=[70]⟹c1+2c23c1−c2=7=0
The bottom equation gives c2=3c1 (writing c1=3c2 or swapping the order of c1 and c2 at the end gives the wrong answer [31]B). Plug c2=3c1 into the top equation:
c1+2(3c1)=7⟹7c1=7⟹c1=1,c2=3(1)=3
[v]B=[13]B
3
A basis B={b1,b2,b3} in 3D has basis matrix P=[b1b2b3] whose inverse is P−1=12001−1−101. Find the coordinates [v]B of the standard vector v=3−21, and state whether converting from standard coordinates to B uses P or P−1.
Since P[v]B=v converts from basis B to standard coordinates, which matrix solves for [v]B when starting from the standard vector v?
Converting from standard coordinates to B uses P−1:
[v]B=P−1v=12001−1−1013−21
In the bottom row, be careful with (−1)(−2)=+2 (treating it as −2 gives −2+1=−1 and the wrong answer 24−1B):
A tilted plane through the origin in 3D has basis B with b1=112 and b2=02−1. Find the B-coordinates [v]B of the vector v=3−18.
Set up c1b1+c2b2=v: how many coordinates will [v]B have, and which row gives one of the weights right away?
Set up the combination for the two basis vectors:
c1112+c202−1=3−18
The top row gives c1=3. Plug c1=3 into the middle row c1+2c2=−1 and subtract 3 from both sides (adding 3 gives 2c2=2⟹c2=1 and the wrong answer [31]B, which fails the bottom row check 2(3)−1(1)=5=8):
3+2c2=−1⟹2c2=−4⟹c2=−2
Check the bottom row: 2(3)−1(−2)=6+2=8, which agrees:
[v]B=[3−2]B
5
Using the same plane basis b1=112 and b2=02−1 in 3D, determine whether the vector w=3−15 has coordinates in basis B. If so, find [w]B; if not, explain what the system tells you geometrically.
Do not stop there (stopping after two rows gives the wrong answer [3−2]B); plugging c1=3 and c2=−2 into the third row gives 2(3)−1(−2)=8=5.
Once the first two rows give c1 and c2, check what happens when you plug those weights into the third row.
Setting up c1112+c202−1=3−15, the first two rows again give c1=3 and c2=−2. Do not stop there (stopping after two rows gives the wrong answer [3−2]B); plugging c1=3 and c2=−2 into the third row gives:
2(3)−1(−2)=8=5
Because the system has no solution, w does not lie on the plane spanned by b1 and b2 and has no coordinates in basis B.
6
Suppose someone uses the three vectors b1=[10],b2=[01], and b3=[2−1] as step vectors on a 2D board. Find two different coordinate recipes c1c2c3B that both land on v=[4−2], and name the basis requirement that this set of vectors breaks.
Because b3=2b1−b2 is already a combination of b1 and b2, the set breaks linear independence (not spanning, since the vectors still reach every point on the 2D board).
Reach [4−2] once using only b1 and b2 (with c3=0), and a second time using only b3 (with c1=c2=0).
Using 4 steps of b1,−2 steps of b2, and 0 steps of b3 (or 0 of b1 and b2 and 2 steps of b3) lands on the same vector:
Because b3=2b1−b2 is already a combination of b1 and b2, the set breaks linear independence (not spanning, since the vectors still reach every point on the 2D board), giving multiple coordinate recipes such as 4−20B and 002B.
7
A mirror line through the origin points along b1=[21], and b2=[−12] is perpendicular to the mirror line. Using the basis B={b1,b2}, find the B-coordinates of v=[18], reflect v across the mirror line in basis B, and convert the reflected vector back into standard coordinates.
Break the problem into three steps: solve c1b1+c2b2=[18] for [v]B, flip the sign of the coordinate perpendicular to the mirror, and combine b1 and b2 with the reflected weights.
First find [v]B by solving c1[21]+c2[−12]=[18]:
2c1−c2c1+2c2=1=8⟹c1=2,c2=3⟹[v]B=[23]B
Reflecting across the mirror line along b1 flips the sign of the second coordinate c2 perpendicular to the mirror to give [2−3]B (flipping c1 instead gives [−23]B, which reflects across b2 and leads to the wrong vector [−74]). Finally, combine b1 and b2 to convert back to standard coordinates: