Math / Vectors

Dot Product: Multiply Two Vectors and Find the Angle Between Them

Math · Vectors · about 1 min · A real AskSia lesson taught by Sia

Follow the lesson, then work through the notes and practice below.

Quick answer

The learner answers 25 because both vectors have length 5, but a dot product multiplies matching parts and adds them: 3 × (−4) + 4 × 3 = −12 + 12 = 0. A zero dot product means the vectors meet at 90 degrees. A positive sign means acute and a negative sign means obtuse.

From the video

Lesson notes

Sia's lesson notes

The question most students miss

▶ 0:00

The lesson card shows a = (3, 4) and b = (−4, 3) and asks for a · b, with options A 0, B 24, C 25 and D (−12, 12). The learner chooses C, 25, because both vectors have length 5.

Test 25: multiply matching parts, then add

▶ 0:22

Sia tests 25 by multiplying matching parts. The first parts give 3 × (−4) = −12 and the second parts give 4 × 3 = 12. Adding them gives 0, answer A.

What a zero dot product says about the angle

▶ 0:32

Sia asks what zero says about the angle. The learner answers that zero means 90 degrees. Sia gives the rule: multiply matching parts, then add; the sign tells the angle.

Your turn: acute, right or obtuse?

▶ 0:41

For a = (2, −1) and b = (1, 3), Sia asks whether the angle is acute, right or obtuse. The learner computes 2 − 3 = −1 and says obtuse. Sia confirms: same rule.

What is the dot product (scalar product)?

The dot product, also called the scalar product, combines two vectors to give one number. These are two names for the same operation. A vector has components and a direction; the result of a dot product has neither a list of components nor an arrow direction. For instance, the opening calculation produces zero. That number tells you something about the relationship between the two original vectors, rather than describing a new vector.

How to find the dot product of two vectors

To find a dot product, multiply matching components and then add the products: a · b = a₁b₁ + a₂b₂. For the lesson’s a = (3, 4) and b = (−4, 3), first calculate the matching products, 3 × (−4) = −12 and 4 × 3 = 12. Second, add them: −12 + 12 = 0. Keep the negative sign attached to its component. Multiplying the lengths alone would miss the vectors’ relative directions.

Equation for the dot product: a · b = |a||b|cos θ

The dot product equals the product of the vector lengths times the cosine of their angle: a · b = |a||b|cos θ. Compare the two equivalent forms: a · b = a₁b₁ + a₂b₂; a · b = |a||b|cos θ. Components let you calculate the number directly. For nonzero vectors, rearrange to θ = cos⁻¹((a · b)/(|a||b|)). Here cos⁻¹ means inverse cosine, not the reciprocal of cosine. Use degree mode when reporting the lesson’s angles in degrees.

What does the dot product represent?

The dot product represents directional alignment: for nonzero vectors, positive, zero and negative values indicate an acute, right and obtuse angle, respectively, with parallel directions giving the endpoint angles 0° or 180°. Finish the lesson’s example with a = (2, 2) and b = (4, 0). Their dot product is 8, while |a| = √(2² + 2²) = 2√2 and |b| = 4. Therefore cos θ = 8/(8√2) = 1/√2, so θ = 45°. Its positive dot product agrees with this acute angle.

Dot product of 3D vectors

For 3D vectors, multiply the three matching component pairs and add all three products. The extra coordinate follows exactly the same rule: a · b = a₁b₁ + a₂b₂ + a₃b₃. For example, (1, 2, 3) · (4, −5, 6) = 4 − 10 + 18 = 12. The answer is still a scalar, not a vector with three components. The length-and-angle formula also remains valid in three dimensions when both vectors are nonzero.

Going further

Extended explanations

Additional explanations and checks to build on the lesson.

Extended explanations

Extension: finish the check’s angle

The card’s check gives a · b = −1. The lengths are √5 and √10, so cos θ = −1/√50. In degree mode, θ = cos⁻¹(−1/√50) ≈ 98.1°. This completes the exact setup and numerical angle beyond the recorded check, which only classifies it as obtuse.

Extended explanations

The zero-vector caveat

The zero vector has dot product zero with every vector, but it has no direction, so an angle involving it is undefined. For example, (0, 0) · (5, 7) = 0 does not supply an angle. The angle formula divides by both lengths and therefore requires two nonzero vectors.

Sia's board

The rule card: 3 × (−4) + 4 × 3 = 0, with a positive dot product meaning acute, zero meaning right (90°) and negative meaning obtuse; a = (3, 4) and b = (−4, 3) are drawn at a right angle.
The rule card from the lesson.
Sia’s board for the second question: 2 × 1 + (−1) × 3 = −1, so the angle between a = (2, −1) and b = (1, 3) is obtuse.
Sia’s board for the second question.

Common mistakes

MistakeWhat to do instead
Multiplying the lengths to get 25Multiply matching parts and add: 3 × (−4) + 4 × 3 = 0. The lengths alone ignore the angle.
Giving “perpendicular” when asked for the angleFor these nonzero vectors, perpendicular means an angle of 90°.
Reporting 1/√2 as the angleThat value is cos θ. The corresponding angle is 45°.

Put it into practice

Practice questions

Work out each answer, then choose an option or open the answer to check your reasoning.

Question 1

For a = (2, −3) and b = (4, 1), what is a · b?

Show answer and explanation

Answer B: 5. Multiply matching components and add: 2 × 4 + (−3) × 1 = 8 − 3 = 5. The value 11 drops the negative sign on −3. The dot product is a number, not a vector, so (8, −3) is not an answer.

Question 2

For what value of k are the vectors u = (k, 2) and v = (3, −6) perpendicular?

Show answer and explanation

Answer C: 4. Two nonzero vectors are perpendicular exactly when their dot product is 0: 3k + 2 × (−6) = 3k − 12 = 0, so k = 4. The value −4 comes from a sign slip (3k + 12 = 0). The value −1 makes the vectors parallel (k/3 = 2/(−6)), not perpendicular. The value 12 stops at 3k = 12 without dividing by 3.

Question 3

To the nearest tenth of a degree, what is the angle between a = (4, 3) and b = (1, 2)?

Show answer and explanation

Answer A: 26.6°. a · b = 4 × 1 + 3 × 2 = 10, |a| = 5 and |b| = √5, so cos θ = 10/(5√5) = 2/√5 ≈ 0.894 and θ ≈ 26.6°. The value 63.4° uses inverse sine instead of inverse cosine. The value 153.4° flips the sign of the cosine. The value 36.9° is the angle that a alone makes with the x-axis, not the angle between the two vectors.

FAQ

Is the dot product a vector or a number?

The dot product is a number, called a scalar. Multiply matching components and add them to obtain one value.

Is scalar product the same as dot product?

Yes. Scalar product and dot product name the same operation. The name scalar product emphasizes that its output is a number.

What does a dot product of zero mean?

For two nonzero vectors, it means the vectors are perpendicular. If either vector is the zero vector, the dot product is also zero, but the angle is undefined.

Full lesson text

Transcript

Lesson transcript

Learner: Okay. Two vectors: 3, 4 and negative 4, 3. What's their dot product?

Sia: One rule today. Multiply matching parts, then add. The sign tells the angle. Try it. Vector a is 3, 4. Vector b is negative 4, 3. What is a dot b? Pick one.

Learner: C? They're both length 5.

Sia: Let's test 25. Multiply the first parts. What do you get?

Learner: Negative 12.

Sia: And the second parts?

Learner: 12.

Sia: Now add them.

Learner: Zero. So A.

Sia: Zero. What does zero say about the angle?

Learner: Zero means 90 degrees.

Sia: That's the rule. Multiply matching parts, then add. The sign tells the angle. Your turn. Vector a is 2, negative 1. Vector b is 1, 3. Acute, right, or obtuse?

Learner: 2 minus 3 is −1. Obtuse.

Sia: Exactly. Same rule. Stuck on a different question? Bring it. I'll ask until you've got it.

Sia Agent teaching on the board

Sia Agent

Watch Sia teach it on the board

Ask a question mid-step. Sia pauses, answers on the board, then picks the lesson back up.

  • Open Sia Agent and start a Live lesson.
  • Ask Sia to teach this topic, or add your own notes.
  • Interrupt with a question whenever you're stuck.