Solved Exercises on Coordinate Vectors in Different Bases

Master coordinate vectors in different bases: basis representation, coordinate conversion, and basis change through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Standard to Custom Basis
Exercise 1
Let B = {(2, 1), (1, 3)} be a basis for ℝ². Find the coordinate vector [v]_B of v = (5, 7) with respect to basis B.
Definition:

Coordinate vector: [v]_B = \(\begin{bmatrix} c₁ \\ c₂ \end{bmatrix}\) where v = c₁b₁ + c₂b₂

Method:
  1. Set up the equation v = c₁b₁ + c₂b₂
  2. Express as a system of linear equations
  3. Solve for coefficients c₁, c₂
  4. Form the coordinate vector [v]_B
Setup
v = c₁(2,1) + c₂(1,3)
Solution
[v]_B = \(\begin{bmatrix} 2 \\ 1 \end{bmatrix}\)
Step 1: Set up the linear combination

We want to find scalars c₁ and c₂ such that:

(5, 7) = c₁(2, 1) + c₂(1, 3)

(5, 7) = (2c₁, c₁) + (c₂, 3c₂)

(5, 7) = (2c₁ + c₂, c₁ + 3c₂)

Step 2: Form the system of equations

Comparing components:

2c₁ + c₂ = 5 (equation 1)

c₁ + 3c₂ = 7 (equation 2)

Step 3: Solve the system

From equation 2: c₁ = 7 - 3c₂

Substitute into equation 1: 2(7 - 3c₂) + c₂ = 5

14 - 6c₂ + c₂ = 5

14 - 5c₂ = 5

-5c₂ = -9

c₂ = 9/5

c₁ = 7 - 3(9/5) = 7 - 27/5 = 35/5 - 27/5 = 8/5

Step 4: Verify the solution

Check: (8/5)(2, 1) + (9/5)(1, 3) = (16/5, 8/5) + (9/5, 27/5) = (25/5, 35/5) = (5, 7) ✓

Step 5: Form the coordinate vector

[v]_B = \(\begin{bmatrix} c₁ \\ c₂ \end{bmatrix} = \begin{bmatrix} 8/5 \\ 9/5 \end{bmatrix}\)

[v]_B = \(\begin{bmatrix} 8/5 \\ 9/5 \end{bmatrix}\)
Final answer:

The coordinate vector of v with respect to basis B is [v]_B = \(\begin{bmatrix} 8/5 \\ 9/5 \end{bmatrix}\)

Applied rules:

• Coordinate vector definition: v = Σ cᵢbᵢ

• Linear system solving: Standard elimination method

• Verification: Substitute back to check solution

2 Basis Change Matrix
Exercise 2
Let B = {(1, 0), (0, 1)} be the standard basis and C = {(2, 1), (1, 2)} be another basis. Find the transition matrix P_{C←B} and use it to convert [v]_B = \(\begin{bmatrix} 3 \\ 4 \end{bmatrix}\) to [v]_C.
Definition:

Transition matrix: P_{C←B} such that [v]_C = P_{C←B}[v]_B

Basis matrices
B = I, C = \(\begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}\)
Transition matrix
P_{C←B} = C⁻¹ = \(\begin{bmatrix} 2/3 & -1/3 \\ -1/3 & 2/3 \end{bmatrix}\)
Step 1: Form the basis matrices

B = \(\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}\) (standard basis is identity)

C = \(\begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}\) (columns are vectors in basis C)

Step 2: Calculate the transition matrix

Since B is the standard basis, P_{C←B} = C⁻¹B = C⁻¹I = C⁻¹

For C = \(\begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}\): det(C) = (2)(2) - (1)(1) = 4 - 1 = 3

Using 2×2 inverse formula: C⁻¹ = \(\frac{1}{3}\begin{bmatrix} 2 & -1 \\ -1 & 2 \end{bmatrix} = \begin{bmatrix} 2/3 & -1/3 \\ -1/3 & 2/3 \end{bmatrix}\)

