---
title: "The Dot Product: Angles and Projections"
description: "One product of two vectors returns a number that encodes the angle between them. It tests perpendicularity and splits one vector into parts along and across another."
canonical: https://lightmysky.com/learn/mathematics/the-dot-product-angles-and-projections-mt_yFBcyE4sFw
source: https://lightmysky.com/learn/mathematics/the-dot-product-angles-and-projections-mt_yFBcyE4sFw.md
retrieved: 2026-11-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# The Dot Product: Angles and Projections

One product of two vectors returns a number that encodes the angle between them. It tests perpendicularity and splits one vector into parts along and across another.

Subject: Mathematics · Area: Geometry · Ages 19 to 20
Page: https://lightmysky.com/learn/mathematics/the-dot-product-angles-and-projections-mt_yFBcyE4sFw

## Ready when they can

- Find the angle between two vectors from their dot product
- Decide perpendicularity from a dot product of zero
- Resolve a vector into components parallel and perpendicular to another

## Lesson: One number that knows the angle

The dot product turns two vectors into one number: multiply matching components and add. For (2, 5) and (4, 1) you get 8 + 5 = 13. The same number equals the length of the first vector times the length of the second times the cosine of the angle between them. So divide the dot by both lengths to get the cosine, then take the inverse cosine. A positive dot means an acute angle, zero means a right angle, and negative means obtuse.

**Example.** A zero dot product from two nonzero vectors means the vectors are perpendicular. Check (3, 1) and (-1, 3): 3 times -1 plus 1 times 3 is 0, so they meet at a right angle. By contrast, (3, 1) and (1, 3) dot to 3 + 3 = 6, so their angle is acute.

*(drawing: Split (2, 1) against the direction (3, 4): make a unit direction, dot for the component, scale it, then subtract to get the part across.)*

To find how much of a vector u runs along a direction v, divide v by its length, then dot u with that unit vector. The direction (3, 4) has length 5, so its unit vector is (3/5, 4/5), and (2, 1) has component 6/5 + 4/5 = 2 along it. The projection vector is the component times the unit vector: (6/5, 8/5). The shortcut (u dot v over v dot v) times v gives the same vector: 10/25 times (3, 4).

**Example.** The part across the direction is what is left. For (2, 1) and the direction (3, 4), subtract the projection: (2, 1) minus (6/5, 8/5) is (4/5, -3/5). Check it: (4/5, -3/5) dotted with (3, 4) is 12/5 - 12/5 = 0, so this part is perpendicular.

**Tip.** For angles, find the dot from components, divide by both lengths to get the cosine, then take the inverse cosine. If the dot is zero and neither vector is zero, the angle is 90 degrees.

**Recap.** Multiply matching parts and add, read the angle from the cosine, and split vectors with projection.

*The lesson and quiz items were written for this dataset. The lesson sections and quiz item q5 were later revised.*

## Practice

16 questions on this page, each with its working shown.

## Needs first

- [Vectors in Three Dimensions](https://lightmysky.com/learn/mathematics/vectors-in-three-dimensions-mt_o97GclnNC-)

## Optional connections

- [Forces as Vectors: Resolving and Resultants](https://lightmysky.com/learn/mathematics/forces-as-vectors-resolving-and-resultants-mt_-qDRgd2g8v)

## Opens up

- [Lines and Planes in Space](https://lightmysky.com/learn/mathematics/lines-and-planes-in-space-mt_kIX5ak1GRv)
- [Directional Derivatives and the Gradient](https://lightmysky.com/learn/mathematics/directional-derivatives-and-the-gradient-mt_LW_KckY5Ad)
- [The Cross Product and Oriented Area](https://lightmysky.com/learn/mathematics/the-cross-product-and-oriented-area-mt_QEBM_Ms-SK)
- [Inner Products, Length and Orthogonality](https://lightmysky.com/learn/mathematics/inner-products-length-and-orthogonality-mt_X0HPRGto4W)
