Skip to content
Gioi Toan
Start learning
A unit circle with a right triangle and an angle arc inside

Notes on Lesson 6: Dot product of two vectors (Maths 10 Canh Dieu, Chapter IV)

Lesson summary

Given two vectors a→\overrightarrow{a} and b→\overrightarrow{b}, both different from 0→\overrightarrow{0}.

Given two vectors a→,b→\overrightarrow{a}, \overrightarrow{b} different from 0→\overrightarrow{0}.

To find the angle between two vectors, you need to bring them to the same origin.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Nhận biết góc giữa hai vectơ, tích vô hướng và tính chất
  • Vận dụng tích vô hướng vào bài toán vật lí, hình học

When you pull an object, if you pull at an angle to the direction of motion, the work done is different from pulling straight. Why is that? The lesson on the dot product of two vectors will help you answer that question, and it also gives you tools to compute angles, compute lengths and prove perpendicular in geometry.

Practise similar problems

Key ideas: what do you need to know?

Angle between two vectors

  • Given two vectors a→\overrightarrow{a} and b→\overrightarrow{b}, both different from 0→\overrightarrow{0}. Take any point OO, draw OA→=a→\overrightarrow{OA} = \overrightarrow{a} and OB→=b→\overrightarrow{OB} = \overrightarrow{b}. Then the angle between the two vectors a→\overrightarrow{a} and b→\overrightarrow{b}, written (a→,b→)\left( \overrightarrow{a}, \overrightarrow{b} \right), is the angle AOB^\widehat{AOB} with measure from 0∘0^\circ to 180∘180^\circ.
  • If (a→,b→)=90∘\left( \overrightarrow{a}, \overrightarrow{b} \right) = 90^\circ then we say a→\overrightarrow{a} and b→\overrightarrow{b} are perpendicular to each other, written a→⊥b→\overrightarrow{a} \perp \overrightarrow{b}.
  • The angle between two vectors does not depend on the choice of point OO.
  • Example: In the equilateral triangle ABCABC, (AB→,AC→)=60∘\left( \overrightarrow{AB}, \overrightarrow{AC} \right) = 60^\circ, but (AB→,BC→)=120∘\left( \overrightarrow{AB}, \overrightarrow{BC} \right) = 120^\circ.

In plain words: To find the angle between two vectors, you need to bring them to the same origin. If the two vectors already share an origin, the angle between them is the angle formed by the two rays containing those vectors. If they do not share an origin, translate one vector so that they have the same start point, then measure the angle. In particular, the angle between two vectors in the same direction is 0∘0^\circ, in the opposite direction is 180∘180^\circ, and perpendicular is 90∘90^\circ.

Phrase by phrase
angle between two vectors
The angle formed by two vectors when they are placed with a common origin, with a measure from 0∘0^\circ to 180∘180^\circ.Example: In an equilateral triangle ABCABC, (AB→,AC→)=60∘\left( \overrightarrow{AB}, \overrightarrow{AC} \right) = 60^\circ.
perpendicular
The angle between two vectors equals 90∘90^\circ.Example: In a square ABCDABCD, AB→⊥AD→\overrightarrow{AB} \perp \overrightarrow{AD}.
does not depend on the choice of point OO
Whichever point OO you choose, the angle between the two vectors stays the same.Example: Placing a→\overrightarrow{a} and b→\overrightarrow{b} at OO or at MM, the angle between them is still the same.

Common mistakesMistake: Determining the angle between two vectors that do not share an origin by the angle formed by two line segments without bringing them to a common origin. For example, in equilateral triangle ABCABC, hastily writing (AB→,BC→)=60∘\left( \overrightarrow{AB}, \overrightarrow{BC} \right) = 60^\circ. The correct one must be 120∘120^\circ because you have to slide AB→\overrightarrow{AB} to the origin BB.

