Transforming base vectors in Matrix.

In summary, the Wikipedia article on Dot-Product explains the concept of Rotation and its application to rotation matrices. It clarifies that the rotated basis vectors are represented as rows in a rotation matrix and not as columns, which may have caused confusion for some readers. It also emphasizes the difference between rotating a vector and rotating the coordinate system in which the vector is written.
  • #1
Metro_Mystery
10
0
http://en.wikipedia.org/wiki/Dot_product" is a Wikipedia about the Dot-Product, which includes the relevant section on Rotation.

Given the first example- is it correct where it says "Notice that the rotation matrix R is assembled by using the rotated basis vectors u1, v1, w1 as its rows, and these vectors are unit vectors". My understanding of it would be that the rotated basis vectors are represented as the columns.

The same applies in the second example- "If a1 is a row vector, rather than a column vector, then R must contain the rotated basis vectors in its columns, and must post-multiply a1". Isn't it that the rotated basis vectors are the rows?

This seems wrong, can someone confirm this?

Thanks in advance.
 
Last edited by a moderator:
Mathematics news on Phys.org
  • #2
I agree with Wikipedia in this case, but note that since a rotation matrix is orthogonal (it's transpose is equal to its inverse), the only thing that would change if you take the components of those vectors to be columns instead of rows, is that the rotation would be in the opposite direction.
 
  • #3
Notice however, that "swapping" rows and columns changes from a rotation through angle "[itex]\theta[/itex]" to a rotation through angle "[itex]-\theta[/itex]".

Also be careful about the difference between rotating a vector and rotationg the coordinate system in which the vector is written!
 
  • #4
what do you mean by coordinate system?
 
  • #5
Think of a different reference frame ice.
 
  • #6
what should i think about it? i meant does he mean rotating basis vectors? did he mean rotating the coordinate vector of the actual vector? I'm not being facetious, I'm reviewing linear algebra and testing my mettle.
 
  • #7
I think the previous posts have pretty well covered the question, but here is an interpretation that has been helpful to me. For simplicity I’ll use a 2D Cartesian coordinate system as an illustration, but the same interpretation applies in 3D with rotations about an axis instead of the origin.
Vectors i and j are the standard basis vectors of a 2D Cartesian coordinate system. They have the constant values of (1, 0) and (0, 1) . If we place these base vectors in row 1 and row 2 of a matrix, the matrix represents a 2D coordinate system aligned with the coordinate lines of a standard Cartesian coordinate system. Call this coordinate system A (CS A).
If we have another coordinate system, CS B, which is rotated an angle theta, relative to CS A, (counterclockwise positive), then the rows of its matrix will have the values
Row1 Cos[theta}, Sin[theta]
Row2 -Sin[theta],Cos[theta]

If you plot these four vectors , you have the base vectors of the two coordinate systems, CS B rotated relative to CS A
I prefer to focus on rows when I can, because when these matrices multiply vectors, the multiplication involves the dot products of the row vectors of the matrix with the column vector being multiplied.

I an almost positive that some readers will be saying “What’s the problem…they’re just direction cosine matrices?”, but some of us need a little more of a geometric view.
 
  • #8
ice109 said:
what should i think about it? i meant does he mean rotating basis vectors? did he mean rotating the coordinate vector of the actual vector? I'm not being facetious, I'm reviewing linear algebra and testing my mettle.

Rotating a vector means the frame does not move. Rotating a frame means the vector does not move.
 
  • #9
Draw a simple xy- coordinate system. Draw a vector going from (0,0) to (1,1). The components of that vector are, of course, <1, 1,>. Now draw a new coordinate system with axes at 45 degrees to the first. That coordinate system is the first rotated by [itex]\pi/4[/itex]. In terms of the x'y' system, the same vector has coordinates [itex](\sqrt{2},0)[/itex]. That is exactly what you would have gotten if, instead of "rotating" the coordinate system by [itex]\pi/4[/itex], you had rotated the vector, in the xy-system, by [itex]-\pi/4[/itex].
 
  • #10
the problem is that the wiki article uses language incorrectly. i.e. you are right that the rotation matrix they describe should have the rotated vectors in the columns.

but the equation they write is for expressing the given vector in terms of the new basis, hence is accomplished by multiplying by the inverse of the rotation matrix.

so they are correctly using the inverse i.e. the transpose of the rotation matrix and incorrectly calling it the rotation matrix.

the point is to always draw the diagram defined by a basis. i.e. given a basis B, the matrix with the basis vectors from B in the columns, defines an isomorphism from k^n coordinate space, to your vector space taking a column of scalars to the vector defined by those scalars in terms of the basis.

Hence the inverse map, takes a given vector to the coordinates of that vector in the given basis. since in the article they are telling you how to express a given vector in terms of the rotated basis, they need to use the inverse of the rotation matrix, i.e. the inverse of the matrix whose columns are the rotated basis vectors.

so they did it correctly, but described it incorrectly. (I am teaching this course this summer.)
 
  • #11
Alias and Alibi Transformations

I’ve looked at the Wikipedia “rotation’ paragraph and it seems clear that they are using an alias transformation as an example, i.e. “A rotation of the orthonormal basis in terms of which vector a is represented”. They are also correct in saying that the rows of the matrix are the rotated basis vectors expressed terms of B1 (see Wikipedia article).

So I agree with Fredrik in that there are no errors in the Wikipedia section on rotations.

One source of confusion could be that these rotation matrices are sometimes presented as alibi transformations.
 
  • #12
you may take my word for it. to paraphrase miles reid, i am a professional mathematician of the highest moral fibre.
 
Last edited:

1. What are base vectors in a matrix and why are they important?

Base vectors in a matrix are the vectors that form the basis or foundation of a coordinate system. They are important because they allow us to represent any vector or point in the coordinate system using a combination of these base vectors.

2. How do you transform base vectors in a matrix?

To transform base vectors in a matrix, you can use a transformation matrix. This matrix contains the new coordinates of the base vectors after the transformation. You can multiply this transformation matrix with the original matrix to obtain the transformed base vectors.

3. What is the purpose of transforming base vectors in a matrix?

The purpose of transforming base vectors in a matrix is to change the coordinate system and make it easier to perform calculations or visualize data. It can also help to simplify problems that involve multiple coordinate systems.

4. Can you transform base vectors in a matrix without changing the overall shape of the matrix?

Yes, it is possible to transform base vectors in a matrix without changing the overall shape by using an orthogonal transformation. This type of transformation preserves the angles and lengths of the original vectors, only changing their orientation.

5. Are there any real-world applications of transforming base vectors in a matrix?

Yes, there are many real-world applications of transforming base vectors in a matrix. For example, in computer graphics, transforming base vectors is used to rotate, scale, or translate objects in a 3D space. It is also used in engineering and physics to solve problems involving vectors and coordinate systems.

Similar threads

  • Linear and Abstract Algebra
Replies
12
Views
1K
  • Linear and Abstract Algebra
Replies
4
Views
848
Replies
12
Views
3K
  • General Math
Replies
2
Views
1K
  • Linear and Abstract Algebra
Replies
3
Views
273
  • General Math
Replies
6
Views
2K
Replies
27
Views
1K
  • Special and General Relativity
Replies
1
Views
537
  • Linear and Abstract Algebra
Replies
15
Views
4K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top