Vectors - Points of intersection and shortest distance

Q1

The straight line gg passes through the point A(211)A(2|1|1) and has direction v=(431)\vec{v}=\left(\begin{array}{ccc} 4 \\ 3 \\ 1\end{array}\right). The plane EE passes through the point B(1100)B(11|0|0) and has normal vector u=(122)\vec{u}=\left(\begin{array}{ccc} 1 \\ -2 \\ 2\end{array}\right).

  1. Find the intersection point of gg with the xyxy-plane.
  2. Find the intersection points of the xx-axis, yy-axis, and zz-axis with plane EE.
  3. Is gg parallel to EE? If so, does EE contain gg?
Q2

The straight line gg passes through the points A(121)A(1|2|-1) and B(1127)B(11|-2|-7), and the straight line hh passes though the points C(213)C(2|-1|-3) and D(9103)D(9|-10|3). Find the relative position of these lines to each other, that is, are they parallel, skew, or do they intersect? If they intersect, determine the point of intersection.

Q3

The straight line gg passes through the points A(140)A(-1|4|0) and B(221)B(2|2|1), and the straight line hh passes though the points C(441)C(4|4|-1) and D(273)D(2|7|-3). Do they intersect? If so, find the point of intersection and the angle of intersection.

Q4

The straight line gg passes through the points A(421)A(4|-2|1) and B(280)B(-2|-8|0). The plane EE contains the points U(008)U(0|0|-8), V(090)V(0|9|0) and W(300)W(3|0|0). Find the intersection point between gg and EE, and also the angle of intersection.

Q5

The straight line gg passes through the points A(110)A(1|1|0) and B(001)B(0|0|1). The plane EE contains the points AA, BB, and the origin. Point PP has the coordinates P(222)P(2|-2|2).

  1. Determine the shortest distance between point PP and gg.
  2. Determine the shortest distance between PP and EE.
Show
A1
  1. Let's first find the normal equation of the xyxy-plane. A possible normal vector of the xyxy-plane is n=(001)\vec{n} =\left(\begin{array}{c} 0 \\ 0 \\ 1 \end{array}\right) and the point O(000)O(0|0|0) is in this plane. Thus, the normal equation is 0x+0y+1z=d0x+0y+1z=d and to find dd we insert the point OO, resulting in d=0d=0. Thus, the normal equation is 0x+0y+1z=00x+0y+1z=0 (or in short, z=0, which makes sense as every point in the xyxy-plane must have a zero zz-coordinate). Let S(xyz)S(x|y|z) be the point of intersection. Because SgS\in g follows there is a constant cc such that S=A+cn\vec{S}=\vec{A}+c\vec{n} that is (xyz)=(211)+c(431)x=2+4cy=1+3cz=1+c\left(\begin{array}{c} x \\ y \\ z \end{array}\right) = \left(\begin{array}{c} 2 \\ 1 \\ 1 \end{array}\right) +c\cdot \left(\begin{array}{c} 4 \\ 3 \\ 1 \end{array}\right) \rightarrow \begin{array}{rr} x & = & 2+4c \\ y & = & 1+3c \\ z & = & 1 + c \end{array} As SS is also in the plane, these xx, yy, and zz must fulfil the normal equation: 0(2+4c)+0(1+3c)+1(1+c)=00(2+4c)+0(1+3c)+1(1+c)=0 from which follows c=1c=-1, and therefore S(220)\underline{S(-2|-2|0)}.
  2. Let's first find the normal equation of EE: 1x2y+2z=d1x-2y+2z=d and inserting B(1100)B(11|0|0) into the equation we get d=11d=11. Thus, the normal equation is 1x2y+2z=111x-2y+2z=11 Let's now find the intersection of this plane with the xx-axis, which is a straight line containing the point O(000)O(0|0|0) and has direction vector v=(100)\vec{v} =\left(\begin{array}{c} 1 \\ 0 \\ 0 \end{array}\right) Let S(xyz)S(x|y|z) be the point of intersection. As SS is on the xx-axis, there must be a cc with S=O+cvx=cy=0z=0\vec{S}=\vec{O}+c\vec{v} \rightarrow \begin{array}{rr} x & = & c \\ y & = & 0 \\ z & = & 0 \end{array} (which makes sense, as every point on the xx-axis must have zero yy- and zz-coordinates). As SS is also in EE, it must fulfil the normal equation from above: 1c20+20=111c-2\cdot 0 + 2\cdot 0=11 and it follows c=11c=11. It follows S(1100)\underline{S(11|0|0)}. Observe that this is just point BB, which we could have seen already at the beginning: BB is on the xx-axis and also in plane EE, so it must be the intersection point. Calculating the intersection point with the yy-axis in a similar way we get S(05.50)\underline{S(0|-5.5|0)}, with the zz-axis we get S(005.5)\underline{S(0|0|5.5)}.
  3. gg is parallel to EE if vu\vec v \perp \vec u, which is indeed the case (because of vu=0\vec v \bullet \vec u=0). To show that gg is (or is not) in EE, take a point on gg and show that this point is (or is not) in EE. For example, take the point AA, which is on gg. As BA⊥̸u\overrightarrow{BA} \not\perp \vec u, AA is not in EE, and thus gg is not in EE.