Definition of the dot product of two vectors

  • Given two vectors a→,b→\overrightarrow{a}, \overrightarrow{b} different from 0→\overrightarrow{0}. The dot product of the two vectors a→\overrightarrow{a} and b→\overrightarrow{b} is a real number, denoted a→⋅b→\overrightarrow{a} \cdot \overrightarrow{b}, given by the formula:

a→⋅b→=∣a→∣⋅∣b→∣⋅cos⁡(a→,b→). \overrightarrow{a} \cdot \overrightarrow{b} = \left| \overrightarrow{a} \right| \cdot \left| \overrightarrow{b} \right| \cdot \cos\left( \overrightarrow{a}, \overrightarrow{b} \right).

  • Convention: The dot product of any vector with the vector 0→\overrightarrow{0} equals 00.
  • Note:

+) (a→,b→)=(b→,a→)\left( \overrightarrow{a}, \overrightarrow{b} \right) = \left( \overrightarrow{b}, \overrightarrow{a} \right).
+) For two vectors a→,b→\overrightarrow{a}, \overrightarrow{b} different from 0→\overrightarrow{0}: a→⊥b→⇔a→⋅b→=0\overrightarrow{a} \perp \overrightarrow{b} \Leftrightarrow \overrightarrow{a} \cdot \overrightarrow{b} = 0.
+) For two vectors different from 0→\overrightarrow{0}, if they point in the same direction then a→⋅b→=∣a→∣∣b→∣\overrightarrow{a} \cdot \overrightarrow{b} = \left| \overrightarrow{a} \right| \left| \overrightarrow{b} \right|; if they point in opposite directions then a→⋅b→=−∣a→∣∣b→∣\overrightarrow{a} \cdot \overrightarrow{b} = -\left| \overrightarrow{a} \right| \left| \overrightarrow{b} \right|.

  • a→⋅a→\overrightarrow{a} \cdot \overrightarrow{a} is written as a→2\overrightarrow{a}^2 and is called the scalar square of the vector a→\overrightarrow{a}. We have a→2=∣a→∣2\overrightarrow{a}^2 = \left| \overrightarrow{a} \right|^2.
  • Example: In an equilateral triangle ABCABC with side aa, AB→⋅AC→=a⋅a⋅cos⁡60∘=a22\overrightarrow{AB} \cdot \overrightarrow{AC} = a \cdot a \cdot \cos 60^\circ = \frac{a^2}{2}.

In plain words: The dot product is a multiplication of two vectors that gives a number, not a vector. The formula has three elements: the length of the first vector, the length of the second vector and the cosine of the angle between them. It is the cosine that decides the sign of the product: an acute angle gives a positive cosine, an obtuse angle gives a negative cosine, a right angle gives a cosine of 0. So a negative dot product tells you that the two vectors form an obtuse angle.

Phrase by phrase
dot product
A real number computed as the product of the lengths of the two vectors multiplied by the cosine of the angle between them.Example: a→⋅b→=∣a→∣∣b→∣cos⁡(a→,b→)\overrightarrow{a} \cdot \overrightarrow{b} = \left| \overrightarrow{a} \right| \left| \overrightarrow{b} \right| \cos\left( \overrightarrow{a}, \overrightarrow{b} \right).
scalar square
The dot product of a vector with itself, equal to the square of the length of that vector.Example: AB→2=AB2\overrightarrow{AB}^2 = AB^2.
convention
When one of the vectors is 0→\overrightarrow{0}, the dot product equals 0.Example: 0→⋅a→=0\overrightarrow{0} \cdot \overrightarrow{a} = 0.

Common mistakesMistake: Confusing the dot product with a vector. In fact a→⋅b→\overrightarrow{a} \cdot \overrightarrow{b} is a real number, not a vector. For instance, you must not write AB→⋅AC→=AD→\overrightarrow{AB} \cdot \overrightarrow{AC} = \overrightarrow{AD}, but the result must be a number such as AB⋅AC⋅cos⁡AAB \cdot AC \cdot \cos A.

