If respectively, then the angle between is where
The direction ratios of the line joining the points and is
The direction ratios of the line joining the points and is
If is the acute angle between two lines having direction ratios and
then
Given that the angle between the lines is
It implies that
Hence,