Chapter 1: Vectors, Lines and Planes
Section 1.6: Lines
|
Example 1.6.5
|
|
Lines and both have the common direction , with passing through point P: and passing through Q:.
a)
|
Find the equations of and .
|
b)
|
Calculate the distance between and .
|
|
|
|
|
Solution
|
|
|
Mathematical Solution
|
|
|
Part (a)
|
|
If P and Q are position vectors to points P and Q, respectively, then
line is described vectorially by , that is, by and
line is described vectorially by , that is, by .
|
|
Part (b)
|
|
•
|
Figure 1.6.5(a) is a sketch of the parallel lines and , along with the points P and Q, the direction vector V, the vector U from point Q to point P, and , the component of U orthogonal to V.
|
•
|
The distance between the points is the magnitude of , where is the projection of U onto V.
|
|
|
Figure 1.6.5(a) Parallel Lines and , and vectors and V
|
|
|
|
|
|
then calculate
and
so that finally, the distance between the lines is
=
|
|
|
Maple Solution - Interactive
|
|
|
Part (a)
|
|
•
|
Tools≻Load Package: Student Multivariate Calculus
|
|
Loading Student:-MultivariateCalculus
|
•
|
Context Panel: Assign to a Name≻V
|
|
|
Obtain lines and
|
•
|
Form a sequence of point P (or Q) and the name V.
|
•
|
Context Panel: Student Multivariate Calculus≻Lines & Planes≻Line
|
•
|
Context Panel: Assign to a Name≻L[k],
|
|
|
|
Display a representation of each line
|
•
|
Write the name of the line.
Context Panel: Evaluate and Display Inline
|
•
|
Context Panel: Student Multivariate Calculus≻Lines & Planes≻Representation≻vectors
(Use on and on as the parameters along the lines.)
|
|
=
|
=
|
|
|
|
|
Part (b)
|
|
•
|
Write the sequence of names for the two lines.
Context Panel: Evaluate and Display Inline
|
•
|
Context Panel: Student Multivariate Calculus≻Lines & Planes≻Distance
|
•
|
Context Panel: Combine≻radical
|
•
|
Context Panel: Approximate≻5 (digits)
|
|
=
|
|
|
The exact distance between the lines can also be expressed as , or even .
The traditional approach to the calculation of the distance between two parallel lines is vector-based, obtaining, for any vector between the two lines, its scalar projection orthogonal to the common direction of the lines. (See Figure 1.6.5(a).) This calculation is give below.
Define the position vectors P and Q
|
•
|
Context Panel: Assign to a Name≻P
|
|
|
•
|
Context Panel: Assign to a Name≻Q
|
|
|
Obtain U, the vector from Q on to P on
|
•
|
Write the definition of U.
|
•
|
Context Panel: Assign Name
|
|
|
Obtain , the projection of U upon V
|
•
|
Write the sequence of names U, V.
Context Panel: Evaluate and Display Inline
|
•
|
Context Panel: Student Multivariate Calculus≻Lines & Planes≻Projection
|
•
|
Context Panel: Assign to a Name≻UV
|
|
=
|
Obtain and its magnitude
|
•
|
Write the difference of U and .
Context Panel: Evaluate and Display Inline
|
•
|
Context Panel:
Student Multivariate Calculus≻Norm
|
|
=
|
|
|
|
|
|
Maple Solution - Coded
|
|
|
Part (a)
|
|
If P and Q are position vectors to points P and Q, respectively, then
line is described vectorially by , that is, by and
line is described vectorially by , that is, by .
|
|
Part (b)
|
|
Initialize
|
•
|
Install the Student MultivariateCalculus package.
|
|
|
•
|
Define the position vectors P and Q, and the direction vector V.
|
|
|
•
|
Obtain , the vector from Q to P.
|
|
|
Calculate =
|
|
=
|
|
|
|
|
|
|
<< Previous Example Section 1.6
Next Section >>
© 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
|