Common mistakesError: Calculating ∣a→+b→∣\left| \overrightarrow{a} + \overrightarrow{b} \right| using ∣a→∣+∣b→∣\left| \overrightarrow{a} \right| + \left| \overrightarrow{b} \right|. You must square the sum first, then take the square root: ∣a→+b→∣2=∣a→∣2+2a→⋅b→+∣b→∣2\left| \overrightarrow{a} + \overrightarrow{b} \right|^2 = \left| \overrightarrow{a} \right|^2 + 2\overrightarrow{a} \cdot \overrightarrow{b} + \left| \overrightarrow{b} \right|^2.

Common mistakesError: Calculating the work of the force while ignoring the cosine, taking A=∣F→∣⋅∣MN→∣A = \left| \overrightarrow{F} \right| \cdot \left| \overrightarrow{MN} \right|. When the force makes an angle α\alpha with the direction of motion, the work must be A=∣F→∣⋅∣MN→∣⋅cos⁡αA = \left| \overrightarrow{F} \right| \cdot \left| \overrightarrow{MN} \right| \cdot \cos\alpha.

TipTo calculate the dot product by definition, remember three steps: the length of the first vector, the length of the second vector, the cosine of the angle between them. Missing the cosine is wrong.

TipWhen two vectors point in the same direction, the dot product equals the product of the two lengths; when they point in opposite directions, it equals the opposite number of the product of the two lengths. This helps you quickly check the sign and size of the dot product.

TipThe sign of the dot product tells you the type of angle: positive is an acute angle (or 0∘0^\circ), zero is perpendicular, negative is an obtuse angle (or 180∘180^\circ). Use it to check your result.

Properties of the dot product

For any three vectors a→,b→,c→\overrightarrow{a}, \overrightarrow{b}, \overrightarrow{c} and every real number kk, we have:

  • Commutative property: a→⋅b→=b→⋅a→\overrightarrow{a} \cdot \overrightarrow{b} = \overrightarrow{b} \cdot \overrightarrow{a}.
  • Distributive property: a→⋅(b→+c→)=a→⋅b→+a→⋅c→\overrightarrow{a} \cdot \left( \overrightarrow{b} + \overrightarrow{c} \right) = \overrightarrow{a} \cdot \overrightarrow{b} + \overrightarrow{a} \cdot \overrightarrow{c} and (a→+b→)⋅c→=a→⋅c→+b→⋅c→\left( \overrightarrow{a} + \overrightarrow{b} \right) \cdot \overrightarrow{c} = \overrightarrow{a} \cdot \overrightarrow{c} + \overrightarrow{b} \cdot \overrightarrow{c}.
  • Multiplication by a number: (ka→)⋅b→=k(a→⋅b→)=a→⋅(kb→)\left( k\overrightarrow{a} \right) \cdot \overrightarrow{b} = k\left( \overrightarrow{a} \cdot \overrightarrow{b} \right) = \overrightarrow{a} \cdot \left( k\overrightarrow{b} \right).
  • Scalar square: a→2≥0\overrightarrow{a}^2 \ge 0 and a→2=0⇔a→=0→\overrightarrow{a}^2 = 0 \Leftrightarrow \overrightarrow{a} = \overrightarrow{0}.
  • Corollary: a→⋅(b→−c→)=a→⋅b→−a→⋅c→\overrightarrow{a} \cdot \left( \overrightarrow{b} - \overrightarrow{c} \right) = \overrightarrow{a} \cdot \overrightarrow{b} - \overrightarrow{a} \cdot \overrightarrow{c}; (a→+b→)2=a→2+2a→⋅b→+b→2\left( \overrightarrow{a} + \overrightarrow{b} \right)^2 = \overrightarrow{a}^2 + 2\overrightarrow{a} \cdot \overrightarrow{b} + \overrightarrow{b}^2; (a→−b→)2=a→2−2a→⋅b→+b→2\left( \overrightarrow{a} - \overrightarrow{b} \right)^2 = \overrightarrow{a}^2 - 2\overrightarrow{a} \cdot \overrightarrow{b} + \overrightarrow{b}^2; (a→+b→)⋅(a→−b→)=a→2−b→2\left( \overrightarrow{a} + \overrightarrow{b} \right) \cdot \left( \overrightarrow{a} - \overrightarrow{b} \right) = \overrightarrow{a}^2 - \overrightarrow{b}^2.

