Math 344: Calculus III
12.2 Vectors
12.2.1 Vector Introduction¶
$$ \require{color} \definecolor{brightblue}{rgb}{.267, .298, .812} \definecolor{darkblue}{rgb}{.08, .18, .28} \definecolor{palepink}{rgb}{1, .73, .8} \definecolor{softmagenta}{rgb}{.99,.34,.86} \def\ihat{\hat{\mmlToken{mi}[mathvariant="bold"]{ı}}} \def\jhat{\hat{\mmlToken{mi}[mathvariant="bold"]{ȷ}}} \def\khat{\hat{\mathrm{k}}} \def\tombstone{\unicode{x220E}} \mathbf{P} = (x_1, x_2, \dots, x_n ) $$
A vector is an element of a Vector Space. The concept of vectors are central to the study of linear algebra as well as vector calculus (an alternative title used for this course at other universities). As a mathematical concept, vectors are quite common and have several useful applications. For an introduction, students should study the series linear algebra by Grant Sanderson and hosted on his website 3Blue1Brown
Vectors, what even are they?
Please study this second video in this series before continuing with the online notes or reading the textbook.
Throughout this course we will use all three perspectives discussed in the video for our discussion of vectors. We will choose the most useful perspective at each point in the notes. The physicist student's perspective is the most visual, so let us start there with arrows. The visualization of a vector as an arrow in space means that we need an underlying space of points with unique coordinates, and a metric or method of measuring the distance between any two different points. These coordinates are described in the video and discussed below in these notes.
Each vector has an initial point or tail where it begins, and a terminal point or tip where it ends. The magnitude of the vector is the length between these two points and the direction is given in the sense of traveling from the initial to terminal point. This is called a directed line segment, and a directed line segment from $P$ to $Q$ is denoted as $\overrightarrow{PQ}$.
In these examples $P$ and $A$ are different points in our underlying coordinate space of points. Likewise $Q$ and $B$ are different points, however $\overrightarrow{PQ}$ and $\overrightarrow{AB}$ are the same vector because they point the same direction and they have the same length.
The two vectors pictured above are equivalent, since they both have the same magnitude and direction. It does not matter where in our underlying coordinate system arrows sit, if two vectors share their magnitude and direction, they represent the same vector.
In the mathematician picture, we may also refer to the displacement vector $\overrightarrow{PQ} = \overrightarrow{v}$ or $\mathbf{v}$. Vectors are typically represented using particular notation, with several forms being common.
Typical Vector Notations¶
- Arrows over $$\overrightarrow{v_1},\ \ \overrightarrow{v_2}$$
- Underlining $$\underline{v_1},\ \ \underline{v_2}$$
- Bold face $$\mathbf{v}_1,\ \ \mathbf{v}_2$$
- Hats $$\ihat,\ \ \khat$$
Bold face will be preferred in these notes, while arrows over or underlining will be the preferred method for handwritten work. The hatted vectors are typically reserved for special cases, such as the canonical basis vectors $\ihat$, $\jhat$, and $\khat$ or a "changed" or shifted vector $\mathbf{x}\mapsto\mathbf{\hat{x}}$. These will be discussed in more detail when they come up.
12.2.2 Vector Operations¶
There are two mathematical operations for vectors:
- scalar multiplication
- vector addition
We will begin by examining these using arrows, then talk about how to use component form to express these operations in a way that is convenient for doing the associated arithmetic. Scalar multiplication does exactly what the name says, it "scales" a vector. A real number is chosen and the magnitude of the vector is stretched (for absolute values larger than one) or shrunk (for absolute values between zero and one) by that factor. Multiplying any vector by the scalar $0$ results in the zero vector $\mathbf{0}$ (note that this is bold faced and distinct from $0$, more on this later). If the scalar is negative, the arrow points in the opposite direction. Examining a vector $\mathbf{v}$:
Vector addition is the process to combining two vectors via a sum. To add a pair of vectors, the terminal point of the first vector is used as the initial point to draw the second vector, and the new vector formed from the initial point of the first and terminal point of the second is the vector sum. For two vectors $\mathbf{u}$ and $\mathbf{v}$, this looks like
On the left, we see that added vectors may be thought of as forming a triangle, with the third side being the sum $\mathbf{u}+\mathbf{v}$. On the right, we see that vector addition commutes, that is $\mathbf{u}+\mathbf{v} = \mathbf{v}+\mathbf{u}$. Visually, this forms a parallelogram. In either case, it is typical to think of adding the arrows by drawing them "tip to tail" as in the images.
12.2.3 Vector Components¶
Consider the vector with initial point $P(-2,2)$ and terminal point $Q(3,0)$, plotted below
We see that this vector is the same as the other vector $\mathbf{v}$ plotted from $(0,0)$ to $(5,-2)$. It is generally inconvenient to track a pair of points to define a vector, and we would rather work with the version with the tail (initial point) at the origin. This is the component form of a vector. To find the component form for a vector, you take the difference, in order, of the final and initial coordinates of the points defining the vector. So,
$$ \overrightarrow{PQ} = \begin{bmatrix} 3 - (-2) \\ - 2 \end{bmatrix} = \begin{bmatrix} 5 \\ -2 \end{bmatrix} $$
Here I have written the results as a column vector, one of the few notations available. There are a few and it is extremely important that you pay attention to the context of the problem because it is assumed in many texts that the reader will know if the discussion concerns a point in space or a vector. The use of one of the following notations is typically present, but in some places other authors are not so careful.
Component Form of a Vector¶
Given a vector $\mathbf{v}$ with components $v_1,v_2,\ldots,v_n$, there are several possible notations
- Column vector $$ \mathbf{v} = \begin{bmatrix} v_1 \\ v_2 \\ \vdots \\ v_n \end{bmatrix} $$
- Transpose coordinates $$ \mathbf{v} = (v_1,v_2,\ldots,v_n)^T $$
- Angle brackets $$ \mathbf{v} = \langle\,v_1,v_2,\ldots,v_n\,\rangle $$
- Just plain lazy $$ \mathbf{v} = (v_1,v_2,\ldots,v_n) $$
The column vector representation is the "most correct," as it fits best with how we represent vectors in linear algebra. However, it is also the one that takes the most real estate when writing. The other notations mostly exist for convenience for either handwriting or printing. (Paper is expensive and our printing presses had limitations in the past, which is why some of these notations were originally necessary.) The transpose coordinate version is just a compact form letting you know what a column vector is meant. The angle brackets are an uncommon vector notation employed by the Stewart text. It is used exclusively to represent component forms, so that parentheses will always represent an ordered pair or triple.
This is not typical. This notation is used primarily to save space in Stewart's textbooks. Angle brackets tend to be reserved for inner products, something we will discuss next section. You instructor will accept angle bracket notation, however student's should use column vector notation or transposed tuples.
The just plain lazy notation is exactly that. It uses the same notation for a point and expects you to know from context that a vector is being implied. In practice, this is the second most common way you are will see vectors used in other classes. For this class, use column vectors or the angle bracket notation while you are getting familiar with vectors. Do not shortcut anything until you are certain you know what you are doing.
Misuse of the notation will be interpreted as a lack of understanding. Practice your skills.
12.2.4 Vector Arithmetic and Properties¶
As stated above, the formula for the vector $\mathbf{v}$ represented by the directed line segment from $P(x_1,y_1,z_1)$ to $Q(x_2,y_2,z_2)$ is given by
$$ \mathbf{v} = \langle\ x_2-x_1, y_2-y_1,z_2-z_1\ \rangle = \langle\ v_1,v_2,v_3\ \rangle $$
Magnitude of a Vector¶
If we want to find the magnitude $|\mathbf{v}|$ of this component vector, we use the formula
$$ |\mathbf{v}| = \sqrt{v_1^2 + v_2^2 + v_3^2} $$
The text uses a single vertical bar on either side of the vector name to represent magnitude just like we represent absolute value. This is correct, but it is also common (especially in linear algebra) to instead write $\|\mathbf{v}\|$ which is the norm of the vector. These are equivalent for vectors, so you may see the norm notation up if you look at other writings and resources.
Vector Addition¶
If two vectors are given in component form, adding them is simple: add the vectors component-wise. Suppose $\mathbf{u} = \langle\ u_1,u_2\ \rangle$ and $\mathbf{v} = \langle\ v_1,v_2\ \rangle$, then
$$ \mathbf{u} + \mathbf{v} = \langle\ u_1 + v_1, u_2 + v_2\ \rangle $$
To take the difference of these vectors, we subtract the components similarly
$$ \mathbf{u} - \mathbf{v} = \langle\ u_1 - v_1, u_2 - v_2\ \rangle $$
The process is the same for 3D vectors, so if instead $\mathbf{u},\mathbf{v}\in\mathbb{R}^3$ we have
$$ \begin{align*}
\mathbf{u} + \mathbf{v} &= \langle\ u_1 + v_1, u_2 + v_2, u_3 + v_3\ \rangle \\
\\
\mathbf{u} - \mathbf{v} &= \langle\ u_1 - v_1, u_2 - v_2, u_3 - v_3\ \rangle
\end{align*} $$
Scalar Multiplication¶
To scale a vector $\mathbf{v}$ by a constant $k$, just multiply each component of the vector by that constant
$$ \begin{align*}
k\mathbf{v} &= \langle\ kv_1, kv_2\ \rangle \\
\\
k\mathbf{v} &= \langle\ kv_1, kv_2, kv_3\ \rangle
\end{align*} $$
Exercise 12.2.1¶
Given $\mathbf{u} = \langle\ 1,-2,3\ \rangle$ and $\mathbf{v} = \langle\ 0,4,-1\ \rangle$, compute
- $|\mathbf{u}|$
- $3\mathbf{u}$
- $\mathbf{u} + \mathbf{v}$
- $3\mathbf{u} - 2\mathbf{v}$
Check Your Work
1. $$ |\mathbf{u}| = \sqrt{(1)^2 + (-2)^2 + (3)^2} = \sqrt{1 + 4 + 9} = \sqrt{14} $$ 2. $$ 3\mathbf{u} = 3\langle\ 1,-2,3\ \rangle = \langle\ 3(1),3(-2),3(3)\ \rangle = \langle\ 2,-6,9\ \rangle $$ 3. $$ \mathbf{u} + \mathbf{v} = \langle\ 1,-2,3\ \rangle + \langle\ 0,4,-1\ \rangle = \langle\ 1+0,-2+4,3-1\ \rangle = \langle\ 1,2,2\ \rangle $$ 4. $$ 3\mathbf{u} - 2\mathbf{v} = \langle\ 2,-6,9\ \rangle - \langle\ 0,8,-2\ \rangle = \langle\ 2,-14,11\ \rangle $$
Lastly, we want to list the main properties of vectors in a vector space. Vectors live in vector spaces, and it is typical to refer to a generic $n$-dimensional vector space as $V_n$. Both $\mathbb{R}^2$ and $\mathbb{R}^3$ are vector spaces, so these properties specifically work there, but also in any vector space, as you find if you later study linear algebra. For our purposes, we take the following as given.
Closure Properties¶
If $\mathbf{u}$ and $\mathbf{v}$ are vectors in the same vector space $V_n$, and $\alpha$ is a scalar, then we have the following properties:
Addition
$\mathbf{u} + \mathbf{v}$ is also a vector in the same Vector Space as $\mathbf{u}$ and $\mathbf{v}$. Scalar Multiplication
$\alpha\mathbf{u}$ is also a vector in the same Vector Space as $\mathbf{u}$.
Vector Properties¶
If $\mathbf{u}$, $\mathbf{v}$, and $\mathbf{w}$ are vectors in the same vector space $V_n$, and $\alpha$ and $\beta$ are scalars, then we have the following properties:
- Vector Addition Commutes $$ \mathbf{u} + \mathbf{v} = \mathbf{v} + \mathbf{u} $$
- Vector Addition Associates $$ \mathbf{u} + \left(\mathbf{v} + \mathbf{w} \right) = \left(\mathbf{u} + \mathbf{v}\right) + \mathbf{w} $$
- The Zero Vector is the Additive Identity $$ \mathbf{v} + \mathbf{0} = \mathbf{u} $$
- Each Vector has an Additive Inverse $$ \mathbf{v} + (-\mathbf{v}) = \mathbf{0} $$
- Scalar Multiplication Distributes Over Vector Addition $$ \alpha(\mathbf{u} + \mathbf{v}) = \alpha\mathbf{u} + \alpha\mathbf{v} $$
- Scalar Multiplication Distributes Over Scalar Addition $$ (\alpha + \beta)\mathbf{v} = \alpha\mathbf{v} + \beta\mathbf{v} $$
- Scalar Multiplication Associates $$ (\alpha\beta)\mathbf{v} = \alpha(\beta\mathbf{v}) $$
- (The Scalar) One is a Multiplicative Identity $$ 1\mathbf{v} = \mathbf{v} $$
Using these properties, we can perform vector algebra in much the same way as you are familiar with algebra involving formulas and functions by doing the appropriate symbolic manipulations. Also note that we have not said anything about vector multiplication, just scalar multiplication. We will see in the next couple of sections that there are peculiarities with the idea of multiplying vectors and that it does not always just work like we are used to with real numbers.
12.2.5 The Standard Basis¶
We represent points and vectors in $\mathbb{R}^2$ and $\mathbb{R}^3$ using ordered pair or triples and the corresponding pairs or triples for coordinate vectors. For example, in 2D we would have $(x,y)$ and $\langle\, x,y\, \rangle$ for a point and its associated coordinate vector. The reason this works is because we have a meaning assigned to the ordering of the coordinates $x$ and $y$. This ordering is associated with the basis that we are using for a coordinate system. A basis is composed of vectors that define the key directions, and hence coordinate system, within a vector space. In rectangular coordinates (our typical choice) we use something called the standard basis or canonical basis. This basis is composed of a unit vector (a vector of length one) that points in each of the $x$, $y$, and $z$ (if 3D) directions. We call these vectors $\ihat$, $\jhat$, and $\khat$, where in 2D we have
$$ \ihat = \langle\, 1,0\,\rangle\qquad\qquad \jhat = \langle\, 0,1\,\rangle $$
and in 3D
$$ \ihat = \langle\, 1,0,0\,\rangle\qquad\qquad \jhat = \langle\, 0,1,0\,\rangle\qquad\qquad \khat = \langle\, 0,0,1\,\rangle $$
Using the vector properties, we can see that it is possible to represent a vector $\langle\, x,y\,\rangle$ or $\langle\, x,y,z\,\rangle$ in terms of these vectors.
$$ \begin{align*}
\langle\, x,y\,\rangle &= x\langle\, 1,0\,\rangle + y\langle\, 0,1\,\rangle = x\,\ihat + y\,\jhat \\
\\
\langle\, x,y,z\,\rangle &= x\langle\, 1,0,0\,\rangle + y\langle\, 0,1,0\,\rangle + z\langle\, 0,0,1\,\rangle = x\,\ihat + y\,\jhat + z\,\khat
\end{align*} $$
You may be given information about vectors in either component form or in terms of the standard basis vectors $\ihat$, $\jhat$, and $\khat$. Typically, you report answers using the same notation the information in the exercise is given in unless instructed otherwise.
Exercise 12.2.2¶
Let $\mathbf{a} = 3\ihat - 2\jhat + \khat$ and $\mathbf{b} = 5\jhat - 2\khat$. Determine $3\mathbf{a} + 4\mathbf{b}$ in terms of the standard basis vectors.
Check Your Work
$$ \begin{align*} 3\mathbf{a} + 4\mathbf{b} &= 3\left(3\ihat - 2\jhat + \khat\right) + 4\left(5\jhat - 2\khat\right) \\ \\ &= 9\ihat - 6\jhat + 3\khat + 20\jhat - 10\khat\\ \\ &= 9\ihat + 14\jhat - 7\khat \end{align*} $$
Any vector that is multiplied by a positive scalar points in the same direction as the original vector. So, if we want to find a unit vector that points in the same direction as a given nonzero vector, all we need to is find the magnitude of that vector and multiply the original by the reciprocal of the magnitude.
A Unit Vector¶
If $\mathbf{v} \neq 0$, then
$$ \mathbf{u} = \dfrac{1}{|\mathbf{v}|}\mathbf{v} = \dfrac{\mathbf{v}}{|\mathbf{v}|} $$
is a unit vector in the same direction as $\mathbf{v}$.
Exercise 12.2.3¶
Find a unit vector that points in the same direction as $\mathbf{a}$ from the previous exercise.
Check Your Work
Begin by finding the magnitude of $\mathbf{a}$,
$$ |\mathbf{a}| = \sqrt{(3)^2 + (-2)^2 + (1)^2} = \sqrt{14} $$
then divide $\mathbf{a}$ by that value $$ \begin{align*} \mathbf{u} &= \dfrac{\mathbf{a}}{|\mathbf{a}|} \\ \\ &= \dfrac{1}{\sqrt{14}}\left(3\ihat - 2\jhat + \khat\right) \\ \\ &= \frac{3}{\sqrt{14}}\ihat - \dfrac{1}{7}\jhat + \frac{1}{\sqrt{14}}\khat \end{align*} $$
12.2.6 Applications¶
One of the reasons that vectors are so important is their usefulness in solving applied problems. If there is a physical quantity such as a force or a velocity that we can interpret as a vector, then we can use vector arithmetic to determine aspects related to that quantity. To do this, we will need to put the vector into component form prior to performing our calculations. Unfortunately, the real world does not come equipped with a fixed coordinate system, so we will need to measure the length (magnitude) and angle (direction) of a vector and translate it to a coordinate system that we choose for a particular problem.
The nice thing about the freedom to choose a coordinate system is that we can both place the origin somewhere convenient and orient the axes in the simplest way for the problem. For most problems there is typically one (or maybe two) choices for the coordinate system that simplify the problem the most. Setting things up properly by smartly choosing how to place the coordinate axes is one of most important critical thinking skills to develop as you solve problems. We will use this skill consistently throughout the course in different forms.
Another thing to keep in mind is that vectors are translation invariant. This is another way of saying that their magnitude and direction are the only things that matter. Where a vector is drawn does not. This means that if we are trying to figure out information about a particular vector, we can move the coordinate system for that particular vector, determine its properties, then move to any other vectors we need to deal with.
Exercise 12.2.4¶
Consider a 200 kg beam that is suspended by cables as shown in the image on the right, where the cables are connected at the ends of the beam in a way so that they are both at an angle of $60^\circ$ with the beam. This system is in static equilibrium which means that the sum of all forces acting on it are zero. The three forces acting on the beam are the force of gravity and the tension forces from the two cables in contact with the beam. Determine the tension vector in each of the cables connected to the beam and the magnitude of those tensions.Your use of this self-initiated mediated course material is subject to our Creative Commons License 4.0