Think of a vector as an arrow. The arrow has two important features:
Direction: which way it points.
Magnitude: how long it is.
So a vector is really a piece of geometric information about a move from one place to another place. If you start at some point and walk along the arrow, the vector tells you both the direction of the walk and the distance you travel.
What are the two main pieces of information carried by a vector?
Answer:
A vector describes a direction and a magnitude.
Vectors in 2D and 3D
In 2D, a vector looks like this:
A vector in 2D
Vector uā =(,)
š” Tip: Drag the arrow head to change direction/magnitude, drag the circular tail to move the starting point, or drag the line to translate the entire vector.
In 3D, the same idea becomes an ordered triple
v=(x,y,z).
Geometrically, we can think of it as the arrow from the origin to the point (x,y,z).
A vector in 3D space
Vector endpoint: (3, 2, 4)
Magnitude: 5.39
š” Tip: in vector mode, drag inside the graph to move the endpoint. Hold Shift while dragging to adjust z.
What changes when we move from a 2D vector (x,y) to a 3D vector (x,y,z)?
Answer:
We add one more coordinate, so the vector can describe movement in one more independent direction.
Magnitude of a 3D vector
The magnitude of v=(x,y,z) is its length:
ā„vā„=x2+y2+z2ā.
This is the 3D version of the Pythagorean theorem.
For example, if
v=(2,ā1,6),
then
ā„vā„=22+(ā1)2+62ā=41ā.
Compute the magnitude of
u=(ā3,4,12).
Answer:
ā„uā„=(ā3)2+42+122ā=9+16+144ā=169ā=13.
Let
w=(1,2,2).
Find ā„wā„.
Answer:
ā„wā„=12+22+22ā=9ā=3.
Standard basis vectors in 3D
The standard basis vectors in 3D are
i=(1,0,0),j=(0,1,0),k=(0,0,1).
They point along the positive x-, y-, and z-axes respectively.
Any vector v=(x,y,z) can be read as moving x units in the i direction, y units in the j direction, and z units in the k direction.
For example,
(3,ā2,5)
means 3 units in the x direction, 2 units backward in the y direction, and 5 units upward in the z direction.
Which basis vector points along the positive z-axis?
Answer:
k=(0,0,1).
What do the basis vectors i and j represent?
Answer:
i=(1,0,0),j=(0,1,0).
So i points along the positive x-axis and j points along the positive y-axis.
Interpret the vector
(ā2,5,1)
in terms of the coordinate directions.
Answer:
It means 2 units in the negative x direction, 5 units in the positive y direction, and 1 unit in the positive z direction.
Unit vectors
If v is a nonzero vector, then the unit vector in the direction of v is
v^=ā„vā„vā.
It has length 1, but it points in the same direction as v.