The direction ratios of two lines are given by . Then the angle between the lines is
Suppose that
Hence, the equations become and
Substitute in the equation and then solve for
It implies that and
Therefore, the direction ratios are
Suppose that be the angle between the lines whose direction ratios are
Hence,
Therefore, the measure of angle is