The rotation matrix around the Y-axis by an angle θ is given by:
Ry(β)=cos(β)0−sin(β)010sin(β)0cos(β)
The general expression of the transformation matrix is :
Ry(β)=cos(β)0−sin(β)00100sin(β)0cos(β)00001
This matrix is used to rotate a point or a vector in three-dimensional space around the Y-axis.
Example
Suppose we want to rotate the point P(1,0,0) by an angle of 90∘ (or 2π radians) around the Y-axis.
Define the rotation angle:
θ=90∘=2π
Calculate the rotation matrix:
Ry(2π)=cos(2π)0−sin(2π)010sin(2π)0cos(2π)=00−1010100
Apply the rotation matrix to the point: Let P=100.
Multiply the rotation matrix by the point:
P′=Ry(2π)⋅P=00−1010100100=00−1
Result
After rotating the point P(1,0,0) by 90∘ around the Y-axis, the new coordinates of the point become P′(0,0,−1).