Skip to main content
\(\renewcommand{\chaptername}{Unit} \newcommand{\derivativehomeworklink}[1]{\href{http://db.tt/cSeKG8XO}{#1}} \newcommand{\chpname}{unit} \newcommand{\sageurlforcurvature}{http://bmw.byuimath.com/dokuwiki/doku.php?id=curvature_calculator} \newcommand{\uday}{ \LARGE Day \theunitday \normalsize \flushleft \stepcounter{unitday} } \newcommand{\sageworkurl}{http://bmw.byuimath.com/dokuwiki/doku.php?id=work_calculator} \newcommand{\sagefluxurl}{http://bmw.byuimath.com/dokuwiki/doku.php?id=flux_calculator} \newcommand{\sageworkfluxurl}{http://bmw.byuimath.com/dokuwiki/doku.php?id=both_flux_and_work} \newcommand{\sagelineintegral}{http://bmw.byuimath.com/dokuwiki/doku.php?id=line_integral_calculator} \newcommand{\sagephysicalpropertiestwod}{http://bmw.byuimath.com/dokuwiki/doku.php?id=physical_properties_in_2d} \newcommand{\sagephysicalpropertiesthreed}{http://bmw.byuimath.com/dokuwiki/doku.php?id=physical_properties_in_3d} \newcommand{\sageDoubleIntegralCheckerURL}{http://bmw.byuimath.com/dokuwiki/doku.php?id=double_integral_calculator} \newcommand{\myscale}{1} \newcommand{\ds}{\displaystyle} \newcommand{\dfdx}[1]{\frac{d#1}{dx}} \newcommand{\ddx}{\frac{d}{dx}} \newcommand{\ii}{\vec \imath} \newcommand{\jj}{\vec \jmath} \newcommand{\kk}{\vec k} \newcommand{\vv}{\mathbf{v}} \newcommand{\RR}{\mathbb{R}} \newcommand{\R}{ \mathbb{R}} \newcommand{\inv}{^{-1}} \newcommand{\im}{\text{im }} \newcommand{\colvec}[1]{\begin{bmatrix}#1\end{bmatrix} } \newcommand{\cl}[1]{ \begin{matrix} #1 \end{matrix} } \newcommand{\bm}[1]{ \begin{bmatrix} #1 \end{bmatrix} } \DeclareMathOperator{\rank}{rank} \DeclareMathOperator{\rref}{rref} \DeclareMathOperator{\vspan}{span} \DeclareMathOperator{\trace}{tr} \DeclareMathOperator{\proj}{proj} \DeclareMathOperator{\curl}{curl} \newcommand{\blank}[1]{[14pt]{\rule{#1}{1pt}}} \newcommand{\vp}{^{\,\prime}} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section2.1Vectors and Lines

Objectives
  • 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.

Subsection2.1.1Finding Distances

Exercise2.1.1

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{.}\)

(a)

Draw a 3-D axis then plot the points \((1,5)\) and \((2,3)\)

(b)

Sketch the triangle that connects these two points and the origin — \((0,0)\)

(c)

Find \(\Delta x\) and \(\Delta y\)

(d)

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{.}\)

(e)

Use this formula to find the distance between the points \((1,5,2)\) and \((2,3,3)\)

Exercise2.1.2

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.

(a)

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{?}\)

(b)

Find the distance between the two points \(P=(2,3,-4)\) and \(Q=(0,-1,1)\text{.}\)

(c)

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.

Definition2.1.1

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.

Subsection2.1.2Basic Vector Operations

Definition2.1.2

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{.}\)

Definition2.1.3

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{.}\)

Exercise2.1.3

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{.}\)

Exercise2.1.4

Consider the vector \(\vec v=\langle 3,-1 \rangle\text{.}\)

(a)

Draw \(\vec v\text{,}\) \(-\vec v\text{,}\) and \(3\vec v\text{.}\)

(b)

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?

(i)

\(t=0\) ?

(ii)

\(t=1\) ?

(iii)

\(t=2\) ?

(c)

Draw an axis, then sketch the path followed by the donkey.

(d)

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.

Exercise2.1.5

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{.}\))

(a)

Where is the horse at time \(t=0,1,2\text{?}\)

(b)

Draw an set of axis and put markers on your graph to show the horse's location.

(c)

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.

Subsection2.1.3Magnitude and The Unit-Vector

Definition2.1.4

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.

Definition2.1.5

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{.}\)

Exercise2.1.6Magnitude and Unit Vector Practice

For each of the following vectors, compute the magnitude and unit vector in the same direction.

(a)

\(-3\ii + 7 \jj\)

(b)

\(\lt -4,2,4>\)

(c)

\(8\ii - \jj + 4 \kk\)

Exercise2.1.7

Consider the two points \(P=(1,2,3)\) and \(Q=(2,-1,0)\text{.}\)

(a)

Write the vector \(\vec {PQ}\) in component form \(\lt a,b,c)\rangle\text{.}\)

(b)

Find the length (magnitude) of vector \(\vec {PQ}\text{.}\)

(c)

Find a unit vector for \(\vec{PQ}\text{.}\)

(d)

Finally, find a vector of length 7 units that points in the same direction as \(\vec{PQ}\text{.}\)

Exercise2.1.8

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.

(a)

The donkey's path was given by \((x,y)=\vec v t = (3t,-t)\text{.}\) Find

(i)

The donkey's speed

(ii)

A unit vector that gives the donkey's direction of travel.

(b)

The horse's path was given by \(\vec r(t) = (1,2)t + (3,4)\text{.}\)

(i)

State the part of \(\vec r(t)\) which gives the direction of travel.

(ii)

What is a unit vector in the same direction?

(iii)

what is the speed of the horse?

Subsection2.1.4Vector Lines

Exercise2.1.9

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).

Exercise2.1.10

Let \(P=(3,1)\) and \(Q=(-1,4)\text{.}\)

(a)

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{.}\)

(b)

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.

(c)

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.

Subsection2.1.5Computational Practice

These are provided to help you achieve better skills in basic computational answers

1
2
3
4
5