Chapter 1: Vectors, Lines and Planes
Section 1.6: Lines
Example 1.6.3
The lines R=A+t P and R=B+s Q, are defined respectively by the parametric equations
x=3−2 t,y=2+5 t,z=6+t and x=5+4 s,y=7+2 s,z=3+2 s
Show that these lines do not intersect and are not parallel (so they are skew lines).
Find the common normal between them.
Calculate the distance between them.
Solution
Mathematical Solution
Part (a)
Figure 1.6.3(a) shows the two skew lines, their common normal, and the two parallel planes in which the skew lines can be made to lie.
To show that the two lines do not intersect, solve the equations xt=xs and yt=ys, that is,
3−2⁢t=5+4⁢s,2+5⁢t=7+2⁢s
for s=−56,t=23, thereby determiningx,y=5/3,16/3 as the point in the xy-plane above (or below) which the skew lines cross.
use plots in module() local p1,p2,p3,p4,p5,L; p1 := plot3d([13/3+(1/3)*x+(1/3)*y,-1+(1/3)*x+(1/3)*y],x=-10..10,y=-5..15): p2 := spacecurve([3-2*t, 2+5*t, 6+t], t = -2 .. 3, color = black, thickness = 3, numpoints = 2): p3 := spacecurve([5+4*s, 7+2*s, 3+2*s], s = -4 .. 2, color = red, thickness = 3, numpoints = 2): L := [21/11+(16/11)*m, 52/11+(16/11)*m, 72/11-(48/11)*m]: p4:=spacecurve(L,m=0..1,color=green,thickness=3,numpoints=2): p5:=display(p1,p2,p3,p4,axes=none,orientation=[50,55,-10],scaling=constrained); print(p5); end module: end use:
Figure 1.6.3(a) Skew lines, common normal, and enclosing parallel planes
The corresponding z-coordinates on the two lines are respectively z2/3=20/3 and z−5/6=4/3. Since these two values are different, the two lines do not intersect.
To show that the lines are not parallel, show that their direction vectors P and Q are not collinear, something that can be done by showing
N=P×Q=811−3 ≠0
Part (b)
The common normal between these lines is N=811−3.
Part (c)
Figure 1.6.3(b) shows the skew lines, points A and B, the blue vector
V=B−A = 573−326 = 25−3
from A to B, and N, in green.
The distance between the lines is
V·N/N=16/11
the scalar projection of V on N.
Figure 1.6.3(b) Projecting V on N
Maple Solution - Interactive
Initialize
Tools≻Load Package: Student Multivariate Calculus
Loading Student:-MultivariateCalculus
Define the two lines, naming them L1 and L2
Write the sequence A, P (or B, Q).
Context Panel: Student Multivariate Calculus≻Lines & Planes≻Line
Context Panel: Assign to a Name≻L[1] (or L[2])
3,2,6,−2,5,1→make line<< Line 1 >>→assign to a nameL1
5,7,3,4,2,2→make line<< Line 2 >>→assign to a nameL2
Query the lines
Write the sequence of names for the lines. Context Panel: Evaluate and Display Inline
Context Panel: Student Multivariate Calculus≻Lines & Planes≻Skew (or Parallel, or Intersects)
L1,L2 = << Line 1 >>,<< Line 2 >>→skew lines?true
L1,L2 = << Line 1 >>,<< Line 2 >>→parallel?false
L1,L2 = << Line 1 >>,<< Line 2 >>→intersect?false
The first query indicates that the lines are skew; the second and third confirm this by declaring that the lines are neither parallel nor intersecting.
The traditional "textbook" approach to showing the lines do not intersect is to solve the equations xt=xs and yt=ys for the s^,t^-pair corresponding to the x,y-point directly beneath the point in ℝ3 where the two lines pass over each other. Then, showing that zt^≠zs^ is sufficient indication that the lines do not intersect.
That the lines don't intersect:
Obtain the "combined vector" form of each line
Write the name of the line. Context Panel: Evaluate and Display Inline
Context Panel: Student Multivariate Calculus≻Lines & Planes≻Representation≻combined_vector
Context Panel: Assign to a Name≻R[k] (k = 1, 2) For the second line, set the parameter on the line to s. (See Figure 1.6.1(c).)
L1 = << Line 1 >>→representation →assign to a nameR1
L2 = << Line 2 >>→representation →assign to a nameR2
Form the equations xt=xs and yt=ys
Write the notation that equates the first and second components of the two position vectors.
Press the Enter key.
Context Panel: Solve≻Solve
Context Panel: Assign to a Name≻ST
R11=R21,R12=R22
→solve
s=−56,t=23
→assign to a name
ST
Show that zt^≠zs^
Expression palette: Evaluation template
Context Panel: Evaluate and Display Inline
R13x=a|f(x)ST = 203
R23x=a|f(x)ST = 43
The traditional "textbook" approach to showing the lines are not parallel is vector-based.
That the lines are not parallel:
Write the direction vector for the first line.
Context Panel: Assign to a Name≻P
−2,5,1→assign to a nameP
Write the direction vector for second line.
Context Panel: Assign to a Name≻Q
4,2,2→assign to a nameQ
Obtain the cross product of the two direction vectors
Write N=P×Q.
Context Panel: Assign Name
N=P×Q→assign
Exhibit N, the cross product of P and Q
Write N. Context Panel: Evaluate and Display Inline
Since N≠0, P and Q are not parallel.
N =
The common normal is the vector N = obtained at the end of Part (a).
Write the sequence of names for the line structures. Context Panel: Evaluate and Display Inline
Context Panel: Student Multivariate Calculus≻Lines & Planes≻Distance
L1,L2 = << Line 1 >>,<< Line 2 >>→distance1611⁢11
The traditional "textbook" approach to finding the distance between skew lines is vector-based. An arbitrary vector between the two lines is projected onto the common normal. The length of this projection is the distance between the lines. Since points A and B are respectively on each line, the vector V=B−A is a convenient vector to project onto the common normal.
Write the position vector A.
Context Panel: Assign to a Name≻A
3,2,6→assign to a nameA
Write the position vector B.
Context Panel: Assign to a Name≻B
5,7,3→assign to a nameB
Write V=B−A
V=B−A→assign
Obtain the length of the projection of V on N
Write the sequence of two vectors.
Context Panel: Student Multivariate Calculus≻Lines & Planes≻Projection
Context Panel: Norm≻Euclidean
V,N = →projection →Euclidean-norm1611⁢11
Alternate calculation of the scalar projection
Write V·N/N2 Context Panel: Evaluate and Display Inline
V·N/N2 = 1611⁢11
Maple Solution - Coded
If the Student MultivariateCalculus package has been loaded, and the lines L1 and L2 defined, then the following commands will determine that these lines are skew.
Apply the AreSkew command.
AreSkewL1,L2 = true
Apply the AreParallel command.
AreParallelL1,L2 = false
Apply the Intersects command.
IntersectsL1,L2 = false
A solution from first principles:
Apply the solve command to obtain the solution of the equations xt=xs and yt=ys.
q≔solve3−2⁢t=5+4⁢s,2+5⁢t=7+2⁢s
Apply the eval command to obtain zt^.
eval6+t,q = 203
Apply the eval command to obtain zs^.
eval3+2 s,q = 43
Since zt^=20/3≠4/3=zs^, the lines do not intersect. That they are not parallel is established by showing the cross product of the direction vectors is not the zero vector.
Show N=P×Q≠0
N≔CrossProduct−2,5,1,4,2,2 =
If V is an arbitrary vector from line L1 to line L2, then the distance between the lines is the magnitude of the projection of V onto N, the common normal. The following calculations use the Norm, DotProduct, and Projection commands from the Student MultivariateCalculus package.
Define the position vectors A and B.
A,B≔3,2,6,5,7,3:
Define V, the vector from A to B.
V≔B−A:
Use the Norm and Projection commands to calculate the length of the projection of V on N
NormProjectionV,N = 1611⁢11
Obtain the scalar projection of V on N from first principles
Apply the DotProduct and Norm commands.
DotProductV,NNormN = 1611⁢11
<< Previous Example Section 1.6 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document