Chapter 1: Vectors, Lines and Planes
Section 1.3: Dot Product
Example 1.3.6
Use vector methods to find the distance between the points A:4,5 and B:−3,2.
Solution
Mathematical Solution
The distance from point B to point A is the magnitude (length) of the vector A−B given by the following calculation.
A−B = 45−−32 = ∥73∥ = 72+32=49+9=58
Maple Solution - Interactive
Initialize
Tools≻Load Package: Student Multivariate Calculus
Loading Student:-MultivariateCalculus
Enter A as per Table 1.1.1.
Context Panel: Assign Name
A=4,5→assign
Enter B as per Table 1.1.1.
B=−3,2→assign
Obtain A−B
Context Panel: Evaluate and Display Inline
A−B = 58
Alternatively, use the Context Panel
Write the difference of the two vectors. Context Panel: Evaluate and Display Inline
Context Panel: Student Multivariate Calculus≻Norm
A−B = →norm58
The Distance option in the Student Precalculus package provides an alternative approach.
Tools≻Load Package: Student Precalculus
Loading Student:-Precalculus
Write the sequence of two vectors. Context Panel: Evaluate and Display Inline
Context Panel: Student Precalculus≻ Lines and segments≻Distance
A,B = →distance between points58
Table 1.3.6(a) provides a solution via the task template. Points can be entered either as lists or as vectors.
Tools≻Tasks≻Browse: Algebra≻Distance between Two Points
Distance between Two Real Points
Enter points as lists or vectors:
Point 1:
Point 2:
=
Table 1.3.6(a) Task template for finding distance between two points
Maple Solution - Coded
Install the Student MultivariateCalculus package.
withStudent:-MultivariateCalculus:
Assign the given vectors to the names A and B.
A,B≔4,5,−3,2:
Apply the Norm command.
NormA−B = 58
<< Previous Example Section 1.3 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