How to find a matrix that transforms vectors from basis $B$ into vectors from basis $C$? [closed]
$begingroup$
$$B=left{begin{bmatrix}
1 \
2 \
3
end{bmatrix},
begin{bmatrix}
3 \
2 \
1
end{bmatrix},
begin{bmatrix}
1 \
1 \
0
end{bmatrix}right}
quad C=left{begin{bmatrix}
4 \
5 \
6
end{bmatrix},
begin{bmatrix}
2 \
4 \
7
end{bmatrix},
begin{bmatrix}
6 \
7 \
8
end{bmatrix}right} $$
I need to find such a matrix
$A=begin{bmatrix}
a & b & c \
d & e & f \
g & h & i \
end{bmatrix}$ that transforms vectors from $B$ into vectors from $C$, so for example:
$$begin{bmatrix}
a & b & c \
d & e & f \
g & h & i \
end{bmatrix} begin{bmatrix}
1 \
2 \
3 \
end{bmatrix}=begin{bmatrix}
4 \
5 \
6 \
end{bmatrix}text{ etc...}$$
I want to understand the general idea of solving such tasks, so please don't give away the answer!
linear-algebra matrices linear-transformations matrix-equations change-of-basis
$endgroup$
closed as off-topic by amWhy, Math_QED, Rebellos, Cesareo, KReiser Dec 15 '18 at 3:38
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – amWhy, Math_QED, Rebellos, Cesareo, KReiser
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
$begingroup$
$$B=left{begin{bmatrix}
1 \
2 \
3
end{bmatrix},
begin{bmatrix}
3 \
2 \
1
end{bmatrix},
begin{bmatrix}
1 \
1 \
0
end{bmatrix}right}
quad C=left{begin{bmatrix}
4 \
5 \
6
end{bmatrix},
begin{bmatrix}
2 \
4 \
7
end{bmatrix},
begin{bmatrix}
6 \
7 \
8
end{bmatrix}right} $$
I need to find such a matrix
$A=begin{bmatrix}
a & b & c \
d & e & f \
g & h & i \
end{bmatrix}$ that transforms vectors from $B$ into vectors from $C$, so for example:
$$begin{bmatrix}
a & b & c \
d & e & f \
g & h & i \
end{bmatrix} begin{bmatrix}
1 \
2 \
3 \
end{bmatrix}=begin{bmatrix}
4 \
5 \
6 \
end{bmatrix}text{ etc...}$$
I want to understand the general idea of solving such tasks, so please don't give away the answer!
linear-algebra matrices linear-transformations matrix-equations change-of-basis
$endgroup$
closed as off-topic by amWhy, Math_QED, Rebellos, Cesareo, KReiser Dec 15 '18 at 3:38
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – amWhy, Math_QED, Rebellos, Cesareo, KReiser
If this question can be reworded to fit the rules in the help center, please edit the question.
1
$begingroup$
You will have a system of nine equations in nine variables.
$endgroup$
– amWhy
Dec 14 '18 at 19:59
1
$begingroup$
The idea is to write one basis as a linear combination of the other one. Do you want to do a bit on reading on it or should I tell you more right away?
$endgroup$
– Riquelme
Dec 14 '18 at 20:02
add a comment |
$begingroup$
$$B=left{begin{bmatrix}
1 \
2 \
3
end{bmatrix},
begin{bmatrix}
3 \
2 \
1
end{bmatrix},
begin{bmatrix}
1 \
1 \
0
end{bmatrix}right}
quad C=left{begin{bmatrix}
4 \
5 \
6
end{bmatrix},
begin{bmatrix}
2 \
4 \
7
end{bmatrix},
begin{bmatrix}
6 \
7 \
8
end{bmatrix}right} $$
I need to find such a matrix
$A=begin{bmatrix}
a & b & c \
d & e & f \
g & h & i \
end{bmatrix}$ that transforms vectors from $B$ into vectors from $C$, so for example:
$$begin{bmatrix}
a & b & c \
d & e & f \
g & h & i \
end{bmatrix} begin{bmatrix}
1 \
2 \
3 \
end{bmatrix}=begin{bmatrix}
4 \
5 \
6 \
end{bmatrix}text{ etc...}$$
I want to understand the general idea of solving such tasks, so please don't give away the answer!
linear-algebra matrices linear-transformations matrix-equations change-of-basis
$endgroup$
$$B=left{begin{bmatrix}
1 \
2 \
3
end{bmatrix},
begin{bmatrix}
3 \
2 \
1
end{bmatrix},
begin{bmatrix}
1 \
1 \
0
end{bmatrix}right}
quad C=left{begin{bmatrix}
4 \
5 \
6
end{bmatrix},
begin{bmatrix}
2 \
4 \
7
end{bmatrix},
begin{bmatrix}
6 \
7 \
8
end{bmatrix}right} $$
I need to find such a matrix
$A=begin{bmatrix}
a & b & c \
d & e & f \
g & h & i \
end{bmatrix}$ that transforms vectors from $B$ into vectors from $C$, so for example:
$$begin{bmatrix}
a & b & c \
d & e & f \
g & h & i \
end{bmatrix} begin{bmatrix}
1 \
2 \
3 \
end{bmatrix}=begin{bmatrix}
4 \
5 \
6 \
end{bmatrix}text{ etc...}$$
I want to understand the general idea of solving such tasks, so please don't give away the answer!
linear-algebra matrices linear-transformations matrix-equations change-of-basis
linear-algebra matrices linear-transformations matrix-equations change-of-basis
edited Dec 14 '18 at 21:55
Batominovski
33k33293
33k33293
asked Dec 14 '18 at 19:51
agromekagromek
315
315
closed as off-topic by amWhy, Math_QED, Rebellos, Cesareo, KReiser Dec 15 '18 at 3:38
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – amWhy, Math_QED, Rebellos, Cesareo, KReiser
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by amWhy, Math_QED, Rebellos, Cesareo, KReiser Dec 15 '18 at 3:38
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – amWhy, Math_QED, Rebellos, Cesareo, KReiser
If this question can be reworded to fit the rules in the help center, please edit the question.
1
$begingroup$
You will have a system of nine equations in nine variables.
$endgroup$
– amWhy
Dec 14 '18 at 19:59
1
$begingroup$
The idea is to write one basis as a linear combination of the other one. Do you want to do a bit on reading on it or should I tell you more right away?
$endgroup$
– Riquelme
Dec 14 '18 at 20:02
add a comment |
1
$begingroup$
You will have a system of nine equations in nine variables.
$endgroup$
– amWhy
Dec 14 '18 at 19:59
1
$begingroup$
The idea is to write one basis as a linear combination of the other one. Do you want to do a bit on reading on it or should I tell you more right away?
$endgroup$
– Riquelme
Dec 14 '18 at 20:02
1
1
$begingroup$
You will have a system of nine equations in nine variables.
$endgroup$
– amWhy
Dec 14 '18 at 19:59
$begingroup$
You will have a system of nine equations in nine variables.
$endgroup$
– amWhy
Dec 14 '18 at 19:59
1
1
$begingroup$
The idea is to write one basis as a linear combination of the other one. Do you want to do a bit on reading on it or should I tell you more right away?
$endgroup$
– Riquelme
Dec 14 '18 at 20:02
$begingroup$
The idea is to write one basis as a linear combination of the other one. Do you want to do a bit on reading on it or should I tell you more right away?
$endgroup$
– Riquelme
Dec 14 '18 at 20:02
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Consider the following so called commutative diagram:
$$require{AMScd}begin{CD}
mathbb R^3 @>A>> mathbb R^3\
@A(b_1 b_2 b_3)AA @AA(c_1 c_2 c_3)A \
B @>>I> C end{CD}$$
If you have a vector with respect to basis $B$, such as (1,0,0), this vector is actually $mathbf b_1$, the first vector in the basis of $B$. More generally, (x,y,z) with respect to $B$ is $xmathbf b_1+ymathbf b_2+zmathbf b_3$. It means that we can convert a vector with respect to $B$ to the standard basis of $mathbb R^3$ by simply putting the basis vectors of $B$ as columns in a matrix.
In your case, you're interested in the conversion from $B$ to $C$, which is effectively the identity matrix $I$. That is, for instance (1,0,0) with respect to $B$, which is $mathbf b_1$, must be mapped to (1,0,0) with respect to $C$, which is $mathbf c_1$.
To find the corresponding matrix $A$ with respect to the standard basis, we need to follow the arrows, and in reverse where necessary:
$$A = begin{pmatrix}mathbf c_1&mathbf c_2&mathbf c_3end{pmatrix}
cdot I cdotbegin{pmatrix}mathbf b_1&mathbf b_2&mathbf b_3end{pmatrix}^{-1}
$$
Reading from right to left, we start with a vector in the standard basis, convert it to $B$ by the corresponding inverse, multiply by $I$, and convert from $C$ to the standard basis.
$endgroup$
1
$begingroup$
thank you, the diagram helped a lot!
$endgroup$
– agromek
Dec 14 '18 at 20:21
add a comment |
$begingroup$
Here's a good way to start:
let
$$
E = Bigg{begin{bmatrix}
1 \
0 \
0
end{bmatrix},
begin{bmatrix}
0 \
1 \
0
end{bmatrix},
begin{bmatrix}
0 \
0 \
1
end{bmatrix}Bigg}
$$
and ask "Can I find a transformation taking the $E$ vectors to the $B$ vectors?" The answer is "sure, just put the $B$ vectors into the columns of a 3x3 matrix."
You should do this and convince yourself that this matrix, which I'll call $M_{Eto B}$does in fact take the $E$ vectors to the corresponding $B$ vectors.
Now...what matrix would do the opposite, would take the $B$ vectors to the $E$ vectors?
It's $M_{Eto B}^{-1}$, of course! So we now know that
$$
M_{B to E} = M_{E to B}^{-1}.
$$
Now you can do the same thing and find a matrix that takes the $E$ vectors to the $C$ vectors, right?
Now what happens if you multiply the $E$ vectors by the matrix
$$
Q = M_{Eto B}M_{C to E}?
$$
If you take it one step at a time, you'll see that $c_1$ gets send to $e_1$, which then (by the first matrix) gets sent to $b_1$.
Try this out on a $2 times 2$ example to convince yourself it works --- it's a lot easier to invert a $2 times 2$ matrix!
$endgroup$
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Consider the following so called commutative diagram:
$$require{AMScd}begin{CD}
mathbb R^3 @>A>> mathbb R^3\
@A(b_1 b_2 b_3)AA @AA(c_1 c_2 c_3)A \
B @>>I> C end{CD}$$
If you have a vector with respect to basis $B$, such as (1,0,0), this vector is actually $mathbf b_1$, the first vector in the basis of $B$. More generally, (x,y,z) with respect to $B$ is $xmathbf b_1+ymathbf b_2+zmathbf b_3$. It means that we can convert a vector with respect to $B$ to the standard basis of $mathbb R^3$ by simply putting the basis vectors of $B$ as columns in a matrix.
In your case, you're interested in the conversion from $B$ to $C$, which is effectively the identity matrix $I$. That is, for instance (1,0,0) with respect to $B$, which is $mathbf b_1$, must be mapped to (1,0,0) with respect to $C$, which is $mathbf c_1$.
To find the corresponding matrix $A$ with respect to the standard basis, we need to follow the arrows, and in reverse where necessary:
$$A = begin{pmatrix}mathbf c_1&mathbf c_2&mathbf c_3end{pmatrix}
cdot I cdotbegin{pmatrix}mathbf b_1&mathbf b_2&mathbf b_3end{pmatrix}^{-1}
$$
Reading from right to left, we start with a vector in the standard basis, convert it to $B$ by the corresponding inverse, multiply by $I$, and convert from $C$ to the standard basis.
$endgroup$
1
$begingroup$
thank you, the diagram helped a lot!
$endgroup$
– agromek
Dec 14 '18 at 20:21
add a comment |
$begingroup$
Consider the following so called commutative diagram:
$$require{AMScd}begin{CD}
mathbb R^3 @>A>> mathbb R^3\
@A(b_1 b_2 b_3)AA @AA(c_1 c_2 c_3)A \
B @>>I> C end{CD}$$
If you have a vector with respect to basis $B$, such as (1,0,0), this vector is actually $mathbf b_1$, the first vector in the basis of $B$. More generally, (x,y,z) with respect to $B$ is $xmathbf b_1+ymathbf b_2+zmathbf b_3$. It means that we can convert a vector with respect to $B$ to the standard basis of $mathbb R^3$ by simply putting the basis vectors of $B$ as columns in a matrix.
In your case, you're interested in the conversion from $B$ to $C$, which is effectively the identity matrix $I$. That is, for instance (1,0,0) with respect to $B$, which is $mathbf b_1$, must be mapped to (1,0,0) with respect to $C$, which is $mathbf c_1$.
To find the corresponding matrix $A$ with respect to the standard basis, we need to follow the arrows, and in reverse where necessary:
$$A = begin{pmatrix}mathbf c_1&mathbf c_2&mathbf c_3end{pmatrix}
cdot I cdotbegin{pmatrix}mathbf b_1&mathbf b_2&mathbf b_3end{pmatrix}^{-1}
$$
Reading from right to left, we start with a vector in the standard basis, convert it to $B$ by the corresponding inverse, multiply by $I$, and convert from $C$ to the standard basis.
$endgroup$
1
$begingroup$
thank you, the diagram helped a lot!
$endgroup$
– agromek
Dec 14 '18 at 20:21
add a comment |
$begingroup$
Consider the following so called commutative diagram:
$$require{AMScd}begin{CD}
mathbb R^3 @>A>> mathbb R^3\
@A(b_1 b_2 b_3)AA @AA(c_1 c_2 c_3)A \
B @>>I> C end{CD}$$
If you have a vector with respect to basis $B$, such as (1,0,0), this vector is actually $mathbf b_1$, the first vector in the basis of $B$. More generally, (x,y,z) with respect to $B$ is $xmathbf b_1+ymathbf b_2+zmathbf b_3$. It means that we can convert a vector with respect to $B$ to the standard basis of $mathbb R^3$ by simply putting the basis vectors of $B$ as columns in a matrix.
In your case, you're interested in the conversion from $B$ to $C$, which is effectively the identity matrix $I$. That is, for instance (1,0,0) with respect to $B$, which is $mathbf b_1$, must be mapped to (1,0,0) with respect to $C$, which is $mathbf c_1$.
To find the corresponding matrix $A$ with respect to the standard basis, we need to follow the arrows, and in reverse where necessary:
$$A = begin{pmatrix}mathbf c_1&mathbf c_2&mathbf c_3end{pmatrix}
cdot I cdotbegin{pmatrix}mathbf b_1&mathbf b_2&mathbf b_3end{pmatrix}^{-1}
$$
Reading from right to left, we start with a vector in the standard basis, convert it to $B$ by the corresponding inverse, multiply by $I$, and convert from $C$ to the standard basis.
$endgroup$
Consider the following so called commutative diagram:
$$require{AMScd}begin{CD}
mathbb R^3 @>A>> mathbb R^3\
@A(b_1 b_2 b_3)AA @AA(c_1 c_2 c_3)A \
B @>>I> C end{CD}$$
If you have a vector with respect to basis $B$, such as (1,0,0), this vector is actually $mathbf b_1$, the first vector in the basis of $B$. More generally, (x,y,z) with respect to $B$ is $xmathbf b_1+ymathbf b_2+zmathbf b_3$. It means that we can convert a vector with respect to $B$ to the standard basis of $mathbb R^3$ by simply putting the basis vectors of $B$ as columns in a matrix.
In your case, you're interested in the conversion from $B$ to $C$, which is effectively the identity matrix $I$. That is, for instance (1,0,0) with respect to $B$, which is $mathbf b_1$, must be mapped to (1,0,0) with respect to $C$, which is $mathbf c_1$.
To find the corresponding matrix $A$ with respect to the standard basis, we need to follow the arrows, and in reverse where necessary:
$$A = begin{pmatrix}mathbf c_1&mathbf c_2&mathbf c_3end{pmatrix}
cdot I cdotbegin{pmatrix}mathbf b_1&mathbf b_2&mathbf b_3end{pmatrix}^{-1}
$$
Reading from right to left, we start with a vector in the standard basis, convert it to $B$ by the corresponding inverse, multiply by $I$, and convert from $C$ to the standard basis.
answered Dec 14 '18 at 20:13
I like SerenaI like Serena
4,2071722
4,2071722
1
$begingroup$
thank you, the diagram helped a lot!
$endgroup$
– agromek
Dec 14 '18 at 20:21
add a comment |
1
$begingroup$
thank you, the diagram helped a lot!
$endgroup$
– agromek
Dec 14 '18 at 20:21
1
1
$begingroup$
thank you, the diagram helped a lot!
$endgroup$
– agromek
Dec 14 '18 at 20:21
$begingroup$
thank you, the diagram helped a lot!
$endgroup$
– agromek
Dec 14 '18 at 20:21
add a comment |
$begingroup$
Here's a good way to start:
let
$$
E = Bigg{begin{bmatrix}
1 \
0 \
0
end{bmatrix},
begin{bmatrix}
0 \
1 \
0
end{bmatrix},
begin{bmatrix}
0 \
0 \
1
end{bmatrix}Bigg}
$$
and ask "Can I find a transformation taking the $E$ vectors to the $B$ vectors?" The answer is "sure, just put the $B$ vectors into the columns of a 3x3 matrix."
You should do this and convince yourself that this matrix, which I'll call $M_{Eto B}$does in fact take the $E$ vectors to the corresponding $B$ vectors.
Now...what matrix would do the opposite, would take the $B$ vectors to the $E$ vectors?
It's $M_{Eto B}^{-1}$, of course! So we now know that
$$
M_{B to E} = M_{E to B}^{-1}.
$$
Now you can do the same thing and find a matrix that takes the $E$ vectors to the $C$ vectors, right?
Now what happens if you multiply the $E$ vectors by the matrix
$$
Q = M_{Eto B}M_{C to E}?
$$
If you take it one step at a time, you'll see that $c_1$ gets send to $e_1$, which then (by the first matrix) gets sent to $b_1$.
Try this out on a $2 times 2$ example to convince yourself it works --- it's a lot easier to invert a $2 times 2$ matrix!
$endgroup$
add a comment |
$begingroup$
Here's a good way to start:
let
$$
E = Bigg{begin{bmatrix}
1 \
0 \
0
end{bmatrix},
begin{bmatrix}
0 \
1 \
0
end{bmatrix},
begin{bmatrix}
0 \
0 \
1
end{bmatrix}Bigg}
$$
and ask "Can I find a transformation taking the $E$ vectors to the $B$ vectors?" The answer is "sure, just put the $B$ vectors into the columns of a 3x3 matrix."
You should do this and convince yourself that this matrix, which I'll call $M_{Eto B}$does in fact take the $E$ vectors to the corresponding $B$ vectors.
Now...what matrix would do the opposite, would take the $B$ vectors to the $E$ vectors?
It's $M_{Eto B}^{-1}$, of course! So we now know that
$$
M_{B to E} = M_{E to B}^{-1}.
$$
Now you can do the same thing and find a matrix that takes the $E$ vectors to the $C$ vectors, right?
Now what happens if you multiply the $E$ vectors by the matrix
$$
Q = M_{Eto B}M_{C to E}?
$$
If you take it one step at a time, you'll see that $c_1$ gets send to $e_1$, which then (by the first matrix) gets sent to $b_1$.
Try this out on a $2 times 2$ example to convince yourself it works --- it's a lot easier to invert a $2 times 2$ matrix!
$endgroup$
add a comment |
$begingroup$
Here's a good way to start:
let
$$
E = Bigg{begin{bmatrix}
1 \
0 \
0
end{bmatrix},
begin{bmatrix}
0 \
1 \
0
end{bmatrix},
begin{bmatrix}
0 \
0 \
1
end{bmatrix}Bigg}
$$
and ask "Can I find a transformation taking the $E$ vectors to the $B$ vectors?" The answer is "sure, just put the $B$ vectors into the columns of a 3x3 matrix."
You should do this and convince yourself that this matrix, which I'll call $M_{Eto B}$does in fact take the $E$ vectors to the corresponding $B$ vectors.
Now...what matrix would do the opposite, would take the $B$ vectors to the $E$ vectors?
It's $M_{Eto B}^{-1}$, of course! So we now know that
$$
M_{B to E} = M_{E to B}^{-1}.
$$
Now you can do the same thing and find a matrix that takes the $E$ vectors to the $C$ vectors, right?
Now what happens if you multiply the $E$ vectors by the matrix
$$
Q = M_{Eto B}M_{C to E}?
$$
If you take it one step at a time, you'll see that $c_1$ gets send to $e_1$, which then (by the first matrix) gets sent to $b_1$.
Try this out on a $2 times 2$ example to convince yourself it works --- it's a lot easier to invert a $2 times 2$ matrix!
$endgroup$
Here's a good way to start:
let
$$
E = Bigg{begin{bmatrix}
1 \
0 \
0
end{bmatrix},
begin{bmatrix}
0 \
1 \
0
end{bmatrix},
begin{bmatrix}
0 \
0 \
1
end{bmatrix}Bigg}
$$
and ask "Can I find a transformation taking the $E$ vectors to the $B$ vectors?" The answer is "sure, just put the $B$ vectors into the columns of a 3x3 matrix."
You should do this and convince yourself that this matrix, which I'll call $M_{Eto B}$does in fact take the $E$ vectors to the corresponding $B$ vectors.
Now...what matrix would do the opposite, would take the $B$ vectors to the $E$ vectors?
It's $M_{Eto B}^{-1}$, of course! So we now know that
$$
M_{B to E} = M_{E to B}^{-1}.
$$
Now you can do the same thing and find a matrix that takes the $E$ vectors to the $C$ vectors, right?
Now what happens if you multiply the $E$ vectors by the matrix
$$
Q = M_{Eto B}M_{C to E}?
$$
If you take it one step at a time, you'll see that $c_1$ gets send to $e_1$, which then (by the first matrix) gets sent to $b_1$.
Try this out on a $2 times 2$ example to convince yourself it works --- it's a lot easier to invert a $2 times 2$ matrix!
answered Dec 14 '18 at 20:00
John HughesJohn Hughes
64k24191
64k24191
add a comment |
add a comment |
1
$begingroup$
You will have a system of nine equations in nine variables.
$endgroup$
– amWhy
Dec 14 '18 at 19:59
1
$begingroup$
The idea is to write one basis as a linear combination of the other one. Do you want to do a bit on reading on it or should I tell you more right away?
$endgroup$
– Riquelme
Dec 14 '18 at 20:02