Step 3: Apply the transition

[v]_C = P_{C←B}[v]_B = C⁻¹[v]_B

= \(\begin{bmatrix} 2/3 & -1/3 \\ -1/3 & 2/3 \end{bmatrix} \begin{bmatrix} 3 \\ 4 \end{bmatrix}\)

Row 1: (2/3)(3) + (-1/3)(4) = 2 - 4/3 = 6/3 - 4/3 = 2/3

Row 2: (-1/3)(3) + (2/3)(4) = -1 + 8/3 = -3/3 + 8/3 = 5/3

Step 4: Verify by converting to standard coordinates

From [v]_C = \(\begin{bmatrix} 2/3 \\ 5/3 \end{bmatrix}\): v = (2/3)(2, 1) + (5/3)(1, 2) = (4/3, 2/3) + (5/3, 10/3) = (3, 4)

This matches [v]_B = \(\begin{bmatrix} 3 \\ 4 \end{bmatrix}\) in standard coordinates ✓

Step 5: Generalize the transition

For any vector [v]_B, [v]_C = C⁻¹[v]_B

This formula converts from standard coordinates to C-coordinates

P_{C←B} = \(\begin{bmatrix} 2/3 & -1/3 \\ -1/3 & 2/3 \end{bmatrix}\), [v]_C = \(\begin{bmatrix} 2/3 \\ 5/3 \end{bmatrix}\)
Final answer:

The transition matrix is P_{C←B} = \(\begin{bmatrix} 2/3 & -1/3 \\ -1/3 & 2/3 \end{bmatrix}\) and [v]_C = \(\begin{bmatrix} 2/3 \\ 5/3 \end{bmatrix}\)

Applied rules:

• Transition formula: [v]_C = P_{C←B}[v]_B

• Standard basis property: P_{C←standard} = C⁻¹

• Verification: Convert back to check consistency

3 Coordinate Conversion Verification
Exercise 3
Verify that the vector found in Exercise 2 is the same in both coordinate systems by converting [v]_C back to standard coordinates and comparing with original vector.
Definition:

Coordinate consistency: Different representations of the same vector should yield the same result when converted to standard coordinates

From Ex. 2
[v]_C = \(\begin{bmatrix} 2/3 \\ 5/3 \end{bmatrix}\)
Convert back
v = (2, 1) + (5/3)(1, 2) = (3, 4)
Step 1: Express [v]_C in terms of basis C

From Exercise 2: [v]_C = \(\begin{bmatrix} 2/3 \\ 5/3 \end{bmatrix}\)

With C = {(2, 1), (1, 2)}

v = (2/3)(2, 1) + (5/3)(1, 2)

Step 2: Calculate the vector components

First component: (2/3)(2) + (5/3)(1) = 4/3 + 5/3 = 9/3 = 3

Second component: (2/3)(1) + (5/3)(2) = 2/3 + 10/3 = 12/3 = 4

So v = (3, 4) in standard coordinates

Step 3: Compare with original vector

From Exercise 2: [v]_B = \(\begin{bmatrix} 3 \\ 4 \end{bmatrix}\) which represents v = (3, 4) in standard coordinates

Both calculations yield v = (3, 4) ✓

Step 4: Verify using transition matrix property

P_{B←C} = (P_{C←B})⁻¹ = (C⁻¹)⁻¹ = C

[v]_B = P_{B←C}[v]_C = C[v]_C

= \(\begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix} \begin{bmatrix} 2/3 \\ 5/3 \end{bmatrix}\)

= \(\begin{bmatrix} (2)(2/3) + (1)(5/3) \\ (1)(2/3) + (2)(5/3) \end{bmatrix} = \begin{bmatrix} 4/3 + 5/3 \\ 2/3 + 10/3 \end{bmatrix} = \begin{bmatrix} 3 \\ 4 \end{bmatrix}\) ✓

