Multivariable CalculusVectors and the Geometry of Space2 of 5
Vectors and the Geometry of Space · 2
Vectors
Coordinates like (3,2) tell us where a fixed point sits on a grid, but to describe a movement, a velocity, or a force, we need an arrow that captures both a direction and a distance.
1
Points vs. Vectors and Standard Position
A vector is an instruction for how far to move along each grid axis from wherever you start. Let's see how an arrow differs from a fixed point, and how we write its steps down.
Points vs. Vectors and Standard Position
To tell a movement apart from a location, we write the horizontal and vertical steps inside angled brackets (or stacked in square brackets):
point (location)(3,2)vs.components (movement)⟨3,2⟩=[32]
Sliding the arrow across the grid changes its starting and ending points, but the movement itself does not change. When we place the tail at the origin (0,0), called standard position, the tip of the vector ⟨3,2⟩ lands right on the point (3,2).
As the arrow moves across the grid, the tail (x,y) and tip (x+3,y+2) move together, while the step from tail to tip stays the exact same vector ⟨3,2⟩ as the arrow in standard position at the origin.
Moving the arrow changes where it starts and ends on the grid, while the step from tail to tip stays the same.
2
The Vector Between Two Points
When an arrow starts at a point A and ends at a point B, we want to find the components of the vector AB that connects them. Here is how that works from A(2,1) to B(6,4).
The Vector Between Two Points
Instead of memorizing which point to subtract first, ask what step you have to add to the starting point A(2,1) to reach the ending point B(6,4).
Text solution
Step from start to end along each axisSubtract the starting coordinates A(2,1) from the ending coordinates B(6,4).
AB=⟨6−2,4−1⟩=⟨4,3⟩
So starting at (2,1) and moving 4 right and 3 up lands right on (6,4).
3
Vectors and Magnitude in 3D
In 3D space, a vector gets a third component for the vertical step along the z-axis, and its magnitude is the total straight-line length of the arrow. Let's look at v=⟨2,3,6⟩ in 3D and find how long the arrow is.
Vectors and Magnitude in 3D
x
y
z
2
3
6
v=⟨2,3,6⟩
∣v∣=?
2
3
6
x
y
z
22+32
∣v∣=7
The bars in ∣v∣ (or ∥v∥) mean length, just like absolute value gives a single number's distance from zero. Using the Pythagorean theorem across the floor and then straight up along z gives the total length of v=⟨2,3,6⟩.
Text solution
Square and add all three components inside a square rootCombine the floor diagonal and the vertical step into a single 3D Pythagorean formula.
∣v∣=22+32+62=4+9+36=49=7
So the arrow ⟨2,3,6⟩ has a straight-line length of 7.
4
Adding, Scaling, and Subtracting Vectors
Once arrows are written in components, we can combine movements or stretch an arrow just by doing arithmetic on each component. Let's combine a=⟨3,1⟩ and b=⟨1,4⟩ by adding, scaling, and subtracting them.
Adding, Scaling, and Subtracting Vectors
x
y
a=⟨3,1⟩
b=⟨1,4⟩
a+b=?
Putting two arrows tip-to-tail adds their horizontal steps and vertical steps separately, while multiplying by a regular number (called a scalar) scales the arrow's length:
Subtracting a−b=⟨3−1,1−4⟩=⟨2,−3⟩ can be seen in two ways: walking along a and then along −b, or putting both tails at the origin and drawing the arrow that goes straight from the tip of b to the tip of a:
b+bridge from b to a(a−b)=a
No matter where b points, putting −b at the tip of a gives the exact same arrow as connecting the tip of b straight to the tip of a.
Putting a reversed copy of b at the tip of a always builds the exact same arrow as going straight from the tip of b to the tip of a.
5
Unit Vectors and Scaling Length
When we want to keep a vector's direction but change its length, we first turn it into a unit vector, which is an arrow of length 1 pointing in the exact same direction. Here is how we turn v=⟨2,3,6⟩ into a unit vector and then stretch it to length 50.
Unit Vectors and Scaling Length
x
y
z
v=⟨2,3,6⟩
∣v∣=7
u^=⟨?,?,?⟩
The hat on u^ tells us the vector has length 1, so it only gives direction. Once the length is 1, multiplying by any positive number stretches the arrow to that exact length.
Text solution
Divide by the length to get length 1Since v=⟨2,3,6⟩ has length ∣v∣=7, divide each component by 7.
u^=∣v∣1v=⟨72,73,76⟩
Multiply by the new lengthMultiply the unit vector by 50.
50u^=50⟨72,73,76⟩=⟨7100,7150,7300⟩
So ⟨100/7,150/7,300/7⟩ points in the exact same direction as ⟨2,3,6⟩, with a length of 50.
6
The Standard Basis Vectors
Every vector in 3D space can be built from three unit vectors that point along the positive x,y, and z axes, called the standard basis vectors. Let's see how they let us write a vector as an ordinary sum instead of a list in brackets.
The Standard Basis Vectors
x
y
z
i^
j^
k^
⟨2,3,6⟩=?
x
y
z
i^=⟨1,0,0⟩
j^=⟨0,1,0⟩
k^=⟨0,0,1⟩
Breaking a vector into its three steps along the axes lets us factor out each component and write the unit vectors along the axes as i^,j^, and k^:
Written this way, adding or subtracting vectors is just combining like terms.
7
Finding a 3D Velocity Vector
A velocity vector puts an object's direction of motion and its speed (the arrow's length) together into a single vector. Now let's find the velocity vector of a drone flying in a straight line from P(1,2,0) to Q(3,1,2) at a speed of 15 m/s.
Finding a 3D Velocity Vector
x
y
z
P(1,2,0)
Q(3,1,2)
speed=15m/s
v=?
When the direction comes from two points in space, we find the arrow connecting them first, shrink it to a unit vector, and then multiply by the speed we want.
Text solution
Find the direction vector from start to endSubtract P(1,2,0) from Q(3,1,2).
PQ=⟨3−1,1−2,2−0⟩=⟨2,−1,2⟩
Find the length of the direction vectorUse the 3D Pythagorean theorem on PQ.
∣PQ∣=22+(−1)2+22=4+1+4=9=3
Shrink to a unit vectorDivide PQ by its length 3.
u^=⟨32,−31,32⟩
Multiply by the speedMultiply the unit vector by 15 m/s and write the answer using i^,j^, and k^.
So every second, the drone moves 10 m along x,−5 m along y, and 10 m along z, for a total speed of 15 m/s. Notice that dividing by 3 and multiplying by 15 is the same as multiplying PQ by 5, which is a quick way to check your work, though you will usually need to write out the unit vector u^ too.
8
From Length and Angle to Components
In 2D force and velocity problems, direction is usually given as an angle rather than points on a grid, and we need components before we can add vectors together. Here is how to break a 10 N pull at 30∘ above the positive x-axis into components.
From Length and Angle to Components
x
y
30∘
10N
F1=⟨?,?⟩
Dropping a vertical line from the arrow's tip to the x-axis makes a right triangle with hypotenuse ∣v∣. This gives the horizontal and vertical components for any vector at an angle θ from the positive x-axis:
So a single 10 N pull at 30∘ has the exact same effect as pulling 8.66 N straight right and 5 N straight up.
9
From Components to Length and Angle
Going backward from components to length and angle θ uses the same right triangle, but you need a quick sketch first whenever the arrow points left. Let's compare ⟨4,3⟩ in the first quadrant with ⟨−4,3⟩ in the second quadrant.
From Components to Length and Angle
x
y
4
3
⟨4,3⟩
θ
∣v∣=?
θ=?
x
y
4
3
⟨4,3⟩
θ≈36.9∘
x
y
4
3
⟨−4,3⟩
36.9∘
180∘
θ≈143.1∘
−36.9∘
Because a calculator cannot tell whether the minus sign in −3/4 belongs to the 3 or the 4, typing arctan(3/−4) gives −36.9∘ in the opposite quadrant. Using positive side lengths for the right triangle sitting on the negative x-axis (180∘) gives the true angle for ⟨−4,3⟩.
Text solution
Find the length with the Pythagorean theoremSquare and add the components of ⟨−4,3⟩.
∣v∣=(−4)2+32=25=5
Find the triangle's corner angle with the horizontal axisUse positive side lengths 3 (opposite) and 4 (adjacent).
arctan(43)≈36.9∘
Use the sketch to measure from the positive x-axisSince ⟨−4,3⟩ points left and up (36.9∘ short of 180∘), subtract from 180∘.
θ=180∘−36.9∘=143.1∘
So ⟨−4,3⟩ has length 5 at an angle of 143.1∘, whereas ⟨4,3⟩ has length 5 at 36.9∘.
Whenever the vector points right (x>0), arctan(y/x) gives the arrow's direction right away. Whenever the vector points left into the second or third quadrant (x<0), typing arctan(y/x) into a calculator points into the exact opposite quadrant, so use the right triangle's corner angle with 180∘ to find the true angle θ.
Inverse tangent can only point to the right half of the graph, so whenever a vector points left, the calculator flips it into the exact opposite quadrant.
10
Combining and Balancing Forces
To find the combined net force Fnet of multiple ropes, or the third force F3 needed to hold an object still in equilibrium, we break every force into components so we can add and cancel them along each axis. Let's add a second 10 N rope pulling left and up at 60∘ above the negative x-axis.
Combining and Balancing Forces
x
y
30∘
60∘
10N
10N
F1≈⟨8.66,5⟩
F2
F1+F2=?
Once each rope is written in components with signs taken from its sketch, horizontal pulls add with horizontal pulls and vertical pulls add with vertical pulls.
Text solution
Write each force in components using its sketchRope 1 (10 N at 30∘ right and up) has positive components, while Rope 2 (10 N at 60∘ left and up) has a negative x-component and a positive y-component.
Add components to find the net forceAdd the horizontal steps and vertical steps separately.
Fnet=F1+F2=⟨53−5,5+53⟩≈⟨3.66,13.66⟩ N
Find the strength and angle of the net forceSince both components of Fnet are positive (first quadrant), use the Pythagorean theorem and inverse tangent directly.
Flip the signs of the net force for equilibriumFor F1+F2+F3=⟨0,0⟩, flip the signs of Fnet so F3 cancels the net pull.
F3=−Fnet=⟨5−53,−5−53⟩≈⟨−3.66,−13.66⟩ N
So the two ropes pull together with 102 N at 75∘, and holding the box still takes a third rope pulling with the same 102 N strength in the exact opposite direction (75∘ below the negative x-axis).
As Rope 2's pull changes, the horizontal and vertical components of both ropes add separately to give Fnet, and the balancing force F3 that holds the box still stays equal in strength and opposite in direction to Fnet.
The two ropes’ horizontal and vertical pulls combine separately into the net pull, while the balancing third rope always pulls just as hard the opposite way.
Summary
Working with vectors comes down to switching back and forth between two ways of looking at an arrow: components (for adding, subtracting, and algebra) and length and direction (for geometry, speed, and forces).
End minus start for connecting arrows
Whether you are finding the vector from point A(2,1) to point B(6,4) (AB=⟨6−2,4−1⟩=⟨4,3⟩) or the arrow from the tip of b to the tip of a (a−b), always subtract the starting coordinates from the ending coordinates. Both ⟨2,3,6⟩ and 2i^+3j^+6k^ mean the exact same steps along the axes; use the i^,j^,k^ form when you want to combine vectors like regular algebra terms.
Changing length using a unit vector
The magnitude of any vector is its length from the Pythagorean theorem, ∣v∣=x2+y2+z2. When you have a direction vector (like PQ=⟨2,−1,2⟩ with length 3) and want a vector with a different length (like speed 15), divide by the current length to get the unit vector u^=∣v∣1v=⟨2/3,−1/3,2/3⟩ and multiply by the new length (v=15u^). If the vector already has the length you want, don't divide by its length.
Switching between components and angles in 2D
If you are given a length and angle θ and need to add vectors, find the components first using right triangles: v=⟨∣v∣cosθ,∣v∣sinθ⟩, putting in + or − signs from your sketch when an angle is measured from the negative x-axis (like F2=⟨−10cos60∘,10sin60∘⟩). If your vectors are already in components (like a=⟨3,1⟩ and b=⟨1,4⟩), add them right away without finding angles. When going from components back to an angle θ, if the arrow points right (x>0, like ⟨4,3⟩), θ=arctan(y/x) works right away; if it points left (x<0, like ⟨−4,3⟩), use positive side lengths in arctan(∣y∣/∣x∣) to find the corner angle and subtract from or add to 180∘.
11
Practice
1
Find the components of the vector that starts at A(3,−2) and points to B(−1,5). If you pick up that exact same arrow and move it so its tip lands at D(4,1), at what point C is its tail located?
Watch out: Subtracting start minus end gives ⟨4,−7⟩, which points backward from B to A.
Ask what steps you have to add to A(3,−2) to reach B(−1,5); then for the moved arrow from C to D(4,1), remember that D is the tip (end), not the tail.
Find the components from A to BSubtract the starting point A(3,−2) from the ending point B(−1,5).(Watch out: Subtracting start minus end gives ⟨4,−7⟩, which points backward from B to A.)
AB=⟨−1−3,5−(−2)⟩=⟨−4,7⟩
Find the tail C(x,y) when the tip is at D(4,1)Starting at C(x,y) and taking the step ⟨−4,7⟩ lands at D(4,1).(Watch out: Adding ⟨−4,7⟩ directly to D(4,1) gives (0,8), which puts the tail at D instead of the tip.)
(x−4,y+7)C=(4,1)=(8,−6)
2
Let a=4i^+j^−k^ and b=2i^+4j^−5k^ be drawn in standard position with their tails at the origin. Using i^,j^, and k^, find the vector that starts at the tip of b and points to the tip of 2a, and find its magnitude.
Watch out: Doing b−2a=−6i^+2j^−3k^ points the arrow backward from 2a to b, and forgetting to distribute the minus sign to −5k^ gives −7k^ instead of +3k^.
Multiply a by 2 first, then find the arrow from the tip of b (start) to the tip of 2a (end) by combining the i^,j^, and k^ terms.
Multiply a by 2 and subtract the starting vector bMultiply a by 2 to get 2a=8i^+2j^−2k^, then do end minus start. (Watch out: Doing b−2a=−6i^+2j^−3k^ points the arrow backward from 2a to b, and forgetting to distribute the minus sign to −5k^ gives −7k^ instead of +3k^.)
2a−b=(8i^+2j^−2k^)−(2i^+4j^−5k^)=6i^−2j^+3k^
Find the magnitudeSquare and add all three components inside a square root. (Watch out: Writing −22=−4 instead of (−2)2=4 gives 41.)
∣2a−b∣=62+(−2)2+32=49=7
3
A drone launches from P(2,−1,5) and flies in a straight line toward a target at Q(5,3,−7) at a steady speed of 39 m/s. Find the unit vector u^ in the direction of flight and the drone's velocity vector v written using i^,j^, and k^.
Find the vector PQ and its length first; how do you shrink that length to 1, and then stretch it to 39?
Find the direction vector and its lengthSubtract P(2,−1,5) from Q(5,3,−7) and use the 3D Pythagorean theorem.
Divide by the length to get u^, then multiply by the speedDivide PQ by 13 to get length 1, then multiply by 39 m/s.(Watch out: Multiplying PQ directly by 39 without dividing by 13 first gives 117i^+156j^−468k^ m/s, which is 13 times too fast.)
u^v=⟨133,134,−1312⟩=39u^=9i^+12j^−36k^ m/s
4
Find the magnitude and direction angle θ (measured counterclockwise from the positive x-axis, between 0∘ and 360∘) of the vector v=⟨−5,−12⟩, rounding θ to one decimal place.
Sketch ⟨−5,−12⟩ first to see which quadrant it is in, then use the right triangle with positive side lengths 5 and 12 against the horizontal axis.
Find the magnitudeSquare and add the components inside a square root.
∣v∣=(−5)2+(−12)2=169=13
Find the corner angle and adjust for the third quadrantSince the arrow goes 5 left and 12 down into the third quadrant (past 180∘), add the triangle's corner angle arctan(12/5) to 180∘.(Watch out: Typing arctan(−12/−5)=67.4∘ directly puts the arrow in the first quadrant because the minus signs cancel, and subtracting 180∘−67.4∘=112.6∘ puts it in the second quadrant.)
θ=180∘+arctan(512)≈180∘+67.4∘=247.4∘
5
Two ropes pull on a heavy box at the origin. Rope 1 pulls with a force of 6 N at an angle of 60∘ above the positive x-axis, and Rope 2 pulls with a force of 63 N at an angle of 30∘ above the negative x-axis. Find the components, magnitude, and direction of the third force F3 needed to hold the box in equilibrium.
Watch out: Forgetting to flip the signs of Fnet leaves ⟨−6,63⟩ N pointing at 120∘, which is the net pull rather than the balancing force.
Use each rope's right triangle with the horizontal axis to find F1 and F2 (watching the sign of Rope 2's horizontal pull), add them to get Fnet, and think about what F3 has to do to cancel Fnet.
Break both ropes into components and add themRope 1 pulls right and up, while Rope 2 pulls left (negative x) and up (positive y). (Watch out: Leaving Rope 2's horizontal component positive gives ⟨9,33⟩ N and a wrong net horizontal pull of 12 N.)
Flip the signs of Fnet for equilibrium and find its magnitude and angleFlip the signs of Fnet so F3 cancels the net pull; since F3 goes 6 right and 63 down, it points below the positive x-axis. (Watch out: Forgetting to flip the signs of Fnet leaves ⟨−6,63⟩ N pointing at 120∘, which is the net pull rather than the balancing force.)
F3∣F3∣θ=−Fnet=⟨6,−63⟩ N=62+(−63)2=144=12 N=arctan(663)=60∘ below the positive x-axis (or 300∘)