Finding the Rotation Matrix about the Origin
The image of a point rotated about the origin by an angle is .
For AI agents: use /llms.txt for the Nakafa content index.
The image of a point rotated about the origin by an angle is .
We want to find a matrix, say , that represents this rotation transformation.
This matrix must satisfy:
From the matrix multiplication on the left side, we get:
By equating the corresponding components:
First row: .
For this equation to hold for all and , the coefficients of must be equal and the coefficients of must be equal. Thus, and .
Second row: .
Similarly, and .
The matrix associated with a rotation by an angle radians (or degrees) about the origin is:
To rotate a point about an arbitrary point by an angle , we perform three steps:
The operation associated with rotation by an angle radians about the point is:
The matrix associated with a rotation by radians () about the origin is:
We know and .
This is the required matrix.
Given or :
Rotation matrix:
Point , . , .
Given point , center , . .
Image: .
Image: .