We need to find the angle between two lines with direction ratios proportional to (1,1,−2) and (3−1,−3−1,−4).
For any line with direction ratios (a,b,c), the unit vector is obtained by dividing by the magnitude a2+b2+c2.
For the first line (1,1,−2):
Magnitude = 12+12+(−2)2=1+1+4=6
Unit vector a=61(1,1,−2)
For the second line (3−1,−3−1,−4):
Magnitude = (3−1)2+(−3−1)2+(−4)2
Simplifying: (3−1)2=4−23, (−3−1)2=4+23, (−4)2=16
Magnitude = (4−23)+(4+23)+16=24=26
Unit vector b=261(3−1,−3−1,−4)
To find the angle, we calculate the dot product of the unit vectors:
cos(θ)=a⋅b
cos(θ)=61⋅263−1+61⋅26−3−1+6−2⋅26−4
cos(θ)=121[(3−1)+(−3−1)+8]
cos(θ)=121[−2+8]=126=21
Since cos(θ)=21, we have θ=cos−1(21)=60°
Therefore, the angle between the two lines is 60°=3π.