Historical Context & Motivation
Imagine you are giving someone directions to a friend's house. You could say "go three blocks east and two blocks north," or you could say "walk straight toward the big oak tree for five minutes." Both descriptions lead to the same place, but they use different reference points. In mathematics, a change of basis works the same way — it lets you describe the same vector (the same point or arrow in space) using a different set of reference directions.
Throughout history, mathematicians realized that choosing the right coordinate system could turn a messy problem into a simple one. The idea of switching between coordinate systems has roots stretching back centuries, and it became a formal tool as linear algebra grew into a fully developed branch of mathematics.
The central question this lesson answers is: If you know a vector's coordinates in one basis, how do you find its coordinates in a different basis? Understanding this will give you a powerful tool for simplifying problems across many areas of math and science.
Core Principles & Definitions
Before you can change a basis, you need to understand what a basis actually is. Think of a basis as a set of building-block arrows. Every vector in the space can be built by stretching and combining those arrows. Here are the key ideas you need.
Basis
Coordinates
Standard Basis
Change-of-Basis Matrix
The Vector Itself Doesn't Change
Visual Explanation
The diagram below shows the same vector v (the pink arrow) described in two different bases. On the left, you see the standard basis (blue arrows along the x- and y-axes). On the right, you see a new basis (violet arrows) that point in different directions. Notice how the pink vector hasn't moved — only the grid lines and the coordinate numbers change.
In the left panel, you can see how the vector v is built by going 3 units along e₁ and 3 units along e₂, placing its tip at (3, 3) in standard coordinates. In the right panel, the same tip of the arrow is reached by combining b₁ and b₂ with appropriate scalar weights c₁ and c₂. To find those weights precisely, we use the change-of-basis matrix P whose columns are b₁ and b₂ — the full calculation is carried out in Section 4.
Mathematical Framework
Now let's see the actual formulas. Suppose you have a vector v whose coordinates in the standard basis are known, and you want to find its coordinates in a new basis B = {b₁, b₂}. The key tool is the change-of-basis matrix.
Building the Change-of-Basis Matrix
Write each new basis vector as a column in a matrix. If your new basis in 2-D is B = {b₁, b₂}, then the change-of-basis matrix P is:
Converting Standard → New Basis
If you know the vector's coordinates in the standard basis (call them [v]_standard) and you want the coordinates in basis B (call them [v]_B), you solve:
Converting New Basis → Standard
Going the other way is even simpler. If you know the coordinates in the new basis and want standard coordinates:
The 2×2 Inverse Formula
For a 2 × 2 matrix, there is a quick formula for the inverse. If P = [[a, b], [c, d]], then:
To illustrate, let's apply this to the basis from the diagram in Section 3: b₁ = (2, 1) and b₂ = (1, 3), so P = [[2, 1], [1, 3]]. The determinant is (2)(3) − (1)(1) = 6 − 1 = 5. Therefore P⁻¹ = (1/5) × [[3, −1], [−1, 2]]. For v = (3, 3) in standard coordinates, the new-basis coordinates are [v]_B = P⁻¹ × (3, 3): first component = (1/5)[(3)(3) + (−1)(3)] = (1/5)(6) = 6/5, second component = (1/5)[(−1)(3) + (2)(3)] = (1/5)(3) = 3/5. We can verify: (6/5)·(2,1) + (3/5)·(1,3) = (12/5, 6/5) + (3/5, 9/5) = (15/5, 15/5) = (3, 3) ✓.
Detailed Breakdown: What the Matrix Does Geometrically
The change-of-basis matrix doesn't just shuffle numbers around. It has a clear geometric meaning. When you multiply by P, you are stretching and rotating the standard grid to match the new basis directions. When you multiply by P⁻¹, you are "un-stretching" and "un-rotating" back.
In the left panel, the square grid is formed by the standard basis vectors e₁ and e₂. In the right panel, the grid is formed by the new basis vectors b₁ and b₂, creating parallelograms instead of squares. The green vector v hasn't moved — its tip is in the same place in both panels. But its "address" on the grid has changed because the grid itself has changed.
This geometric picture explains why the determinant matters. The determinant of P tells you how much the area of each grid cell changes. If the determinant is zero, the parallelogram collapses into a line, and you can't assign unique coordinates — that's why the inverse doesn't exist in that case.
Worked Example
Let's walk through a complete change-of-basis problem step by step.
Strengths & Limitations
Change of basis is a powerful technique, but it is not always necessary. Understanding when to use it — and when to stick with the standard basis — is part of developing good mathematical judgment.
| Aspect | Strengths | Limitations |
|---|---|---|
| Problem Simplification | A clever basis can make matrices diagonal, turning hard problems into easy ones. | Finding the right basis can itself be a hard problem, especially in higher dimensions. |
| Computation | Once P⁻¹ is found, converting many vectors is quick (just matrix multiplication). | Computing the inverse of large matrices is computationally expensive. |
| Geometric Insight | Reveals hidden structure, such as principal directions of stretching or rotation. | The new coordinates may be less intuitive than the standard x-y system. |
| Applications | Essential in computer graphics, quantum mechanics, data science (PCA), and signal processing. | Only applies within linear (vector space) settings. Doesn't directly handle curved or nonlinear systems. |
Connection to Advanced Topics
Change of basis is not just a standalone trick. It connects deeply to several advanced ideas in linear algebra. Once you understand how to switch between bases, you unlock the door to powerful concepts like diagonalization, eigenvalues and eigenvectors, and similarity transformations.
| This Lesson | Advanced Extension |
|---|---|
| Change-of-basis matrix P converts coordinates between two bases. | Similarity transformation: If a linear transformation T has matrix A in the standard basis, then its matrix in basis B is P⁻¹AP. This is a "change of basis for transformations." |
| Some bases make coordinates simpler. | Diagonalization: If you choose the eigenvectors as your new basis, the transformation matrix becomes diagonal — the simplest possible form. |
| The determinant of P tells if a basis is valid. | Invertible Matrix Theorem: A matrix is invertible if and only if its columns form a basis. This connects change of basis to many other equivalent conditions. |
| Works in 2-D and 3-D. | General n-dimensional spaces: The same formula [v]_B = P⁻¹[v]_standard works in any finite-dimensional vector space, including function spaces used in Fourier analysis. |
In college-level linear algebra and beyond, nearly every major topic involves a change of basis in some form. Mastering this concept now gives you a strong foundation for all of these future ideas. If you continue in math, engineering, or data science, you will see change of basis again and again.
Practice Problems
Try these five problems to test your understanding. They start easy and get progressively more challenging. Full answers are provided — try each problem on your own before reading the solution!
Summary
A change of basis lets you re-describe a vector using a different set of reference directions. Every basis is a collection of linearly independent vectors that span the space. The vector itself never moves — only its coordinates change. To convert coordinates from the standard basis to a new basis B, you build the change-of-basis matrix P (whose columns are the new basis vectors) and compute [v]_B = P⁻¹ × [v]_standard. To go the other way, use [v]_standard = P × [v]_B.
The determinant of P must be nonzero for the basis to be valid. Geometrically, changing basis stretches and rotates the coordinate grid while the vector stays fixed. This technique is the foundation for advanced topics like diagonalization and similarity transformations, and it has real-world applications in computer graphics, data science, and physics. Always verify your answer by checking that the new coordinates, combined with the new basis vectors, reconstruct the original vector.