The direction ratio of the line joining ( x1 , y1 , z1 ) , and ( x2 , y2 , z2) = < x1-x2 , y1-y2 , z1-z2 >
The direction ratio of the line joining ( 1 , - 1 , 1 ) , and ( -1 , 1 , 1 ) = < 1+1 , -1-1 , 1-1> = < 2 , -2 , 0 >