badge icon

This article was automatically translated from the original Turkish version.

Article

Rotation Matrices

Quote

Rotation matrices are square matrices used to mathematically represent the rotation of vectors and coordinate systems by a specific angle around a given axis. They are a fundamental tool in many fields including linear algebra, geometry, physics, engineering, and computer graphics.

Mathematical Foundation

In an n-dimensional vector space, the rotation of an object or coordinate system is a linear transformation. This transformation can be represented by a matrix. Rotation matrices are special square matrices that represent such linear rotations.

2D Rotation

In two-dimensional Euclidean space (), the counterclockwise rotation of a vector or coordinate system about the origin by an angle θ is represented by the following rotation matrix:


The rotated version of a vector by an angle is denoted and is computed as follows:

3D Rotation

In three-dimensional Euclidean space (), rotations are defined by an axis and an angle. The counterclockwise rotation matrices about the principal axes are as follows:


  • Rotation by angle α about the x-axis:


  • Rotation by angle β about the y-axis:


  • Rotation by angle γ about the z-axis:


In three dimensions, a general rotation can be obtained by sequentially applying these basic rotations. For example, complex rotations can be defined using Euler angles (yaw, pitch, roll) or angle-axis representations, and their corresponding rotation matrices are found as products of these basic matrices. However, it is important to note that the order of matrix multiplication matters ( generally holds).

Properties of Rotation Matrices

  • Orthogonal Matrices: Rotation matrices are orthogonal, meaning their transpose () equals their inverse ():

Here, I denotes the identity matrix. This property implies that rotations preserve lengths and angles.


  • Determinant is +1: The determinant of a rotation matrix is always +1:

A determinant of +1 indicates that the transformation preserves orientation (e.g., the right-hand rule). Orthogonal matrices with determinant −1 represent reflections.

Applications

Rotation matrices are used to perform fundamental transformations across various disciplines:


  • Geometry and Linear Algebra: Used to rotate points, vectors, and geometric shapes around a specified axis. They enable the transformation of coordinate systems into different orientations.


  • Physics: Used to describe the orientation and transformations of objects in rigid body mechanics, rotational motion, and angular momentum. For example, rotation matrices are essential for analyzing the motion of a gyroscope or a spinning top.


  • Engineering: Used to model and control the orientation of objects and sensors in robotics, control systems, and aerospace. They are vital for computing joint rotations in robotic arms or determining the attitude of an aircraft in space.


  • Computer Graphics: A fundamental tool for rotating objects on screen in 3D modeling, animation, and game development. They are heavily used to control camera movements and object orientations in virtual space.


  • Computer Vision: Used to analyze and match different views of objects in image processing and object recognition tasks.


  • Navigation and Cartography: Used to compute transformations between global coordinate systems and provide directional information.

Bibliographies

Bishop, C. M. Pattern Recognition and Machine Learning. Springer, 2006.

Strang, Gilbert. Linear Algebra and Its Applications. 4th ed. Cengage Learning, 2006.

Author Information

Avatar
AuthorAlper CangüdenDecember 9, 2025 at 7:48 AM

Tags

Discussions

No Discussion Added Yet

Start discussion for "Rotation Matrices" article

View Discussions

Contents

  • Mathematical Foundation

    • 2D Rotation

    • 3D Rotation

  • Properties of Rotation Matrices

  • Applications

Ask to Küre