In plain words: These properties are like the properties of multiplication of real numbers, so you can apply the identities you have learned. However, note that the dot product is a number, so there is no operation (a→⋅b→)⋅c→\left( \overrightarrow{a} \cdot \overrightarrow{b} \right) \cdot \overrightarrow{c} because a→⋅b→\overrightarrow{a} \cdot \overrightarrow{b} is already a number, and multiplying a number by a vector gives a vector, which is no longer a dot product. The identities above are very useful when computing the length of a median or proving perpendicularity.

Phrase by phrase
commutative property
Swapping the two vectors in a dot product does not change the result.Example: AB→⋅AC→=AC→⋅AB→\overrightarrow{AB} \cdot \overrightarrow{AC} = \overrightarrow{AC} \cdot \overrightarrow{AB}.
distributive property
Multiplying a vector by a sum of vectors means multiplying it by each term and then adding the results.Example: a→⋅(b→+c→)=a→⋅b→+a→⋅c→\overrightarrow{a} \cdot \left( \overrightarrow{b} + \overrightarrow{c} \right) = \overrightarrow{a} \cdot \overrightarrow{b} + \overrightarrow{a} \cdot \overrightarrow{c}.
(a→+b→)2=a→2+2a→⋅b→+b→2\left( \overrightarrow{a} + \overrightarrow{b} \right)^2 = \overrightarrow{a}^2 + 2\overrightarrow{a} \cdot \overrightarrow{b} + \overrightarrow{b}^2
The square of a sum of two vectors, similar to a special algebraic identity.Example: If ∣a→∣=∣b→∣=1\left| \overrightarrow{a} \right| = \left| \overrightarrow{b} \right| = 1 and a→⋅b→=0\overrightarrow{a} \cdot \overrightarrow{b} = 0 then (a→+b→)2=2\left( \overrightarrow{a} + \overrightarrow{b} \right)^2 = 2.

Some applications of the dot product

  • Finding the length: For two distinct points A,BA, B, we have AB=AB→2AB = \sqrt{\overrightarrow{AB}^2}.
  • Proof that two lines are perpendicular: Given two vectors a→,b→\overrightarrow{a}, \overrightarrow{b} different from 0→\overrightarrow{0}, we have a→⋅b→=0⇔a→⊥b→\overrightarrow{a} \cdot \overrightarrow{b} = 0 \Leftrightarrow \overrightarrow{a} \perp \overrightarrow{b}.
  • Example: Given triangle ABCABC right-angled at AA, AB=3AB = 3, AC=4AC = 4. Then BC=BC→2=(AC→−AB→)2=AC2+AB2−2AB→⋅AC→=9+16−0=5BC = \sqrt{\overrightarrow{BC}^2} = \sqrt{\left( \overrightarrow{AC} - \overrightarrow{AB} \right)^2} = \sqrt{AC^2 + AB^2 - 2\overrightarrow{AB} \cdot \overrightarrow{AC}} = \sqrt{9 + 16 - 0} = 5.

In plain words: The dot product helps find the length through the scalar square of a vector. To prove that two lines are perpendicular, you only need to prove that the dot product of their two direction vectors equals 0. This is a powerful tool for solving geometry problems without a complicated construction.

