How to interpret the change of basis matrix
$begingroup$
Given a vector v and a basis A, where its coordinates are (x,y), in order to find v's coordinates in a new basis A' (i.e. x' and y') which is a rotation of A by angle θ, it is sometimes said that you must proceed as follows:
a) find the coordinates in the original basis A of the unit vectors of the new basis (say e’x and e’y), which happen to be (cosθ, sinθ) and (-sin θ, cos θ), respectively;
b) then x' in the new basis A' = dot product between v (coordinates in A = x and y) and e’x (also as per coordinates in A = xcosθ +ysenθ);
c) whereas y' = dot product between again v in A and e’y in A = x(-sinθ) +ycosθ.
In matrix notation, the coordinates in the original basis A of the unit vectors of the new basis form the following matrix:
$$left( {begin{array}{*{20}{c}}{cos theta }&{ - sin theta }\{sin theta }&{cos theta }end{array}} right)
% MathType!MTEF!2!1!+-
% feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr
% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9
% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x
% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbiqaaG8bdaqada
% aeeG+aaaaaaivzKbWdbeaafaqabeGacaaabaGaci4yaiaac+gacaGG
% ZbGaeqiUdehabaGaeyOeI0Iaci4CaiaacMgacaGGUbGaeqiUdehaba
% Gaci4CaiaacMgacaGGUbGaeqiUdehabaGaci4yaiaac+gacaGGZbGa
% eqiUdehaaaWdaiaawIcacaGLPaaaaaa!4DB5!
$$
But actually that is not the transformation matrix from A to A’, but from A’ to A. To do the conversion that we were interested in (from A to A’), we need the inverse matrix, which is as follows:
$$left( begin{array}{l}x'\y'end{array} right) = left( {begin{array}{*{20}{c}}{cos theta }&{sin theta }\{ - sin theta }&{cos theta }end{array}} right)left( begin{array}{l}x\yend{array} right)
% MathType!MTEF!2!1!+-
% feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr
% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9
% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x
% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbiqaaG8bdaqada
% abaeqaqqaaaaaaOpGqSvxza8qabaGaamiEaiaacEcaaeaacaWG5bGa
% ai4jaaaapaGaayjkaiaawMcaaiabg2da9maabmaapeqaauaabeqaci
% aaaaba1haaauFapiqaaiGacogacaGGVbGaai4CaiabeI7aXbqaaiGa
% cohacaGGPbGaaiOBaiabeI7aXbWdbeaacqGHsislciGGZbGaaiyAai
% aac6gacqaH4oqCaeaaciGGJbGaai4BaiaacohacqaH4oqCaaaapaGa
% ayjkaiaawMcaamaabmaaeaqababbOpaaaaaasvgza8WabaGaamiEaa
% qaaiaadMhaaaWdaiaawIcacaGLPaaaaaa!5C0B!
$$
How to interpret this latter matrix? My impression is that first row is the X’ values (in A’) of the unit vectors ex and ey of A and second row is the Y' values of those same vectors. This picture tries to express the idea:
Change of basis
If this were true, I would like this approach more, because it is more pedagogical: it is like saying that this matrix represents how basis A’ (its unit vectors) “sees” A basis (its unit vectors) and so it provides the correcting lens to read A values into A' terms, with the peculiarity that there is a different lens to see in each (let us call it like this, although this may not be the technical term) “dimension”, one for X’ and one for Y’, and each lens is the addition of what you see with two sub-lenses, so there is one X’ lens (cosθ) to read the X’ value of x and another X’ lens (sinθ) to read the X’ value of y; similarly, there is one Y’ sub-lens to read the Y’ value of x (-sinθ) and another Y’ lens (cosθ) to read the Y’ value of y.
I wonder: first, if I misunderstood anything and second, whether this can be generalized or things just fit in by chance in this particular example.
matrices rotations change-of-basis
$endgroup$
add a comment |
$begingroup$
Given a vector v and a basis A, where its coordinates are (x,y), in order to find v's coordinates in a new basis A' (i.e. x' and y') which is a rotation of A by angle θ, it is sometimes said that you must proceed as follows:
a) find the coordinates in the original basis A of the unit vectors of the new basis (say e’x and e’y), which happen to be (cosθ, sinθ) and (-sin θ, cos θ), respectively;
b) then x' in the new basis A' = dot product between v (coordinates in A = x and y) and e’x (also as per coordinates in A = xcosθ +ysenθ);
c) whereas y' = dot product between again v in A and e’y in A = x(-sinθ) +ycosθ.
In matrix notation, the coordinates in the original basis A of the unit vectors of the new basis form the following matrix:
$$left( {begin{array}{*{20}{c}}{cos theta }&{ - sin theta }\{sin theta }&{cos theta }end{array}} right)
% MathType!MTEF!2!1!+-
% feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr
% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9
% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x
% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbiqaaG8bdaqada
% aeeG+aaaaaaivzKbWdbeaafaqabeGacaaabaGaci4yaiaac+gacaGG
% ZbGaeqiUdehabaGaeyOeI0Iaci4CaiaacMgacaGGUbGaeqiUdehaba
% Gaci4CaiaacMgacaGGUbGaeqiUdehabaGaci4yaiaac+gacaGGZbGa
% eqiUdehaaaWdaiaawIcacaGLPaaaaaa!4DB5!
$$
But actually that is not the transformation matrix from A to A’, but from A’ to A. To do the conversion that we were interested in (from A to A’), we need the inverse matrix, which is as follows:
$$left( begin{array}{l}x'\y'end{array} right) = left( {begin{array}{*{20}{c}}{cos theta }&{sin theta }\{ - sin theta }&{cos theta }end{array}} right)left( begin{array}{l}x\yend{array} right)
% MathType!MTEF!2!1!+-
% feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr
% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9
% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x
% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbiqaaG8bdaqada
% abaeqaqqaaaaaaOpGqSvxza8qabaGaamiEaiaacEcaaeaacaWG5bGa
% ai4jaaaapaGaayjkaiaawMcaaiabg2da9maabmaapeqaauaabeqaci
% aaaaba1haaauFapiqaaiGacogacaGGVbGaai4CaiabeI7aXbqaaiGa
% cohacaGGPbGaaiOBaiabeI7aXbWdbeaacqGHsislciGGZbGaaiyAai
% aac6gacqaH4oqCaeaaciGGJbGaai4BaiaacohacqaH4oqCaaaapaGa
% ayjkaiaawMcaamaabmaaeaqababbOpaaaaaasvgza8WabaGaamiEaa
% qaaiaadMhaaaWdaiaawIcacaGLPaaaaaa!5C0B!
$$
How to interpret this latter matrix? My impression is that first row is the X’ values (in A’) of the unit vectors ex and ey of A and second row is the Y' values of those same vectors. This picture tries to express the idea:
Change of basis
If this were true, I would like this approach more, because it is more pedagogical: it is like saying that this matrix represents how basis A’ (its unit vectors) “sees” A basis (its unit vectors) and so it provides the correcting lens to read A values into A' terms, with the peculiarity that there is a different lens to see in each (let us call it like this, although this may not be the technical term) “dimension”, one for X’ and one for Y’, and each lens is the addition of what you see with two sub-lenses, so there is one X’ lens (cosθ) to read the X’ value of x and another X’ lens (sinθ) to read the X’ value of y; similarly, there is one Y’ sub-lens to read the Y’ value of x (-sinθ) and another Y’ lens (cosθ) to read the Y’ value of y.
I wonder: first, if I misunderstood anything and second, whether this can be generalized or things just fit in by chance in this particular example.
matrices rotations change-of-basis
$endgroup$
$begingroup$
You might find the following question helpful: math.stackexchange.com/q/1985966/265466, math.stackexchange.com/q/1898029/265466, math.stackexchange.com/q/1844714/265466. See also en.wikipedia.org/wiki/Active_and_passive_transformation.
$endgroup$
– amd
Sep 19 '18 at 21:16
$begingroup$
@amd Thanks for the links, which were clarifying. I was only concerned with passive transformations and I think the links confirm my understanding as expressed in the question. In the end, it is two ways to reach the same conclusion: you either measure from A' (and then you directly get the rotation matrix) or you measure from A (and then what you get must be manipulated to obtain the inverse matrix). Doing one thing or the other will depend, I guess, on practical constraints: where it is easier to measure..., although as didactic approach I would primarily use the first one.
$endgroup$
– Sierra
Sep 30 '18 at 20:20
add a comment |
$begingroup$
Given a vector v and a basis A, where its coordinates are (x,y), in order to find v's coordinates in a new basis A' (i.e. x' and y') which is a rotation of A by angle θ, it is sometimes said that you must proceed as follows:
a) find the coordinates in the original basis A of the unit vectors of the new basis (say e’x and e’y), which happen to be (cosθ, sinθ) and (-sin θ, cos θ), respectively;
b) then x' in the new basis A' = dot product between v (coordinates in A = x and y) and e’x (also as per coordinates in A = xcosθ +ysenθ);
c) whereas y' = dot product between again v in A and e’y in A = x(-sinθ) +ycosθ.
In matrix notation, the coordinates in the original basis A of the unit vectors of the new basis form the following matrix:
$$left( {begin{array}{*{20}{c}}{cos theta }&{ - sin theta }\{sin theta }&{cos theta }end{array}} right)
% MathType!MTEF!2!1!+-
% feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr
% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9
% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x
% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbiqaaG8bdaqada
% aeeG+aaaaaaivzKbWdbeaafaqabeGacaaabaGaci4yaiaac+gacaGG
% ZbGaeqiUdehabaGaeyOeI0Iaci4CaiaacMgacaGGUbGaeqiUdehaba
% Gaci4CaiaacMgacaGGUbGaeqiUdehabaGaci4yaiaac+gacaGGZbGa
% eqiUdehaaaWdaiaawIcacaGLPaaaaaa!4DB5!
$$
But actually that is not the transformation matrix from A to A’, but from A’ to A. To do the conversion that we were interested in (from A to A’), we need the inverse matrix, which is as follows:
$$left( begin{array}{l}x'\y'end{array} right) = left( {begin{array}{*{20}{c}}{cos theta }&{sin theta }\{ - sin theta }&{cos theta }end{array}} right)left( begin{array}{l}x\yend{array} right)
% MathType!MTEF!2!1!+-
% feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr
% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9
% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x
% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbiqaaG8bdaqada
% abaeqaqqaaaaaaOpGqSvxza8qabaGaamiEaiaacEcaaeaacaWG5bGa
% ai4jaaaapaGaayjkaiaawMcaaiabg2da9maabmaapeqaauaabeqaci
% aaaaba1haaauFapiqaaiGacogacaGGVbGaai4CaiabeI7aXbqaaiGa
% cohacaGGPbGaaiOBaiabeI7aXbWdbeaacqGHsislciGGZbGaaiyAai
% aac6gacqaH4oqCaeaaciGGJbGaai4BaiaacohacqaH4oqCaaaapaGa
% ayjkaiaawMcaamaabmaaeaqababbOpaaaaaasvgza8WabaGaamiEaa
% qaaiaadMhaaaWdaiaawIcacaGLPaaaaaa!5C0B!
$$
How to interpret this latter matrix? My impression is that first row is the X’ values (in A’) of the unit vectors ex and ey of A and second row is the Y' values of those same vectors. This picture tries to express the idea:
Change of basis
If this were true, I would like this approach more, because it is more pedagogical: it is like saying that this matrix represents how basis A’ (its unit vectors) “sees” A basis (its unit vectors) and so it provides the correcting lens to read A values into A' terms, with the peculiarity that there is a different lens to see in each (let us call it like this, although this may not be the technical term) “dimension”, one for X’ and one for Y’, and each lens is the addition of what you see with two sub-lenses, so there is one X’ lens (cosθ) to read the X’ value of x and another X’ lens (sinθ) to read the X’ value of y; similarly, there is one Y’ sub-lens to read the Y’ value of x (-sinθ) and another Y’ lens (cosθ) to read the Y’ value of y.
I wonder: first, if I misunderstood anything and second, whether this can be generalized or things just fit in by chance in this particular example.
matrices rotations change-of-basis
$endgroup$
Given a vector v and a basis A, where its coordinates are (x,y), in order to find v's coordinates in a new basis A' (i.e. x' and y') which is a rotation of A by angle θ, it is sometimes said that you must proceed as follows:
a) find the coordinates in the original basis A of the unit vectors of the new basis (say e’x and e’y), which happen to be (cosθ, sinθ) and (-sin θ, cos θ), respectively;
b) then x' in the new basis A' = dot product between v (coordinates in A = x and y) and e’x (also as per coordinates in A = xcosθ +ysenθ);
c) whereas y' = dot product between again v in A and e’y in A = x(-sinθ) +ycosθ.
In matrix notation, the coordinates in the original basis A of the unit vectors of the new basis form the following matrix:
$$left( {begin{array}{*{20}{c}}{cos theta }&{ - sin theta }\{sin theta }&{cos theta }end{array}} right)
% MathType!MTEF!2!1!+-
% feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr
% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9
% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x
% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbiqaaG8bdaqada
% aeeG+aaaaaaivzKbWdbeaafaqabeGacaaabaGaci4yaiaac+gacaGG
% ZbGaeqiUdehabaGaeyOeI0Iaci4CaiaacMgacaGGUbGaeqiUdehaba
% Gaci4CaiaacMgacaGGUbGaeqiUdehabaGaci4yaiaac+gacaGGZbGa
% eqiUdehaaaWdaiaawIcacaGLPaaaaaa!4DB5!
$$
But actually that is not the transformation matrix from A to A’, but from A’ to A. To do the conversion that we were interested in (from A to A’), we need the inverse matrix, which is as follows:
$$left( begin{array}{l}x'\y'end{array} right) = left( {begin{array}{*{20}{c}}{cos theta }&{sin theta }\{ - sin theta }&{cos theta }end{array}} right)left( begin{array}{l}x\yend{array} right)
% MathType!MTEF!2!1!+-
% feaagKart1ev2aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbuLwBLn
% hiov2DGi1BTfMBaeXatLxBI9gBaerbd9wDYLwzYbItLDharqqtubsr
% 4rNCHbGeaGqiVu0Je9sqqrpepC0xbbL8F4rqqrFfpeea0xe9Lq-Jc9
% vqaqpepm0xbba9pwe9Q8fs0-yqaqpepae9pg0FirpepeKkFr0xfr-x
% fr-xb9adbaqaaeGaciGaaiaabeqaamaabaabaaGcbiqaaG8bdaqada
% abaeqaqqaaaaaaOpGqSvxza8qabaGaamiEaiaacEcaaeaacaWG5bGa
% ai4jaaaapaGaayjkaiaawMcaaiabg2da9maabmaapeqaauaabeqaci
% aaaaba1haaauFapiqaaiGacogacaGGVbGaai4CaiabeI7aXbqaaiGa
% cohacaGGPbGaaiOBaiabeI7aXbWdbeaacqGHsislciGGZbGaaiyAai
% aac6gacqaH4oqCaeaaciGGJbGaai4BaiaacohacqaH4oqCaaaapaGa
% ayjkaiaawMcaamaabmaaeaqababbOpaaaaaasvgza8WabaGaamiEaa
% qaaiaadMhaaaWdaiaawIcacaGLPaaaaaa!5C0B!
$$
How to interpret this latter matrix? My impression is that first row is the X’ values (in A’) of the unit vectors ex and ey of A and second row is the Y' values of those same vectors. This picture tries to express the idea:
Change of basis
If this were true, I would like this approach more, because it is more pedagogical: it is like saying that this matrix represents how basis A’ (its unit vectors) “sees” A basis (its unit vectors) and so it provides the correcting lens to read A values into A' terms, with the peculiarity that there is a different lens to see in each (let us call it like this, although this may not be the technical term) “dimension”, one for X’ and one for Y’, and each lens is the addition of what you see with two sub-lenses, so there is one X’ lens (cosθ) to read the X’ value of x and another X’ lens (sinθ) to read the X’ value of y; similarly, there is one Y’ sub-lens to read the Y’ value of x (-sinθ) and another Y’ lens (cosθ) to read the Y’ value of y.
I wonder: first, if I misunderstood anything and second, whether this can be generalized or things just fit in by chance in this particular example.
matrices rotations change-of-basis
matrices rotations change-of-basis
edited Dec 31 '18 at 1:57
Sierra
asked Sep 17 '18 at 23:38
SierraSierra
315
315
$begingroup$
You might find the following question helpful: math.stackexchange.com/q/1985966/265466, math.stackexchange.com/q/1898029/265466, math.stackexchange.com/q/1844714/265466. See also en.wikipedia.org/wiki/Active_and_passive_transformation.
$endgroup$
– amd
Sep 19 '18 at 21:16
$begingroup$
@amd Thanks for the links, which were clarifying. I was only concerned with passive transformations and I think the links confirm my understanding as expressed in the question. In the end, it is two ways to reach the same conclusion: you either measure from A' (and then you directly get the rotation matrix) or you measure from A (and then what you get must be manipulated to obtain the inverse matrix). Doing one thing or the other will depend, I guess, on practical constraints: where it is easier to measure..., although as didactic approach I would primarily use the first one.
$endgroup$
– Sierra
Sep 30 '18 at 20:20
add a comment |
$begingroup$
You might find the following question helpful: math.stackexchange.com/q/1985966/265466, math.stackexchange.com/q/1898029/265466, math.stackexchange.com/q/1844714/265466. See also en.wikipedia.org/wiki/Active_and_passive_transformation.
$endgroup$
– amd
Sep 19 '18 at 21:16
$begingroup$
@amd Thanks for the links, which were clarifying. I was only concerned with passive transformations and I think the links confirm my understanding as expressed in the question. In the end, it is two ways to reach the same conclusion: you either measure from A' (and then you directly get the rotation matrix) or you measure from A (and then what you get must be manipulated to obtain the inverse matrix). Doing one thing or the other will depend, I guess, on practical constraints: where it is easier to measure..., although as didactic approach I would primarily use the first one.
$endgroup$
– Sierra
Sep 30 '18 at 20:20
$begingroup$
You might find the following question helpful: math.stackexchange.com/q/1985966/265466, math.stackexchange.com/q/1898029/265466, math.stackexchange.com/q/1844714/265466. See also en.wikipedia.org/wiki/Active_and_passive_transformation.
$endgroup$
– amd
Sep 19 '18 at 21:16
$begingroup$
You might find the following question helpful: math.stackexchange.com/q/1985966/265466, math.stackexchange.com/q/1898029/265466, math.stackexchange.com/q/1844714/265466. See also en.wikipedia.org/wiki/Active_and_passive_transformation.
$endgroup$
– amd
Sep 19 '18 at 21:16
$begingroup$
@amd Thanks for the links, which were clarifying. I was only concerned with passive transformations and I think the links confirm my understanding as expressed in the question. In the end, it is two ways to reach the same conclusion: you either measure from A' (and then you directly get the rotation matrix) or you measure from A (and then what you get must be manipulated to obtain the inverse matrix). Doing one thing or the other will depend, I guess, on practical constraints: where it is easier to measure..., although as didactic approach I would primarily use the first one.
$endgroup$
– Sierra
Sep 30 '18 at 20:20
$begingroup$
@amd Thanks for the links, which were clarifying. I was only concerned with passive transformations and I think the links confirm my understanding as expressed in the question. In the end, it is two ways to reach the same conclusion: you either measure from A' (and then you directly get the rotation matrix) or you measure from A (and then what you get must be manipulated to obtain the inverse matrix). Doing one thing or the other will depend, I guess, on practical constraints: where it is easier to measure..., although as didactic approach I would primarily use the first one.
$endgroup$
– Sierra
Sep 30 '18 at 20:20
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
The description you give in (a)-(c) of the process for computing the coordinates of $mathbf{v}$ in the new basis $A^prime$ is correct. To see why this process is implemented using the inverse of the rotation matrix instead of the rotation matrix itself, you just need to think about the definition of matrix multiplication. If the matrix $M$ has rows $mathbf{b}_1$ and $mathbf{b}_2$, then
$$Mbegin{pmatrix}x\yend{pmatrix}=begin{pmatrix}mathbf{v}_1cdot x\mathbf{v}_2cdot yend{pmatrix}.$$
Using your description (and the notation) in (a)-(c), this means that the matrix for changing $A$-coordinates to $A^prime$-coordinates must have rows $mathbf{e}_x^prime$ and $mathbf{e}_y^prime$. The rotation matrix itself has these vectors as its columns, whereas the inverse of the rotation matrix has these vectors as its rows. So you want the inverse of the rotation matrix.
The validity of your procedure depends crucially on the fact that the bases $A$ and $A^prime$ are orthogonal, i.e., that they consist of mutually orthogonal vectors (you are actually using orthonormal bases, i.e., bases consisting of mutually orthogonal unit vectors, but the fact that the vectors have norm $1$ is not so important). So while your procedure works for any two orthonormal bases (and with a minor modification, for any two orthogonal bases) of an $n$-dimensional inner product space, things will not be so simple in general. The key point is that for an orthonormal basis ${mathbf{v}_1,ldots,mathbf{v}_n}$ of an $n$-dimensional inner product space $V$, the coordinates of a vector $mathbf{v}$ with respect to the basis are given by the dot products $mathbf{v}_1cdotmathbf{v},ldots,mathbf{v}_ncdotmathbf{v}$. A general abstract vector space does not have an inner product, so the procedure cannot possibly generalize in a completely straightforward manner to this broader context. It is possible to write down formulas in the general setting, but they are of little practical value.
$endgroup$
$begingroup$
@ Keenan Kidwell Thanks indeed. Good to know this only works fully for orthonormal bases. Also, I am understanding better and better that if you measure from A (old basis) the new unit vectors and put them as columns in the matrix, you need to transpose (which here seems to means the same as invert) the matrix and thus re-arrange the vectors as rows.
$endgroup$
– Sierra
Dec 31 '18 at 13:28
$begingroup$
@ Keenan Kidwell But you did not comment on the other possible approach: you measure from A' (the new basis) the old unit vectors and then you can directly put them in the matrix as columns. I mean, in the OP I still had it all a little mixed up, but in my comment I had come to terms with the matter with this understanding: you can reach the rotation matrix through two routes: in the first one (measuring new vectors in old basis), you need a second step, i.e. inverting/transposing the matrix; in the second one (measuring old vectors in new basis), such intermediate step is unnecessary.
$endgroup$
– Sierra
Dec 31 '18 at 13:36
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2920869%2fhow-to-interpret-the-change-of-basis-matrix%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The description you give in (a)-(c) of the process for computing the coordinates of $mathbf{v}$ in the new basis $A^prime$ is correct. To see why this process is implemented using the inverse of the rotation matrix instead of the rotation matrix itself, you just need to think about the definition of matrix multiplication. If the matrix $M$ has rows $mathbf{b}_1$ and $mathbf{b}_2$, then
$$Mbegin{pmatrix}x\yend{pmatrix}=begin{pmatrix}mathbf{v}_1cdot x\mathbf{v}_2cdot yend{pmatrix}.$$
Using your description (and the notation) in (a)-(c), this means that the matrix for changing $A$-coordinates to $A^prime$-coordinates must have rows $mathbf{e}_x^prime$ and $mathbf{e}_y^prime$. The rotation matrix itself has these vectors as its columns, whereas the inverse of the rotation matrix has these vectors as its rows. So you want the inverse of the rotation matrix.
The validity of your procedure depends crucially on the fact that the bases $A$ and $A^prime$ are orthogonal, i.e., that they consist of mutually orthogonal vectors (you are actually using orthonormal bases, i.e., bases consisting of mutually orthogonal unit vectors, but the fact that the vectors have norm $1$ is not so important). So while your procedure works for any two orthonormal bases (and with a minor modification, for any two orthogonal bases) of an $n$-dimensional inner product space, things will not be so simple in general. The key point is that for an orthonormal basis ${mathbf{v}_1,ldots,mathbf{v}_n}$ of an $n$-dimensional inner product space $V$, the coordinates of a vector $mathbf{v}$ with respect to the basis are given by the dot products $mathbf{v}_1cdotmathbf{v},ldots,mathbf{v}_ncdotmathbf{v}$. A general abstract vector space does not have an inner product, so the procedure cannot possibly generalize in a completely straightforward manner to this broader context. It is possible to write down formulas in the general setting, but they are of little practical value.
$endgroup$
$begingroup$
@ Keenan Kidwell Thanks indeed. Good to know this only works fully for orthonormal bases. Also, I am understanding better and better that if you measure from A (old basis) the new unit vectors and put them as columns in the matrix, you need to transpose (which here seems to means the same as invert) the matrix and thus re-arrange the vectors as rows.
$endgroup$
– Sierra
Dec 31 '18 at 13:28
$begingroup$
@ Keenan Kidwell But you did not comment on the other possible approach: you measure from A' (the new basis) the old unit vectors and then you can directly put them in the matrix as columns. I mean, in the OP I still had it all a little mixed up, but in my comment I had come to terms with the matter with this understanding: you can reach the rotation matrix through two routes: in the first one (measuring new vectors in old basis), you need a second step, i.e. inverting/transposing the matrix; in the second one (measuring old vectors in new basis), such intermediate step is unnecessary.
$endgroup$
– Sierra
Dec 31 '18 at 13:36
add a comment |
$begingroup$
The description you give in (a)-(c) of the process for computing the coordinates of $mathbf{v}$ in the new basis $A^prime$ is correct. To see why this process is implemented using the inverse of the rotation matrix instead of the rotation matrix itself, you just need to think about the definition of matrix multiplication. If the matrix $M$ has rows $mathbf{b}_1$ and $mathbf{b}_2$, then
$$Mbegin{pmatrix}x\yend{pmatrix}=begin{pmatrix}mathbf{v}_1cdot x\mathbf{v}_2cdot yend{pmatrix}.$$
Using your description (and the notation) in (a)-(c), this means that the matrix for changing $A$-coordinates to $A^prime$-coordinates must have rows $mathbf{e}_x^prime$ and $mathbf{e}_y^prime$. The rotation matrix itself has these vectors as its columns, whereas the inverse of the rotation matrix has these vectors as its rows. So you want the inverse of the rotation matrix.
The validity of your procedure depends crucially on the fact that the bases $A$ and $A^prime$ are orthogonal, i.e., that they consist of mutually orthogonal vectors (you are actually using orthonormal bases, i.e., bases consisting of mutually orthogonal unit vectors, but the fact that the vectors have norm $1$ is not so important). So while your procedure works for any two orthonormal bases (and with a minor modification, for any two orthogonal bases) of an $n$-dimensional inner product space, things will not be so simple in general. The key point is that for an orthonormal basis ${mathbf{v}_1,ldots,mathbf{v}_n}$ of an $n$-dimensional inner product space $V$, the coordinates of a vector $mathbf{v}$ with respect to the basis are given by the dot products $mathbf{v}_1cdotmathbf{v},ldots,mathbf{v}_ncdotmathbf{v}$. A general abstract vector space does not have an inner product, so the procedure cannot possibly generalize in a completely straightforward manner to this broader context. It is possible to write down formulas in the general setting, but they are of little practical value.
$endgroup$
$begingroup$
@ Keenan Kidwell Thanks indeed. Good to know this only works fully for orthonormal bases. Also, I am understanding better and better that if you measure from A (old basis) the new unit vectors and put them as columns in the matrix, you need to transpose (which here seems to means the same as invert) the matrix and thus re-arrange the vectors as rows.
$endgroup$
– Sierra
Dec 31 '18 at 13:28
$begingroup$
@ Keenan Kidwell But you did not comment on the other possible approach: you measure from A' (the new basis) the old unit vectors and then you can directly put them in the matrix as columns. I mean, in the OP I still had it all a little mixed up, but in my comment I had come to terms with the matter with this understanding: you can reach the rotation matrix through two routes: in the first one (measuring new vectors in old basis), you need a second step, i.e. inverting/transposing the matrix; in the second one (measuring old vectors in new basis), such intermediate step is unnecessary.
$endgroup$
– Sierra
Dec 31 '18 at 13:36
add a comment |
$begingroup$
The description you give in (a)-(c) of the process for computing the coordinates of $mathbf{v}$ in the new basis $A^prime$ is correct. To see why this process is implemented using the inverse of the rotation matrix instead of the rotation matrix itself, you just need to think about the definition of matrix multiplication. If the matrix $M$ has rows $mathbf{b}_1$ and $mathbf{b}_2$, then
$$Mbegin{pmatrix}x\yend{pmatrix}=begin{pmatrix}mathbf{v}_1cdot x\mathbf{v}_2cdot yend{pmatrix}.$$
Using your description (and the notation) in (a)-(c), this means that the matrix for changing $A$-coordinates to $A^prime$-coordinates must have rows $mathbf{e}_x^prime$ and $mathbf{e}_y^prime$. The rotation matrix itself has these vectors as its columns, whereas the inverse of the rotation matrix has these vectors as its rows. So you want the inverse of the rotation matrix.
The validity of your procedure depends crucially on the fact that the bases $A$ and $A^prime$ are orthogonal, i.e., that they consist of mutually orthogonal vectors (you are actually using orthonormal bases, i.e., bases consisting of mutually orthogonal unit vectors, but the fact that the vectors have norm $1$ is not so important). So while your procedure works for any two orthonormal bases (and with a minor modification, for any two orthogonal bases) of an $n$-dimensional inner product space, things will not be so simple in general. The key point is that for an orthonormal basis ${mathbf{v}_1,ldots,mathbf{v}_n}$ of an $n$-dimensional inner product space $V$, the coordinates of a vector $mathbf{v}$ with respect to the basis are given by the dot products $mathbf{v}_1cdotmathbf{v},ldots,mathbf{v}_ncdotmathbf{v}$. A general abstract vector space does not have an inner product, so the procedure cannot possibly generalize in a completely straightforward manner to this broader context. It is possible to write down formulas in the general setting, but they are of little practical value.
$endgroup$
The description you give in (a)-(c) of the process for computing the coordinates of $mathbf{v}$ in the new basis $A^prime$ is correct. To see why this process is implemented using the inverse of the rotation matrix instead of the rotation matrix itself, you just need to think about the definition of matrix multiplication. If the matrix $M$ has rows $mathbf{b}_1$ and $mathbf{b}_2$, then
$$Mbegin{pmatrix}x\yend{pmatrix}=begin{pmatrix}mathbf{v}_1cdot x\mathbf{v}_2cdot yend{pmatrix}.$$
Using your description (and the notation) in (a)-(c), this means that the matrix for changing $A$-coordinates to $A^prime$-coordinates must have rows $mathbf{e}_x^prime$ and $mathbf{e}_y^prime$. The rotation matrix itself has these vectors as its columns, whereas the inverse of the rotation matrix has these vectors as its rows. So you want the inverse of the rotation matrix.
The validity of your procedure depends crucially on the fact that the bases $A$ and $A^prime$ are orthogonal, i.e., that they consist of mutually orthogonal vectors (you are actually using orthonormal bases, i.e., bases consisting of mutually orthogonal unit vectors, but the fact that the vectors have norm $1$ is not so important). So while your procedure works for any two orthonormal bases (and with a minor modification, for any two orthogonal bases) of an $n$-dimensional inner product space, things will not be so simple in general. The key point is that for an orthonormal basis ${mathbf{v}_1,ldots,mathbf{v}_n}$ of an $n$-dimensional inner product space $V$, the coordinates of a vector $mathbf{v}$ with respect to the basis are given by the dot products $mathbf{v}_1cdotmathbf{v},ldots,mathbf{v}_ncdotmathbf{v}$. A general abstract vector space does not have an inner product, so the procedure cannot possibly generalize in a completely straightforward manner to this broader context. It is possible to write down formulas in the general setting, but they are of little practical value.
answered Dec 31 '18 at 3:54
Keenan KidwellKeenan Kidwell
19.9k13574
19.9k13574
$begingroup$
@ Keenan Kidwell Thanks indeed. Good to know this only works fully for orthonormal bases. Also, I am understanding better and better that if you measure from A (old basis) the new unit vectors and put them as columns in the matrix, you need to transpose (which here seems to means the same as invert) the matrix and thus re-arrange the vectors as rows.
$endgroup$
– Sierra
Dec 31 '18 at 13:28
$begingroup$
@ Keenan Kidwell But you did not comment on the other possible approach: you measure from A' (the new basis) the old unit vectors and then you can directly put them in the matrix as columns. I mean, in the OP I still had it all a little mixed up, but in my comment I had come to terms with the matter with this understanding: you can reach the rotation matrix through two routes: in the first one (measuring new vectors in old basis), you need a second step, i.e. inverting/transposing the matrix; in the second one (measuring old vectors in new basis), such intermediate step is unnecessary.
$endgroup$
– Sierra
Dec 31 '18 at 13:36
add a comment |
$begingroup$
@ Keenan Kidwell Thanks indeed. Good to know this only works fully for orthonormal bases. Also, I am understanding better and better that if you measure from A (old basis) the new unit vectors and put them as columns in the matrix, you need to transpose (which here seems to means the same as invert) the matrix and thus re-arrange the vectors as rows.
$endgroup$
– Sierra
Dec 31 '18 at 13:28
$begingroup$
@ Keenan Kidwell But you did not comment on the other possible approach: you measure from A' (the new basis) the old unit vectors and then you can directly put them in the matrix as columns. I mean, in the OP I still had it all a little mixed up, but in my comment I had come to terms with the matter with this understanding: you can reach the rotation matrix through two routes: in the first one (measuring new vectors in old basis), you need a second step, i.e. inverting/transposing the matrix; in the second one (measuring old vectors in new basis), such intermediate step is unnecessary.
$endgroup$
– Sierra
Dec 31 '18 at 13:36
$begingroup$
@ Keenan Kidwell Thanks indeed. Good to know this only works fully for orthonormal bases. Also, I am understanding better and better that if you measure from A (old basis) the new unit vectors and put them as columns in the matrix, you need to transpose (which here seems to means the same as invert) the matrix and thus re-arrange the vectors as rows.
$endgroup$
– Sierra
Dec 31 '18 at 13:28
$begingroup$
@ Keenan Kidwell Thanks indeed. Good to know this only works fully for orthonormal bases. Also, I am understanding better and better that if you measure from A (old basis) the new unit vectors and put them as columns in the matrix, you need to transpose (which here seems to means the same as invert) the matrix and thus re-arrange the vectors as rows.
$endgroup$
– Sierra
Dec 31 '18 at 13:28
$begingroup$
@ Keenan Kidwell But you did not comment on the other possible approach: you measure from A' (the new basis) the old unit vectors and then you can directly put them in the matrix as columns. I mean, in the OP I still had it all a little mixed up, but in my comment I had come to terms with the matter with this understanding: you can reach the rotation matrix through two routes: in the first one (measuring new vectors in old basis), you need a second step, i.e. inverting/transposing the matrix; in the second one (measuring old vectors in new basis), such intermediate step is unnecessary.
$endgroup$
– Sierra
Dec 31 '18 at 13:36
$begingroup$
@ Keenan Kidwell But you did not comment on the other possible approach: you measure from A' (the new basis) the old unit vectors and then you can directly put them in the matrix as columns. I mean, in the OP I still had it all a little mixed up, but in my comment I had come to terms with the matter with this understanding: you can reach the rotation matrix through two routes: in the first one (measuring new vectors in old basis), you need a second step, i.e. inverting/transposing the matrix; in the second one (measuring old vectors in new basis), such intermediate step is unnecessary.
$endgroup$
– Sierra
Dec 31 '18 at 13:36
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2920869%2fhow-to-interpret-the-change-of-basis-matrix%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
You might find the following question helpful: math.stackexchange.com/q/1985966/265466, math.stackexchange.com/q/1898029/265466, math.stackexchange.com/q/1844714/265466. See also en.wikipedia.org/wiki/Active_and_passive_transformation.
$endgroup$
– amd
Sep 19 '18 at 21:16
$begingroup$
@amd Thanks for the links, which were clarifying. I was only concerned with passive transformations and I think the links confirm my understanding as expressed in the question. In the end, it is two ways to reach the same conclusion: you either measure from A' (and then you directly get the rotation matrix) or you measure from A (and then what you get must be manipulated to obtain the inverse matrix). Doing one thing or the other will depend, I guess, on practical constraints: where it is easier to measure..., although as didactic approach I would primarily use the first one.
$endgroup$
– Sierra
Sep 30 '18 at 20:20