The dr's of line joining A and B is
(x2−x1),(y2−y1),(z2−z1)=(3−1,4+1,−2−2)=(2,5,−4)
The dr's of line joining C and D is
(x2−x1),(y2−y1),(z2−z1)=(3−0,5−3,6−2)=(3,2,4)
For the lines AB and CD to be perpendicular
a1a2+b1b2+c1c2=0 (a1=2,b1=5,c1=−4,A2=3,b2=2,c2=4)
2(3)+5(2)+(−4)(4)
=6+10−16=16−16=0
∴ AB⊥CD