Fiveable

๐Ÿ”ทHonors Geometry Unit 14 Review

QR code for Honors Geometry practice questions

14.2 Dot product and vector projections

14.2 Dot product and vector projections

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐Ÿ”ทHonors Geometry
Unit & Topic Study Guides
Pep mascot

Dot Product

Pep mascot
more resources to help you study

Dot Product Calculation and Meaning

The dot product takes two vectors and produces a single scalar (a number, not a vector). You calculate it by multiplying corresponding components and adding the results.

  • In 2D: aโƒ—โ‹…bโƒ—=axbx+ayby\vec{a} \cdot \vec{b} = a_xb_x + a_yb_y
  • In 3D: aโƒ—โ‹…bโƒ—=axbx+ayby+azbz\vec{a} \cdot \vec{b} = a_xb_x + a_yb_y + a_zb_z

But the dot product isn't just arithmetic. There's a geometric formula that connects it to the angle between the two vectors:

aโƒ—โ‹…bโƒ—=โˆฃaโƒ—โˆฃโˆฃbโƒ—โˆฃcosโกฮธ\vec{a} \cdot \vec{b} = |\vec{a}||\vec{b}|\cos\theta

where ฮธ\theta is the angle between aโƒ—\vec{a} and bโƒ—\vec{b}. This is what makes the dot product so useful: it encodes directional information.

  • Positive dot product โ†’ vectors point in roughly the same direction (acute angle, ฮธ<90ยฐ\theta < 90ยฐ)
  • Zero dot product โ†’ vectors are perpendicular (ฮธ=90ยฐ\theta = 90ยฐ)
  • Negative dot product โ†’ vectors point in roughly opposite directions (obtuse angle, ฮธ>90ยฐ\theta > 90ยฐ)

Angle Determination Using the Dot Product

Since both formulas compute the same dot product, you can set them equal and solve for the angle:

  1. Compute aโƒ—โ‹…bโƒ—\vec{a} \cdot \vec{b} using components.
  2. Compute โˆฃaโƒ—โˆฃ|\vec{a}| and โˆฃbโƒ—โˆฃ|\vec{b}| (the magnitudes of each vector).
  3. Plug into the rearranged formula:

cosโกฮธ=aโƒ—โ‹…bโƒ—โˆฃaโƒ—โˆฃโˆฃbโƒ—โˆฃ\cos\theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}

  1. Take the inverse cosine to get the angle:

ฮธ=arccosโก(aโƒ—โ‹…bโƒ—โˆฃaโƒ—โˆฃโˆฃbโƒ—โˆฃ)\theta = \arccos\left(\frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}\right)

Example: Find the angle between aโƒ—=โŸจ1,2โŸฉ\vec{a} = \langle 1, 2 \rangle and bโƒ—=โŸจ3,1โŸฉ\vec{b} = \langle 3, 1 \rangle.

  1. aโƒ—โ‹…bโƒ—=1(3)+2(1)=5\vec{a} \cdot \vec{b} = 1(3) + 2(1) = 5
  2. โˆฃaโƒ—โˆฃ=12+22=5|\vec{a}| = \sqrt{1^2 + 2^2} = \sqrt{5}, and โˆฃbโƒ—โˆฃ=32+12=10|\vec{b}| = \sqrt{3^2 + 1^2} = \sqrt{10}
  3. cosโกฮธ=55โ‹…10=550=552=12\cos\theta = \frac{5}{\sqrt{5}\cdot\sqrt{10}} = \frac{5}{\sqrt{50}} = \frac{5}{5\sqrt{2}} = \frac{1}{\sqrt{2}}
  4. ฮธ=arccosโก(12)=45ยฐ\theta = \arccos\left(\frac{1}{\sqrt{2}}\right) = 45ยฐ

Perpendicularity check: Are aโƒ—=โŸจ3,4โŸฉ\vec{a} = \langle 3, 4 \rangle and bโƒ—=โŸจโˆ’4,3โŸฉ\vec{b} = \langle -4, 3 \rangle perpendicular?

  • aโƒ—โ‹…bโƒ—=3(โˆ’4)+4(3)=โˆ’12+12=0\vec{a} \cdot \vec{b} = 3(-4) + 4(3) = -12 + 12 = 0

The dot product is zero, so yes, these vectors are orthogonal (perpendicular). You don't even need to compute magnitudes when checking for perpendicularity; a dot product of zero is sufficient.

Vector Projections

Dot product calculation and meaning, Algebra โ€“ Page 2 โ€“ TikZ.net

Vector Projection and Scalar Projection

Projecting aโƒ—\vec{a} onto bโƒ—\vec{b} answers the question: how much of aโƒ—\vec{a} points in the direction of bโƒ—\vec{b}? Think of it as the "shadow" aโƒ—\vec{a} casts onto the line defined by bโƒ—\vec{b} when light shines straight down perpendicular to that line.

