Section 1.2 An Introduction to Vectors
¶Subsection 1.2.1 Vectors and their Properties
Definition 1.2.1.
A vector is a,typically, a one dimensional array of numbers written as
or horizontally as \(\vec{v}=\left[ 2,-3\right]\text{.}\)
We say that a vector is typically thought of as an array of numbers because in this course that is mostly how we use it. We will look in later units at a couple examples where it is not and array of numbers.
In addition to the numerical definition/representation of vectors we can also view them graphically like so:
The vector that is at an angle in Figure 1.2.2 is the vector \(\vec{v}=\left[ 2,-3 \right]\) from above, the horizontal and vertical vectors in are called elementary vectors and are called \(\vec{e_1}=\left[ 1,0 \right]\) and \(\vec{e_2}=\left[ 0,1 \right]\) respectively. Elementary vectors will play an important roll later.
Vectors play an important and useful roll in mathematics. They can be used to gather, organize, and track related information such as populations of animals, profits and costs, or the spread of disease across population. Here, and in multi-variable calculus, they are most frequently used because they can indicate direction and magnitude and so accurately represent change. For example the vector \(\vec{v}=\left[ 2,-3 \right]\) has a magnitude of \(|\vec{v}|=\sqrt{2^2+(-3)^2}=\sqrt{13}\approx 3.61\text{,}\) which is found using the Pythagorean Theorem. We describe its direction by using a unit vector, that is a vector of length one pointing in the same direction. In this case the unit vector will be
In general given a vector \(\vec{v}=\left[ v_1, v_2, v_3, \ldots, v_n\right]\) the length of \(\vec{v}\) is given by
and the unit vector giving the direction of \(\vec{v}\) is given by
To practice calculating magnitudes and unit vectors click Evaluate (Sage)
.
Subsection 1.2.2 Combining Vectors
¶Thare are also a number of ways to combine vectors. If
and
then we may add these to get
or similarly subtract them
We may also multiply vectors by scalars, which here means a number, like this
If we do all of this at once like so
we say that we are taking a linear combination of \(\vec{v}\) and \(\vec{u}\text{.}\)
While addition and subtraction of vectors works as expected, there is no single well defined multiplication of vectors. Instead of a single multiplication we have two, the dot product and the cross product. While both of these products are important here we will concern ourselves only with the dot product. The dot product of two vectors is calculated by multiplying entries in the vectors together and then adding the results as follows
Geometrically, the dot product is equivalent to
where \(\theta\) is the angle between the two vectors.
To practice your linear combinations and dot products click Evaluate (Sage)
.
As a final note drawing to connect this subsection with the last note that
so that the unit vector in the direction of \(\vec{v}\) is equal to
Subsection 1.2.3 Vector Equations
Linear combinations of vectors are important because they will let us relate vectors to systems of equations. Consider the following system of equations:
looking at the first column it looks like
that is an unknown scalar \(x\) times a vector \(\left[7, -1, 2\right]\text{.}\) Similarly, the second column is
and the third is
Thus the original system of equations can be rewritten into a single vector equation like so
This is the sort of relationship we will explore in the next section.
Section Vocabulary.
Vector, Elementary Vectors, Unit Vectors, Magnitude, Scalar, Dot Product, Linear Combination, Vector Equation