Step 5: General verification principle

This confirms the fundamental property: coordinate vectors in different bases represent the same geometric object

The transition matrices ensure consistency between representations

v = (3, 4) in both coordinate systems
Final answer:

Coordinate systems are consistent: both [v]_B and [v]_C represent the same vector (3, 4)

Applied rules:

• Coordinate invariance: Vector remains the same object

• Transition matrix property: P_{B←C} = (P_{C←B})⁻¹

• Verification: Convert between systems to check consistency

Coordinate Vectors in Different Bases: Key Concepts
[v]_B = \begin{bmatrix} c_1 \\ c_2 \\ \vdots \\ c_n \end{bmatrix} \text{ where } v = c_1b_1 + c_2b_2 + \cdots + c_nb_n
Coordinate Vector Definition
Formula
[v]_C = P_{C \leftarrow B}[v]_B
Transition Formula
Formula
P_{C \leftarrow B} = C^{-1}B
Transition Matrix
Property
P_{B \leftarrow C} = (P_{C \leftarrow B})^{-1}
Inverse Property
Uniqueness: For a given basis, the coordinate vector is unique
Linearity: Coordinate mapping is a linear transformation
Dimension: Coordinate vector has same dimension as basis size
Solution: Exercises 4 to 5
4 3D Coordinate Conversion
Exercise 4
Let D = {(1, 0, 0), (1, 1, 0), (1, 1, 1)} be a basis for ℝ³. Find the coordinate vector of w = (4, 3, 2) with respect to D.
Definition:

3D coordinate vector: [w]_D = \(\begin{bmatrix} d₁ \\ d₂ \\ d₃ \end{bmatrix}\) where w = d₁d₁ + d₂d₂ + d₃d₃

Setup equation
w = d₁(1,0,0) + d₂(1,1,0) + d₃(1,1,1)
Solution
[w]_D = \(\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}\)
Step 1: Set up the linear combination

We want to find d₁, d₂, d₃ such that:

(4, 3, 2) = d₁(1, 0, 0) + d₂(1, 1, 0) + d₃(1, 1, 1)

(4, 3, 2) = (d₁, 0, 0) + (d₂, d₂, 0) + (d₃, d₃, d₃)

(4, 3, 2) = (d₁ + d₂ + d₃, d₂ + d₃, d₃)

Step 2: Form the system of equations

d₁ + d₂ + d₃ = 4 (equation 1)

d₂ + d₃ = 3 (equation 2)

d₃ = 2 (equation 3)

Step 3: Solve the system (back substitution)

From equation 3: d₃ = 2

Substitute into equation 2: d₂ + 2 = 3, so d₂ = 1

Substitute into equation 1: d₁ + 1 + 2 = 4, so d₁ = 1

Step 4: Verify the solution

(1)(1, 0, 0) + (1)(1, 1, 0) + (2)(1, 1, 1)

= (1, 0, 0) + (1, 1, 0) + (2, 2, 2)

= (4, 3, 2) ✓

Step 5: Form the coordinate vector

[w]_D = \(\begin{bmatrix} d₁ \\ d₂ \\ d₃ \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}\)

[w]_D = \(\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}\)
Final answer:

The coordinate vector is [w]_D = \(\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}\)

Applied rules:

• 3D coordinate vector: v = Σ cᵢdᵢ

• System solving: Back substitution for upper triangular system

• Verification: Substitute back to check

5 Change of Basis Matrix
Exercise 5
Let E = {(1, 1), (2, 1)} and F = {(1, 2), (1, 1)} be two bases for ℝ². Find the transition matrix P_{F←E} and verify that P_{E←F} = (P_{F←E})⁻¹.
Definition:

General transition matrix: P_{F←E} = F⁻¹E where F and E are basis matrices

