When studying the flight of an airplane, a rocket firing, or countless other applications, we can use vectors to mathematically describe what's going on. A vector has two components: magnitude and direction. This is similar to the use of polar coordinates, where we describe a point by its distance from the origin (like the magnitude of a vector) and the angle formed by the line from the origin to the point (like the direction of a vector).
Since all that distinguishes a vector from other vectors is its magnitude and direction, we can move it around at will. Therefore, for the sake of convenience, we often place the tail of the vector at the origin and describe the vector by the location of the head. This way of describing a vector looks just like describing a point, so to be clear that we're talking about a vector (that when the tail is placed at the origin has its head at this location), we use angled brackets, like so:
v=⟨1,3,5⟩
This vector is shown below.
Magnitude
The magnitude of this vector is given by
∣v∣=x2+y2+z2=12+32+52=35
Standard Unit Vectors
A unit vector is a vector with magnitude 1. The standard unit vectors point in the direction of the x axis, y axis, and z axis. Note that the hat on these vectors denotes that they are unit vectors; whenever we write a vector with a hat like this, we'll mean a unit vector.
i^j^k^=⟨1,0,0⟩=⟨0,1,0⟩=⟨0,0,1⟩
In R2, we only need two standard unit vectors:
i^=⟨1,0⟩ and j^=⟨0,1⟩.
In Rn, we need n unit vectors, usually written
e1^,e2^,e3^,…,en^
where en^ has a 1 in the nth position and 0's elsewhere.
Vectors in rectangular coordinates can be expressed in terms of these standard unit vectors.
Write v=⟨−2,6,17⟩ in terms of the standard unit vectors.
Solution
v=⟨−2,6,17⟩=−2i^+6j^+17k^
If v=⟨5,2,−3⟩=5i^+2j^−3k^, find 2v.
Solution
2v=⟨10,4,−6⟩=10i^+4j^−6k^
Adding / Subtracting Vectors
Visually, to add two vectors, place the tail of one at the head of the other and find the resulting vector. Numerically, simply add/subtract the components.
If u⃗=3i^−2j^+5k^ and v⃗=4i^+6k^, find 3u⃗+v⃗.
Solution
3u⃗+v⃗=9i^−6j^+15k^+4i^+6k^=13i^−6j^+21k^
Unit Vectors
If u⃗ is any vector, u^ is a unit vector in the direction of u⃗. To find this unit vector, divide (u⃗) by its magnitude:
u^=∣u⃗∣u⃗
If u⃗=⟨3,2,−2⟩, find u^.
Solution
The magnitude of u⃗ is
∣u⃗∣=32+22+(−2)2=17,
so the unit vector is
u^=171⟨3,2,−2⟩=⟨17317,17217,−17217⟩
Find a vector in the same direction as v⃗=8i^−j^+4k^ that is 4 units long.
Solution
To find this, first find a unit vector in the same direction as v⃗ and then multiply it by 4.
∣v⃗∣=82+(−1)2+42=81=9,
so the unit vector is
v^=91⟨8,−1,4⟩.
Therefore,
4v^=94⟨8,−1,4⟩
Application: Statics
Find T1 and T2, the tension in the two cables below.
Start by representing the forces with vectors:
If this system is in static equilibrium (nothing is moving), it means that the three forces must cancel each other, meaning that if we add the three vectors, the result must be 0:
⟹⟹⟹⟹T1+T2−400j^=0⟶T1+T2=400j^T1ii^+T1jj^+T2ii^+T2jj^=400j^T1i+T2i=0T1j+T2j=400−∣T1∣cos60∘+∣T2∣cos30∘=0∣T1∣sin60∘+∣T2∣sin30∘=400−21∣T1∣+23∣T2∣=023∣T1∣+21∣T2∣=400T1=346.41 lb and T2=200 lb
Dot Product (Scalar Product)
The dot product, one of two ways to multiply a vector, is defined as follows: if u⃗=⟨u1,u2,u3⟩ and v⃗=⟨v1,v2,v3⟩, then
u⋅v=u1v1+u2v2+u3v3=∣u∣∣v∣cosθ
where θ is the angle between the two vectors. Note that the result is a scalar, which is why this is called the scalar product.
Also note that u⋅u=∣u∣2
Let u⃗=⟨2,−3,4⟩, v⃗=⟨4,−3,5⟩, and w⃗=⟨1,1,−3⟩. Find u⃗⋅v⃗ , 2v⃗⋅w⃗, and the angle between u⃗ and v⃗.
Solution
u⋅v:
u⋅v=(2)(4)+(−3)(−3)+(4)(5)=37
2v⃗⋅w⃗:
2v⋅w=(8)(1)+(−6)(1)+(10)(−3)=−28
[note that (2v)⋅w=2(v⋅w)]
The angle between u and v:
u⋅v=37⟶cosθ=∣u∣∣v∣cosθ=(4+9+16)(16+9+25)cosθ=295037=13.7∘
Orthogonal (or Perpendicular) Vectors
Two vectors are orthogonal if the angle between them is θ=2π. In terms of the dot product, this means that two vectors u⃗ and v⃗ are orthogonal iff (if and only if) u⃗⋅v⃗=0.
Let u⃗=3i^=⟨3,0,0⟩ and v⃗=−2j^=⟨0,−2,0⟩. Show that u⃗ and v⃗ are orthogonal.
Solution
u⋅v=0, so the vectors are orthogonal.
Projection of u⃗ onto v⃗ (or vice versa)
The projection of one vector onto another can be thought of as the shadow that one vector casts onto the other, as shown below.
To find the projection of u⃗ onto v⃗, find the magnitude of the projection and multiply it by
v^=∣v⃗∣v⃗.
The magnitude of the projection is
∣projvu⃗∣=∣u⃗∣cosθ,
and since u⃗⋅v⃗=∣u⃗∣∣v⃗∣cosθ,∣projvu⃗∣=∣v⃗∣u⃗⋅v⃗.
Therefore,
projvu=∣v∣u⋅v∣v∣v=(v⋅vu⋅v)v.
For the next example, note that the work done by a force F acting to move an object along a vector d is given by
W=F⋅d.
Work Calculation
Find the work done in the figure below (think of pulling a cart with a rope).
Solution
W=F⋅d=(15lb)(4ft)cos40∘=45.96ft−lb
Cross Product (Vector Product)
Application: Torque (Moments)
Let's say you want to tighten a nut as shown above. To tighten it as much as possible, you have two options: you can push harder on the wrench, or you can get a longer wrench. Think about pushing a door open; pushing closer to the hinges is harder, but if you push at the end away from the hinges, it's much easier. When you apply a force to turn something like the nut or the door, you are creating a moment or torque around the point of rotation. This torque depends on the force you apply and how far from the rotation point you apply that force; the magnitude of the torque is the product of these two.
∣M∣=∣r∣∣F∣
where M is the moment, r⃗ is the moment arm, and F is the force that is applied perpendicular to the moment arm.
What if the force is applied at an angle, though? Without going into all the details, it turns out that only the perpendicular part of the force contributes to the moment, and the moment can be calculated using the cross product of r⃗ and F:
M=r⃗×F
Finding the Cross Product
The cross product u⃗×v⃗ yields a third vector that is perpendicular to both u⃗ and v⃗. The direction is specified by the right hand rule (RHR): if you start by pointing the fingers of your right hand along the first vector, then curl them in the direction of the second vector, your thumb will point in the direction of the cross product.
The magnitude of the cross product is
∣u⃗×v⃗∣=∣u⃗∣∣v⃗∣sinθ
where θ is the angle between u⃗ and v⃗. For instance,
i^×j^=k^.
We rarely use that formula to find the cross product; instead, we find the determinant of a specific matrix. We'll leave most of the discussion of determinants for Linear Algebra; for now, we'll just cover what we need.
If u=⟨u1,u2,u3⟩ and v=⟨v1,v2,v3⟩, then u⃗×v⃗ is given by the following determinant:
u×v=∣∣∣∣∣∣i^u1v1j^u2v2k^u3v3∣∣∣∣∣∣
To evaluate this determinant, cross out the row and column that intersect at i^, then the ones that intersect at j^, and finally the ones that intersect at k^. Find the determinants of these smaller matrices (called minors) by multiplying along the diagonals and subtracting, as shown:
This probably all looks very confusing right now, but you end up with this:
Be sure to note the minus sign on the j^ minor. The first and third terms are positive, but this second term is negative. Also note that
u×v=v×u
More specifically, if you switch the order in the cross product, the result will have the same magnitude, but it will point in the opposite direction.
If u⃗=2i^−3j^+k^ and v⃗=3i^+2j^+2k^, find u⃗×v⃗.
If u⃗=2i^−3j^+k^ and v⃗=3i^+2j^+2k^, find a vector that is orthogonal to both u⃗ and v⃗.
Solution
Remember that the cross product of two vectors is orthogonal to both, and we already found u⃗×v⃗. Therefore,
w⃗=⟨−8,−1,13⟩
or any multiple of w⃗ will be orthogonal to both u⃗ and v⃗.