A2

Try to find the point of intersection S(xyz)S(x|y|z) between the two lines. From SgS\in g it follows that there must be a constant ss with S=A+sAB\vec{S}=\vec{A}+s\overrightarrow{AB}:

(xyz)=(121)+s(1046)x=10s+1y=4s+2z=6s1\left(\begin{array}{c} x \\ y \\ z \end{array}\right) = \left(\begin{array}{c} 1 \\ 2 \\ -1 \end{array}\right) +s\cdot \left(\begin{array}{c} 10 \\ -4 \\ -6 \end{array}\right) \rightarrow \begin{array}{lll} x&=&10s+1\\ y&=&-4s+2\\ z&=&-6s-1\\ \end{array}

and because SS is also in hh, there must be some constant tt with S=C+tCD\vec{S}=\vec{C}+t\overrightarrow{CD}

(xyz)=(213)+t(796)x=7t+2y=9t1z=6t3\left(\begin{array}{c} x \\ y \\ z \end{array}\right) = \left(\begin{array}{c} 2 \\ -1 \\ -3 \end{array}\right) +t\cdot \left(\begin{array}{c} 7 \\ -9 \\ 6 \end{array}\right) \rightarrow \begin{array}{lll} x&=&7t+2\\ y&=&-9t-1\\ z&=&6t-3\\ \end{array}

Thus we have to solve the system of equations

10s+1=7t+24s+2=9t16s1=6t3\left| \begin{array}{lll} 10s+1&=&7t+2\\ -4s+2&=&-9t-1\\ -6s-1&=&6t-3\\ \end{array}\right|

To solve this equation, take the first one and solve for ss, that is, s=7t+110s=\frac{7t+1}{10}. In the second (or third) equation replace the ss with the expression in tt above. You get an equation in tt, and you can find a value for tt. And with this value you can now calculate the value for ss. We get t=0.419t=-0.419 and s=0.193s=-0.193.

Now we can calculate the coordinates of SS using tt or ss. With s=0.193s=-0.193, we get Ss(0.932.770.158)S_s(-0.93|2.77|0.158), and with t=0.419t=-0.419 we get St(0.932.775.514)S_t(-0.93| 2.77|-5.514). Note that the two points are not the same. This indicates that the lines do not intersect. And because the lines are also not parallel (there is no cc with AB=cCD\overrightarrow{AB}=c\cdot \overrightarrow{CD}), they have to be skew.

If St=SsS_t=S_s, we would conclude that there is an intersection point. This will be the case for A3.

A3

Try to find the point of intersection S(xyz)S(x|y|z) between the two lines. From SgS\in g it follows that there must be a constant ss with S=A+sAB\vec{S}=\vec{A}+s\overrightarrow{AB}, and from ShS\in h follows that there must be a constant tt with S=C+tCD\vec{S}=\vec{C}+t\overrightarrow{CD}. We arrive at the system of equations

3t1=2s+42t+4=3s+4t=2s1\left| \begin{array}{lll} 3t-1&=&-2s+4\\ -2t+4&=&3s+4\\ t&=&-2s-1\\ \end{array} \right|

To solve this, take for example the first equation, which we solve for tt:

t=2s+53t=\frac{2s+5}{3}

If we replace in the second equation the tt with the expression above, we get an equation in ss only, and we can solve for ss. We get s=2s=-2. Now we can calculate tt, which is t=3t=3.

