The ray diagram shows lines from the origin (in blue) and the image of these lines when then have been transformed by the matrix (in red). The purple dotted line is added to help track the lines.
Drag the points A' and B' to change the transformation matrix
Information: Invariant lines of matrix transformations