Phrase by phrase
finding the length
The length ABAB equals the square root of the scalar square of vector AB→\overrightarrow{AB}.Example: AB=AB→2AB = \sqrt{\overrightarrow{AB}^2}.
proof that two lines are perpendicular
Two lines are perpendicular if and only if the dot product of their two direction vectors equals 0.Example: If a→⋅b→=0\overrightarrow{a} \cdot \overrightarrow{b} = 0 and a→,b→≠0→\overrightarrow{a}, \overrightarrow{b} \neq \overrightarrow{0} then a→⊥b→\overrightarrow{a} \perp \overrightarrow{b}.

Worked examples

Example 1

Given equilateral triangle ABCABC with side aa. Calculate: a) (AB→,AC→)\left( \overrightarrow{AB}, \overrightarrow{AC} \right); b) AB→⋅AC→\overrightarrow{AB} \cdot \overrightarrow{AC}; c) (AB→,BC→)\left( \overrightarrow{AB}, \overrightarrow{BC} \right) and AB→⋅BC→\overrightarrow{AB} \cdot \overrightarrow{BC}.

Show the solution to example 1

Step 1: The two vectors AB→\overrightarrow{AB} and AC→\overrightarrow{AC} share the origin AA, and since triangle ABCABC is equilateral, BAC^=60∘\widehat{BAC} = 60^\circ. So (AB→,AC→)=60∘\left( \overrightarrow{AB}, \overrightarrow{AC} \right) = 60^\circ.
Step 2: AB→⋅AC→=∣AB→∣⋅∣AC→∣⋅cos⁡60∘=a⋅a⋅12=a22\overrightarrow{AB} \cdot \overrightarrow{AC} = \left| \overrightarrow{AB} \right| \cdot \left| \overrightarrow{AC} \right| \cdot \cos 60^\circ = a \cdot a \cdot \frac{1}{2} = \frac{a^2}{2}.
Step 3: AB→\overrightarrow{AB} and BC→\overrightarrow{BC} do not share an origin. Slide AB→\overrightarrow{AB} to the origin BB to become BD→\overrightarrow{BD} in the same direction as AB→\overrightarrow{AB}, then (AB→,BC→)=DBC^\left( \overrightarrow{AB}, \overrightarrow{BC} \right) = \widehat{DBC}.
Why: Ray BDBD is parallel and in the same direction as ray ABAB, so angle DBC^\widehat{DBC} is supplementary to angle ABC^=60∘\widehat{ABC} = 60^\circ, that is, equal to 120∘120^\circ.
Step 4: AB→⋅BC→=a⋅a⋅cos⁡120∘=a2⋅(−12)=−a22\overrightarrow{AB} \cdot \overrightarrow{BC} = a \cdot a \cdot \cos 120^\circ = a^2 \cdot \left( -\frac{1}{2} \right) = -\frac{a^2}{2}.
Results: a) 60∘60^\circ; b) a22\frac{a^2}{2}; c) (AB→,BC→)=120∘\left( \overrightarrow{AB}, \overrightarrow{BC} \right) = 120^\circ and AB→⋅BC→=−a22\overrightarrow{AB} \cdot \overrightarrow{BC} = -\frac{a^2}{2}.

Example 2

Given square ABCDABCD with center OO and side length aa. Calculate: a) AB→⋅OC→\overrightarrow{AB} \cdot \overrightarrow{OC}; b) AB→⋅BD→\overrightarrow{AB} \cdot \overrightarrow{BD}; c) AB→⋅OD→\overrightarrow{AB} \cdot \overrightarrow{OD}.

Show the solution to example 2

