Chapter 1: Vectors, Lines and Planes
Section 1.2: Vector Arithmetic
Essentials
Vector arithmetic (addition, subtraction, and multiplication by a scalar) is performed componentwise. Table 1.2.1 illustrates these three operations for vectors in the Cartesian plane, with the obvious generalization to vectors in higher dimensions.
Operation
Algorithm
Scalar Multiplication
ca1a2=c a1c a2
Addition
a1a2+b1b2=a1+b1a2+b2
Subtraction
a1a2− b1b2=a1− b1a2− b2
Table 1.2.1 Componentwise vector arithmetic
The following calculation shows that scalar multiplication is nothing more than a scaling of the length of a vector.
ca1a2 = c a1c a2 = c a12+c a22=c2a12+a22=ca12+a22 = c ∥a1a2∥
In other words, c A = cA. If c<0 then multiplication by c is both a scaling and a reversal of direction.
Consequently, the vector A/A has magnitude (length) 1; dividing a vector by its magnitude to produce a unit vector with the same direction is said to normalize the vector.
Figures 1.2.1-2 provide graphical interpretations of vector addition. In Figure 1.2.1, vector A (thick red) is added to vector B (thick green) to produce the resultant C=A+B (black). The resultant is the diagonal of the parallelogram formed by adjoining to A and B, the vectors A′ and B′, respectively the translate of A to the tip of B, and and the translate of B to the tip of A. The translates are drawn with thinner arrows.
Figure 1.2.1 Parallelogram of vector addition
Figure 1.2.2 Triangle for vector addition
Figure 1.2.2 is simply one of the two triangles formed in the parallelogram of addition (Figure 1.2.1) by the resultant (black diagonal). Note that Figure 1.2.2 translates B to the tip of A, and the original location of vector B is never displayed. However, the translation of B is considered to be B itself. In this interpretation of vector addition, B is translated to the tip of A and the third side of the "triangle" so formed is the sum of A and B.
Figure 1.2.2 implies C=A+B, from which follows B=C−A. In other words, the vector from the tip of A to the tip of C is C−A. It is exceedingly useful to remember this "reversal", namely, that the vector from P to Q is Q−P.
Unit vectors along the three coordinate axes are typically given the names i, j, and k. , but other texts, especially physics texts, tend to use the notation i^, j^, and k^. Representations of these unit basis vectors are given in Table 1.2.2. Of course, in the plane there are only two such vectors, i and j, and then they have only the first two components of the vectors in Table 1.2.2.
i=100
j=010
k=001
Table 1.2.2 Unit basis vectors along coordinate axes
Since vector addition is componentwise, the vector whose components are a,b, and c, can be represented as the sum in Table 1.2.3.
abc = a100+b010+c001 = a i+b j+c k
Table 1.2.3 Representation of a vector in terms of the unit basis vectors
Only Maple's Physics package implements i^,j^,k^ as the unit basis vectors. Hence, throughout the remainder of this Study Guide, the representation shown at the right in Table 1.2.3 will be for notational purposes only. No meaningful computations can be done in Maple (outside of the Physics package) with such symbols.
"Norm" and "Normalize" in Maple
At top-level, the Context Panel for a vector contains both a Norm and a Normalize option. These options invoke the corresponding commands from the LinearAlgebra package, and hence do not default to the Euclidean norm over the reals.
With the Student MultivariateCalculus package installed, the Context Panel for a vector continues to provide the Norm and Normalize options. However, within the Student Multivariate Calculus option, there are Norm and Normalize options that point to the corresponding commands from the Student MultivariateCalculus package where the default is the Euclidean norm over the reals.
For strictly numeric calculations, there would be no difference in the results obtained from using the Context Panel at top-level, or under the aegis of the Student MultivariateCalculus package. However, for vectors containing variables and/or parameters, top-level calculations will take place over the complex numbers and complex conjugates of the indeterminates are likely to appear.
As much as possible, this Guide will favor vector calculations made with the tools of the Student MultivariateCalculus package.
Examples
Example 1.2.1
Normalize the vector A=3 i−4 j.
Example 1.2.2
Normalize the vector A=3 i−4 j+2 k.
Example 1.2.3
If A=3 i−4 j, and B=2 i+5 j, obtain the vectors 3 A+4 B and 5 A−7 B.
Example 1.2.4
If A=3 i−4 j+2 k, and B=2 i+5 j−6 k, obtain the vectors 3 A+4 B and 5 A−7 B.
Example 1.2.5
Represent the position vector to the point 2,−3 in terms of the unit basis vectors i and j.
Example 1.2.6
Represent the position vector to the point 2,−3,5 in terms of the unit basis vectors i, j, and k.
Example 1.2.7
Draw the parallelogram of addition for the sum of A=3 i−4 j and B=2 i+5 j.
Example 1.2.8
Draw the parallelogram of addition for the sum of A=3 i−4 j+2 k, and B=2 i+5 j−6 k.
Example 1.2.9
Obtain PQ→, the vector from P:2,3 to Q:−5,1, then draw it and the position vectors to points P and Q.
Example 1.2.10
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.
<< Previous Section Table of Contents 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
Download Help Document