It is given that l1, m1, n1 and l2, m2, n2 are the direction cosines of two mutually perpendicular lines. Therefore,

Let l, m, n be the direction cosines of the line which is perpendicular to the line with direction cosines l1, m1, n1 and l2, m2, n2,

Substituting the values from equations (5) and (6) in equation (4), we obtain