Basis matrices
E = \(\begin{bmatrix} 1 & 2 \\ 1 & 1 \end{bmatrix}\), F = \(\begin{bmatrix} 1 & 1 \\ 2 & 1 \end{bmatrix}\)
Transition matrix
P_{F←E} = \(\begin{bmatrix} 1 & -1 \\ -1 & 2 \end{bmatrix}\)
Step 1: Form the basis matrices

E = \(\begin{bmatrix} 1 & 2 \\ 1 & 1 \end{bmatrix}\) (columns: (1,1), (2,1))

F = \(\begin{bmatrix} 1 & 1 \\ 2 & 1 \end{bmatrix}\) (columns: (1,2), (1,1))

Step 2: Calculate F⁻¹

For F = \(\begin{bmatrix} 1 & 1 \\ 2 & 1 \end{bmatrix}\): det(F) = (1)(1) - (1)(2) = -1

F⁻¹ = \(\frac{1}{-1}\begin{bmatrix} 1 & -1 \\ -2 & 1 \end{bmatrix} = \begin{bmatrix} -1 & 1 \\ 2 & -1 \end{bmatrix}\)

Step 3: Calculate P_{F←E} = F⁻¹E

P_{F←E} = \(\begin{bmatrix} -1 & 1 \\ 2 & -1 \end{bmatrix} \begin{bmatrix} 1 & 2 \\ 1 & 1 \end{bmatrix}\)

= \(\begin{bmatrix} (-1)(1)+(1)(1) & (-1)(2)+(1)(1) \\ (2)(1)+(-1)(1) & (2)(2)+(-1)(1) \end{bmatrix}\)

= \(\begin{bmatrix} 0 & -1 \\ 1 & 3 \end{bmatrix}\)

Step 4: Calculate P_{E←F} = E⁻¹F

First find E⁻¹:

For E = \(\begin{bmatrix} 1 & 2 \\ 1 & 1 \end{bmatrix}\): det(E) = (1)(1) - (2)(1) = -1

E⁻¹ = \(\begin{bmatrix} -1 & 2 \\ 1 & -1 \end{bmatrix}\)

P_{E←F} = E⁻¹F = \(\begin{bmatrix} -1 & 2 \\ 1 & -1 \end{bmatrix} \begin{bmatrix} 1 & 1 \\ 2 & 1 \end{bmatrix}\)

= \(\begin{bmatrix} (-1)(1)+(2)(2) & (-1)(1)+(2)(1) \\ (1)(1)+(-1)(2) & (1)(1)+(-1)(1) \end{bmatrix}\)

= \(\begin{bmatrix} 3 & 1 \\ -1 & 0 \end{bmatrix}\)

Step 5: Verify P_{E←F} = (P_{F←E})⁻¹

(P_{F←E})⁻¹ = \(\begin{bmatrix} 0 & -1 \\ 1 & 3 \end{bmatrix}^{-1}\)

det(P_{F←E}) = (0)(3) - ((-1)(1)) = 1

(P_{F←E})⁻¹ = \(\begin{bmatrix} 3 & 1 \\ -1 & 0 \end{bmatrix}\)

This matches P_{E←F} ✓

P_{F←E} = \(\begin{bmatrix} 0 & -1 \\ 1 & 3 \end{bmatrix}\), P_{E←F} = \(\begin{bmatrix} 3 & 1 \\ -1 & 0 \end{bmatrix}\)
Final answer:

The transition matrices satisfy P_{E←F} = (P_{F←E})⁻¹ as expected

Applied rules:

• General formula: P_{F←E} = F⁻¹E

• Inverse property: P_{E←F} = (P_{F←E})⁻¹

• Verification: Direct computation confirms theoretical property

Coordinate Vectors in Different Bases: Comprehensive Guide
v = [v]_B \cdot B = \sum_{i=1}^{n} [v]_B(i) \cdot b_i
Coordinate Vector Formula
Key definitions:

Coordinate vector: [v]_B = (c₁, c₂, ..., cₙ) where v = c₁b₁ + c₂b₂ + ... + cₙbₙ

