Vector Operations and Applications
What You’ll Learn
Section titled “What You’ll Learn”If this feels like a lot, relax. Vectors and the dot product come back in Calculus and get a full deep dive in Linear Algebra. This is just a preview to get you comfortable with the basics before you see them again later.
In this lesson you’ll learn the dot product, how to find the angle between two vectors, vector projections, and how to apply vectors to real-world problems like navigation and force decomposition. You covered basic vector operations (add, subtract, scalar multiply) in the previous lesson. Here we go deeper.
The Concept
Section titled “The Concept”The dot product (also called the scalar product) takes two vectors and returns a single number. For u = ⟨a, b⟩ and v = ⟨c, d⟩:
Multiply corresponding components and add. That’s it. The result is a scalar, not a vector.
The geometric interpretation is where it gets interesting. The dot product also equals:
where θ is the angle between the two vectors. This means you can find the angle between any two vectors:
The diagram shows u = ⟨4, 3⟩ and v = ⟨5, 1⟩ with the angle between them. The dot product tells you how much the two vectors “agree” in direction. If the dot product is positive, the angle is acute. If it’s zero, the vectors are perpendicular. If it’s negative, the angle is obtuse.
Before we go further, let’s break down some notation you might not have seen before:
- is the dot product (the centered dot between two vectors means “dot product,” not regular multiplication)
- is the magnitude (length) of vector u, same idea as absolute value but for vectors
- means “is perpendicular to” (forms a 90-degree angle)
- means “if and only if,” a two-way logical statement: the left side is true exactly when the right side is true
- is the projection of u onto v (the subscript tells you which vector you’re projecting onto)
Two vectors are perpendicular (orthogonal) when their dot product is zero:
In plain English: u is perpendicular to v if and only if their dot product equals zero.
The projection of u onto v gives the component of u that points in the direction of v:
The green arrow is the projection of u onto v. The dashed purple line is the perpendicular component. Together they decompose u into a part along v and a part perpendicular to v.
Worked Example
Section titled “Worked Example”Example 1: Dot product and angle
Let u = ⟨4, 3⟩ and v = ⟨5, 1⟩.
Dot product:
Magnitudes:
Angle between them:
Example 2: Checking perpendicularity
Are u = ⟨3, -2⟩ and v = ⟨4, 6⟩ perpendicular?
Yes. Dot product is zero, so they’re perpendicular. You can see the right angle in the diagram, and the small green square confirms it.
Example 3: Projection
Project u = ⟨3, 3⟩ onto v = ⟨6, 2⟩.
Real-World Application
Section titled “Real-World Application”A boat needs to cross a river. The boat’s motor pushes it at 8 m/s due east: b = ⟨8, 0⟩. The river current flows at 3 m/s due south: c = ⟨0, -3⟩.
The actual velocity is the vector sum:
Actual speed:
Direction angle below east:
The boat drifts downstream. To compensate, the pilot would need to aim slightly upstream.