${}$
Chapter 1: Vectors, Lines and Planes
${}$
Section 1.1: Cartesian Coordinates and Vectors
${}$

Essentials


${}$
•

In Cartesian coordinates, the point P:$\left(a\,b\,c\right)$, whose coordinates are $\left\{a\,b\,c\right\}$, is identified with the vector

$\mathbf{P}\=\left[\begin{array}{c}a\\ b\\ c\end{array}\right]$
whose components are $\left\{a\,b\,c\right\}$. In this Study Guide, vectors will be denoted in a bold, Roman typeface. (A common alternative notation is $\overrightarrow{P}$.) The vector P is represented by an arrow from the origin to point P; this arrow is called the position vector to point P.
•

The length of the arrow corresponding to the vector P is the magnitude of P, denoted by the symbol $\u2225\mathbf{P}\u2225$, which is typically called the norm of P. Since there are different kinds of norms, the one used throughout this Study Guide is called the Euclidean norm, and is given by

$\u2225\mathbf{P}\u2225$ = $\sqrt{{a}^{2}\+{b}^{2}\+{c}^{2}}$
${}$
Because each component of the vector is squared, this norm is also called the 2norm. Note also that some texts will use the notation $\left\mathbf{P}\right$ to designate the length of the vector. Maple will compute the length of the vector only if the "double bars " used.
In Maple, with one of the packages Student MultivariateCalculus, Student LinearAlgebra, Student VectorCalculus, or VectorCalculus loaded, the notation $\u2225\mathbf{P}\u2225$ will default to the Euclidean norm of the vector P. In all other cases the Euclidean norm is obtained with the notation ${\u2225\mathbf{P}\u2225}_{2}$ or with the Context Panel option Norm≻Euclidean.
•

In addition to its magnitude, a vector also has a direction. In the plane, the Cartesian vector given by

$V\=\left[\begin{array}{c}a\\ b\end{array}\right]$
has direction $\mathrm{\θ}\=\mathrm{arctan}\left(b\,a\right)$, where $\mathrm{\θ}\in \left(\mathrm{\pi}\,\mathrm{\pi}\right]$ is the angle the vector makes with the positive $x$direction. (See Figure 1.1.1.)

>

use plots, Student:VectorCalculus in
module()
local p1,p2,p3,p4;
p1:=PlotVector(<1,2>,color=black);
p2:=plot([[[0,0],[1,0]],[[1,0],[1,2]]],style=line,linestyle=dot,color=red):
p3:=textplot({[.5,.1,typeset(a)],[.9,1,typeset(b)],[.2,.1,typeset(theta)]});
p4:=display(p1,p2,p3,scaling=constrained,axes=none);
print(p4);
end module:
end use:


Figure 1.1.1 The direction of a plane vector




•

The direction of the vector P in Figure 1.1.2 is given by its three direction angles $\mathrm{\α}\,\mathrm{\β}\,\mathrm{\γ}$, the respective angles made by the vector and the coordinate axes.

•

The right triangle with the red leg in Figure 1.1.2 determines $\mathrm{\α}$; with the green leg, $\mathrm{\β}$; and with the blue leg, $\mathrm{\γ}$. The vector itself is the hypotenuse of each of these triangles. (Rotate the figure to see each of these three triangles clearly.)

•

The cosines of the direction angles are called the direction cosines.

•

Multiplying the direction cosines by a common factor results in a set of direction numbers.


>

use plots, Student:VectorCalculus in
module()
local p1,p2,p3,p4,p5;
p1:=PlotVector(<1,2,3>,color=black);
p2:=spacecurve([1,2*t,3*t],t=0..1,numpoints=2,color=red):
p3:=spacecurve([t, 2, 3*t],t=0..1,numpoints=2,color=green):
p4:=spacecurve([t, 2*t, 3],t=0..1,numpoints=2,color=blue,thickness=2);
p5:=display(p1,p2,p3,p4,scaling=constrained,axes=normal,labels=[x,y,z],tickmarks=[0,0,0],orientation=[35,80,0],lightmodel=none);
print(p5);
end module:
end use:


Figure 1.1.2 The direction of the vector P






•

The end of the position vector at the origin is called the tail, whereas the point of the arrow is called the head or tip. A vector whose tail is fixed to a point is called a bound vector. A Cartesian vector can be transported (slid) parallel to its original direction so that its tail is now at some point other than the origin. Such "movable" vectors are called free vectors.

•

Table 1.1.1 details two different ways to define a vector in Maple. By default, vectors defined in either of these two ways are treated as position vectors, and if drawn, are drawn as arrows from the origin.

Technique

Details

Interactive

Use the Matrix palette. (See Figure 1.1.3.)

Figure 1.1.3 The Matrix palette



The image on the left in Figure 1.1.3 shows the default state of the Matrix palette. The image in the middle is obtained by changing the number of rows to 3 and the number of columns to 1. This can be done interactively via the Choose button that allows for a dynamic setting of the shape of the item to be inserted by the palette.
Click the "Insert Vector [column]" button to obtain the template shown on the right in Figure 1.1.3. Type the components of the vector, using the Tab key to advance to the next field.

Coded

Write $\u27e8a\,b\,c\u27e9$, using the inequality symbols for the "wedge brackets".
Pressing the Enter key will echo the vector as a column vector.

Table 1.1.1 Defining vectors in Maple



${}$


Examples


${}$
Example 1.1.1

Draw the position vector to the Cartesian point $\left(1\,2\right)$.

Example 1.1.2

Calculate the magnitude of the position vector to the point $\left(1\,2\right)$.

Example 1.1.3

Draw the position vector to $\left(1\,2\right)$ translated to the point $\left(2\,1\right)$.

Example 1.1.4

Determine the angle that the position vector to $\left(1\,2\right)$ makes with the $x$axis.

Example 1.1.5

Draw the position vector to the Cartesian point $\left(1\,2\,3\right)$.

Example 1.1.6

Calculate the magnitude of the position vector to the point $\left(1\,2\,3\right)$.

Example 1.1.7

Draw the position vector to $\left(1\,2\,3\right)$ translated to the point $\left(2\,2\,3\right)$.

Example 1.1.8

Determine the angles $\mathrm{\α}\,\mathrm{\β}\,\mathrm{\γ}$, that the position vector to $\left(1\,2\,3\right)$ makes with the $x$, $y$, and $z$axes, respectively.

Example 1.1.9

Determine the coordinates of the tip of the position vector to $\left(1\,2\right)$ if it is translated so its tail is at the point $\left(3\,4\right)$.

Example 1.1.10

Determine the coordinates of the tip of the position vector to $\left(1\,2\,3\right)$ if it is translated so its tail is at the point $\left(3\,2\,1\right)$.



${}$

${}$
<< Chapter Overview Table of Contents 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
${}$
${}$
${}$
${}$
${}$
${}$
${}$