Transition matrix: P_{C←B} such that [v]_C = P_{C←B}[v]_B

Basis matrix: Matrix with basis vectors as columns

Complete methodology:
  1. Find coordinate vector: Solve v = Σ cᵢbᵢ for coefficients cᵢ
  2. Form transition matrix: P_{C←B} = C⁻¹B
  3. Apply transformation: [v]_C = P_{C←B}[v]_B
  4. Verify results: Convert back to standard coordinates
Tip 1: For standard basis conversions, P_{B←std} = B⁻¹ and P_{std←B} = B.
Tip 2: Always verify by converting coordinates back to standard form.
Tip 3: Transition matrices are invertible when both bases are valid.
Tip 4: The order matters: P_{C←B} converts from B-coordinates to C-coordinates.
Common errors: Mixing up transition matrix directions, forgetting to verify, miscalculating inverses.
Exam preparation: Practice 2×2 and 3×3 cases, understand geometric interpretations.
Properties to know by heart:

• Coordinate uniqueness: [v]_B is unique for a given basis B

• Transition property: [v]_C = P_{C←B}[v]_B

• Inverse property: P_{B←C} = (P_{C←B})⁻¹

• Chain rule: P_{D←A} = P_{D←C}P_{C←B}P_{B←A}

• Identity: P_{B←B} = I

Coordinate System Visualization
Exercise 6: Coordinate Analysis
Visual analysis of coordinate systems:
• Different basis representations
• Transition matrix properties
• Coordinate consistency verification

Analysis: The visualization shows how different coordinate systems represent the same vector.

  • Each basis provides a different perspective
  • Transition matrices connect different perspectives
  • Geometric object remains invariant

Questions & Answers

Question: Why do we need different bases? Isn't the standard basis sufficient for all problems?

Answer: Different bases are essential for various reasons:

Problem-specific advantages:

  • Eigenbases: Diagonalize matrices, simplifying powers and exponentials
  • Principal component basis: In data analysis, captures maximum variance
  • Harmonic basis: In signal processing, decomposes into frequencies
  • Natural coordinate systems: For specific geometries or symmetries

Computational efficiency:

Some matrices become diagonal or nearly diagonal in the right basis, making calculations much easier.

Physical/geometric insight:

Different bases reveal different aspects of a problem. For example, in mechanics, principal axes of rotation are more natural than arbitrary coordinates.

The standard basis is just one convenient choice, but other bases can make the mathematics simpler and reveal deeper structure.

Question: How do I remember which transition matrix to use? It's confusing when to use P_{C←B} versus P_{B←C}.

Answer: Use this memory aid:

Read the notation left-to-right:

P_{Target←Source} converts from Source coordinates to Target coordinates

Matrix placement:

[v]_Target = P_{Target←Source}[v]_Source

The matrix goes on the left of the source coordinate vector

Concrete example:

P_{C←B} converts B-coordinates to C-coordinates: [v]_C = P_{C←B}[v]_B

Verification method:

Always check that your result makes sense dimensionally and by converting back to standard coordinates.

Remember: the arrow points FROM the starting basis TO the ending basis.

Question: What are practical applications of coordinate vectors in different bases?

Answer: Coordinate vectors in different bases have numerous applications:

  • Computer graphics: Converting between world, camera, and screen coordinate systems
  • Quantum mechanics: Changing between different observable bases
  • Signal processing: Converting between time and frequency domains (Fourier transform)
  • Data science: Principal component analysis (PCA) for dimensionality reduction
  • Machine learning: Feature transformation and dimensionality reduction
  • Robotics: Converting between joint space and Cartesian space coordinates

Specific examples:

In image compression, pixels are transformed to a basis where most information is concentrated in few coefficients (JPEG uses discrete cosine transform).

In quantum mechanics, measurements in different bases correspond to different observables.

The ability to switch between coordinate systems is fundamental to solving complex problems efficiently.