Concept stop · What is it?

The Inner Product

In the Chinese book: 向量的内积

a·b is the length of a times the signed shadow of b on a.

📖 Chapter 5 of 《复数与向量》M8 The Area Method line

Before this stop, visit:Adding and Subtracting Vectors (Concept)

Hands first, words secondDrag once around the origin and keep your eye on the purple “shadow” and the sign of the dot product. When is the dot product exactly ?

Loading figure…

Try this

  1. Make the angle between and acute, right and obtuse, and look at the sign of the dot product each time.
  2. Keep fixed and make twice as long (same direction). What happens to the dot product? Does the shadow change?
  3. Let . What is the dot product?
  4. The two lines of calculation on the right use “length × shadow” and the coordinates . Are they always equal?

For two nonzero vectors , with angle between them (), the inner product (dot product) is

is the projection of in the direction of : the signed “shadow” that casts on the line of when the light shines perpendicular to that line. By convention the zero vector has dot product with every vector. Some useful facts:

  • ;
  • ;
  • , so ;
  • in coordinates: if and , then .

Predict first

, , . What is the angle between and , in degrees?

°
Choose an answer first; then you can see the result.

Why: where the coordinate formula comes from

Proof that |a||b|cosθ = x₁x₂ + y₁y₂

Step 1 / 5
Loading figure…
  1. Triangle OAB

    , . The third side is .

Using the dot product to find a minimum

Expanding gives a quadratic function of . Here the dot product turns “shortest distance” in geometry into “completing the square”.

For which t is |b − ta| smallest?

Step 1 / 4
Loading figure…
  1. t = 0

    , . At the length is just . Drag : the head of the green arrow moves along a line parallel to .

Practice

Exercise 1Basic

, . Find .

Exercise 2Basic

, , and the angle between them is . Find .

Exercise 3Advanced

, , and . Find all possible values of (separated by commas; decimals are fine).

Exercise 4Challenge

In , , , , and is the midpoint of . Find .

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

Can you “cancel” in a dot product?

The wrong step: and , so .
What went wrong? Think first, then open

Diagnosis only sees the shadow of in the direction of , and infinitely many vectors cast the same shadow: with , both and have dot product .

The right step: The correct conclusion is , that is, (or ).

“A dot product is a number: the direction information is lost, so you cannot cancel”

Exhibit

A negative dot product means an obtuse angle

The wrong step: , so the angle between and is obtuse.
What went wrong? Think first, then open

Diagnosis only says , that is, . When (the vectors point in opposite directions) the dot product is negative too, but that is not an obtuse angle.

The right step: “The angle is obtuse” and do not point in opposite directions. When you find a range for a parameter, remove the value that makes them opposite.

“Once you know the sign of the dot product, check the collinear case as well”