Overview
A vector is any quantity that has both magnitude and direction. For example, a description of the wind in a weather report typically includes both the strength of the wind and the direction from which the wind is blowing, making wind a vector quantity.
Many important quantities in science can be described as vectors, especially in physics. For example, a force acting on an object is a vector, since it has both magnitude (the strength of the force) and direction (the direction of the push or pull). Other vector quantities in physics include momentum, impulse, angular momentum, torque, and the electric and magnetic field vectors.
In mathematics, vectors are indispensable tools in geometry, and are used extensively to provide geometric insight in subjects such as multivariable calculus and differential equations. Vectors and their generalizations are also one of the main objects of study in linear algebra.
Key Ideas
- Two vectors are considered equal as long as they have the same magnitude and the same direction, even if they start and end at different points.
- Ordinary numerical quantities (real numbers) are referred to as scalars; a variable may be either a vector variable or a scalar variable.
- Vector addition obeys the commutative, associative, and additive identity properties.
- The negation has the same magnitude as but the exact opposite direction; .
- A linear combination of vectors and is any expression of the form where and are scalars.
- In , every vector can be written as a linear combination of the standard basis vectors and .
- A unit vector has magnitude equal to 1; given any nonzero vector , its normalization is .
1. Vectors
Vectors as Arrows
We typically think of a vector as an arrow drawn in Euclidean space. A two-dimensional vector can be represented by an arrow drawn in the Euclidean plane. The magnitude of the vector is the length of the arrow, i.e. the distance from the point to the point , while the direction of the vector is the direction that the arrow points.
Two vectors are considered equal as long as they have the same magnitude and the same direction. For example, two vectors can be considered the same even though they start and end at different points. When working with vectors, we can move a vector anywhere we want in the plane as long as we do not change its magnitude or direction.
Notation and Terminology
When discussing vectors, ordinary numerical quantities (i.e. real numbers) are referred to as scalars. Both vectors and scalars are used for algebra, and a variable may be either a vector variable or a scalar variable.
To help distinguish between these two types of quantities, vector variables will always be written in an upright bold font:
while scalar variables will be written in the usual italic font:
This is the most popular convention for distinguishing between vector and scalar variables, but other conventions are possible. For example, some books denote a vector variable using an arrow above the letter:
This is also the most common way to indicate a vector variable when doing hand calculations, since it is difficult to make handwritten letters bold, and the reader is encouraged to adopt this practice.
Magnitude of a Vector
The magnitude of a vector is a scalar, and corresponds to the length of any arrow that represents the vector. Different books write the magnitude of a vector in different ways:
Also, some books refer to the magnitude of a vector as its length or norm instead. We will consistently use the word "magnitude" and write for the magnitude of a vector .
The magnitude of a vector is always either positive or zero:
If , then is the zero vector, which has a magnitude of zero but no direction. We will use a bold zero to denote the zero vector.
Vector Addition
There is a way of combining two vectors known as vector addition. Given two vectors and , we arrange them end to end. The vector that stretches from the beginning of to the end of is called the sum of and , and is written .
Vector addition has many of the same properties as addition of scalars.
Properties of Vector Addition
Vector addition has the following properties:
- Commutative property: for any two vectors and .
- Associative property: for any three vectors , , .
- Additive identity: for any vector , where is the zero vector.
The figures below show the geometry behind the commutative and associative properties.
The additive identity property follows immediately from the fact that the zero vector has the same starting and ending point.
Negation and Subtraction
The negation of a vector , denoted , is the vector with the same magnitude but the exact opposite direction. Sometimes is also called the opposite of , and together and are opposite vectors. Note that the negation of the zero vector is again the zero vector.
A vector and its negation are additive inverses, meaning that
for any vector .
Although this operation is referred to as negation, there isn't any sense in which a vector is either positive or negative. A vector points in a certain direction, and its negation points in the exact opposite direction, but neither of these directions is preferred, and there is no good way to decide which of and should be positive and which should be negative.
We can use negation to define subtraction for vectors. If and are vectors, the difference is defined by the formula
If and are arranged to have the same beginning point, then the difference is the vector that points from the end of to the end of .
Scalar Multiplication
There does not seem to be a good way of multiplying two vectors in general. However, there is an operation called scalar multiplication that allows us to multiply a vector by a scalar.
For a positive scalar and a vector , the product is a vector in the same direction as whose magnitude has been scaled by a factor of . Thus,
Multiplying a vector by a negative scalar both scales and negates the vector. Thus is the same as , and is the same as for any scalar . Note then that
for any scalar , where is the absolute value of .
Finally, multiplying a vector by the scalar results in the zero vector:
Properties of Scalar Multiplication
Scalar multiplication has the following properties:
- Associativity: for any scalars , and any vector .
- Multiplicative identity: for any vector .
- Left distributivity: for any scalar and any vectors , .
- Right distributivity: for any scalars , and any vector .
Linear Combinations
A linear combination of two vectors and is any expression of the form
where and are scalars.
A linear combination is the most general way of combining two vectors and using vector addition and multiplication by scalars. That is, any expression involving and and these two operations can always be simplified algebraically to a linear combination of and .
It is also possible to take a linear combination of more than two vectors. For example, if , , and are three vectors, a linear combination of them would have the form
where , , and are scalars. More generally, if are different vectors, then a linear combination of them has the form
where are scalars.
The Algebra of Vectors
The properties of vector addition and scalar multiplication mean that essentially all of the usual rules of algebra apply to vectors, as long we do not try to multiply two vectors together or add a vector to a scalar. In particular, we can use algebra to solve equations involving vectors.
Examples
Example 1
Express the vector as a linear combination of and .
Solution Distributing the and through gives
and combining like terms yields the linear combination
Example 2
In the figure, point is the midpoint of line segment . Express the vector as a linear combination of and .
Solution Note first that the vector from to is equal to . Since is the midpoint of , the vector from to must be half of . From the picture, we see that
and therefore
Example 3
Solve the following equation for in terms of :
Solution Distributing the on the right gives
which simplifies to
Subtracting both and from both sides gives
and dividing through by yields
2. Vector Components
So far all of our discussion of vectors has been from the viewpoint of Euclidean geometry. However, in modern mathematics it is much more common to take an analytic approach to geometry, identifying each point in the plane with an ordered pair of real coordinates. The resulting plane is sometimes called the -plane, but in linear algebra and advanced mathematics it is more often referred to as .
The most important vectors in are the standard basis vectors and .
The standard basis vectors both have a magnitude of 1, with pointing in the positive -direction and pointing in the positive -direction.
We can take linear combinations of and to get other vectors in the plane. For example, the vector stretches 5 units in the positive -direction and 3 units in the positive -direction.
In fact, every vector in can be written as a linear combination of and :
The coefficients and in this linear combination are called the components of . These represent how far the vector stretches in the and directions. In particular, is the horizontal component of , and is the vertical component of .
Note that each component may be positive or negative. For example, is positive if points generally to the right, and is negative if points generally to the left. Similarly, is positive if points generally upwards, and is negative if points generally downwards.
Column Vectors
There is another common notation for linear combinations of and . Given any scalars and , we let
That is, is a vector whose components are and . A vector written in this fashion is known as a column vector. This way of writing vectors is very popular within mathematics, but physicists usually prefer to write and explicitly.
Of course, any vector can be written as a column vector, with
Note that the standard basis vectors and can themselves be written as column vectors. In particular, since and , we have
Vector Operations
The operations of vector addition and scalar multiplication are easy to compute using components. The formula for vector addition is
That is, each component of the sum of two vectors is the sum of the corresponding components of the two vectors. For example,
The formula for scalar multiplication is equally simple:
That is, multiplying a vector by a scalar is the same as multiplying each component by . For example,
Magnitude and Direction
The direction of a vector in can be described by a single angle . As is the custom in mathematics, we measure angles counterclockwise from the positive -axis.
Given the direction and magnitude for a vector, we can find the components of the vector using the formulas
These formulas can be derived from a right triangle. Conversely, given the components of a vector, we can find the magnitude and direction using the formulas
The first of these formulas follows from the Pythagorean theorem. The second allows us to find the angle using and , though we must be careful about the direction that the vector points.
Warning: The formula given for does not imply that . This formula works if the vector points to the right (i.e. if ), but if the vector points to the left the value of the arctangent will be off by .
Vector Equations
Since the components of a vector determine both the magnitude and direction, two vectors are equal if and only if they have the same components.
Equality of Vectors
The equation
holds if and only if and .
Here if and only if means that either statement implies the other. That is, if two vectors are equal then their components are the same, and if two vectors have the same components then they must be equal.
A vector equation is an equation for which both sides are vectors. The principle above lets us separate a vector equation into two scalar equations, which is often necessary for finding the solution.
Vectors in Science
In science, vectors are used to represent any quantity that has both magnitude and direction. For example:
Any moving object has an associated velocity vector. The magnitude of this vector is the speed of motion, and the direction is the direction in which the object is moving.
In physics, a force acting on an object is represented by a force vector. The magnitude of this vector is the strength of the force, and the direction is the direction in which the force pushes.
Note that the magnitude of a vector may have any units, in which case the components of a vector have those same units. For example, the magnitude and components of a velocity vector have units of m/sec, while the magnitude and components of a force vector are measured in Newtons (N).
Vectors in science are often drawn as arrows, even if the vectors themselves do not have units of length. For example, a free body diagram in physics represents the forces acting on an object as arrows. In this case, the scale of the arrows is arbitrary, as long as all force vectors are drawn to the same scale.
Vector addition is very important for force vectors in physics. For a given object, the sum of all of the force vectors acting on it is called the net force, and determines the motion of the object. An object is in static equilibrium if it is at rest and the net force on it is equal to zero.
Examples
Example 1
Find the magnitude and direction of the vector .
Solution From the formulas above, we have
where is the direction of . Now,
but this is not the right direction, since the vector would have to point down and to the right. Adding gives the correct direction of .
Example 2
Solve for :
Solution Multiplying the left vector through by and the right vector through by gives the equation
We can now subtract the two vectors on the left to get
which is the same as the two scalar equations
The solution to both of these equations is .
Example 3
Solve for and :
Solution Combining the vectors on the left together gives the equation
which is the same as the system of equations
The second equation tells us that . Plugging this into the first equation and solving for yields , and it follows that .
3. Vector Geometry
Unit Vectors
A vector is called a unit vector if its magnitude is equal to 1. Such vectors are often used to represent a direction alone, without a corresponding magnitude. When writing unit vectors by hand, it is common to replace the arrow above the letter with a hat, i.e. instead of . Some books also use hats for unit vectors in printed text, but we will just use plain bold letters.
Given any nonzero vector , we can find a unit vector in the same direction as using the formula
The vector is sometimes called the normalization of .
Any vector can be expressed as a scalar multiple of a unit vector. In particular, if is a unit vector in the same direction as , then
This formula is often useful for building vectors with a certain magnitude and direction. The idea is to first find a unit vector in the appropriate direction, and then multiply by the appropriate magnitude to obtain the desired vector.
Points as Vectors
Given any point in the plane, the associated radial vector is the vector that stretches from the origin to the given point. The components of the radial vector are the same as the coordinates of the point:
Although we think of a point and its radial vector very differently, they are both described by the same pair of real numbers , . This makes it possible to regard points and vectors as the same thing. Indeed, from now on we will make no distinction between a point in the plane and its radial vector. Thus
for any real numbers and .
This convention simplifies our mathematics, because it decreases the number of different kinds of objects that we have to contend with. It also gives us the freedom to use vector operations such as addition and scalar multiplication on points as well as vectors. For example, we can now add two vectors, add two points, or add a vector to a point without worrying about the distinction between these operations.
Vector Operations Involving Points
We now have two different geometric interpretations of vectors. Given a vector such as , we can regard it as either an arrow whose components are 3 and 2, or as a point whose coordinates are 3 and 2. We already know the geometric meaning of vector operations involving arrows. But what do these operations look like for points?
First observe that the magnitude of a point is the same as the distance from to the origin.
Indeed, the formula for magnitude is the same as the familiar distance formula:
Next we consider the vector sum of two points. Given points and , the sum is the fourth vertex of the parallelogram formed by the origin and the points and . This rule for adding vectors is sometimes known as the parallelogram law.
There is also a geometric interpretation for adding a point to an arrow. Given a point and a vector , if we move the arrow for so that it begins at , then the other end of the arrow will be at .
Similarly, if and are two points in the plane, the difference can be interpreted as the vector that goes from to . This vector is sometimes called the displacement from the point to the point .
Note that all of the scalar multiples of a point lie on a line, namely the line that goes through the origin and the point .
Certain linear combinations of and also have nice geometric interpretations. For example, the linear combination
can be interpreted as the midpoint of the line segment between and .
Turning Vectors 90°
Many geometry problems in the plane involve two perpendicular directions, so it can be helpful to know the rule for turning a vector . As you can see, you can turn a vector by switching the two components and negating one of them.
Of course, the direction in which you turn the vector depends on which of the two components you negate. Specifically, switching the two components and then negating the first component turns a vector counterclockwise, while switching the two components and then negating the second component turns a vector clockwise.
Examples
Example 1
Find a unit vector that is parallel to the line .
Solution This line has slope , so it is parallel to the vector . Since
the desired unit vector is
Example 2
Find a vector in the same direction as that has magnitude 3.
Solution Let . Then , so
is a unit vector in the same direction as . Multiplying by 3 gives the desired vector:
Example 3
A rectangle in the plane has vertices at , , and . Find the coordinates of the fourth vertex .
Solution Let be the vector that appears along both the top and bottom edges of the rectangle. Using the bottom edge, we have
Then
Example 4
Figure shows a square in the plane. Find the coordinates of the point .
Solution Let and be the vectors shown. Then
The vector has the same length as , but is turned counterclockwise. We conclude that
so
Example 5
A circle of radius 2 is tangent to the line at the point . Find the coordinates of the center of the circle.
Solution We wish to find the vector that stretches from the point to the center of the circle. We know that the magnitude of is 2, so we need only find its direction.
The direction of is perpendicular to that of the line . This line has slope , and is therefore parallel to the vector . Turning this vector clockwise, we conclude that is parallel to the vector .
All that remains is to scale the vector to have length 2. Since
the vector is a unit vector in the direction of . Since , we conclude that
Then
Practice Problems
Section 1 — Vectors
Two vectors and have magnitudes of 12 and 5, respectively. (a) What is the largest possible magnitude of ? What is the smallest possible magnitude? (b) Suppose the directions of and are perpendicular. What is the magnitude of in this case?
The following figure shows two congruent rectangles. Express the vectors and as linear combinations of and .
The following figure shows a tiling of the plane by congruent hexagons. Express the vector from to as a linear combination of , , and .
The following figure shows a parallelogram in the plane. Express the vector as a linear combination of and .
In the following figure, is isosceles, and is a right angle. Express the vector as a linear combination of and .
The following figure shows a right triangle in the plane. Express the vector as a linear combination of and .
The following figure shows two vectors and as well as a certain linear combination . Use the picture to estimate the values of and . Try to be accurate to within 20%.
Given that , express the vector as a linear combination of and .
Section 2 — Vector Components
Compute if and .
Find the magnitude and direction of the given vector, correct to two decimal places. (a) (b) (c)
A vector has a direction of and . What is the magnitude of ?
Find a vector such that .
Find the value of for which .
Find the values of and for which .
A javelin is thrown with a speed of 25 m/sec at an angle of above the horizontal. Find the horizontal and vertical components of the javelin's velocity vector.
The following picture shows three forces , , acting on an object in static equilibrium. Given that and , find the magnitude and direction of the force .
Section 3 — Vector Geometry
Find a unit vector that points in the same direction as the vector .
Find a vector with magnitude 5 that is parallel to the line .
Find a unit vector that points at an angle of from the horizontal.
Find a unit vector whose direction is perpendicular to the line .
The following figure shows a parallelogram in the plane. Find the coordinates of the point .
The two line segments in the following figure are congruent, perpendicular, and bisect one another. Find the coordinates of the point .
In the following figure, a rectangle with a length of 10 and a width of 5 is resting on the line . Find the coordinates of the point .
The following figure shows a right triangle in the plane. Find the coordinates of the point .
In the following figure, a circle with a radius of 1 is tangent to the parabola at the point . Find the coordinates of the center of the circle. (Hint: What is the slope of the tangent line?)
| Status | Source | Problem Name | Difficulty | Tags | ||
|---|---|---|---|---|---|---|
Module Progress:
Join the Discord Community!
Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.
