Objectives
understand vectors as quantities having length and direction, independent of position
express curves with parametric (vector) equations
understand vectors as quantities having length and direction, independent of position
express curves with parametric (vector) equations
Learning to work with vectors will be key tool we need for our work in high dimensions. Let's start with some problems related to finding distance in 3D, drawing in 3D, and then we'll be ready to work with vectors.
To find the distance between two points \((x_1,y_1)\) and \((x_2,y_2)\) in the plane, we create a triangle connecting the two points. The base of the triangle has length \(\Delta x=(x_2-x_1)\) and the vertical side has length \(\Delta y=(y_2-y_1)\text{.}\) The Pythagorean theorem gives us the distance between the two points as \(\sqrt{\Delta x^2+\Delta y^2}=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\text{.}\)
Draw a 3-D axis then plot the points \((1,5)\) and \((2,3)\)
Sketch the triangle that connects these two points and the origin — \((0,0)\)
Find \(\Delta x\) and \(\Delta y\)
Now extend your picture into 3 and use it to show that the distance between two points \((x_1,y_1,z_1)\) and \((x_2,y_2,z_2)\) in 3-dimensions is \(\sqrt{\Delta x^2+\Delta y^2+\Delta z^2}=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}\text{.}\)
Use this formula to find the distance between the points \((1,5,2)\) and \((2,3,3)\)
Recall that a circle (or sphere in 3-D) is just a collection of points which are all equal distance away from a center point.
If the center of a circle is the point \((1,5)\) what is the equation for a circle which passes through the point \((2,3)\text{?}\)
Find the distance between the two points \(P=(2,3,-4)\) and \(Q=(0,-1,1)\text{.}\)
Now find an equation of the sphere passing though point \(Q\) whose center is at \(P\text{.}\) Hint: Each point on the surface of a sphere is \(r\) distance away from the center.
A vector is a magnitude in a certain direction. If \(P\) and \(Q\) are points, then the vector \(\vec{PQ}\) is the directed line segment from \(P\) to \(Q\text{.}\) This definition holds in 1D, 2D, 3D, and beyond. If \(V=(v_1,v_2,v_3)\) is a point in space, then to talk about the vector \(\vec v\) from the origin \(O\) to \(V\) we'll use any of the following notations:
\begin{equation*} \vec v = \vec{OV}=\left\lt v_1,v_2,v_3\right> = v_1\mathbf{i}+v_2\mathbf{j}+v_3\mathbf{k} = (v_1,v_2,v_3) = \begin{pmatrix}v_1\\ v_2\\ v_3 \end{pmatrix} . \end{equation*}The entries of the vector are called the \(x\text{,}\) \(y\text{,}\) and \(z\) (or i, j, k) components of the vector.
Note that \((v_1,v_2,v_3)\) could refer to either the point \(V\) or the vector \(\vec v\text{.}\) The context of the problem we are working on will help us know if we are dealing with a point or a vector.
Let \(\mathbb{R}\) represent the set real numbers. Real numbers are actually 1D vectors.
Let \(\mathbb{R}^2\) represent the set of vectors \((x_1,x_2)\) in the plane.
Let \(\mathbb{R}^3\) represent the set of vectors \((x_1,x_2,x_3)\) in space. There's no reason to stop at 3, so let \(\mathbb{R}^n\) represent the set of vectors \((x_1,x_2,\ldots,x_n)\) in \(n\) dimensions.
In first semester calculus and before, most of our work dealt with problem in \(\mathbb{R}\) and \(\mathbb{R}^2\text{.}\) Most of our work now will involve problems in \(\mathbb{R}^2\) and \(\mathbb{R}^3\text{.}\) We've got to learn to visualize in \(\mathbb{R}^3\text{.}\)
Suppose \(\vec x=\left\lt x_1,x_2,x_3\right>\) and \(\vec y=\left\lt y_1,y_2,y_3\right>\) are two vectors in 3D, and \(c\) is a real number. We define vector addition and scalar multiplication as follows:
Vector addition: \(\vec x+\vec y = (x_1+y_1,x_2+y_2,x_3+y_3)\) (add component-wise).
Scalar multiplication: \(c\vec x = (cx_1,cx_2,cx_3)\text{.}\)
Consider the vectors \(\vec u=\langle 1,2 \rangle\) and \(\vec v=\left\lt 3,1\right>\text{.}\) Draw \(\vec u\text{,}\) \(\vec v\text{,}\) \(\vec u+\vec v\text{,}\) and \(\vec u-\vec v\) with their tail placed at the origin. Then draw \(\vec v\) with its tail at the head of \(\vec u\text{.}\)
Consider the vector \(\vec v=\langle 3,-1 \rangle\text{.}\)
Draw \(\vec v\text{,}\) \(-\vec v\text{,}\) and \(3\vec v\text{.}\)
Suppose a donkey travels along the path given by \((x,y)=\vec v t = (3t,-t)\text{,}\) where \(t\) represents time.
At the following times, where is the donkey?
\(t=0\) ?
\(t=1\) ?
\(t=2\) ?
Draw an axis, then sketch the path followed by the donkey.
Where is the donkey at time \(t=0,1,2\text{?}\) Put markers with labels on your graph to show the donkey's location.
In a previous problem Exercise 4 you encountered \((x,y)=(3t,-t)\text{.}\) This is an example of a function where the input is \(t\) and the output is a vector \((x,y)\text{.}\) For each input \(t\text{,}\) you get a single vector output \((x,y)\text{.}\) Such a function is called a parametrization of the donkey's path. Because the output is a vector, we call the function a vector-valued function. Often, we'll use the variable \(\vec r\) to represent the radial vector \((x,y)\text{,}\) or \((x,y,z)\) in 3D. So we could rewrite the position of the donkey as \(\vec r(t)=(3,-1)t\text{.}\) We use \(\vec r\) instead of \(r\) to remind us that the output is a vector.
Let's look at another, similar problem.
Suppose a horse races down a path given by the vector-valued function \(\vec r(t) = (1,2)t+(3,4)\text{.}\) (Remember this is the same as writing \((x,y) = (1,2)t+(3,4)\) or similarly \((x,y)=(1t+3,2t+4)\text{.}\))
Where is the horse at time \(t=0,1,2\text{?}\)
Draw an set of axis and put markers on your graph to show the horse's location.
Draw the path followed by the horse.
In the last two problems we described the donkey and horse's paths using vectors. The use of vectors actually lets us do a lot more like give a generalized direction or easily compute their speed at any point along the path. To do that we need to define two more mathematical ideas, the magnitude and unit-vector.
The magnitude, or length, or norm of a vector \(\vec v = \left\lt v_1,v_2,v_3\right>\) is \(|\vec v| = \sqrt{v_1^2+v_2^2+v_3^2}\text{.}\) It is just the distance from the point \((v_1,v_2,v_3)\) to the origin.
Note that in 1D, the length of the vector \(\left\lt -2\right>\) is simply \(|-2|=\sqrt{(-2)^2}=2\text{,}\) the distance to 0. Our use of the absolute value symbols is appropriate, as it generalizes the concept of absolute value (distance to zero) to all dimensions.
In the special circumstance where a vector represents an object's velocity, the magnitude of the vector gives the objects speed or non-directional velocity.
A unit vector is a vector whose length is one unit. The notation for a unit vector is generally a “\(\hat{\ }\)” or bold face. Equivalently, the unit vector of a vector \(\vec{v}\) is: \(\hat{v}=\frac{\vec{v}}{|\vec{v}|}\)
The standard unit vectors are \(\mathbf{i}=\left\lt 1,0,0\right>\text{,}\) \(\mathbf{j}=\left\lt 0,1,0\right>\text{,}\) \(\mathbf{k}=\left\lt 0,0,1\right>\text{.}\)
For each of the following vectors, compute the magnitude and unit vector in the same direction.
\(-3\ii + 7 \jj\)
\(\lt -4,2,4>\)
\(8\ii - \jj + 4 \kk\)
Consider the two points \(P=(1,2,3)\) and \(Q=(2,-1,0)\text{.}\)
Write the vector \(\vec {PQ}\) in component form \(\lt a,b,c)\rangle\text{.}\)
Find the length (magnitude) of vector \(\vec {PQ}\text{.}\)
Find a unit vector for \(\vec{PQ}\text{.}\)
Finally, find a vector of length 7 units that points in the same direction as \(\vec{PQ}\text{.}\)
Let's return to Exercise 4 and Exercise 5. We now have the tools to determine the donkey's and horse's speed and direction.
The donkey's path was given by \((x,y)=\vec v t = (3t,-t)\text{.}\) Find
The donkey's speed
A unit vector that gives the donkey's direction of travel.
The horse's path was given by \(\vec r(t) = (1,2)t + (3,4)\text{.}\)
State the part of \(\vec r(t)\) which gives the direction of travel.
What is a unit vector in the same direction?
what is the speed of the horse?
A raccoon is sitting at point \(P=(0,2,3)\text{.}\) It starts to climb in the direction \(\vec v=\left\lt 1,-1,2\right>\text{.}\)
Write a vector equation \((x,y,z)=(?,?,?)\) for the line that passes through the point \(P\) and is parallel to \(\vec v\text{.}\) [Hint, study Exercise 5, and base your work off of what you saw there. It's almost identical.]
Generalize your work to give an equation of the line that passes through the point \(P=(x_1,y_1,z_1)\) and is parallel to the vector \(\vec v=\langle v_1,v_2,v_3 \rangle\text{.}\)
Make sure you ask me in class to show you how to connect the equation developed above to what you have been doing since middle school. If you can remember \(y=mx+b\text{,}\) then you can quickly remember the equation of a line. If I don't show you in class, make sure you ask me (or feel free to come by early and ask before class).
Let \(P=(3,1)\) and \(Q=(-1,4)\text{.}\)
Write a vector equation \(\vec r(t)=(x,y)\) for (i.e, give a parametrization of) the line that passes through \(P\) and \(Q\text{,}\) with \(\vec r(0)=P\) and \(\vec r(1)=Q\text{.}\)
Write a vector equation for the line that passes through \(P\) and \(Q\text{,}\) with \(\vec r(0)=P\) but whose speed is twice the speed of the first line.
Write a vector equation for the line that passes through \(P\) and \(Q\text{,}\) with \(\vec r(0)=P\) but whose speed is one unit per second.
These are provided to help you achieve better skills in basic computational answers