There are two versions to know:

Scalar projection (a number): the signed length of that shadow.

compbโƒ—aโƒ—=aโƒ—โ‹…bโƒ—โˆฃbโƒ—โˆฃ\text{comp}_{\vec{b}}\vec{a} = \frac{\vec{a} \cdot \vec{b}}{|\vec{b}|}

  • Positive means aโƒ—\vec{a} has a component in the same direction as bโƒ—\vec{b}
  • Negative means aโƒ—\vec{a} has a component in the opposite direction

Vector projection (a vector): the actual vector lying along bโƒ—\vec{b} that represents that component.

projbโƒ—aโƒ—=aโƒ—โ‹…bโƒ—โˆฃbโƒ—โˆฃ2bโƒ—\text{proj}_{\vec{b}}\vec{a} = \frac{\vec{a} \cdot \vec{b}}{|\vec{b}|^2}\vec{b}

Notice the difference: the scalar projection divides by โˆฃbโƒ—โˆฃ|\vec{b}|, while the vector projection divides by โˆฃbโƒ—โˆฃ2|\vec{b}|^2 and then multiplies by bโƒ—\vec{b} itself. A good way to remember this: the vector projection takes the scalar projection and scales the unit vector bโƒ—โˆฃbโƒ—โˆฃ\frac{\vec{b}}{|\vec{b}|} by it, which is why you end up with โˆฃbโƒ—โˆฃ2|\vec{b}|^2 in the denominator.

Example: Project aโƒ—=โŸจ3,4โŸฉ\vec{a} = \langle 3, 4 \rangle onto bโƒ—=โŸจ5,0โŸฉ\vec{b} = \langle 5, 0 \rangle.

  1. aโƒ—โ‹…bโƒ—=3(5)+4(0)=15\vec{a} \cdot \vec{b} = 3(5) + 4(0) = 15
  2. โˆฃbโƒ—โˆฃ2=52+02=25|\vec{b}|^2 = 5^2 + 0^2 = 25
  3. projbโƒ—aโƒ—=1525โŸจ5,0โŸฉ=โŸจ3,0โŸฉ\text{proj}_{\vec{b}}\vec{a} = \frac{15}{25}\langle 5, 0 \rangle = \langle 3, 0 \rangle

This makes geometric sense: bโƒ—\vec{b} points along the x-axis, so the projection of aโƒ—\vec{a} onto it is just the x-component of aโƒ—\vec{a}.

Decomposing a Vector into Parallel and Perpendicular Components

Once you have the parallel component (projbโƒ—aโƒ—\text{proj}_{\vec{b}}\vec{a}), you can find the perpendicular component by subtraction:

aโƒ—โŠฅ=aโƒ—โˆ’projbโƒ—aโƒ—\vec{a}_{\perp} = \vec{a} - \text{proj}_{\vec{b}}\vec{a}

This decomposes aโƒ—\vec{a} into two parts: one parallel to bโƒ—\vec{b} and one perpendicular to it. You can verify your work by checking that aโƒ—โŠฅโ‹…bโƒ—=0\vec{a}_{\perp} \cdot \vec{b} = 0 (they should be orthogonal).

Continuing the example above: aโƒ—โŠฅ=โŸจ3,4โŸฉโˆ’โŸจ3,0โŸฉ=โŸจ0,4โŸฉ\vec{a}_{\perp} = \langle 3, 4 \rangle - \langle 3, 0 \rangle = \langle 0, 4 \rangle. Check: โŸจ0,4โŸฉโ‹…โŸจ5,0โŸฉ=0\langle 0, 4 \rangle \cdot \langle 5, 0 \rangle = 0. It works.

Applications in Geometric Problem-Solving

  1. Work done by a force. If a force Fโƒ—\vec{F} acts on an object that moves along displacement dโƒ—\vec{d}, the work is W=Fโƒ—โ‹…dโƒ—W = \vec{F} \cdot \vec{d}. Only the component of force in the direction of motion contributes to work.

  2. Resolving forces on inclined planes. Project the weight vector onto the direction parallel to the surface and the direction perpendicular to it. The parallel component is the force pulling the object down the slope; the perpendicular component equals the normal force.

  3. Finding force components in a given direction. Use projdโƒ—Fโƒ—\text{proj}_{\vec{d}}\vec{F} to extract the part of a force Fโƒ—\vec{F} that acts along a specific direction dโƒ—\vec{d}.

  4. Distance from a point to a line. Project the vector from any point on the line to the given point onto the line's direction vector. The perpendicular component (what's left after subtracting the projection) has a magnitude equal to the distance from the point to the line.