Learning Rooms/□ Level 4 · Systems Engineer/Mathematics
Dot products and duality | Chapter 9, Essence of linear algebra
3Blue1Brown · 14 min 11 s · captions on YouTube · nothing loads until you press play
By the end you can…
- Compute a dot product from components.
- Use a · b = |a||b| cos θ to find the angle between two vectors.
- Interpret the sign of a dot product and use it to test for perpendicular vectors and projections.
Watch it all: no segment has been checked by hand for this video yet.
1.Predict before you press play
a = (3, 1) and b = (−1, 3). Without drawing, what can you say about the angle between them?
Pick one before you press play. A wrong guess is fine: it is what makes the video stick.
2.See the idea first
Play with this diagram for a minute. It gives you something to hang the video on.
Loading the interactive…
Can't use the diagram? Read a description instead
In dot-product mode the playground draws a and b from the origin and shades the shadow of a along b in green. The readout gives the dot product, both lengths, the angle between them and the shadow length. For b = (3, 0) the dot product is 3 × a's x part: positive when a leans right, zero when a points straight up or down, negative when it leans left.
3.Watch, actively
Why multiplying components and adding gives the same number as lengths times the cosine of the angle: the projection picture behind the dot product.
14 min 11 s · captions on YouTube · source
Nothing loads from YouTube until you press play.
Watch for…
- → Watch for the projection picture: the dot product is the length of one vector's shadow on the other, times the other's length.
Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.
Can't stream it? Read the idea instead
The dot product multiplies matching components and adds them. Geometrically it is the length of one vector's shadow on the other times the other's length, so it is zero for perpendicular vectors and measures how much two directions agree.
What the video covers (our own note, written when we verified it): Why multiplying components and adding gives the same number as lengths times the cosine of the angle: the projection picture behind the dot product.
Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.
Jot down one thing that surprised you and one question you still have.
4.Practise what you just saw
These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.
Practice 1 · a fresh version every time
Find the dot product a · b for a = (−5, 5) and b = (−4, −5).
Practice 2 · a fresh version every time
What is the angle between a = (−2, 0) and b = (1, 1), in degrees (0 to 180)?
Practice 3
Which vector is perpendicular to (2, 5)?
Practice 4
A 10 N force F = (8, 6) N pushes a cart that can only roll along the x axis. How many newtons act along the rail? (Hint: dot F with the unit vector (1, 0).)
5.Try it yourself
No simulation models this idea yet. The lesson below has an interactive diagram instead.
6.Build something with it
Follow-up project
Write a function is_ahead(heading_deg, rx, ry) that returns True when a point at (rx, ry) relative to a robot is in front of it, using only a dot product. Test it with a heading of 90° and points (0, 3), (2, −1) and (−4, 0.5).
Where this video lives
- The dot product: how much do two arrows agree? · Level 3, week 10
In the course catalogue: ROB-310 Mathematics of motion
The video is by 3Blue1Brown, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.