What Is the Generator of a Rotation Matrix?
At a glance
- 1. Choose the convention
A rotation generator is usually a matrix whose exponential gives the rotation.
- 2. Write the generator
In two dimensions use the standard skew-symmetric matrix; in three dimensions use the cross-product matrix of the rotation axis.
- 3. Exponentiate
Compute the matrix exponential to obtain the rotation through the desired angle.
- 4. Check the result
Confirm that the generator is skew-symmetric and that the exponential has the expected angle and axis.
A rotation matrix describes a finite rotation, while its generator describes how the rotation begins to change. The usual meaning is a matrix such that a continuously parameterized rotation is
where is the matrix exponential. For rotations, the generator is skew-symmetric: . This property ensures that the exponential is orthogonal and has determinant .
Sometimes “generator” is used more loosely to mean an angle-and-axis description or a matrix used to construct rotations. The exponential definition makes the distinction precise and works in both two and three dimensions.
The generator of a planar rotation
The standard counterclockwise rotation through angle is
Define the matrix
Since , its exponential has the same sine-and-cosine pattern as the rotation matrix:
So is the generator when the parameter is the angle itself. If the angle changes at a constant rate , so that , then the time-dependent rotation is
The factor matters: generates rotation per unit angle, while generates rotation per unit time.
The generator in three dimensions
A rotation in three dimensions has an axis as well as an angle. Let be an angular-velocity vector. Its cross-product matrix is
For any vector , multiplying by this matrix performs the cross product:
The generator is , and the rotation after time is
If a unit vector is the axis and is the rotation angle, use for the finite rotation . Here has the same form as above, with replaced by .
Expanding the exponential gives Rodrigues’ rotation formula. With and , it is
Worked example: a quarter-turn about the z-axis
For a rotation about the positive -axis, choose . Then
A quarter-turn has , so its generator is . Using and in Rodrigues’ formula gives
This matrix maps the -axis to the -axis, leaves the -axis fixed, and rotates vectors counterclockwise by degrees when viewed from the positive direction.
Recovering a generator from a rotation
If you know a three-dimensional rotation matrix , first identify its axis and angle. The angle can be obtained from
For an angle strictly between and , the axis can be recovered from the antisymmetric part:
Then a corresponding generator is . This extraction formula needs special care at and , where its denominator vanishes. At zero rotation, is a generator; at a half-turn, find the axis from the eigenvector with eigenvalue .
A rotation matrix does not always have just one generator. Rotating by about the same axis, for any integer , gives the same rotation. The matrix logarithm is therefore not unique, even though the principal angle-axis description chooses an angle in .
Common mistakes
- Mixing up the angle and the generator: The generator is a matrix; the angle is a scalar parameter multiplying it in the exponential.
- Using a symmetric matrix: A rotation generator must be skew-symmetric, not symmetric.
- Reversing the sign: Changing to reverses the rotation direction. Check the sign against the intended right-hand rule or planar convention.
- Assuming every rotation has one unique generator: The exponential map is many-to-one because angles differing by full turns describe the same rotation.
- Confusing angular speed with angle: For a time-dependent rotation, include the rate in ; its units are angle per unit time.
References
- Brian C. Hall, Lie Groups, Lie Algebras, and Representations: An Elementary Introduction
- James R. Munkres, Analysis on Manifolds
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.