Rotasjonsmatrisen
Rotasjonsmatrisen, also known as the rotation matrix, is a fundamental concept in linear algebra and geometry, used to represent rotations in a coordinate system. It is a square matrix that, when multiplied by a vector, rotates the vector by a specified angle in a specified plane.
The 2D rotation matrix is a 2x2 matrix that rotates vectors in the xy-plane. It is defined
where θ is the angle of rotation. This matrix can be derived using the properties of trigonometry
In 3D space, rotations can occur around any axis. The 3D rotation matrix around the z-axis is
Rotasjonsmatrisen is widely used in computer graphics, robotics, and physics for simulating rotations and transformations. It
The determinant of a rotation matrix is always 1, indicating that rotations preserve volume. Additionally, the