Coordinate transformations under rotation
Use the 2D rotation matrix to transform vector components under an active rotation of the vector or a passive rotation of the axes.
On this page
You stopped at:
ContinueRevision Mode is on. Worked examples are hidden.
Rotation matrices describe how vectors and coordinates change under a rotation. The main confusion is that there are two equally valid viewpoints:
- Active rotation: rotate the vector in a fixed coordinate system.
- Passive rotation: rotate the axes (change the coordinate system used to describe the same vector).
1) Active rotation (rotate the vector, axes fixed)
Let a vector have components (x,y) in the (i hat,j hat) basis. If you rotate the vector anticlockwise by an angle θ, the new components are:
So:
The matrix
is the 2D rotation matrix.
2) Passive rotation (rotate the axes, vector fixed)
Now keep the vector fixed in space, but rotate the coordinate axes anticlockwise by θ. The components in the new rotated axes (x',y') are:
So:
Rotating the axes anticlockwise by θ is equivalent to rotating the vector clockwise by θ relative to the axes, so the inverse matrix appears.
3) Key properties (good to remember)
- R(θ) is orthogonal: R(θ)^TR(θ) = I
- R(θ)⁻¹ = R(θ)^T = R(-θ)
- det(R(θ)) = 1
4) Worked example
Worked example 1
Rotate a vector by a quarter turn
Problem
Rotate the vector (1,0) anticlockwise by θ = π/2.
Show full solution
Write the rotation matrix
Method
Substitute θ = π/2 into R(θ).Reason
cos π/2 = 0 and sin π/2 = 1.Working
Answer
R(π/2) = (0, -1; 1, 0).Multiply
Method
Apply the matrix to (1,0).Reason
Multiplying by (1,0) picks out the first column.Working
Answer
(0, -1; 1, 0) (1; 0) = (0; 1).State the answer
Working
Answer
(1,0) becomes (0,1): the unit vector along x turns onto y.
Quick check
The length is unchanged, as it must be for a rotation.
Related pages
Matrices and linear algebra
Matrices as transformations; eigenvectors as “special directions”.
Vector analysis
Dot/cross products and vector calculus operators.
Spotted an error? Report a correction