The factors of 1−(a2+b2)+a2b2 are:
Two lines whose direction ratios are a1, b1, c1 and a2, b2, c2 are perpendicular, if