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: ab=axbx+ayby\vec{a} \cdot \vec{b} = a_xb_x + a_yb_y
  • In 3D: ab=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:

ab=abcosθ\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 ab\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θ=abab\cos\theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}

  1. Take the inverse cosine to get the angle:

θ=arccos(abab)\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. ab=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θ=5510=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?

  • ab=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.

compba=abb\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.

projba=abb2b\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 b2|\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 bb\frac{\vec{b}}{|\vec{b}|} by it, which is why you end up with b2|\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. ab=3(5)+4(0)=15\vec{a} \cdot \vec{b} = 3(5) + 4(0) = 15
  2. b2=52+02=25|\vec{b}|^2 = 5^2 + 0^2 = 25
  3. projba=15255,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 (projba\text{proj}_{\vec{b}}\vec{a}), you can find the perpendicular component by subtraction:

a=aprojba\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 ab=0\vec{a}_{\perp} \cdot \vec{b} = 0 (they should be orthogonal).

Continuing the example above: a=3,43,0=0,4\vec{a}_{\perp} = \langle 3, 4 \rangle - \langle 3, 0 \rangle = \langle 0, 4 \rangle. Check: 0,45,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=FdW = \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 projdF\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.

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →