Chapter 1: Vectors, Lines and Planes
Section 1.2: Vector Arithmetic
Obtain PQ→, the vector from P:2,3,−4 to Q:−5,1,7, then draw it and the position vectors to points P and Q.
In Figure 1.2.10(a), the red and green arrows represent the position vectors to points P and Q, respectively.
The black arrow, PQ→, the vector from point P to point Q, is the requisite vector.
The gray vector, PQ→#, is the translation of PQ→ back to the origin.
Vector addition gives PQ→′+P=Q, so PQ→# = Q−P.
Translating PQ→# yields PQ→, the vector from point P to point Q.
use plots, Student:-VectorCalculus in
Figure 1.2.10(a) Vectors P, Q, and PQ→
Maple Solution - Interactive
Enter the data
Enter position vector as per Table 1.1.1.
Context Panel: Assign to a Name≻P
2,3,−4→assign to a nameP
Context Panel: Assign to a Name≻Q
−5,1,7→assign to a nameQ
Write the difference of position vectors Q and P.
Context Panel: Evaluate and Display Inline
Obtaining Figure 1.2.10(a) interactively requires that the three main arrows be drawn separately, their colors changed interactively via the Context Panel, and combined via drag-and-drop.
Type P, Q, and Q−P, as appropriate, and press the Enter key
Context Panel: Plots≻Arrow from origin (for P and Q)
Context Panel: Plots≻Arrow from point (for Q−P)≻2,3,−4
Copy/paste each arrow.
Context Panel: Color
Changing the color of a three-dimensional arrow drawn via the Context Panel is difficult because the arrow has to be selected via the mouse. The arrow has two parts, the shaft and the head. Naive selection will change the color of one but not the other. Make two separate selections and color-changes per arrow.
Maple Solution - Coded
The following sequence of commands will draw the principal vectors in Figure 1.2.10(a). The RootedVector command creates a vector whose "tail" or root is part of the data structure. The PlotVector command makes provision for assigning arbitrary colors to individual vectors.
<< Previous Example Section 1.2
Next Section >>
© Maplesoft, a division of Waterloo Maple Inc., 2023. 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