Step 1: Square ABCDABCD has diagonal AC=a2AC = a\sqrt{2}, so OC=a22=a2OC = \frac{a\sqrt{2}}{2} = \frac{a}{\sqrt{2}}. Angle BAO^=45∘\widehat{BAO} = 45^\circ.
Step 2: (AB→,OC→)=(AB→,AO→)=BAO^=45∘\left( \overrightarrow{AB}, \overrightarrow{OC} \right) = \left( \overrightarrow{AB}, \overrightarrow{AO} \right) = \widehat{BAO} = 45^\circ. So AB→⋅OC→=a⋅a2⋅cos⁡45∘=a22⋅22=a22\overrightarrow{AB} \cdot \overrightarrow{OC} = a \cdot \frac{a}{\sqrt{2}} \cdot \cos 45^\circ = \frac{a^2}{\sqrt{2}} \cdot \frac{\sqrt{2}}{2} = \frac{a^2}{2}.
Step 3: Draw BE→=AB→\overrightarrow{BE} = \overrightarrow{AB}. Then (AB→,BD→)=(BE→,BD→)=EBD^=135∘\left( \overrightarrow{AB}, \overrightarrow{BD} \right) = \left( \overrightarrow{BE}, \overrightarrow{BD} \right) = \widehat{EBD} = 135^\circ. So AB→⋅BD→=a⋅a2⋅cos⁡135∘=a22⋅(−22)=−a2\overrightarrow{AB} \cdot \overrightarrow{BD} = a \cdot a\sqrt{2} \cdot \cos 135^\circ = a^2\sqrt{2} \cdot \left( -\frac{\sqrt{2}}{2} \right) = -a^2.
Step 4: Since BE→=AB→\overrightarrow{BE} = \overrightarrow{AB} and BO→=OD→\overrightarrow{BO} = \overrightarrow{OD}, (AB→,OD→)=(BE→,BO→)=EBO^=135∘\left( \overrightarrow{AB}, \overrightarrow{OD} \right) = \left( \overrightarrow{BE}, \overrightarrow{BO} \right) = \widehat{EBO} = 135^\circ. So AB→⋅OD→=a⋅a2⋅cos⁡135∘=a22⋅(−22)=−a22\overrightarrow{AB} \cdot \overrightarrow{OD} = a \cdot \frac{a}{\sqrt{2}} \cdot \cos 135^\circ = \frac{a^2}{\sqrt{2}} \cdot \left( -\frac{\sqrt{2}}{2} \right) = -\frac{a^2}{2}.
Results: a) a22\frac{a^2}{2}; b) −a2-a^2; c) −a22-\frac{a^2}{2}.

Example 3

Given line segment ABAB and II is the midpoint of ABAB. Prove that for every point OO, we have:
a) OI→⋅IA→+OI→⋅IB→=0\overrightarrow{OI} \cdot \overrightarrow{IA} + \overrightarrow{OI} \cdot \overrightarrow{IB} = 0.
b) OI→⋅AB→=12(OB→2−OA→2)\overrightarrow{OI} \cdot \overrightarrow{AB} = \frac{1}{2}\left( \overrightarrow{OB}^2 - \overrightarrow{OA}^2 \right).

Show the solution to example 3

Step 1: Since II is the midpoint of ABAB, IA→+IB→=0→\overrightarrow{IA} + \overrightarrow{IB} = \overrightarrow{0}.
Step 2: OI→⋅IA→+OI→⋅IB→=OI→⋅(IA→+IB→)=OI→⋅0→=0\overrightarrow{OI} \cdot \overrightarrow{IA} + \overrightarrow{OI} \cdot \overrightarrow{IB} = \overrightarrow{OI} \cdot \left( \overrightarrow{IA} + \overrightarrow{IB} \right) = \overrightarrow{OI} \cdot \overrightarrow{0} = 0.
Step 3: Since II is the midpoint of ABAB, 2OI→=OB→+OA→2\overrightarrow{OI} = \overrightarrow{OB} + \overrightarrow{OA}, hence OI→=12(OB→+OA→)\overrightarrow{OI} = \frac{1}{2}\left( \overrightarrow{OB} + \overrightarrow{OA} \right).
Step 4: OI→⋅AB→=12(OB→+OA→)⋅(OB→−OA→)=12(OB→2−OA→2)\overrightarrow{OI} \cdot \overrightarrow{AB} = \frac{1}{2}\left( \overrightarrow{OB} + \overrightarrow{OA} \right) \cdot \left( \overrightarrow{OB} - \overrightarrow{OA} \right) = \frac{1}{2}\left( \overrightarrow{OB}^2 - \overrightarrow{OA}^2 \right).
Result: Both equalities have been proved.

