Rotating a Vector [x0,y0,z0] in an XYZ Frame

  • Context: Undergrad 
  • Thread starter Thread starter kepler
  • Start date Start date
  • Tags Tags
    Frame Rotating Vector
Click For Summary
SUMMARY

To rotate a vector [x0, y0, z0] in an XYZ frame, specific formulas for each axis are required. The rotation about the x-axis can be achieved using the formula [x0, y0*cos(θ) - z0*sin(θ), y0*sin(θ) + z0*cos(θ)], where θ is the rotation angle. For the y-axis, the formula is [x0*cos(θ) + z0*sin(θ), y0, -x0*sin(θ) + z0*cos(θ)]. Finally, the rotation around the z-axis is given by [x0*cos(θ) - y0*sin(θ), x0*sin(θ) + y0*cos(θ), z0]. These formulas allow for direct computation without matrix operations.

PREREQUISITES
  • Understanding of vector representation in 3D space
  • Familiarity with trigonometric functions (sine and cosine)
  • Basic knowledge of rotation transformations in geometry
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Study the derivation of rotation matrices for 3D transformations
  • Explore quaternion representation for 3D rotations
  • Learn about Euler angles and their applications in 3D graphics
  • Investigate the implications of rotation order on vector transformations
USEFUL FOR

Mathematicians, computer graphics developers, and anyone involved in 3D modeling or simulations will benefit from this discussion.

kepler
Messages
28
Reaction score
0
Hello,

I've got a vector [x0,y0,z0,] in a xyz frame. What are the formulas to rotate it by the x-axis, the y-axis and the z-axis - separately of course? - Please don't give me matrices operations :bugeye:

Regards,

Kepler
 
Mathematics news on Phys.org
You can develop the transformation yourself with a little geometry by asking how each of the 3 unit vectors gets transformed by each of those rotations. A matrix is simply a way of doing the bookkeeping in a clear way.
 

Similar threads

Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K