We can now calculate SS using t=3t=3, and we get St(823)S_t(8|-2|3). We can also calculate SS using s=2s=-2, and this time (compared to A2) we also get Ss(823)S_s(8|-2|3). Because we get the same intersection points for ss and gg, we conclude that the lines intersect and the intersection point is S(823)\underline{S(8|-2|3)}.

For the angle of intersection α\alpha we have

cos(α)=141417\cos(\alpha)=\frac{-14}{\sqrt{14}\cdot\sqrt{17}}

and thus α=155.16\alpha=\underline{155.16^\circ}.

Note that we do not need the intersection point SS to calculate the angle.

A4

A direction vector of gg is

v=(661)\vec{v}=\left(\begin{array}{rrr} -6 \\ -6 \\ -1\end{array}\right)

A normal vector of EE is

n=UV×UW=(722427)\vec{n}=\overrightarrow{UV} \times \overrightarrow{UW} =\left(\begin{array}{ccc} 72 \\ 24 \\ -27\end{array}\right)

For any point PEP \in E it is

UPn\overrightarrow{UP}\perp \vec n

Alternatively, PP has to satisfy the normal equation

72x+24y27z=d72x+24y-27z=d

We find dd by inserting into the equation any known point which is in EE, e.g. let's insert U(008)U(0|0|-8):

720+24027(8)=dd=21672\cdot 0+ 24\cdot 0 - 27\cdot (-8) =d \rightarrow d=216

Let P(xyz)P(x|y|z) be the intersection point. Because of PgP\in g it follows

x=6s+4y=6s2z=s+1\begin{array}{lll} x&=&-6s+4\\ y&=&-6s-2\\ z&=&-s+1\\ \end{array}

And because of PEP\in E it follows that

UPn=0\overrightarrow{UP}\bullet \vec n =072x+24y27(z+8)=072x+24y-27(z+8)=072x+24y27z=21672x+24y-27z=216

(note that the last equation is simply the normal equation from above).

Inserting x=6s+4,y=6s2,z=s+1x=-6s+4, y=-6s-2, z=-s+1 into the equation above, we get s=1183s=-\frac{1}{183}. Thus, the point of intersection is P(4.031.971.01)\underline{P(4.03 |-1.97 | 1.01)}.

The intersection angle is the angle between the normal vector of the plane, and the direction vector of the straight line, i.e.

cos(α)=nvnv=0.798\cos(\alpha)=\frac{\vec{n}\bullet\vec{v}}{|\vec{n}|\cdot|\vec{v}|}=-0.798

It follows α=cos1(0.798)=142.9\alpha=\cos^{-1}(0.798)=\underline{142.9^\circ} (or 37.137.1^\circ).

A5
  1. Denote by S(xyz)S(x|y|z) the point on gg which is closest to PP. This is the case if PSAB\overrightarrow{PS}\perp \overrightarrow{AB}, that is, if (x2)(y+2)+(z2)=0-(x-2)-(y+2)+(z-2)=0 From SgS \in g follows x=t+1y=t+1z=t\begin{array}{lll} x&=&-t+1\\ y&=&-t+1\\ z&=&t\\ \end{array} Inserting x,yx, y and zz into the first equation, we get t=43t=\frac{4}{3} and therefore S(131343)S(-\frac{1}{3}|-\frac{1}{3}| \frac{4}{3}). The shortest distance is d(P,g)=PS=263d(P,g)=|\overrightarrow{PS}|=\underline{\sqrt{\frac{26}{3}}}
  2. A normal vector of EE is n=(110)\vec{n}=\left(\begin{array}{ccc} 1 \\ -1 \\ 0\end{array}\right) Let's find the point S(xyz)S(x|y|z) on EE which is closest to PP. We can find SS be intersecting EE with the straight line gg which is orthogonal to EE and passes through PP. Thus, a direction vector of gg is n\vec n (v=n\vec v=\vec n). From SgS\in g follows x=t+2y=t2z=2\begin{array}{lll} x&=&t+2\\ y&=&-t-2\\ z&=&2\\ \end{array} From SES \in E follows (because the origin 00 is in EE) that 0Sn\overrightarrow{0S} \perp \vec n, that is xy+0z=0x-y+0z=0 (the same equation we get by using the normal equation). Inserting x=t+2,y=t2,z=2x=t+2, y=-t-2, z=2 into the equation above, we get t=2t=-2 and therefore S(002)S(0|0|2). The shortest distance is d(P,E)=PS=8d(P,E)=|\overrightarrow{PS}|=\underline{\sqrt{8}}