Note that it is very important that the vector is a unit vector.
Rotation around x axis matrix.
The formula creates a rotation matrix around an axis defined by the unit vector by an angle using a very simple equation.
Because we have the special case that p lies on the x axis we see that x.
In sum the three elemental rotations occur about z x and z.
Where is the identity matrix and is a matrix given by the components of the unit vector.
When acting on a matrix each column of the matrix represents a different vector.
A rotation in the x y plane by an angle θ measured counterclockwise from the positive x axis is represented by the real 2 2 special orthogonal matrix 2 cosθ sinθ sinθ cosθ.
But the other thing is if you think about it a lot of the rotations that you might want to do in r3 can be described by a rotation around the x axis first which we did in this video then by rotation around the y axis and then maybe some rotation around the z axis.
If we consider this rotation as occurring in three dimensional space then it can be described as a counterclockwise rotation by an angle θ about the z axis.
X axis second at the two dimensional rotation of an arbitrary point and finally we conclude with the desired result of 3d rotation around a major axis.
This is just a special case where we re dealing with rotation around the x.
2d rotation of a point on the x axis around the origin the goal is to rotate point p around the origin with angle α.
If we take the point x 1 y 0 this will rotate to the point x cos a y sin a if we take the point x 0 y 1 this will rotate to the point x sin a y cos a 3d rotations.
The xyz system rotates again about the x axis by β.
Is given by the following matrix.
The x axis is now at angle γ with respect to the x axis.
The z axis is now at angle β with respect to the z axis.
In linear algebra a rotation matrix is a matrix that is used to perform a rotation in euclidean space for example using the convention below the matrix rotates points in the xy plane counterclockwise through an angle θ with respect to the x axis about the origin of a two dimensional cartesian coordinate system to perform the rotation on a plane point with standard.
The xyz system rotates a third time about the z axis by α.
For the rotation matrix r and vector v the rotated vector is given by r v.
Rotation about the z axis.