Chapter 12: Vector Geometry
Welcome to Last Minute Lecture.
This free chapter overview is designed to help students review and understand key concepts.
These summaries supplement not replaced the original textbook and may not be redistributed or resold.
For complete coverage, always consult the official text.
Imagine you're a civil engineer, right?
Standing on the muddy banks of a river, just staring at the blueprints for this massive multi -lane suspension bridge.
Right.
Highly stressful situation.
Exactly.
Or I don't know, consider you're an atmospheric scientist sitting in a control room tracking the chaotic swirling winds of a category five hurricane.
Two very different scenarios, but yeah, they share a very specific mathematical problem.
They really do because in either scenario, you have a massive problem.
You can't just measure
how much force the bridge cables are holding or how fast the wind is blowing.
Right.
A single number of magnitude is basically useless on its own there.
Yeah.
Totally useless.
You need to know exactly where that force is pulling.
You need to know exactly which direction that wind is headed.
Exactly.
You need a mathematical tool that captures both of those things, the magnitude and the direction simultaneously.
Because if you get the direction wrong on those bridge cables,
even by a fraction of a degree, the net forces won't balance.
And in physics, unbalanced forces mean unexpected acceleration,
which in the context of a suspension bridge.
Yeah.
Unexpected acceleration means catastrophic failure.
Exactly.
We need an absolute rigorous system for describing how these quantities interact in space.
And that absolute precision is exactly what we are unlocking today.
So welcome to the Deep Dive.
Today, we're cracking open chapter 12 of calculus to really master vector geometry.
Yeah.
This is the mathematical engine that frankly prevents bridges from collapsing.
Keeps airplanes from colliding in midair too.
Right.
And it forms the absolute bedrock of everything you're going to encounter in multivariable calculus.
It's truly a paradigm shift.
It really is.
I mean, if you're used to single variable calculus where everything just sort of happens on a simple flat XY graph, you kind of have to rebuild your intuition from the ground up here.
You do.
So we're going to start on a flat two -dimensional plane, right?
We'll learn the how these mathematical arrows interact, and then we're going to pull those concepts up into three -dimensional space.
Which is where things get really wild.
We'll figure out how to define flat planes just floating in midair and eventually how to map out incredibly complex curved 3D surfaces.
Yeah, it's a lot, but it builds logically.
So let's jump right into the deep end.
Section 12 .1, we are talking about vectors.
At a really conceptual level, what makes a vector mathematically distinct from the numbers we've been using our whole lives?
Well, the numbers we're used to, things like temperatures, mass, or time, those are called scalars.
Scalars, right.
A scalar is really just a magnitude.
It's just a size, like 50 degrees, 10 kilograms, five meters.
Okay.
But a vector, however, is a quantity that fundamentally possesses two distinct characteristics at the exact same time.
It has a magnitude and a direction.
So like if I tell you to drive five meters, I've just given you a scalar.
But if I tell you to drive five meters north, suddenly I've given you a vector.
That is the perfect distinction, yeah.
And visually, we represent a vector as an arrow on a plane.
Okay, an arrow.
Right.
It has a starting point, which we call the initial point, or the tail.
And it points toward a terminal point, which we call the head.
Tail to head, got it.
And when you're writing this down, I've seen it denoted with like a little arrow drawn over the letters, right?
Yes.
Or if you're reading textbooks, you'll often see it as boldface lowercase letters.
Okay.
And the magnitude, the literal physical length of that arrow that's written by putting the vector symbol inside double absolute value bars.
Exactly.
But here's the thing that usually bends people's minds when we start actually graphing these, the concept of vector equivalence.
Oh, yeah.
This part is super weird to me.
Right.
So if I draw an arrow that goes three units right and two units up, starting from the origin.
Okay.
And then I draw the exact same arrow starting way off in the corner of the graph at coordinate 10 comma 10.
Mathematically, those are the exact same vector.
Wait, I have to push back on that.
Because if I can just slide this arrow all over the coordinate plane, it's not an actual location.
So how do we ever nail it down to do algebra with it, if it can just float anywhere?
Well, because a vector is in a location, it's a set of instructions.
Think about your earlier example, right?
Drive five meters north.
Okay, yeah.
If you start in New York and drive five meters north, or you start in Tokyo and drive five meters north, the action, the vector itself is identical.
The starting location doesn't define the instruction.
Okay, I get it.
It's the walking three blocks east and two blocks north concept.
It totally works no matter what street corner I decide to start on.
Precisely.
So how do we write that mathematical DNA down so we aren't constantly just sketching arrows on graphing paper?
We use what are called components.
Let's say your vector starts at a random tail point.
We'll call the coordinates a one comma b one.
Okay.
And it ends at a head point, a two comma b two.
To find the raw instructions, the components, you simply subtract the tail coordinates from the head coordinates.
So the horizontal movement, like the x component, is just a two minus a one.
And the vertical movement, the y component, is b two minus b one.
Right.
And to make sure we don't confuse this specific set of instructions with just a random point on the graph, we wrap those two numbers in angle brackets rather than normal parentheses.
Oh, the angle brackets, yeah.
Yeah, writing a b inside angle brackets is like a giant neon sign to anyone reading your math that says, hey, I am a vector, I am a magnitude and a direction.
Do not treat me as a fixed location.
Though, I mean, it is incredibly convenient to lock a vector down when you're just trying to visualize it, right?
Yeah.
Like, if every vector is equivalent to a translated version of itself, I can always just choose to slide the tail of my vector right down to the origin at zero comma zero.
Yes, you can.
And doing that, placing the tail at the origin, creates what we call a position vector.
A position vector.
Yeah.
It's a fantastic simplification because if the tail is exactly at zero comma zero, then the head of the vector literally lands perfectly on the coordinate point a b.
Right.
So the angle bracket vector a b points directly to the parenthesis point a b.
Exactly.
It makes the algebra incredibly clean.
Speaking of algebra, let's talk about that.
We all know basic geometry.
If I have a vector, angle bracket a b, starting at the origin, the x component forms the horizontal base of a right triangle, right?
Right.
And the y component forms the vertical height.
And the vector arrow itself is just the hypotenuse.
Exactly, right.
So finding the magnitude is literally just the Pythagorean theorem.
Square the components, add them together, and take the square root.
But what happens when we start throwing these vectors together?
How do you add two instructions?
Geometrically, you use what we call the tail -to -head method.
If you want to add vector v and vector w, you take vector w, you translate it through space, and you park its tail exactly on the head of vector v.
So it's kind of like a detour.
Walking along vector v, and then immediately walking along vector w from that new spot to get to a final destination.
Right.
And the sum vector v plus w is the shortcut vector that points from your very first starting point directly to that final destination.
Okay, that makes visual sense.
Or you can actually think of it concurrently rather than sequentially.
This is called the parallelogram law.
The parallelogram law.
Yeah.
Imagine two different forces pulling on an object at the exact same time.
You place both vectors so their tails start at the exact same base point.
They end up forming two adjacent sides of a parallelogram.
Oh, I see.
And the sum v plus w is the diagonal of that parallelogram, just shooting straight out from between them.
Which delightfully gives you the exact same geometric arrow as the tail -to -head detour method.
It does.
It's perfectly consistent.
But doing this algebraically is like almost suspiciously easy.
Yeah.
If I have vector angle bracket two, three, and I want to add vector angle bracket four, one, I don't have to sit there and draw parallelograms.
I just add the horizontal components and then add the vertical components.
Right.
Component -wise addition.
Yeah.
Two plus four is six.
Three plus one is four.
My new vector is just angle bracket six, four.
It's highly efficient.
And it actually pairs perfectly with scalar multiplication.
That's when you multiply your vector by a normal, everyday number of scalar.
So if I have my vector v and I multiply it by a scalar of two, I get two v.
I assume I just stretched the arrow to be twice as long.
You did.
Yeah.
It points in the exact same direction.
It's just double the magnitude.
Algebraically, you literally just distribute that scalar two to both components.
Okay.
But what if I multiply by a negative number, like negative one?
Well, the magnitude scales by the absolute value.
So multiplying by negative one keeps the length identical.
But that negative sign fundamentally alters the geometry.
How so?
It flips the direction of the vector exactly 180 degrees.
It turns the arrow entirely around so it points in the exact opposite direction.
Oh, that makes total sense.
Yeah.
What if I have a really strong force vector, but all I actually care about is which way it's pointing?
Yeah.
I want to strip away the magnitude and just extract the pure direction.
For that, you need a unit vector.
A unit vector is any vector whose magnitude is exactly one.
They are essentially the directional compass needles of calculus.
Okay.
So if you have any non -zero vector v, you can strip away its length by taking the vector and dividing it by its own magnitude.
Wait.
So if my vector has a length of five, I just multiply the whole vector by the scalar one -fifth.
Exactly.
I shrink it down until its length is exactly one, but its direction hasn't changed a bit.
Exactly right.
And in the two -dimensional plane, there are two VIP unit vectors that essentially act as the foundation for the entire coordinate system.
We call them the standard basis vectors.
So fundamentally, they get their own dedicated letters, right?
I and J.
Yep.
Vector I is angle bracket one -zero.
It points exactly one unit to the right along the x -axis.
And vector J is angle bracket zero -one.
It points exactly one unit straight up the y -axis.
So literally everything is built from these two.
Any vector AB in the entire plane can be constructed by just scaling and adding these building blocks.
Yes.
It can be written as a linear combination, A times I plus B times J.
Right.
It is really just an alternative notation to the angle brackets, but breaking a vector down into its pure horizontal and vertical DNA becomes essential when we start tackling real -world physics problems.
Well, let's actually do that.
Let's look at the statics problem from the chapter.
Imagine we have a hundred kilogram mass hanging, just suspended from a point on the ceiling.
Okay.
A classic static setup.
But it's not hanging straight down on one rope.
It's supported by two separate cables forming a V -shape.
Cable one pulls up and to the left at a 55 -degree angle.
Cable two pulls up and to the right at a 30 -degree angle.
Right.
So we are the engineers here.
We need to find the tension forces, the exact magnitudes pulling on both cables, so we actually know what strength of steel to buy.
This is exactly where vectors shine.
The foundational premise of statics is that since this hundred kilogram mass is just hanging there in midair, I mean, it's not accelerating left, right, up, or down, Newton's second law guarantees that the net force acting on that point must be absolute zero.
So if we define a vector for cable one, a vector for cable two, and a vector for gravity, and we add all three together, the result has to literally be the zero vector angle bracket zero zero.
Right.
So we break every force down into its components.
Gravity is the easy one.
It acts strictly vertically downward.
The magnitude is mass times the acceleration of gravity.
So 100 kilograms times 9 .8 meters per second squared.
That's 980 Newtons.
Because it pulls straight down, its vector is simply angle bracket zero negative 980.
Exactly.
Now for the tricky part,
the cables.
We have a vector for cable one.
Let's call it F1 and a vector for cable two F2.
We don't actually know how hard they are pulling.
We don't know their scalar magnitude.
So let's just call those variables F1 and F2.
Okay.
But we absolutely know their directions.
We do.
But we have to translate those physical angle into standard mathematical angles.
To use our standard trigonometry components, where the X component is magnitude times cosine and the Y component is magnitude times sine, we absolutely must measure our angles counterclockwise from the positive X axis.
Oh, right.
Okay.
Well, cable two is easy.
It points up or to the right at 30 degrees.
Yeah.
So its vector is its unknown magnitude F2 multiplied by the unit direction vector, cosine of 30 degrees, sine of 30 degrees.
Perfect.
But cable one is pulling up and to the left at a 55 degree angle from the ceiling.
Right.
So if you draw a horizontal line through the mass, pulling to the left at a 55 degree angle from that line is entirely in the second quadrant.
Okay.
Measured from the positive X axis all the way around, that is an angle of 180 minus 55.
It's 125 degrees.
Got it.
So the vector for cable one is its unknown magnitude F1 multiplied by cosine of 125 degrees, sine of 125 degrees.
Exactly.
And now the physics becomes pure algebra.
We know that if we add the horizontal X components of all three forces, they must equal zero.
The horizontal pull to the left from cable one must exactly cancel out the horizontal pull to the right from cable two.
And similarly, we know that if we add the vertical Y components, they must also equal zero.
The upward pull from both cables combined must exactly cancel out the 980 Newtons of gravity pulling down.
So we end up with two equations and two unknowns, F1 and F2.
Right.
And I won't drag us through reciting decimal approximations of cosines on an audio show, but it's really just a simple system of equations at that point.
You solve the horizontal equation for F2, substitute that into the vertical equation, and out pops the answer.
The math does all the heavy lifting.
It really does.
You find out cable one is under about 852 Newtons of tension, and cable two is holding about 564 Newtons.
The geometry flawlessly uncovers the hidden physics.
It does.
And before we leave the comfortable flat 2D plane, there is one geometric reality we have to acknowledge, the triangle inequality.
Oh, theorem two in the text.
Yeah.
It formally states that the magnitude of V plus W is always less than or equal to the magnitude of V plus the magnitude of W.
Right, which makes intuitive sense.
It's the mathematical proof that taking a detour is literally always longer than going straight.
If you visualize vector addition using that tail -to -head triangle method we talked about, the sum vector is the third side of the triangle.
And one side of a triangle can never physically be longer than the other two sides combined.
So the only way the distances are exactly equal is if vector V and vector W are pointing in the exact same direction to begin with.
Precisely.
That intuition holds up perfectly as we take our next massive leap.
We are officially leaving the 2D plane.
We are adding a third dimension, the z -axis.
And this is where things get really difficult to draw on a flat piece of paper.
I mean, we have the x -axis running left and right, the axis running up and down.
Where exactly does the z -axis go?
Sticking straight out of the page to poke me in the eye.
I mean, in a manner of speaking, yes.
But when you introduce a third perpendicular axis, you have to establish a universal convention for which direction is positive and which is negative.
Because otherwise what?
Otherwise, my 3D graph might be a complete mirror image of your 3D graph and our math won't align at all.
In physics and mathematics, we solve this ambiguity with the right -hand rule.
OK, listeners, I'm doing this right now.
I actually want you to do it with me.
Hold up your right hand.
Yes.
Keep your fingers flat and point them straight out in front of you.
Imagine that direction is the positive x -axis.
OK.
Now, curl your fingers inward by 90 degrees.
That new direction you are pointing is the positive y -axis.
OK.
Fingers straight out for x.
Curl them in for y.
Now, stick your thumb straight up.
Whichever direction your thumb is pointing, that is universally defined as the positive z -axis.
If you imagine the standard xy -plane sitting flat on your desk like a piece of paper with the positive x -axis pointing toward you and the positive y -axis pointing to your right,
your curled right hand will force your thumb to point straight up toward the ceiling.
Up is positive z.
It's a very physical, very grounding way to anchor the abstract math.
In 2D, our two axes slice the plane into four quadrants.
In 3D space, our three coordinate planes, the xi floor, the xz wall, and the y's wall, slice all of space into eight separate rooms called octans.
Eight octans, yes.
And the first optin is the room where x, y, and z are all positive numbers.
And just as our space expands, our fundamental formulas must adapt, right?
Yeah.
How do we find the straight line distance between two points in 3D space?
Say, point P at x1, u1, z1, and point Q at x2, y2, z2.
Well, in 2D, distance is just the Pythagorean theorem.
So are we just adding a z squared to the end of it?
We are, but let's make sure we understand why.
We actually apply the Pythagorean theorem twice.
Yeah.
Imagine point P is the bottom left front corner of a rectangular room and point Q is the top right back corner.
You want the distance between them.
First, you completely ignore the height.
You just look at the floor.
You use the standard 2D formula to find the diagonal distance directly across the floor.
OK, so that base diagonal is just the square root of x2 minus x1 squared plus y2 minus a1 squared.
Right.
Now you have a new vertical right triangle standing up inside the room.
The base is that floor diagonal you just calculated.
And the vertical height is the difference in the z coordinates, z2 minus z1.
The hypotenuse of this vertical triangle is the true 3D distance.
I see it.
So when I apply the Pythagorean theorem again,
I square that floor diagonal, which conveniently just deletes the giant square root over the x and y terms.
And then I add the square of the z height.
Exactly.
So the final beautiful 3D distance formula is just the square root of all three differences squared.
x2 minus x1 squared plus y2 minus a1 squared plus z2 minus z1 squared.
It really is beautiful.
And that distance formula immediately unlocks the equation for our first fundamental 3D surface, the sphere.
Oh, cool.
So sphere is simply the set of all points in space that are an exact fixed distance from a central point.
That fixed distance is the radius r.
So if my center is the point a, b, c, the equation of the sphere is literally just the distance formula.
We square both sides to get rid of the root.
And we get x minus a squared plus y minus b squared plus z minus c squared equals r squared.
Spot on.
That is the geometry of 3D space.
But modeling solid surfaces is really only half the battle.
What if we want to model motion?
What if we want to draw a simple straight line through 3D space?
OK, this breaks my brain a little bit.
Because I have used y equals mx plus b since middle school.
Oh, sure.
I know how to calculate a slope, rise over run.
But in 3D, I have a rise, a run, and a depth.
There isn't just one fraction that captures how a line tilts in three directions simultaneously.
You've hit the exact conceptual wall mathematicians faced.
Slope, as a single scalar number, fundamentally fails in 3D.
We have to completely abandon y equals mx plus b.
Completely abandon it.
Yeah.
To define a line uniquely in three dimensional space, we must use vectors.
We build what are called parametric equations.
OK, walk me through building a line from scratch in 3D.
Think about what physical information you need to draw a straight path through the air.
You need a starting location, and you need a trajectory.
OK.
So we pick a fixed anchor point somewhere on the line.
Let's call it p0 with coordinates x0, y0, z0.
Then we need a direction vector.
Let's call it v, which equals angle bracket a, b, c.
This vector is perfectly parallel to the line we want to draw.
It is our pure trajectory.
So I have a start, and I have instructions on where to go.
But a vector is just a fixed segment.
How do I make it an infinite line?
We introduce a parameter, a new variable, usually t, which represents time.
Imagine standing at your anchor point at time t equals 0.
To move along the line, you add a scalar multiple of your direction vector v to your starting position.
So I scale the instruction.
If time t equals 1, you take one full vector size step along the path.
If time t equals 2 .5, you take 2 and 1 half steps.
If time t equals negative 5, you take five steps backward.
And by letting time t stretch from negative infinity to positive infinity, that single direction vector basically sweeps out the entire infinite line in space.
It does.
So the vector equation of a line is simply your starting position plus t times your direction vector.
And we can break that single vector equation down into three separate scalar equations, one for each axis.
This is the parametric form.
Your x position at any given time is x of t equals x0 plus a times t.
Your y position is y of t equals y0 plus b times t.
And your z position is z of t equals z0 plus c times t.
That is incredibly powerful for modeling reality.
Think about air traffic control.
You have two airplanes both flying in perfectly straight lines mapped by these parametric equations.
The absolute most important question an air traffic controller can ask is, are these two lines going to intersect?
But there is a massive pitfall here when setting up that collision detection algebraically.
If you have line one for airplane A and line two for airplane B, you absolutely cannot use the exact same variable t for both of their equations.
Right, because if I set their equations equal using the exact same t, I am only asking the math.
Do airplane A and airplane B occupy the exact same coordinate at the exact same second?
Which is a mid -air collision.
Right, I'm checking for a crash.
Yeah.
But I want to know if their flight pads cross at all, regardless of when they get there.
Maybe plane A crosses the intersection at 2 PM, and plane B crosses it at 4 PM.
The lines intersect even if the planes don't crash.
Precisely.
So we must use two different parameters,
t1 for the first line, and t2 for the second line.
To find out if the lines intersect geometrically, we have to see if there is any combination of times, a specific t1, and a specific t2, that outputs the exact same x, y, and z coordinates.
So we set their x equations equal, and their y equations equal, and their z equations equal.
We get a system of three equations, but we only have two unknown time variables.
What you do is isolate two of those equations, say the x and y equations.
You solve that pair like a standard algebra problem.
You find the exact time t1 and time t2 that guarantee the airplane's x and y coordinates match perfectly.
But matching x and y just means they're crossing the same spot on the ground map below them.
It doesn't mean the 3D lines actually intersect in the air.
The vital step is taking those two times we've just found and plugging them in to the z equations, their altitudes.
And this is where 3D geometry really diverges from 2D.
In a flat plane, if two lines aren't perfectly parallel, they are mathematically guaranteed to intersect eventually.
But in 3D space, when you plug those times into the z equations, the altitudes often do not match.
Right, plane A might be at 10 ,000 feet.
Well, plane B is at 30 ,000 feet.
They pass right over each other.
They go in entirely different directions.
They aren't parallel, but they never, ever touch.
We have a specific name for these in 3D space, right?
We call them skew lines.
It is a third category of relationship that simply cannot exist on a flat piece of paper.
Wow, okay.
So we know how to define these vectors, scale them, add them, and use them to draw lines.
But we hit another major hurdle in the chapter when we try to multiply them.
Yes, multiplication is tricky.
Because if I have vector v equals angle bracket one, two, three, and vector w equals angle bracket four, five, six, I can't just multiply the x's, y's, and z's to make a new vector angle bracket four, 10, 18.
Basic arithmetic completely falls apart here.
It falls apart because that kind of naive multiplication doesn't correspond to any physical or geometric reality.
It's mathematically useless.
Mathematicians realized that to quote, unquote, multiply vectors,
we needed custom -built tools designed to measure specific geometric relationships.
The first of these specialized tools is the dot product.
Section 12 .3, the dot product.
Let's look at the mechanics first and then explore the magic.
Algebraically, taking the dot product of vector v and vector w is simple.
You multiply the corresponding components x with x, y with y, z with z, and then you add all those individual products together.
Yes, v1 times w1 plus v2 times w2 plus v3 times w3.
But you must highlight the most common pitfall for students here.
What is the output of this operation?
You are feeding two vectors into the equation, but because you are adding those pieces together, the output is a single, solitary number.
The dot product yields a scalar.
It is not a vector.
OK, so I crunch the numbers, and the dot product equals 15.
Great, why do I care?
Why did mathematicians decide that summing those multiplied parts yields anything geometrically meaningful?
Because geometrically, the dot product is a precise measure of how much two vectors point in the same direction.
There is a breathtaking mathematical theorem proving that the algebraic dot product we just calculated is exactly equal to the magnitude of vector v times the magnitude of vector w times the cosine of the angle between them.
Really?
Yeah, v dot w equals the magnitude of v times the magnitude of w times cosine theta.
I really want to unpack this, because this feels like a magic trick.
How does multiplying and adding the raw x, y, and z coordinates somehow know about the cosine of the angle floating in the empty space between the arrows?
Where does this bridge between algebra and geometry actually come from?
The bridge is constructed using the law of cosines.
Think back to trigonometry.
The Pythagorean theorem, a squared plus b squared only works for perfect 90 degree right triangles.
The law of cosines generalizes that formula for any triangle, regardless of the angle.
It states that the length of the third side squared equals a squared plus b squared minus an adjustment factor.
2ab times cosine theta.
OK, I have that formula in my head.
How do we apply it to vectors?
We build a triangle.
Place vector v and vector w so their tails touch at the origin.
That's two sides of a triangle with an angle theta between them.
Now draw the third side connecting the head of w to the head of v.
By the rules of vector addition we talked about earlier, that connecting line is exactly the vector subtraction, v minus w.
If I walk along w and then walk along the detour v minus w, I end up at the head of v.
Exactly.
So our triangle has three sides.
Length of v, length of w, and length of v minus w.
Let's plug those lengths into the geometric law of cosines.
The magnitude of v minus w squared equals the magnitude of v squared plus the magnitude of w squared minus 2 times the magnitude of v times the magnitude of w times cosine theta.
That is the pure geometric truth of the situation.
But we also have an algebraic truth.
If I take the dot product of any vector with itself, like v dot v, I'm multiplying the x components to get v1 squared, the y components for v2 squared, and the z components for v3 squared and adding them.
That is literally just the magnitude formula without the square root.
So a vector dotted with itself equals its magnitude square.
Now, substitute that algebraic property into our geometric equation.
We can rewrite that messy left side, the magnitude of v minus w squared, as a dot product.
v minus w dotted with v minus w.
Oh, and because dot products follow the distributive property, we can just FOA all that out like basic algebra.
We get v dot v minus 2 times v dot w plus w dot w.
Yes.
And since a vector dotted with itself is its magnitude squared, that whole expanded mess becomes a magnitude of v squared minus 2 times v dot w plus the magnitude of w squared.
Exactly.
Let's bring it all together now.
Set your new algebraic expansion equal to the original geometric law of cosine's side.
OK, let's see.
The magnitude of v squared minus 2 times v dot w plus the magnitude of v squared plus the magnitude of v squared plus the magnitude of w squared minus 2 times magnitude v times magnitude w times cosine theta.
What do you notice?
That is beautiful.
The magnitude of v squared and magnitude of w squared terms exist on both sides of the equal sign.
They completely cancel each other out.
We are left with just the middle terms.
Negative 2 times v dot w equals negative 2 times magnitude v times magnitude w times cosine theta.
We just divide both sides by negative 2, and the magic reveals itself.
The dot product equals the magnitudes times the cosine of the angle.
The abstract algebra perfectly predicts the physical geometry.
This deridation isn't just a neat trick.
It is a vital tool.
If you're an engineer trying to find the angle between two steel beams meeting at a joint in 3D space, measuring that with physical protractors is a nightmare.
Right, how do you even hold the protractor?
Exactly.
But with this formula, you just calculate their algebraic dot product, divide it by their lengths, and take the inverse cosine.
You can find complex 3D angles in seconds using basic multiplication.
Let's follow this logic to its extreme.
If the dot product measures how parallel things are, what happens when they aren't parallel at all?
What if two vectors point in completely independent perpendicular directions?
What happens at exactly 90 degrees?
We'll let the formula answer that.
What is the cosine of 90 degrees?
It's 0.
And 0 multiplied by any magnitude is still 0.
Therefore, if two vectors are perfectly perpendicular,
mathematicians use the term orthogonal,
their dot product will always be exactly 0.
V dot butyl equals 0.
This gives us a hyperfast test for right angles in 3D space.
You don't need to visualize the vectors or draw triangles, just sum the multiply components.
If it hits 0, they are orthogonal.
That orthogonality test is going to be incredibly important in a few minutes.
But before we move on, we have to talk about how the dot product is used to project one vector onto another.
Yes.
Vector projections are basically about decomposition.
It's asking the question, how much a vector is pushing in the exact direction of vector V?
Imagine vector V lying flat on the ground and vector pointing up and away from it at an angle.
If you shine a flashlight straight down from above, the shadow that you cast onto the line of V is called the projection of U onto V.
So we are breaking vector into two distinct parts, the parallel shadow part and the perpendicular part that goes straight up to the head of U.
Yes.
And because the dot product is our master tool for measuring parallelness, the formula for that parallel shadow relies heavily on it.
The projection is a scalar fraction, the dot product of U and V, divided by the squared magnitude of V all multiplied by vector V to give the shadow its physical direction.
Let's make this real.
There's a great physics example in the text for this.
A wagon on a ramp.
You have a 20 kilogram wagon sitting on a wooden ramp.
And the ramp is inclined at a 15 degree angle from the flat ground.
You're standing at the top holding the handle.
What is the absolute minimum force you have to exert to pull that wagon up the ramp?
To solve this, we must decompose the forces.
The dominant force is gravity pulling straight down toward the center of the Earth.
The magnitude of that gravity vector is mass times acceleration, 20 kilograms times 9 .8.
That is 196 Newtons of force pulling straight down.
But I'm not lifting the wagon straight up into the air.
The ramp is supporting it.
Exactly.
Not all of the 196 Newtons is fighting your pull.
The gravity vector can be projected decomposed into two orthogonal parts.
One part pushes straight perpendicularly into the wood of the ramp.
Right, and the solid ramp just pushes back with equal force, canceling it out.
We don't care about that part.
We don't.
The second part of the shadow is the projection pulling parallel directly down the ramp.
That is the only force you actually have to fight.
Okay, so we need to find the angle between the straight down gravity vector and the tilted ramp vector.
If the ground and gravity make a 90 degree angle and the ramp is tilted 15 degrees up from the ground, the angle between the ramp and gravity is 90 minus 15.
It's 75 degrees.
So we use the dot product property.
The force pulling the wagon down the ramp is the total magnitude of gravity multiplied by the cosine of that 75 degree angle.
196 times the cosine of 75.
Which is roughly 51 Newtons.
Even though the wagon is being pulled down by nearly 200 Newtons of gravity, because the ramp is shallow, the vast majority of that force is absorbed by the wood.
Only 51 Newtons is actually dragging it backwards.
Vector projection turns an impossibly complex physics problem into a couple of neat right triangles.
It is elegant,
but the dot product has a limitation.
It only outputs scalars.
It tells us how much vectors align.
But what if we are dealing with physics that spin or twist?
What if we need to know the axis of rotation?
We need a tool that interacts with two vectors and outputs a brand new vector.
And that brings us to section 12 .4, the second specialized tool, the cross product.
Unlike the dot product, which works in any dimension, the cross product is a mathematical quirk that only exists in three dimensional space.
The cross product of vector V and vector W, denoted with a multiplication cross V times W, creates a third vector.
And this new vector has one supreme defining characteristic.
It is perfectly orthogonal, perfectly perpendicular to both of the original vectors.
Wait, to both of them?
Yes, so if vector V and vector W are lying flat on my desk, their cross product is a vector that shoots straight up off the desk, perpendicular to the entire surface.
That is incredibly useful.
But the algebraic formula to calculate it is a bit of a nightmare.
It involves setting up a three by three matrix determinant.
The machinery is complex, but it's important to understand how it's built.
You set up a grid.
The top row holds our standard basis unit vectors, I, J, and K.
The middle row is the X, Y, and Z components of your first vector.
The bottom row is the components of your second vector.
To find the I component of your new orthogonal vector, you cross out the row and column I is in, and you cross multiply the four numbers that are left over.
Okay, that part is fine.
I can do that.
But then we get to calculating the middle J component.
And every textbook puts a massive warning sign here.
The formula requires you to cross multiply the remaining numbers and then mandate a negative sign.
You have to multiply the whole J component by negative one.
Why?
Why does a minus sign just magically appear in the middle of this matrix?
It feels like a completely arbitrary rule designed to fail students on tests.
It definitely feels arbitrary, but it is a structural necessity.
Remember the goal.
We are trying to build a vector whose dot product with both original vectors is exactly zero.
Right, because it has to be orthogonal.
Mathematicians realize that if you structure this cross multiplication process, but you don't flip the sign of the middle term, the resulting dot product won't zero out.
The algebra simply won't cancel.
By forcing that middle term to alternate its sign, it perfectly aligns the algebraic terms so they completely obliterate each other when you test for orthogonality.
The minus sign is the engine that guarantees the right angle.
Okay, I can accept it as an engineering necessity then, but the matrix only gives me the algebraic components.
It gives me the line.
But a vector has a specific direction.
If V and W are on my desk, does the cross product point up toward the ceiling or down through the floor?
Because both are perpendicular.
We return once again to the right hand rule.
Take your right hand and point your flat fingers in the direction of the very first vector in your cross product, vector V.
Then bend your fingers inward toward the second vector, vector W.
Your thumb will point in the exact direction of the new cross product vector.
Okay, let me do this.
Vector V points right.
I curl my fingers away from me toward vector W.
My thumb points straight up.
So V cross W points up.
But wait, what if I reverse the order?
What if the formula asks for W cross V?
Try it with your hand.
Okay, my fingers have to point away from me first, long W.
Now I need to curl them to the right toward V, but my fingers don't bend backward.
The only way I can curl to the right is if I physically turn my entire hand upside down.
And where is your thumb pointing now?
Straight down.
This physical constraint demonstrates one of the most important properties of the cross product.
It is anticommutative.
Anticommutative.
Yes.
In normal math, three times four is the same as four times three.
But with cross products, V cross W does not equal W cross V.
Flipping the order flips the resulting vector exactly 180 degrees.
V cross W equals negative W cross V.
The order matters immensely.
And what about the magnitude?
The length of this new arrow is sticking out of my desk.
The magnitude formula is basically a mirror image of the dot product theorem.
The magnitude of the cross product equals the magnitude of V times the magnitude of W times the sine of the angle between them.
Magnitude of V cross W equals magnitude of V times magnitude of W times sine theta.
And geometrically, that magnitude is literally the physical area of the parallelogram you would form if you place the two original vectors base to base on the desk.
The cross product is this miraculous operation.
It wraps up an orthogonal direction and a 2D area
into one single vector package.
Which is why the cross product governs the physics of rotation in our universe.
Consider the Coriolis force in meteorology.
As the Earth rotates, its angular velocity can be represented as a vector pointing out of the North Pole.
When air currents move across the surface of the Earth, they have their own velocity vector.
The interaction of these two vectors is a cross product.
It generates a new force that is perpendicular to both the rotation and the wind direction.
This perpendicular force is what causes hurricanes to spin counterclockwise in the northern hemisphere.
It's the cross product manifested on a planetary scale.
A more everyday example from the text is torque.
Torque is the twisting force that causes objects to rotate.
Imagine you're using a wrench to tighten a bolt.
The torque vector is the cross product of the position vector, the physical length of the wrench handle, and the force vector of your hand pushing on the end of it.
And because it is a cross product, the resulting torque vector does not point in the direction your hand is pushing.
It doesn't point along the wrench handle.
It points perfectly perpendicular to both.
So it points straight down the shaft of the bolt, directly into the engine block.
Exactly.
That cross product vector literally defines the mathematical axis around which the bolt will rotate.
It's stunning how the math models the physical reality.
All right, we have our two new tools, the dot product for parallelness and the cross product for perpendicularity.
Now we're going to use them to construct architecture in 3D space in section 12 .5.
We're moving to plans.
Right.
We established how to build a 1D line earlier.
We needed an anchor point and a direction vector running along the path.
But building a flat, infinite 2D plane in 3D space requires a complete philosophical shift.
Why?
Can't we just pick an anchor point and give a direction?
Think about standing on a flat, infinite floor.
If I tell you to point in the direction of the floor, which way do you point?
Well, anywhere on the floor, I guess.
Right.
You could point north, south, east, west, or any angle in between.
A plane contains an infinite number of direction vectors lying flat on its surface.
Trying to uniquely define the plane by using vectors on the plane is a losing game.
It's totally ambiguous.
So we have to find the one single direction that represents the entire surface universally.
And the only direction that interacts identically with every single vector lying flat on the plane is the direction sticking straight up out of it.
Yes, the perpendicular direction.
We define a plane not by where it goes, but by what it is orthogonal to.
We call this defining arrow the normal vector, denoted as n.
Let's build the equation using this.
Suppose we have an anchor point on our plane, P0, with coordinates x0, y0, z0, and we have our normal vector sticking out of the plane, n equals angle bracket ABC.
Now, pick any random unknown point anywhere else on the flat plane.
Let's call it P with coordinates x, y, z.
If you draw a vector connecting your anchor point P0 to your random point P, that new vector P0P is lying flat on the surface of the plane.
Right, and what is the geometric relationship between that flat vector and our normal vector, n?
By definition, the normal vector is perpendicular to everything on the plane.
So they must meet at exactly a 90 degree right angle.
And we just established what happens when we take the dot product of two perpendicular vectors.
It has to equal zero.
So the dot product of the normal vector, n, the flat vector P0P is zero, n .P0P equals zero.
That incredibly simple equation is the master key to planes in 3D.
Let's expand that master key algebraically.
The normal vector is angle bracket ABC.
The flat vector P0P is just the difference of the coordinates, angle bracket x minus x0, y minus y0, z minus zero.
When we take the dot product, we multiply the corresponding x, y, and z parts and add them up.
Which gives us the standard scalar equation of a plane.
a times x minus x0 plus b times y minus y0 plus c times z minus z0 equals zero.
It is wildly elegant.
The coefficients a, b, and c in the algebraic equation are literally just the components of the normal vector sticking out of it.
It is an incredibly powerful formula, but the textbook gives a classic challenge to test if you really understand the mechanics.
What if you aren't given a normal vector?
What if you were only given three random points floating in space and you need to find the equation of the plane that connects them?
Okay, let's walk through the logic.
We have three points.
Let's call them P, Q, and R.
We need two things to write the equation.
An anchor point and a normal vector.
The anchor point is easy.
We have three of them.
We can just pick point P.
But we are desperate for a normal vector and we only have points on the plane.
How do we generate a brand new vector that is perfectly orthogonal to a plane?
The cross product.
But the cross product requires two vectors to start with.
So our first step is to use our three points to draw two vectors that lie flat on the plane.
We connect point P to point Q to make our first flat vector.
Then we connect point P to point R to make our second flat vector.
Now you have two vectors lying on the surface.
Step two is to take their cross product, vector PQ, cross vector PR.
You set up the matrix, you carefully remember the minus sign on the J component and you calculate the result.
That result is guaranteed to be perpendicular to both flat vectors, which means it is pointing straight up out of the plane.
We just manufactured our own normal vector from scratch.
Once we have that, step three is just plugging the normal vector components and our anchor point P into the scalar equation.
And we've perfectly mathematically defined the plane.
Once you have these equations though, actually visualizing them in your head can be really difficult.
The equation four X plus three Y minus five Z equals nine doesn't exactly immediately look like a tilted flat surface to the human eye.
To draw these, we use a concept called traces.
A trace is basically the line formed when your tilted plane intersects with one of the standard flat walls of the coordinate system.
It's like taking a 2D slice of a 3D object.
Exactly.
If you wanna find the trace on the floor, the zi -plane, you know that everywhere on the floor, the Z height is exactly zero.
So you simply take your 3D plane equation and cover up the Z term, you substitute Z equals zero.
So four X plus three Y minus five Z equals nine just becomes four X plus three Y equals nine.
That's just a normal 2D line.
Anyone can graph that on the floor.
Then you do the exact same for X equals zero to draw a line on the vertical YZ wall and set Y equals zero to draw a line on the XZ wall.
You end up with this triangle of lines connecting the axes and your brain instantly perceives the flat plane leaning against them.
And that concept of traces slicing a 3D object to understand its shape is the perfect bridge to our necks and perhaps most visually complex topic in section 12 .6.
We are leaving the world of flat linear planes and entering the world of quadric surfaces.
Quadric surfaces.
Up until now, all our plane variables were linear, X, Y and Z.
Now we are dealing with curved 3D equations where the variables are squared, things like X squared and Y squared.
We already know that X squared plus Y squared plus Z squared equals R squared gives us a perfect sphere.
But what happens when we start missing with the coefficients?
Trying to visualize an entire curved surface at once is overwhelming.
We have to use traces.
The analogy I always use is an MRI machine in a hospital.
Oh, that's good.
Yeah, a doctor cannot easily visualize the entirety of a complex internal 3D organ all at once.
So the MRI machine takes a series of two dimensional slices, traces,
and stacks them together.
By looking at how the 2D slices change shape as they move up the body, the human brain builds the 3D model.
Let's do an MRI scan of the first shape, the ellipsoid.
The standard equation is X squared over a squared plus Y squared over B squared plus Z squared over C squared equals one.
All variables squared all added together.
If you take a horizontal slice by setting Z to any constant height, you are left with an equation of the form X squared over a squared plus Y squared over B squared equals some positive constant.
In 2D geometry, that is the standard equation of an ellipse and oval.
And it really doesn't matter which way you slice it.
If you set X to a constant to slice it vertically, you get an ellipse on the wall.
If you slice it the other way, you get another ellipse.
So an ellipsoid is a 3D shape where absolutely every possible cross section is an ellipse.
It looks like a stretched out sphere or an American football or like a giant M &M.
Correct, but the shapes get wilder when we introduce negative signs into the equation.
The next major family is the hyperboloids.
These have equations where some squared terms are positive, but at least one squared term is subtracted.
The textbook highlights two variations, hyperboloids of one sheet and hyperboloids of two sheets.
The equations look almost identical.
One sheet is X squared over a squared plus Y squared over B squared minus Z squared over C squared equals one.
Only the Z squared is negative,
but two sheets is negative X squared over a squared minus Y squared over B squared plus Z squared over C squared equals one.
Both the X squared and Y squared are negative.
How does moving a minus sign fundamentally alter the architecture of the space?
Let's use our traces to find out.
Take the one sheet equation.
Let's slice it horizontally near the floor, setting Z equals zero.
You get X squared over a squared plus Y squared over B squared equals one.
That's a normal ellipse.
As you move the slice up, making Z larger, the negative term on the left gets bigger, which means the right side of the equation has to grow to compensate.
The ellipses get wider and wider.
The shape is a single continuous hollow tunnel that narrows in the middle and flares out at the top and bottom.
It looks exactly like a nuclear power plant cooling tower.
Now let's scan the two sheets equation.
Both the X and Y terms have minus signs.
Let's try to take a horizontal slice near the origin.
At height, Z equals zero.
We get negative X squared over a squared minus Y squared over B squared equals one.
Stop right there and look at that algebra.
Any real number squared is positive, so X squared over a squared is positive and Y squared over B squared is positive, but they both have minus signs in front of them.
You are adding two strictly negative numbers together.
And the equation says they have to equal positive one.
That is mathematically impossible.
Exactly.
The math is screaming at you that there is no solution.
There is no trace at Z equals zero.
In fact, for a massive range of Z values near the origin, the plane is completely empty.
The minus signs have created a void in space.
The surface only begins to exist far above the origin and far below it.
It forms two completely disconnected infinite bowls floating in space, pointing away from each other.
That is the hyperboloid of two sheets.
I just love how the algebra literally carves out empty space.
It's fascinating.
The final major family is the paraboloids.
These equations are unique because one of the variables isn't squared at all.
It's linear.
Something like Z equals X squared over a squared plus Y squared over B squared.
If you take a vertical trace by setting Y to a constant, you are left with Z equals X squared over a squared plus a number.
That is the equation of a standard parabola opening upwards.
If you take horizontal slices, you get ellipses.
Stack ellipses that grow outward along a parabolic curve and you get an elliptic paraboloid.
It looks like a standard satellite dish or a cereal bowl.
But the shape that always breaks my brain, the absolute textbook curve ball, is the hyperbolic paraboloid.
The equation introduces a minus sign.
Z equals X squared over a squared minus Y squared over B squared.
Let's trace it.
Slice it vertically by setting Y equals zero.
The trace in the X -y plane is Z equals X squared over a squared.
That is a normal upward opening parabola.
It curves up like a smile.
Now, slice it vertically the other way by setting X equals zero.
The trace in the Y -Z plane is Z equals negative Y squared over B squared.
Because of the minus sign, that is a downward opening parabola.
It curves down like a frown.
So simultaneously, along one axis, the shape is curving upwards like a bowl.
But along the perpendicular axis, the surface is dropping away, curving downward over the edges.
I know exactly what the shape is.
It's a saddle for a horse.
Or more relevantly for a hungry college student studying at 2 a .m., it is the exact geometric shape of a Pringles potato chip.
Oh, totally, a Pringles.
Yeah, it is a surface that contains both a minimum and a maximum at the exact same point, depending on which direction you walk.
In multivariable calculus, this is called a saddle point, and analyzing it is a major part of the coursework.
Okay, we are in the homestretch here, section 12 .7.
We have spent this entire deep dive mapping objects, spheres, cooling towers, Pringles chips using our standard blocky X, Y, and Z grids.
But the textbook makes a compelling argument at the end of the chapter.
Describing a beautifully symmetric curved sphere using straight right angle variables like X squared plus Y squared plus Z squared gets incredibly cumbersome when you actually have to do advanced calculus on them.
Is there a better way to map space?
There is.
If the geometry is round, your coordinate system should be round.
Just as we use polar coordinates in 2D algebra to simplify circles,
mathematicians develop two specialized coordinate systems for 3D space, cylindrical coordinates and spherical coordinates.
Let's start with cylindrical, which relies on R, theta, and Z.
Cylindrical coordinates are the easiest transition from what we know.
You keep the standard Z axis exactly as it is.
It's an elevator that goes straight up and down.
But instead of an X, Y grid on the ground floor, you replace the floor with 2D polar coordinates.
So R is the direct radius distance from the origin on the floor.
And theta is the angle you rotate from the positive X axis.
To find a point, I stand at the origin.
I turn to face angle theta.
I walk out a straight distance R and then I take the Z elevator straight up to my height.
It is brilliant for modeling objects that have rotational symmetry around a central axis like pipes, wiring, or that nuclear cooling tower we discussed.
Under the old X, Y, Z system, a cylinder is X squared plus Y squared equals R squared.
In cylindrical coordinates, the equation of an entire infinite cylinder is literally just R equals R, a constant.
No matter what angle you look or how high the elevator goes, the radiuses always are.
That drastically simplifies the math.
But what if the object is symmetric in every direction, like a planet or a star?
That brings us to spherical coordinates, which uses three Greek letters, rho, theta, and phi.
This system completely discards the straight line grid entirely.
It maps the universe using only angles and one absolute distance from the origin.
Rho is that distance.
It is a true 3D radius, a straight laser beam shot from the origin directly to the point in space.
That means setting rho equal to a constant number, like rho equals five,
immediately gives you the surface of a perfect sphere with a radius of five.
The equation of a sphere goes from a massive algebraic polynomial to a single variable.
That is beautiful.
What about the angles to aim the laser?
Theta is the exact same horizontal angle used in cylindrical coordinates.
Think of it like longitude on the earth.
It tells you how far east or west to rotate your aiming mechanism.
Phi is the angle of declination.
It is measured starting from the positive z -axis, the north pole, and dropping downward toward the south pole.
So phi equals zero means you are aiming straight up.
Phi equals pi over two, or 90 degrees, means you have dropped your aim horizontally to the equator, the xi plane.
And phi equals pi, or 180 degrees, means you are aiming straight down at the south pole.
It's akin to latitude, but we start measuring from the top pole instead of the middle equator.
So to find a point in spherical coordinates, I set my telescope aiming straight up at the north pole.
I rotate it downward by angle phi.
I rotate the base horizontally by angle theta.
And then I shoot a laser beam out a distance of rho.
It perfectly maps every point in infinite 3D space using just angles and one distance.
It's like having a universal mathematical GPS.
And when you reach the later chapters on multiple integrals, transforming a terrifying page -long Cartesian integral over spherical volume into spherical coordinates makes the math almost trivially simple to solve.
Shifting your perspective is sometimes the most powerful mathematical tool you have.
Let's pull all of this together.
We have been on an incredible conceptual journey today.
We started with simple 2D arrows on a flat piece of paper, trying to separate instructions from locations.
We learned to break those arrows into their DNA components, to add them together with parallelograms, and to decompose them to solve real -world physics problems, like pulling a wagon up a ramp or balancing tension on a bridge.
We then expanded our minds into three dimensions, relying on the right -hand rule to construct the space.
We tackled the limitations of slope and used parametric vectors to track airplane collisions.
We discovered that basic arithmetic fails us and explored the profound geometric magic of the dot product, proving how the algebra of coordinates aligns with the geometry of the law of cosines to measure parallelness.
We navigated the matrix machinery of the cross product to manufacture perpendicularity, exploring how flipping a minus sign governs the spin of a hurricane.
Finally, we used all those tools to build flat planes in midair, sliced quadric surfaces with MRI traces to find saddle points, and completely redefined how we map reality with spherical angles.
You have officially built the entire mathematical engine required to explore the landscapes of multivariable calculus.
Which leaves me with one final provocative thought to chew on.
The text notes early on that vectors play a role in nearly all areas of mathematics.
We have spent this entire time mapping two components for a flat plane and three components for our physical 3D space.
But mathematically,
what stops us from having a vector with four components?
Or 10 components?
Or a million components?
Angle bracket V1, V2, V3, all the way to V1 million.
Physically visualizing a 1 ,000 dimensional hypersphere might completely break our human brains.
We have absolutely no intuition for it.
But the beautiful truth of the algebra we learned today, the component wise addition, the dot products summing up parts, the Pythagorean magnitude formulas, is that the mechanics remain exactly the same no matter how many dimensions you add.
The geometry scales infinitely.
By grinding through the foundational rules of vectors today, you haven't just prepared yourself for a calculus exam.
You have actually built a mathematical engine capable of exploring infinite dimensional data spaces.
Which by the way, is exactly how modern machine learning and artificial intelligence map human language and thought.
But that is a massive conceptual leap for another day.
Thank you for joining us on this deep dive through chapter 12.
And a warm thank you from the last minute lecture team.
You've got this.
ⓘ This audio and summary are simplified educational interpretations and are not a substitute for the original text.
Using this chapter to study? Last Minute Lecture is free and student-run. If it helped, consider supporting the project.
Support LML ♥Related Chapters
- Units, Physical Quantities, and VectorsUniversity Physics with Modern Physics
- Vectors and Symmetry in PhysicsThe Feynman Lectures on Physics
- Additional Crystallographic ComputationsStructure of Materials: An Introduction to Crystallography, Diffraction and Symmetry
- Applying Newton's LawsUniversity Physics with Modern Physics
- Calculus of Vector-Valued FunctionsCalculus: Early Transcendentals
- Crystallographic ComputationsStructure of Materials: An Introduction to Crystallography, Diffraction and Symmetry