3D Rotation Composite Matrix Examples with Solutions
Problem 1: Calculate the composite rotation matrix for the following sequence of rotations:
- Rotate 45° about the X-axis.
- Rotate 30° about the Y-axis.
- Rotate 60° about the Z-axis.
Determine the final composite rotation matrix.
Solution:
Composite Rotation Matrix:
[[ 0.433, -0.436, 0.789],
[ 0.75 , 0.66 , -0.047],
[-0.5 , 0.612, 0.612]]
Problem 2: Calculate the composite rotation matrix for the following sequence of rotations:
- Rotate 90° about the Z-axis.
- Rotate 45° about the X-axis.
- Rotate 30° about the Y-axis.
Determine the final composite rotation matrix and verify it is orthogonal.
Solution:
Composite Rotation Matrix:
[[ 3.536e-01, -8.660e-01, 3.536e-01],
[ 7.071e-01, 4.330e-17, -7.071e-01],
[ 6.124e-01, 5.000e-01, 6.124e-01]]
Problem 3: Calculate the composite rotation matrix for the following sequence of rotations:
- Rotate 120° about the Y-axis.
- Rotate 60° about the Z-axis.
- Rotate 90° about the X-axis.
Determine the final composite rotation matrix and use it to find the coordinates of the point (1, 2, 3)
after the rotation.
Solution:
Composite Rotation Matrix:
[[-2.500e-01, -8.660e-01, 4.330e-01],
[ 8.660e-01, 3.062e-17, 5.000e-01],
[-4.330e-01, 5.000e-01, 7.500e-01]]
Transformed Point:
[-0.683, 2.366, 2.817]