# Change of basis matrix(linear algebra)

1. Dec 19, 2011

### leeewl

Hi I'm stuck on this problem and I could not find similar examples anywhere.. any help would be greatly appreciated, thank you.

1. The problem statement, all variables and given/known data
Compute the change of basis matrix that takes the basis
$V1 = \begin{bmatrix} -1 \\ 3 \end{bmatrix}$ $V2 = \begin{bmatrix} 2 \\ 5 \end{bmatrix}$
of R2 to the basis
$W1 = \begin{bmatrix} 2 \\ 5 \end{bmatrix}$ $W2 = \begin{bmatrix} 3 \\ 7 \end{bmatrix}$
I have done this first part, the change of basis matrix is $A = \begin{bmatrix} 2 & 1 \\ -1 & 0 \end{bmatrix}$

next part I don't quite know how to start:
Consider v = V1 + 2(V2) $\in$ R2: Determine the column vector $\begin{bmatrix} a \\ b \end{bmatrix}$ which represents v with respect to the basis {W1, W2}

3. The attempt at a solution

Do I turn v1 into $V1 = \begin{bmatrix} -1 \\ 3 \end{bmatrix}$ and V2 into $V2 = \begin{bmatrix} 4 \\ 10 \end{bmatrix}$ and then try and find a linear combination that gives me {W1, W2}?

2. Dec 20, 2011

Set up the linear combination and make it equal to your vector in order to find the coefficients a, b.

3. Dec 20, 2011

### vela

Staff Emeritus
The fact that $\vec{v} = 1\vec{v}_1 + 2\vec{v}_2$ means that with respect to the $\{\vec{v}_1,\vec{v}_2\}$ basis,
$$\vec{v} = \begin{bmatrix} 1 \\ 2 \end{bmatrix}_{\{\vec{v}_1,\vec{v}_2\}}$$Use the matrix A to convert the coordinates from one basis to the other.

By the way, I don't think your matrix A is correct.

Last edited: Dec 20, 2011
4. Dec 20, 2011

### leeewl

Thank you for your answers. I made a mistake in the op. $V1 = \begin{bmatrix} 1 \\ 3 \end{bmatrix}$ and not (-1, 3) so my matrix A should be correct.
Is multiplying A by (coefficients of v1, v2) $v = \begin{bmatrix} 1 \\ 2 \end{bmatrix}$ all I really need to do to?
Then my answer is \begin{bmatrix} 4 \\ -1 \end{bmatrix}

5. Dec 20, 2011

### vela

Staff Emeritus
It's easy enough to check. Is $4\vec{w}_1-\vec{w}_2$ equal to $\vec{v}_1+2\vec{v}_2$?

If your matrix is correct, then yes, that's all you have to do. That's why it's called a change of basis matrix.