Example 4

Given triangle ABCABC right-angled at AA. Calculate AB→⋅AB→+AB→⋅BC→\overrightarrow{AB} \cdot \overrightarrow{AB} + \overrightarrow{AB} \cdot \overrightarrow{BC}.

Show the solution to example 4

Step 1: AB→⋅AB→+AB→⋅BC→=AB→⋅(AB→+BC→)\overrightarrow{AB} \cdot \overrightarrow{AB} + \overrightarrow{AB} \cdot \overrightarrow{BC} = \overrightarrow{AB} \cdot \left( \overrightarrow{AB} + \overrightarrow{BC} \right).
Step 2: By the three-point rule, AB→+BC→=AC→\overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}.
Step 3: Since triangle ABCABC is right-angled at AA, AB→⊥AC→\overrightarrow{AB} \perp \overrightarrow{AC}, hence AB→⋅AC→=0\overrightarrow{AB} \cdot \overrightarrow{AC} = 0.
Result: AB→⋅AB→+AB→⋅BC→=0\overrightarrow{AB} \cdot \overrightarrow{AB} + \overrightarrow{AB} \cdot \overrightarrow{BC} = 0.

Common mistakesError: Mixing up AB=AB→2AB = \overrightarrow{AB}^2 or AB=AB→AB = \overrightarrow{AB}. The correct one is AB=AB→2AB = \sqrt{\overrightarrow{AB}^2}.

Example 5

Prove that in triangle ABCABC, we have BC2=AB2+AC2−2⋅AB⋅AC⋅cos⁡ABC^2 = AB^2 + AC^2 - 2 \cdot AB \cdot AC \cdot \cos A (the cosine theorem in a triangle).

Show the solution to example 5

Step 1: We have BC→=AC→−AB→\overrightarrow{BC} = \overrightarrow{AC} - \overrightarrow{AB}.
Step 2: Square both sides (dot product): BC→2=(AC→−AB→)2=AC→2+AB→2−2AC→⋅AB→\overrightarrow{BC}^2 = \left( \overrightarrow{AC} - \overrightarrow{AB} \right)^2 = \overrightarrow{AC}^2 + \overrightarrow{AB}^2 - 2\overrightarrow{AC} \cdot \overrightarrow{AB}.
Step 3: Since BC→2=BC2\overrightarrow{BC}^2 = BC^2, AC→2=AC2\overrightarrow{AC}^2 = AC^2, AB→2=AB2\overrightarrow{AB}^2 = AB^2 and AC→⋅AB→=AB⋅AC⋅cos⁡A\overrightarrow{AC} \cdot \overrightarrow{AB} = AB \cdot AC \cdot \cos A, substituting in gives:
BC2=AC2+AB2−2⋅AB⋅AC⋅cos⁡ABC^2 = AC^2 + AB^2 - 2 \cdot AB \cdot AC \cdot \cos A.
Result: The cosine theorem has been proved.

Example 6

A plane flying from east to west at a speed of 700700 km/h meets a wind blowing from northeast to southwest at a speed of 4040 km/h. Find the new speed of the plane (round to the hundredths place).

Show the solution to example 6

