This article was automatically translated from the original Turkish version.
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.
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.
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:
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:
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).
Here, I denotes the identity matrix. This property implies that rotations preserve lengths and angles.
A determinant of +1 indicates that the transformation preserves orientation (e.g., the right-hand rule). Orthogonal matrices with determinant −1 represent reflections.
Rotation matrices are used to perform fundamental transformations across various disciplines:
Bishop, C. M. Pattern Recognition and Machine Learning. Springer, 2006.
Strang, Gilbert. Linear Algebra and Its Applications. 4th ed. Cengage Learning, 2006.
Mathematical Foundation
2D Rotation
3D Rotation
Properties of Rotation Matrices
Applications