Coordinates with Respect to a Basis - Comprehensive Summary
Coordinates with Respect to a Basis: If B = {v₁, v₂, ..., vₙ} is a basis for vector space V, then for any vector x ∈ V, there exist unique scalars c₁, c₂, ..., cₙ such that x = c₁v₁ + c₂v₂ + ... + cₙvₙ. The coordinates of x with respect to B are [x]_B = [c₁, c₂, ..., cₙ]ᵀ.
Standard Basis: The natural basis for Rⁿ where eᵢ has 1 in the i-th position and 0 elsewhere.
Change of Basis: Converting coordinates from one basis to another using transformation matrices.
• Coordinates are unique for each basis
• The coordinate vector represents the linear combination weights
• Change of basis matrices are invertible
• Dimension of coordinate vector equals dimension of space
1. Set up the equation: x = c₁v₁ + c₂v₂ + ... + cₙvₙ
2. Convert to matrix equation: [v₁ v₂ ... vₙ][c₁, c₂, ..., cₙ]ᵀ = x
3. Solve for the coordinate vector [c₁, c₂, ..., cₙ]ᵀ
4. Use the inverse matrix for change of basis
• Always verify that the given vectors form a basis
• Use row reduction for solving systems efficiently
• Remember that coordinates depend on the order of basis vectors
• Check your work by reconstructing the original vector
Coordinates with Respect to a Basis: If B = {v₁, v₂, ..., vₙ} is a basis for vector space V, then for any vector x ∈ V, the coordinates of x with respect to B are the unique scalars [c₁, c₂, ..., cₙ]ᵀ such that x = c₁v₁ + c₂v₂ + ... + cₙvₙ.
- Set up the equation: \(\vec{x} = c_1\vec{v_1} + c_2\vec{v_2} + \ldots + c_n\vec{v_n}\)
- Form the matrix equation: \([v_1 \, v_2 \, \ldots \, v_n]\begin{pmatrix} c_1 \\ c_2 \\ \vdots \\ c_n \end{pmatrix} = \vec{x}\)
- Solve for the coordinate vector \([c_1, c_2, \ldots, c_n]^T\)
- Express the result as \([\vec{x}]_B\)
Check that the vectors are linearly independent:
\(a\begin{pmatrix} 1 \\ 0 \end{pmatrix} + b\begin{pmatrix} 1 \\ 1 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}\)
This gives us: \(\begin{pmatrix} a + b \\ b \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}\)
So: \(b = 0\) and \(a + b = 0\), which means \(a = 0\).
Since the only solution is \(a = b = 0\), the vectors are linearly independent. ✓
We want to find scalars \(c_1\) and \(c_2\) such that:
\(\vec{x} = c_1\begin{pmatrix} 1 \\ 0 \end{pmatrix} + c_2\begin{pmatrix} 1 \\ 1 \end{pmatrix}\)
\(\begin{pmatrix} 3 \\ 2 \end{pmatrix} = \begin{pmatrix} c_1 + c_2 \\ c_2 \end{pmatrix}\)
From the vector equation, we get the system:
\(\begin{cases} c_1 + c_2 = 3 \quad \text{(equation 1)} \\ c_2 = 2 \quad \text{(equation 2)} \end{cases}\)
From equation 2: \(c_2 = 2\)
Substituting into equation 1: \(c_1 + 2 = 3\), so \(c_1 = 1\)
Check: \(1\begin{pmatrix} 1 \\ 0 \end{pmatrix} + 2\begin{pmatrix} 1 \\ 1 \end{pmatrix} = \begin{pmatrix} 1 \\ 0 \end{pmatrix} + \begin{pmatrix} 2 \\ 2 \end{pmatrix} = \begin{pmatrix} 3 \\ 2 \end{pmatrix}\). ✓
The coordinates of \(\vec{x}\) with respect to basis B are:
\([\vec{x}]_B = \begin{pmatrix} 1 \\ 2 \end{pmatrix}\)
The coordinates of \(\vec{x}\) with respect to basis B are \(\begin{pmatrix} 1 \\ 2 \end{pmatrix}\).
• Linear independence verification: Essential before coordinate calculation
• System solving: Convert vector equation to scalar system
• Verification: Always check the solution by reconstruction
Change-of-Basis Matrix: The matrix P_C←B transforms coordinates from basis B to basis C. If [v]_B are the coordinates of vector v in basis B, then [v]_C = P_C←B [v]_B.
\(P_B = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}\) (standard basis matrix)
\(P_C = \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}\) (matrix with C basis vectors as columns)
For \(P_C = \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}\), we have:
\(\det(P_C) = (1)(-1) - (1)(1) = -2\)
\(P_C^{-1} = \frac{1}{-2}\begin{pmatrix} -1 & -1 \\ -1 & 1 \end{pmatrix} = \begin{pmatrix} 1/2 & 1/2 \\ 1/2 & -1/2 \end{pmatrix}\)
The change-of-basis matrix from B to C is:
\(P_{C \leftarrow B} = P_C^{-1}P_B = P_C^{-1} \cdot I = P_C^{-1}\)
Therefore: \(P_{C \leftarrow B} = \begin{pmatrix} 1/2 & 1/2 \\ 1/2 & -1/2 \end{pmatrix}\)
Let's verify with \(\vec{x} = \begin{pmatrix} 1 \\ 0 \end{pmatrix}\) (which has coordinates \(\begin{pmatrix} 1 \\ 0 \end{pmatrix}\) in B).
In basis C: \(\begin{pmatrix} 1/2 & 1/2 \\ 1/2 & -1/2 \end{pmatrix}\begin{pmatrix} 1 \\ 0 \end{pmatrix} = \begin{pmatrix} 1/2 \\ 1/2 \end{pmatrix}\)
Check: \(\frac{1}{2}\begin{pmatrix} 1 \\ 1 \end{pmatrix} + \frac{1}{2}\begin{pmatrix} 1 \\ -1 \end{pmatrix} = \begin{pmatrix} 1 \\ 0 \end{pmatrix}\). ✓
For any vector \(\vec{v}\): \([\vec{v}]_C = P_{C \leftarrow B}[\vec{v}]_B\)
The change-of-basis matrix from B to C is \(\begin{pmatrix} 1/2 & 1/2 \\ 1/2 & -1/2 \end{pmatrix}\).
• Change matrix formula: \(P_{C \leftarrow B} = P_C^{-1}P_B\)
• Inverse calculation: Use determinant and adjugate method
• Verification: Test with known vectors to confirm correctness
3D Coordinates: For a basis B = {v₁, v₂, v₃} in \(\mathbb{R}^3\), the coordinates of vector x with respect to B are the unique scalars [c₁, c₂, c₃]ᵀ such that x = c₁v₁ + c₂v₂ + c₃v₃.
We need to check that the three vectors are linearly independent:
\(a\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix} + b\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} + c\begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}\)
This gives us: \(\begin{pmatrix} a + b + c \\ b + c \\ c \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}\)
From the last equation: \(c = 0\)
From the middle equation: \(b + c = 0 \Rightarrow b = 0\)
From the first equation: \(a + b + c = 0 \Rightarrow a = 0\)
Since the only solution is \(a = b = c = 0\), the vectors are linearly independent. ✓
We want to find scalars \(c_1\), \(c_2\), and \(c_3\) such that:
\(\vec{x} = c_1\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix} + c_2\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} + c_3\begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix}\)
\(\begin{pmatrix} 2 \\ 3 \\ 4 \end{pmatrix} = \begin{pmatrix} c_1 + c_2 + c_3 \\ c_2 + c_3 \\ c_3 \end{pmatrix}\)
From the vector equation, we get the system:
\(\begin{cases} c_1 + c_2 + c_3 = 2 \quad \text{(equation 1)} \\ c_2 + c_3 = 3 \quad \text{(equation 2)} \\ c_3 = 4 \quad \text{(equation 3)} \end{cases}\)
From equation 3: \(c_3 = 4\)
Substituting into equation 2: \(c_2 + 4 = 3\), so \(c_2 = -1\)
Substituting into equation 1: \(c_1 + (-1) + 4 = 2\), so \(c_1 = -1\)
Check: \((-1)\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix} + (-1)\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} + 4\begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix}\)
\(= \begin{pmatrix} -1 \\ 0 \\ 0 \end{pmatrix} + \begin{pmatrix} -1 \\ -1 \\ 0 \end{pmatrix} + \begin{pmatrix} 4 \\ 4 \\ 4 \end{pmatrix} = \begin{pmatrix} 2 \\ 3 \\ 4 \end{pmatrix}\). ✓
The coordinates of \(\vec{x}\) with respect to basis B are:
\([\vec{x}]_B = \begin{pmatrix} -1 \\ -1 \\ 4 \end{pmatrix}\)
The coordinates of \(\vec{x}\) with respect to basis B are \(\begin{pmatrix} -1 \\ -1 \\ 4 \end{pmatrix}\).
• Back-substitution: Solve 3D systems by back-substitution when possible
• Linear independence: Always verify basis conditions
• Verification: Reconstruct the original vector to confirm solution
Polynomial Coordinates: For a polynomial space with basis B = {b₁(x), b₂(x), ..., bₙ(x)}, the coordinates of polynomial p(x) with respect to B are the unique scalars [c₁, c₂, ..., cₙ]ᵀ such that p(x) = c₁b₁(x) + c₂b₂(x) + ... + cₙbₙ(x).
The standard basis for polynomials of degree ≤ 2 is \(B = \{1, x, x^2\}\).
We have: \(p(x) = 3x^2 - 2x + 5\)
Reordering by degree: \(p(x) = 5 \cdot 1 + (-2) \cdot x + 3 \cdot x^2\)
The coefficients of the basis elements are:
Coefficient of 1: 5
Coefficient of x: -2
Coefficient of x²: 3
The coordinate vector with respect to B is formed by arranging the coefficients in order:
\([p(x)]_B = \begin{pmatrix} 5 \\ -2 \\ 3 \end{pmatrix}\)
Check: \(5 \cdot 1 + (-2) \cdot x + 3 \cdot x^2 = 5 - 2x + 3x^2 = p(x)\). ✓
If we had a different basis, say \(C = \{1, 1+x, 1+x+x^2\}\), we would need to solve a system to find the coordinates.
The coordinates of \(p(x) = 3x^2 - 2x + 5\) with respect to the standard basis B are \(\begin{pmatrix} 5 \\ -2 \\ 3 \end{pmatrix}\).
• Standard basis: Coefficients directly become coordinates
• Polynomial representation: Write polynomial as linear combination of basis elements
• Order matters: Coordinate vector order matches basis element order
Inverse Change of Basis: If \(P_{C \leftarrow B}\) transforms coordinates from basis B to basis C, then \(P_{B \leftarrow C} = (P_{C \leftarrow B})^{-1}\) transforms coordinates from basis C to basis B.
If \([\vec{v}]_C = P_{C \leftarrow B}[\vec{v}]_B\), then \([\vec{v}]_B = (P_{C \leftarrow B})^{-1}[\vec{v}]_C\).
Therefore: \(P_{B \leftarrow C} = (P_{C \leftarrow B})^{-1}\).
For \(P_{C \leftarrow B} = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\):
\(\det(P_{C \leftarrow B}) = (1)(4) - (2)(3) = 4 - 6 = -2\)
For a 2×2 matrix \(\begin{pmatrix} a & b \\ c & d \end{pmatrix}\), the adjugate is \(\begin{pmatrix} d & -b \\ -c & a \end{pmatrix}\).
Adjugate of \(P_{C \leftarrow B}\) is \(\begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix}\).
\(P_{B \leftarrow C} = (P_{C \leftarrow B})^{-1} = \frac{1}{\det(P_{C \leftarrow B})} \cdot \text{adjugate}(P_{C \leftarrow B})\)
\(= \frac{1}{-2}\begin{pmatrix} 4 & -2 \\ -3 & 1 \end{pmatrix} = \begin{pmatrix} -2 & 1 \\ 3/2 & -1/2 \end{pmatrix}\)
Check that \(P_{C \leftarrow B} \cdot P_{B \leftarrow C} = I\):
\(\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\begin{pmatrix} -2 & 1 \\ 3/2 & -1/2 \end{pmatrix}\)
\(= \begin{pmatrix} 1(-2) + 2(3/2) & 1(1) + 2(-1/2) \\ 3(-2) + 4(3/2) & 3(1) + 4(-1/2) \end{pmatrix}\)
\(= \begin{pmatrix} -2 + 3 & 1 - 1 \\ -6 + 6 & 3 - 2 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = I\). ✓
If \([\vec{v}]_C = \begin{pmatrix} a \\ b \end{pmatrix}\) are the coordinates of vector \(\vec{v}\) in basis C, then the coordinates in basis B are:
\([\vec{v}]_B = \begin{pmatrix} -2 & 1 \\ 3/2 & -1/2 \end{pmatrix}\begin{pmatrix} a \\ b \end{pmatrix} = \begin{pmatrix} -2a + b \\ (3/2)a - (1/2)b \end{pmatrix}\)
The change-of-basis matrix from C to B is \(\begin{pmatrix} -2 & 1 \\ 3/2 & -1/2 \end{pmatrix}\).
• Inverse relationship: \(P_{B \leftarrow C} = (P_{C \leftarrow B})^{-1}\)
• 2×2 inverse: Use determinant and adjugate formula
• Verification: Check that product equals identity matrix
Coordinate Vector: The coordinate vector of x with respect to basis B represents x in the coordinate system defined by B.
Change of Basis: The process of converting coordinates from one basis to another using transformation matrices.
Transition Matrix: The matrix that maps coordinates in one basis to coordinates in another basis.
- For coordinate calculation: Solve the linear system formed by expressing x as a linear combination of basis vectors
- For change of basis: Use the formula \(P_{C \leftarrow B} = P_C^{-1}P_B\)
- For verification: Reconstruct the original vector using the coordinates and basis vectors
- For inverse transformations: Use the inverse of the change-of-basis matrix
• Coordinates are unique for each basis
• The coordinate mapping is linear: \([c_1\vec{u} + c_2\vec{v}]_B = c_1[\vec{u}]_B + c_2[\vec{v}]_B\)
• Change-of-basis matrices are always invertible
• \(P_{B \leftarrow C} = (P_{C \leftarrow B})^{-1}\)
• \([\vec{x}]_B = P_B^{-1}\vec{x}\) when B is a basis matrix
Geometric Interpretation: The same vector appears at different coordinates depending on the basis used for measurement. The vector itself remains fixed in space, but its representation changes.
- Standard basis B: \(\left\{\begin{pmatrix} 1 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ 1 \end{pmatrix}\right\}\)
- Alternative basis C: \(\left\{\begin{pmatrix} 1 \\ 1 \end{pmatrix}, \begin{pmatrix} 1 \\ -1 \end{pmatrix}\right\}\)
- Same vector, different coordinate representations