Step 1: Let v1→\overrightarrow{v_1} be the velocity vector of the plane when there is no wind, ∣v1→∣=700\left| \overrightarrow{v_1} \right| = 700 km/h. Let v2→\overrightarrow{v_2} be the velocity vector of the wind, ∣v2→∣=40\left| \overrightarrow{v_2} \right| = 40 km/h.
Step 2: The plane flies from east to west, the wind blows from northeast to southwest. The angle between the flight direction and the wind direction is 45∘45^\circ. Therefore (v1→,v2→)=45∘\left( \overrightarrow{v_1}, \overrightarrow{v_2} \right) = 45^\circ.
Step 3: The new velocity of the plane is v→=v1→+v2→\overrightarrow{v} = \overrightarrow{v_1} + \overrightarrow{v_2}. We have:
∣v→∣2=∣v1→∣2+∣v2→∣2+2∣v1→∣∣v2→∣cos⁡45∘=7002+402+2⋅700⋅40⋅22\left| \overrightarrow{v} \right|^2 = \left| \overrightarrow{v_1} \right|^2 + \left| \overrightarrow{v_2} \right|^2 + 2\left| \overrightarrow{v_1} \right| \left| \overrightarrow{v_2} \right| \cos 45^\circ = 700^2 + 40^2 + 2 \cdot 700 \cdot 40 \cdot \frac{\sqrt{2}}{2}.
Step 4: Calculation: 7002=490000700^2 = 490000, 402=160040^2 = 1600, 2⋅700⋅40⋅22=280002≈39597,982 \cdot 700 \cdot 40 \cdot \frac{\sqrt{2}}{2} = 28000\sqrt{2} \approx 39597,98. Sum ∣v→∣2≈490000+1600+39597,98=531197,98\left| \overrightarrow{v} \right|^2 \approx 490000 + 1600 + 39597,98 = 531197,98. Hence ∣v→∣≈531197,98≈728,83\left| \overrightarrow{v} \right| \approx \sqrt{531197,98} \approx 728,83 km/h.
Result: The new speed of the plane is about 728,83728,83 km/h.

Terms

Angle between two vectors
The angle formed by two vectors other than 0→\overrightarrow{0}, when placed with a common origin, has a measure from 0∘0^\circ to 180∘180^\circ.Example: (AB→,AC→)=60∘\left( \overrightarrow{AB}, \overrightarrow{AC} \right) = 60^\circ in an equilateral triangle ABCABC.
Dot product
A real number equal to the product of the lengths of the two vectors multiplied by the cosine of the angle between them.Example: a→⋅b→=∣a→∣∣b→∣cos⁡(a→,b→)\overrightarrow{a} \cdot \overrightarrow{b} = \left| \overrightarrow{a} \right| \left| \overrightarrow{b} \right| \cos\left( \overrightarrow{a}, \overrightarrow{b} \right).
Scalar square
The dot product of a vector with itself, equal to the square of the length of that vector.Example: a→2=∣a→∣2\overrightarrow{a}^2 = \left| \overrightarrow{a} \right|^2.
Two perpendicular vectors
Two vectors other than 0→\overrightarrow{0} are perpendicular when the angle between them equals 90∘90^\circ, which is equivalent to the dot product equaling 00.Example: With a→,b→≠0→\overrightarrow{a}, \overrightarrow{b} \neq \overrightarrow{0}: a→⊥b→⇔a→⋅b→=0\overrightarrow{a} \perp \overrightarrow{b} \Leftrightarrow \overrightarrow{a} \cdot \overrightarrow{b} = 0.
Commutative property
Swapping the two vectors in the dot product does not change the result.Example: a→⋅b→=b→⋅a→\overrightarrow{a} \cdot \overrightarrow{b} = \overrightarrow{b} \cdot \overrightarrow{a}.
Distributive property
Multiplying a vector by a sum of vectors means multiplying it by each term and then adding the results.Example: a→⋅(b→+c→)=a→⋅b→+a→⋅c→\overrightarrow{a} \cdot \left( \overrightarrow{b} + \overrightarrow{c} \right) = \overrightarrow{a} \cdot \overrightarrow{b} + \overrightarrow{a} \cdot \overrightarrow{c}.
Length
The distance between two points, calculated as the square root of the scalar square of the vector joining those two points.Example: AB=AB→2AB = \sqrt{\overrightarrow{AB}^2}.