example of rotation matrix
You can use rotation matrices to show that if the slope of one line is , then the slope of the line perpendicular
to it is :
Let be a line with a slope of passing through the origin. The rotation matrix rotates into a line perpendicular to :
Every point on can be represented as a multiple of the point.
Notice . Since every point on can be represented as a multiple of the point , the slope of is .