Answer on Question #46072 – Math – Analytic Geometry
Question. Find the angle between the lines
P : x = 1 , z − y = 0 P:\ x=1,\qquad z-y=0 P : x = 1 , z − y = 0
and
Q : 2 x − y = − 1 , z = 1. Q:\ 2x-y=-1,\qquad z=1. Q : 2 x − y = − 1 , z = 1.
Solution. Let us find vectors p p p and q q q which are parallel to the lines P P P and Q Q Q .
By assumption the line p p p is the intersection of two planes x = 1 x=1 x = 1 and z − y = 0 z-y=0 z − y = 0 having the following normal vectors:
a 1 = ( 1 , 0 , 0 ) , a 2 = ( 0 , − 1 , 1 ) . a_{1}=(1,0,0),\qquad a_{2}=(0,-1,1). a 1 = ( 1 , 0 , 0 ) , a 2 = ( 0 , − 1 , 1 ) .
Hence p p p must be orthogonal to both a 1 a_{1} a 1 and a 2 a_{2} a 2 . Therefore we can take p p p to be the cross-product a 1 × a 2 a_{1}\times a_{2} a 1 × a 2 of these vectors:
p p p = a 1 × a 2 = ( 1 , 0 , 0 ) × ( 0 , − 1 , 1 ) =a_{1}\times a_{2}=(1,0,0)\times(0,-1,1) = a 1 × a 2 = ( 1 , 0 , 0 ) × ( 0 , − 1 , 1 )
$=\left(\left|\begin{array}[]{cc}0&0\\
-1&1\end{array}\right|,\left|\begin{array}[]{cc}0&1\\
1&0\end{array}\right|\,\left|\begin{array}[]{cc}1&0\\
0&-1\end{array}\right|\right)$
= ( 0 ⋅ 1 − 0 ⋅ ( − 1 ) , 0 ⋅ 0 − 1 ⋅ 1 , 1 ⋅ ( − 1 ) − 0 ⋅ 0 ) =(0\cdot 1-0\cdot(-1),\ 0\cdot 0-1\cdot 1,\ 1\cdot(-1)-0\cdot 0) = ( 0 ⋅ 1 − 0 ⋅ ( − 1 ) , 0 ⋅ 0 − 1 ⋅ 1 , 1 ⋅ ( − 1 ) − 0 ⋅ 0 )
= ( 0 , − 1 − 1 ) . =(0,-1-1)\,. = ( 0 , − 1 − 1 ) .
Analogously, the line q q q is the intersection of two planes 2 x − y = − 1 2x-y=-1 2 x − y = − 1 and z = 1 z=1 z = 1 having normal vectors:
b 1 = ( 2 , − 1 , 0 ) , b 2 = ( 0 , 0 , 1 ) b_{1}=(2,-1,0),\qquad b_{2}=(0,0,1) b 1 = ( 2 , − 1 , 0 ) , b 2 = ( 0 , 0 , 1 )
and we can assume that
q q q = b 1 × b 2 = ( 2 , − 1 , 0 ) × ( 0 , 0 , 1 ) =b_{1}\times b_{2}=(2,-1,0)\times(0,0,1) = b 1 × b 2 = ( 2 , − 1 , 0 ) × ( 0 , 0 , 1 )
$=\left(\left|\begin{array}[]{cc}-1&0\\
0&1\end{array}\right|\,\left|\begin{array}[]{cc}0&2\\
1&0\end{array}\right|\,\left|\begin{array}[]{cc}2&-1\\
0&0\end{array}\right|\right)$
= ( − 1 ⋅ 1 − 0 ⋅ 0 , 0 ⋅ 0 − 1 ⋅ 2 , 2 ⋅ 0 − 0 ⋅ ( − 1 ) ) =(-1\cdot 1-0\cdot 0,\ 0\cdot 0-1\cdot 2,\ 2\cdot 0-0\cdot(-1)) = ( − 1 ⋅ 1 − 0 ⋅ 0 , 0 ⋅ 0 − 1 ⋅ 2 , 2 ⋅ 0 − 0 ⋅ ( − 1 ))
= ( − 1 , − 2 , 0 ) . =(-1,-2,0). = ( − 1 , − 2 , 0 ) .
To find the angle ϕ \phi ϕ between the vectors p p p and q q q notice that the scalar product ( p , q ) (p,q) ( p , q ) of these vectors can be computed in two distinct ways. On the one hand, it is the sum of products of the corresponding coordinates:
( p , q ) = 0 ⋅ ( − 1 ) + ( − 1 ) ⋅ ( − 2 ) + ( − 1 ) ⋅ 0 = 2. (p,q)=0\cdot(-1)+(-1)\cdot(-2)+(-1)\cdot 0=2. ( p , q ) = 0 ⋅ ( − 1 ) + ( − 1 ) ⋅ ( − 2 ) + ( − 1 ) ⋅ 0 = 2.
On the other hand,
( p , q ) = ∣ p ∣ ⋅ ∣ q ∣ ⋅ cos ϕ , (p,q)=|p|\cdot|q|\cdot\cos\phi, ( p , q ) = ∣ p ∣ ⋅ ∣ q ∣ ⋅ cos ϕ ,
whence
cos ϕ = ( p , q ) ∣ p ∣ ⋅ ∣ q ∣ . \cos\phi=\frac{(p,q)}{|p|\cdot|q|}. cos ϕ = ∣ p ∣ ⋅ ∣ q ∣ ( p , q ) .
The lengths of these vectors are
∣ p ∣ = 0 2 + ( − 1 ) 2 + ( − 1 ) 2 = 2 , ∣ q ∣ = ( − 1 ) 2 + ( − 2 ) 2 + 0 2 = 5 , |p|=\sqrt{0^{2}+(-1)^{2}+(-1)^{2}}=\sqrt{2},\qquad|q|=\sqrt{(-1)^{2}+(-2)^{2}+0^{2}}=\sqrt{5}, ∣ p ∣ = 0 2 + ( − 1 ) 2 + ( − 1 ) 2 = 2 , ∣ q ∣ = ( − 1 ) 2 + ( − 2 ) 2 + 0 2 = 5 ,
therefore
cos ϕ = ( p , q ) ∣ p ∣ ⋅ ∣ q ∣ = 2 2 ⋅ 5 = 2 5 = 2 5 = 0.4 ≈ 0.6325. \cos\phi=\frac{(p,q)}{|p|\cdot|q|}=\frac{2}{\sqrt{2}\cdot\sqrt{5}}=\frac{\sqrt{2}}{\sqrt{5}}=\sqrt{\frac{2}{5}}=\sqrt{0.4}\approx 0.6325. cos ϕ = ∣ p ∣ ⋅ ∣ q ∣ ( p , q ) = 2 ⋅ 5 2 = 5 2 = 5 2 = 0.4 ≈ 0.6325.
Hence
ϕ = arccos 0.4 ≈ arccos ( 0.6325 ) ≈ 50.77 ∘ . \phi=\arccos\sqrt{0.4}\approx\arccos(0.6325)\approx 50.77{}^{\circ}. ϕ = arccos 0.4 ≈ arccos ( 0.6325 ) ≈ 50.77 ∘ .
Answer. The angle between the lines is
arccos 0.4 ≈ 50.77 ∘ . \arccos\sqrt{0.4}\approx 50.77{}^{\circ}. arccos 0.4 ≈ 50.77 ∘ .
www.AssignmentExpert.com