Solution:
We know that
l1x−x1=m1y−y1=n1z−z1andl2x−x2=m2y−y2=n2z−z2
are the equations of two lines, then the acute angle between the two lines is given by
cosθ=l12+m12+n12l22+m22+n22l1l2+m1m2+n1n2(1)
(i)
2x−2=5y−1=−3z+3and−1x+2=8y−4=4z−5
Here, a1=2,b1=5,c1=−3 and a2=−1,b2=8,c2=4.
Now,
l1=a12+b12+c12a1,m1=a12+b12+c12b1,n1=a12+b12+c12c1(2)
Here, we know that
a12+b12+c12=22+52+(−3)2=4+25+9=38
And
a22+b22+c22=(−1)2+82+42=1+64+16=81=9
So, from equation (2), we have
l1=382,m1=385,n1=38−3
And
l2=9−1,m2=98,n2=94
From equation (1), we have
cosθ=382×9−1+385×98+38−3×94
cosθ=938−2+40−12=93826
Thus,
θ=cos−1(93826)
(ii)
2x=2y=1zand4x−5=1y−2=8z−3
Here, a1=2,b1=2,c1=1 and a2=4,b2=1,c2=8.
Here, we know that
a12+b12+c12=22+22+12=4+4+1=9=3
And
a22+b22+c22=42+12+82=16+1+64=81=9
So, from equation (2), we have
l1=a12+b12+c12a1=32,m1=a12+b12+c12b1=32,n1=a12+b12+c12c1=31
And
l2=a22+b22+c22a2=94,m2=a22+b22+c22b2=91,n2=a22+b22+c22c2=98
From equation (1), we have
cosθ=32×94+32×91+31×98
cosθ=278+2+8=2718=32
Thus,
θ=cos−1(32)