Learning Objectives

Terminology:

·       Angle between two vectors, dot product (scalar product) of two vectors

·       Scalar square

·       Coordinate representation of the dot product

Knowledge and Skills:

·       Understand the concept of the angle between two vectors and determine the angle between two vectors in specific cases.

·       Master the definition, geometric meaning, properties, and formulas for the dot product of two vectors.

·       Apply coordinate formulas of the dot product proficiently to calculate lengths, angles, and establish orthogonality between two vectors.

·       Relate and solve practical physical problems (calculating work done by a constant force).

Angle between Two Vectors

a) Definition of the Angle between Two Vectors

Concept: Given two non-zero vectors u⃗\vec{u} and v⃗\vec{v}. From an arbitrary point AA, draw vectors AB⃗=u⃗\vec{AB} = \vec{u} and AC⃗=v⃗\vec{AC} = \vec{v}. Then, the measure of angle BAC^\widehat{BAC} is called the measure of the angle between two vectors u⃗\vec{u} and v⃗\vec{v}, or simply the angle between two vectors u⃗\vec{u} and v⃗\vec{v}, denoted by (u⃗,v⃗)(\vec{u}, \vec{v}).

Conventions and Properties:

• The angle between two vectors takes a value in the range from 0∘0^\circ to 180∘180^\circ: 0∘≤(u⃗,v⃗)≤180∘0^\circ \le (\vec{u}, \vec{v}) \le 180^\circ.

• If (u⃗,v⃗)=90∘(\vec{u}, \vec{v}) = 90^\circ, we say that u⃗\vec{u} and v⃗\vec{v} are perpendicular (orthogonal) to each other, denoted by u⃗⊥v⃗\vec{u} \perp \vec{v} or v⃗⊥u⃗\vec{v} \perp \vec{u}.

• If u⃗\vec{u} and v⃗\vec{v} have the same direction, then (u⃗,v⃗)=0∘(\vec{u}, \vec{v}) = 0^\circ.

• If u⃗\vec{u} and v⃗\vec{v} have opposite directions, then (u⃗,v⃗)=180∘(\vec{u}, \vec{v}) = 180^\circ.

• By convention, the angle between the zero vector 0⃗\vec{0} and any vector can take an arbitrary value from 0∘0^\circ to 180∘180^\circ.

b) Illustrative Examples on Angles between Vectors

Example 1: Let △ABC\triangle ABC be a right-angled triangle at AA with B^=30∘\widehat{B} = 30^\circ. Calculate: a) (AB⃗,AC⃗)(\vec{AB}, \vec{AC}); b) (CA⃗,CB⃗)(\vec{CA}, \vec{CB}); c) (AB⃗,BC⃗)(\vec{AB}, \vec{BC}).

Solution for Example 1: • a) Since △ABC\triangle ABC is right-angled at AA, (AB⃗,AC⃗)=BAC^=90∘(\vec{AB}, \vec{AC}) = \widehat{BAC} = 90^\circ. • b) In the right-angled triangle △ABC\triangle ABC, C^=90∘−B^=90∘−30∘=60∘\widehat{C} = 90^\circ - \widehat{B} = 90^\circ - 30^\circ = 60^\circ. Therefore, (CA⃗,CB⃗)=ACB^=60∘(\vec{CA}, \vec{CB}) = \widehat{ACB} = 60^\circ. • c) Choose point DD such that BD⃗=AB⃗\vec{BD} = \vec{AB} (i.e., BB is the midpoint of ADAD). Then: (AB⃗,BC⃗)=(BD⃗,BC⃗)=DBC^=180∘−ABC^=180∘−30∘=150∘.(\vec{AB}, \vec{BC}) = (\vec{BD}, \vec{BC}) = \widehat{DBC} = 180^\circ - \widehat{ABC} = 180^\circ - 30^\circ = 150^\circ.

Practice 1: Let ABCABC be an equilateral triangle. Calculate (AB⃗,BC⃗)(\vec{AB}, \vec{BC}).

Solution for Practice 1: • Choose point DD such that BD⃗=AB⃗\vec{BD} = \vec{AB}. Then: (AB⃗,BC⃗)=(BD⃗,BC⃗)=DBC^=180∘−ABC^=180∘−60∘=120∘.(\vec{AB}, \vec{BC}) = (\vec{BD}, \vec{BC}) = \widehat{DBC} = 180^\circ - \widehat{ABC} = 180^\circ - 60^\circ = 120^\circ.

Dot Product of Two Vectors

a) Definition of the Dot Product

Definition: The dot product (or scalar product) of two vectors u⃗\vec{u} and v⃗\vec{v} is a real number, denoted by u⃗⋅v⃗\vec{u} \cdot \vec{v}, defined by the formula: u⃗⋅v⃗=∣u⃗∣⋅∣v⃗∣⋅cos⁡(u⃗,v⃗)\vec{u} \cdot \vec{v} = |\vec{u}| \cdot |\vec{v}| \cdot \cos(\vec{u}, \vec{v})

Remarks: • u⃗⊥v⃗⇔u⃗⋅v⃗=0\vec{u} \perp \vec{v} \Leftrightarrow \vec{u} \cdot \vec{v} = 0. • The dot product u⃗⋅u⃗\vec{u} \cdot \vec{u} is also written as u⃗2\vec{u}^2 and is called the scalar square of vector u⃗\vec{u}. We have: u⃗2=∣u⃗∣⋅∣u⃗∣⋅cos⁡0∘=∣u⃗∣2\vec{u}^2 = |\vec{u}| \cdot |\vec{u}| \cdot \cos 0^\circ = |\vec{u}|^2 (The scalar square of a vector equals the square of its magnitude/length). • When u⃗≠0⃗\vec{u} \ne \vec{0} and v⃗≠0⃗\vec{v} \ne \vec{0}:   + u⃗⋅v⃗>0⇔cos⁡(u⃗,v⃗)>0⇔0∘≤(u⃗,v⃗)<90∘\vec{u} \cdot \vec{v} > 0 \Leftrightarrow \cos(\vec{u}, \vec{v}) > 0 \Leftrightarrow 0^\circ \le (\vec{u}, \vec{v}) < 90^\circ (acute angle).   + u⃗⋅v⃗<0⇔cos⁡(u⃗,v⃗)<0⇔90∘<(u⃗,v⃗)≤180∘\vec{u} \cdot \vec{v} < 0 \Leftrightarrow \cos(\vec{u}, \vec{v}) < 0 \Leftrightarrow 90^\circ < (\vec{u}, \vec{v}) \le 180^\circ (obtuse angle). • (u⃗⋅v⃗)2=u⃗2⋅v⃗2(\vec{u} \cdot \vec{v})^2 = \vec{u}^2 \cdot \vec{v}^2 if and only if u⃗\vec{u} and v⃗\vec{v} are collinear.

b) Illustrative Examples on Calculating Dot Products

Example 2: Let ABCDABCD be a square with side length aa. Compute the following dot products: AB⃗⋅AD⃗\vec{AB} \cdot \vec{AD}, AB⃗⋅AC⃗\vec{AB} \cdot \vec{AC}, AB⃗⋅BD⃗\vec{AB} \cdot \vec{BD}.

Solution for Example 2: • Since AB⊥ADAB \perp AD, (AB⃗,AD⃗)=90∘⇒AB⃗⋅AD⃗=0(\vec{AB}, \vec{AD}) = 90^\circ \Rightarrow \vec{AB} \cdot \vec{AD} = 0. • The square has side length aa, so the diagonal length is AC=BD=a2AC = BD = a\sqrt{2}.   Since ACAC is the angle bisector of angle A^\widehat{A}, (AB⃗,AC⃗)=45∘(\vec{AB}, \vec{AC}) = 45^\circ. Therefore: AB⃗⋅AC⃗=∣AB⃗∣⋅∣AC⃗∣⋅cos⁡45∘=a⋅a2⋅22=a2.\vec{AB} \cdot \vec{AC} = |\vec{AB}| \cdot |\vec{AC}| \cdot \cos 45^\circ = a \cdot a\sqrt{2} \cdot \frac{\sqrt{2}}{2} = a^2. • Angle between AB⃗\vec{AB} and BD⃗\vec{BD}: Let EE be a point such that BE⃗=AB⃗\vec{BE} = \vec{AB}, then (AB⃗,BD⃗)=(BE⃗,BD⃗)=180∘−45∘=135∘(\vec{AB}, \vec{BD}) = (\vec{BE}, \vec{BD}) = 180^\circ - 45^\circ = 135^\circ. Therefore: AB⃗⋅BD⃗=∣AB⃗∣⋅∣BD⃗∣⋅cos⁡135∘=a⋅a2⋅(−22)=−a2.\vec{AB} \cdot \vec{BD} = |\vec{AB}| \cdot |\vec{BD}| \cdot \cos 135^\circ = a \cdot a\sqrt{2} \cdot \left(-\frac{\sqrt{2}}{2}\right) = -a^2.

Practice 2: Let △ABC\triangle ABC have side lengths BC=a,CA=b,AB=cBC = a, CA = b, AB = c. Calculate AB⃗⋅AC⃗\vec{AB} \cdot \vec{AC} in terms of a,b,ca, b, c.

Solution for Practice 2: • By definition of the dot product: AB⃗⋅AC⃗=∣AB⃗∣⋅∣AC⃗∣⋅cos⁡A=c⋅b⋅cos⁡A\vec{AB} \cdot \vec{AC} = |\vec{AB}| \cdot |\vec{AC}| \cdot \cos A = c \cdot b \cdot \cos A. • By the Law of Cosines in △ABC\triangle ABC: a2=b2+c2−2bc⋅cos⁡A⇒bc⋅cos⁡A=b2+c2−a22a^2 = b^2 + c^2 - 2bc \cdot \cos A \Rightarrow bc \cdot \cos A = \frac{b^2 + c^2 - a^2}{2}. • Therefore: AB⃗⋅AC⃗=b2+c2−a22.\vec{AB} \cdot \vec{AC} = \frac{b^2 + c^2 - a^2}{2}.

Coordinate Representation and Properties of the Dot Product

a) Coordinate Representation of the Dot Product

Coordinate formula: In the Cartesian coordinate plane OxyOxy, let u⃗=(x;y)\vec{u} = (x; y) and v⃗=(x′;y′)\vec{v} = (x'; y'). Then: u⃗⋅v⃗=xx′+yy′\vec{u} \cdot \vec{v} = x x' + y y'

Important consequences: • Two vectors u⃗\vec{u} and v⃗\vec{v} are perpendicular if and only if: u⃗⊥v⃗⇔xx′+yy′=0\vec{u} \perp \vec{v} \Leftrightarrow x x' + y y' = 0 • The scalar square of vector u⃗(x;y)\vec{u}(x; y) is: u⃗2=x2+y2⇒∣u⃗∣=x2+y2\vec{u}^2 = x^2 + y^2 \Rightarrow |\vec{u}| = \sqrt{x^2 + y^2} • The cosine of the angle between two non-zero vectors u⃗≠0⃗\vec{u} \ne \vec{0} and v⃗≠0⃗\vec{v} \ne \vec{0} is: cos⁡(u⃗,v⃗)=u⃗⋅v⃗∣u⃗∣⋅∣v⃗∣=xx′+yy′x2+y2⋅x′2+y′2\cos(\vec{u}, \vec{v}) = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}| \cdot |\vec{v}|} = \frac{x x' + y y'}{\sqrt{x^2 + y^2} \cdot \sqrt{x'^2 + y'^2}}

Example 3: In the coordinate plane OxyOxy, compute the dot product of each pair of vectors: a) u⃗=(2;−3)\vec{u} = (2; -3) and v⃗=(5;3)\vec{v} = (5; 3); b) The unit vectors i⃗\vec{i} and j⃗\vec{j} corresponding to axes OxOx and OyOy.

Solution for Example 3: • a) We have: u⃗⋅v⃗=2⋅5+(−3)⋅3=10−9=1\vec{u} \cdot \vec{v} = 2 \cdot 5 + (-3) \cdot 3 = 10 - 9 = 1. • b) Since i⃗=(1;0)\vec{i} = (1; 0) and j⃗=(0;1)\vec{j} = (0; 1), i⃗⋅j⃗=1⋅0+0⋅1=0\vec{i} \cdot \vec{j} = 1 \cdot 0 + 0 \cdot 1 = 0.

Practice 3: Compute the dot product and the angle between the two vectors u⃗=(0;−5)\vec{u} = (0; -5) and v⃗=(3;1)\vec{v} = (\sqrt{3}; 1).

Solution for Practice 3: • Dot product: u⃗⋅v⃗=0⋅3+(−5)⋅1=−5\vec{u} \cdot \vec{v} = 0 \cdot \sqrt{3} + (-5) \cdot 1 = -5. • Magnitudes: ∣u⃗∣=02+(−5)2=5|\vec{u}| = \sqrt{0^2 + (-5)^2} = 5; ∣v⃗∣=(3)2+12=2|\vec{v}| = \sqrt{(\sqrt{3})^2 + 1^2} = 2. • Angle between vectors: cos⁡(u⃗,v⃗)=−55⋅2=−12⇒(u⃗,v⃗)=120∘.\cos(\vec{u}, \vec{v}) = \frac{-5}{5 \cdot 2} = -\frac{1}{2} \Rightarrow (\vec{u}, \vec{v}) = 120^\circ.

b) Properties of the Dot Product

For any vectors u⃗,v⃗,w⃗\vec{u}, \vec{v}, \vec{w} and any real scalar kk: • u⃗⋅v⃗=v⃗⋅u⃗\vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u} (Commutative property); • u⃗⋅(v⃗+w⃗)=u⃗⋅v⃗+u⃗⋅w⃗\vec{u} \cdot (\vec{v} + \vec{w}) = \vec{u} \cdot \vec{v} + \vec{u} \cdot \vec{w} (Distributive property over addition); • (ku⃗)⋅v⃗=k(u⃗⋅v⃗)=u⃗⋅(kv⃗)(k\vec{u}) \cdot \vec{v} = k(\vec{u} \cdot \vec{v}) = \vec{u} \cdot (k\vec{v}).

Extended vector identities: • u⃗⋅(v⃗−w⃗)=u⃗⋅v⃗−u⃗⋅w⃗\vec{u} \cdot (\vec{v} - \vec{w}) = \vec{u} \cdot \vec{v} - \vec{u} \cdot \vec{w} • (u⃗+v⃗)2=u⃗2+2u⃗⋅v⃗+v⃗2(\vec{u} + \vec{v})^2 = \vec{u}^2 + 2\vec{u} \cdot \vec{v} + \vec{v}^2 • (u⃗−v⃗)2=u⃗2−2u⃗⋅v⃗+v⃗2(\vec{u} - \vec{v})^2 = \vec{u}^2 - 2\vec{u} \cdot \vec{v} + \vec{v}^2 • (u⃗+v⃗)⋅(u⃗−v⃗)=u⃗2−v⃗2(\vec{u} + \vec{v}) \cdot (\vec{u} - \vec{v}) = \vec{u}^2 - \vec{v}^2

Example 4: Let △ABC\triangle ABC be right-angled at AA with B^=60∘\widehat{B} = 60^\circ. Let MM be the midpoint of BCBC. Points PP and QQ are taken on segments ABAB and ACAC respectively. Prove that PMQ^=90∘\widehat{PMQ} = 90^\circ if and only if BP+3CQ=BCBP + \sqrt{3}CQ = BC.

Solution for Example 4: • Let MB=MC=a⇒BC=2aMB = MC = a \Rightarrow BC = 2a. • We have PMQ^=90∘⇔MP⃗⋅MQ⃗=0⇔(MB⃗+BP⃗)⋅(MC⃗+CQ⃗)=0\widehat{PMQ} = 90^\circ \Leftrightarrow \vec{MP} \cdot \vec{MQ} = 0 \Leftrightarrow (\vec{MB} + \vec{BP}) \cdot (\vec{MC} + \vec{CQ}) = 0. • Expanding the product: MB⃗⋅MC⃗+MB⃗⋅CQ⃗+BP⃗⋅MC⃗+BP⃗⋅CQ⃗=0(1)\vec{MB} \cdot \vec{MC} + \vec{MB} \cdot \vec{CQ} + \vec{BP} \cdot \vec{MC} + \vec{BP} \cdot \vec{CQ} = 0 \quad (1) • Evaluating each term:   + MB⃗⋅MC⃗=MB⋅MC⋅cos⁡180∘=−a2\vec{MB} \cdot \vec{MC} = MB \cdot MC \cdot \cos 180^\circ = -a^2.   + Since (MB⃗,CQ⃗)=30∘(\vec{MB}, \vec{CQ}) = 30^\circ, MB⃗⋅CQ⃗=MB⋅CQ⋅cos⁡30∘=32a⋅CQ\vec{MB} \cdot \vec{CQ} = MB \cdot CQ \cdot \cos 30^\circ = \frac{\sqrt{3}}{2}a \cdot CQ.   + Since (BP⃗,MC⃗)=60∘(\vec{BP}, \vec{MC}) = 60^\circ, BP⃗⋅MC⃗=BP⋅MC⋅cos⁡60∘=12a⋅BP\vec{BP} \cdot \vec{MC} = BP \cdot MC \cdot \cos 60^\circ = \frac{1}{2}a \cdot BP.   + Since AB⊥ACAB \perp AC, BP⃗⊥CQ⃗⇒BP⃗⋅CQ⃗=0\vec{BP} \perp \vec{CQ} \Rightarrow \vec{BP} \cdot \vec{CQ} = 0. • Substituting into (1)(1): −a2+32a⋅CQ+12a⋅BP=0⇔32CQ+12BP=a⇔3CQ+BP=2a=BC.-a^2 + \frac{\sqrt{3}}{2}a \cdot CQ + \frac{1}{2}a \cdot BP = 0 \Leftrightarrow \frac{\sqrt{3}}{2}CQ + \frac{1}{2}BP = a \Leftrightarrow \sqrt{3}CQ + BP = 2a = BC. Thus, the equivalence is established.

Applications and Exercises

a) Real-World Applications and Applied Exercises

Application (Work Done by a Force in Physics): A constant force F⃗\vec{F} acts on an object causing its point of application to move linearly from AA to BB. The force F⃗\vec{F} is resolved into two component forces F⃗_1\vec{F}\_1 and F⃗_2\vec{F}\_2 (such that F⃗=F⃗_1+F⃗_2\vec{F} = \vec{F}\_1 + \vec{F}\_2). a) Using the properties of the dot product, explain why the work done by force F⃗\vec{F} equals the sum of the work done by component forces F⃗_1\vec{F}\_1 and F⃗_2\vec{F}\_2. b) Suppose the component forces F⃗_1,F⃗_2\vec{F}\_1, \vec{F}\_2 are respectively parallel (collinear) and perpendicular to the direction of motion. Find the relation between the work done by F⃗\vec{F} and by F⃗_1\vec{F}\_1.

Solution for Application: • a) The work AA done by force F⃗\vec{F} over displacement AB⃗\vec{AB} is given by: A=F⃗⋅AB⃗=(F⃗_1+F⃗_2)⋅AB⃗=F⃗_1⋅AB⃗+F⃗_2⋅AB⃗=A1+A2A = \vec{F} \cdot \vec{AB} = (\vec{F}\_1 + \vec{F}\_2) \cdot \vec{AB} = \vec{F}\_1 \cdot \vec{AB} + \vec{F}\_2 \cdot \vec{AB} = A_1 + A_2 where A1=F⃗_1⋅AB⃗A_1 = \vec{F}\_1 \cdot \vec{AB} and A2=F⃗_2⋅AB⃗A_2 = \vec{F}\_2 \cdot \vec{AB} represent the work done by forces F⃗_1\vec{F}\_1 and F⃗_2\vec{F}\_2, respectively. Hence, the total work done equals the sum of the work done by each component force. • b) When F⃗_2⊥AB⃗\vec{F}\_2 \perp \vec{AB}, we have A2=F⃗_2⋅AB⃗=0A_2 = \vec{F}\_2 \cdot \vec{AB} = 0. Consequently: A=A1+0=A1A = A_1 + 0 = A_1 This means the total work done by F⃗\vec{F} is completely equal to the work done by the component F⃗_1\vec{F}\_1 acting along the line of displacement.

Practice 4: Given △ABC\triangle ABC with vertices A(−1;2)A(-1; 2), B(8;−1)B(8; -1), C(8;8)C(8; 8). Let HH be the orthocenter of the triangle. a) Prove that AH⃗⋅BC⃗=0\vec{AH} \cdot \vec{BC} = 0 and BH⃗⋅CA⃗=0\vec{BH} \cdot \vec{CA} = 0. b) Determine the coordinates of orthocenter HH. c) Solve the triangle △ABC\triangle ABC.

Solution for Practice 4: • a) Since HH is the orthocenter of △ABC\triangle ABC, the altitudes satisfy AH⊥BCAH \perp BC and BH⊥ACBH \perp AC. Hence, AH⃗⋅BC⃗=0\vec{AH} \cdot \vec{BC} = 0 and BH⃗⋅CA⃗=0\vec{BH} \cdot \vec{CA} = 0. • b) Let H(x;y)H(x; y). We compute the vector components:   + BC⃗=(8−8;8−(−1))=(0;9)\vec{BC} = (8 - 8; 8 - (-1)) = (0; 9);   + CA⃗=(−1−8;2−8)=(−9;−6)\vec{CA} = (-1 - 8; 2 - 8) = (-9; -6);   + AH⃗=(x+1;y−2)\vec{AH} = (x + 1; y - 2);   + BH⃗=(x−8;y+1)\vec{BH} = (x - 8; y + 1).   Set up the system of linear equations: {AH⃗⋅BC⃗=0 BH⃗⋅CA⃗=0⇔{(x+1)⋅0+(y−2)⋅9=0 (x−8)⋅(−9)+(y+1)⋅(−6)=0\begin{cases} \vec{AH} \cdot \vec{BC} = 0 \\\ \vec{BH} \cdot \vec{CA} = 0 \end{cases} \Leftrightarrow \begin{cases} (x + 1) \cdot 0 + (y - 2) \cdot 9 = 0 \\\ (x - 8) \cdot (-9) + (y + 1) \cdot (-6) = 0 \end{cases}   From the first equation: 9(y−2)=0⇒y=29(y - 2) = 0 \Rightarrow y = 2.   Substitute y=2y = 2 into the second equation:   −9(x−8)−6(2+1)=0⇔−9x+72−18=0⇔−9x+54=0⇔x=6.-9(x - 8) - 6(2 + 1) = 0 \Leftrightarrow -9x + 72 - 18 = 0 \Leftrightarrow -9x + 54 = 0 \Leftrightarrow x = 6.   Thus, the coordinates of the orthocenter are H(6;2)H(6; 2). • c) Solving the triangle △ABC\triangle ABC:   + Side lengths:     AB=(8−(−1))2+(−1−2)2=92+(−3)2=90=310AB = \sqrt{(8 - (-1))^2 + (-1 - 2)^2} = \sqrt{9^2 + (-3)^2} = \sqrt{90} = 3\sqrt{10}.     BC=(8−8)2+(8−(−1))2=02+92=9BC = \sqrt{(8 - 8)^2 + (8 - (-1))^2} = \sqrt{0^2 + 9^2} = 9.     CA=(−1−8)2+(2−8)2=(−9)2+(−6)2=117=313CA = \sqrt{(-1 - 8)^2 + (2 - 8)^2} = \sqrt{(-9)^2 + (-6)^2} = \sqrt{117} = 3\sqrt{13}.   + Interior angles:     cos⁡B=AB2+BC2−AC22⋅AB⋅BC=90+81−1172⋅310⋅9=545410=110⇒B^≈71∘34′\cos B = \frac{AB^2 + BC^2 - AC^2}{2 \cdot AB \cdot BC} = \frac{90 + 81 - 117}{2 \cdot 3\sqrt{10} \cdot 9} = \frac{54}{54\sqrt{10}} = \frac{1}{\sqrt{10}} \Rightarrow \widehat{B} \approx 71^\circ 34'     cos⁡C=AC2+BC2−AB22⋅AC⋅BC=117+81−902⋅313⋅9=1085413=213⇒C^≈56∘19′\cos C = \frac{AC^2 + BC^2 - AB^2}{2 \cdot AC \cdot BC} = \frac{117 + 81 - 90}{2 \cdot 3\sqrt{13} \cdot 9} = \frac{108}{54\sqrt{13}} = \frac{2}{\sqrt{13}} \Rightarrow \widehat{C} \approx 56^\circ 19'     A^=180∘−(B^+C^)≈180∘−(71∘34′+56∘19′)=52∘07′.\widehat{A} = 180^\circ - (\widehat{B} + \widehat{C}) \approx 180^\circ - (71^\circ 34' + 56^\circ 19') = 52^\circ 07'.

b) Detailed Section Exercises

Exercise 4.21: In the Cartesian coordinate plane OxyOxy, find the angle between two vectors a⃗\vec{a} and b⃗\vec{b} in each of the following cases: a) a⃗=(−3;1)\vec{a} = (-3; 1), b⃗=(2;6)\vec{b} = (2; 6); b) a⃗=(3;1)\vec{a} = (3; 1), b⃗=(2;4)\vec{b} = (2; 4); c) a⃗=(−2;1)\vec{a} = (-\sqrt{2}; 1), b⃗=(2;−2)\vec{b} = (2; -\sqrt{2}).

Solution for Exercise 4.21: • a) a⃗⋅b⃗=(−3)⋅2+1⋅6=0\vec{a} \cdot \vec{b} = (-3) \cdot 2 + 1 \cdot 6 = 0. Since their dot product is zero, (a⃗,b⃗)=90∘(\vec{a}, \vec{b}) = 90^\circ. • b) a⃗⋅b⃗=3⋅2+1⋅4=10\vec{a} \cdot \vec{b} = 3 \cdot 2 + 1 \cdot 4 = 10.   ∣a⃗∣=32+12=10|\vec{a}| = \sqrt{3^2 + 1^2} = \sqrt{10}; ∣b⃗∣=22+42=20=25|\vec{b}| = \sqrt{2^2 + 4^2} = \sqrt{20} = 2\sqrt{5}.   cos⁡(a⃗,b⃗)=1010⋅25=10102=12⇒(a⃗,b⃗)=45∘.\cos(\vec{a}, \vec{b}) = \frac{10}{\sqrt{10} \cdot 2\sqrt{5}} = \frac{10}{10\sqrt{2}} = \frac{1}{\sqrt{2}} \Rightarrow (\vec{a}, \vec{b}) = 45^\circ. • c) a⃗⋅b⃗=(−2)⋅2+1⋅(−2)=−32\vec{a} \cdot \vec{b} = (-\sqrt{2}) \cdot 2 + 1 \cdot (-\sqrt{2}) = -3\sqrt{2}.   ∣a⃗∣=(−2)2+12=3|\vec{a}| = \sqrt{(-\sqrt{2})^2 + 1^2} = \sqrt{3}; ∣b⃗∣=22+(−2)2=6|\vec{b}| = \sqrt{2^2 + (-\sqrt{2})^2} = \sqrt{6}.   cos⁡(a⃗,b⃗)=−323⋅6=−3232=−1⇒(a⃗,b⃗)=180∘.\cos(\vec{a}, \vec{b}) = \frac{-3\sqrt{2}}{\sqrt{3} \cdot \sqrt{6}} = \frac{-3\sqrt{2}}{3\sqrt{2}} = -1 \Rightarrow (\vec{a}, \vec{b}) = 180^\circ.

Exercise 4.22: Find the necessary and sufficient conditions for vectors u⃗,v⃗\vec{u}, \vec{v} such that: a) u⃗⋅v⃗=∣u⃗∣⋅∣v⃗∣\vec{u} \cdot \vec{v} = |\vec{u}| \cdot |\vec{v}|; b) u⃗⋅v⃗=−∣u⃗∣⋅∣v⃗∣\vec{u} \cdot \vec{v} = -|\vec{u}| \cdot |\vec{v}|.

Solution for Exercise 4.22: • a) We have u⃗⋅v⃗=∣u⃗∣⋅∣v⃗∣⋅cos⁡(u⃗,v⃗)\vec{u} \cdot \vec{v} = |\vec{u}| \cdot |\vec{v}| \cdot \cos(\vec{u}, \vec{v}). Hence: u⃗⋅v⃗=∣u⃗∣⋅∣v⃗∣⇔∣u⃗∣⋅∣v⃗∣⋅(1−cos⁡(u⃗,v⃗))=0\vec{u} \cdot \vec{v} = |\vec{u}| \cdot |\vec{v}| \Leftrightarrow |\vec{u}| \cdot |\vec{v}| \cdot (1 - \cos(\vec{u}, \vec{v})) = 0 This occurs if and only if at least one of the two vectors is the zero vector (u⃗=0⃗\vec{u} = \vec{0} or v⃗=0⃗\vec{v} = \vec{0}) or cos⁡(u⃗,v⃗)=1⇔(u⃗,v⃗)=0∘\cos(\vec{u}, \vec{v}) = 1 \Leftrightarrow (\vec{u}, \vec{v}) = 0^\circ (i.e., non-zero vectors u⃗\vec{u} and v⃗\vec{v} have the same direction). • b) Similarly: u⃗⋅v⃗=−∣u⃗∣⋅∣v⃗∣⇔∣u⃗∣⋅∣v⃗∣⋅(1+cos⁡(u⃗,v⃗))=0\vec{u} \cdot \vec{v} = -|\vec{u}| \cdot |\vec{v}| \Leftrightarrow |\vec{u}| \cdot |\vec{v}| \cdot (1 + \cos(\vec{u}, \vec{v})) = 0 This occurs if and only if at least one of the two vectors is the zero vector or cos⁡(u⃗,v⃗)=−1⇔(u⃗,v⃗)=180∘\cos(\vec{u}, \vec{v}) = -1 \Leftrightarrow (\vec{u}, \vec{v}) = 180^\circ (i.e., non-zero vectors u⃗\vec{u} and v⃗\vec{v} have opposite directions).

Exercise 4.23: In the Cartesian coordinate plane OxyOxy, given two points A(1;2)A(1; 2) and B(−4;3)B(-4; 3). Let M(t;0)M(t; 0) be a point on the x-axis (OxOx). a) Compute AM⃗⋅BM⃗\vec{AM} \cdot \vec{BM} in terms of tt. b) Find tt such that AMB^=90∘\widehat{AMB} = 90^\circ.

Solution for Exercise 4.23: • a) We have AM⃗=(t−1;−2)\vec{AM} = (t - 1; -2) and BM⃗=(t+4;−3)\vec{BM} = (t + 4; -3). By the coordinate formula of the dot product: AM⃗⋅BM⃗=(t−1)(t+4)+(−2)(−3)=t2+3t−4+6=t2+3t+2.\vec{AM} \cdot \vec{BM} = (t - 1)(t + 4) + (-2)(-3) = t^2 + 3t - 4 + 6 = t^2 + 3t + 2. • b) AMB^=90∘⇔AM⃗⊥BM⃗⇔AM⃗⋅BM⃗=0\widehat{AMB} = 90^\circ \Leftrightarrow \vec{AM} \perp \vec{BM} \Leftrightarrow \vec{AM} \cdot \vec{BM} = 0. ⇔t2+3t+2=0⇔(t+1)(t+2)=0⇔[t=−1 t=−2].\Leftrightarrow t^2 + 3t + 2 = 0 \Leftrightarrow (t + 1)(t + 2) = 0 \Leftrightarrow \begin{bmatrix} t = -1 \\\ t = -2 \end{bmatrix}. Thus, t=−1t = -1 or t=−2t = -2 (corresponding to points M(−1;0)M(-1; 0) or M(−2;0)M(-2; 0)).

Exercise 4.24: In the coordinate plane OxyOxy, given three non-collinear points A(−4;1),B(2;4),C(2;−2)A(-4; 1), B(2; 4), C(2; -2). a) Solve the triangle △ABC\triangle ABC. b) Find the coordinates of the orthocenter HH of △ABC\triangle ABC.

Solution for Exercise 4.24: • a) We have: AB⃗=(6;3)⇒AB=62+32=45=35\vec{AB} = (6; 3) \Rightarrow AB = \sqrt{6^2 + 3^2} = \sqrt{45} = 3\sqrt{5};   AC⃗=(6;−3)⇒AC=62+(−3)2=45=35\vec{AC} = (6; -3) \Rightarrow AC = \sqrt{6^2 + (-3)^2} = \sqrt{45} = 3\sqrt{5};   BC⃗=(0;−6)⇒BC=6\vec{BC} = (0; -6) \Rightarrow BC = 6.   Since AB=AC=35AB = AC = 3\sqrt{5}, △ABC\triangle ABC is isosceles at vertex AA.   cos⁡A=AB⃗⋅AC⃗∣AB⃗∣⋅∣AC⃗∣=6⋅6+3⋅(−3)35⋅35=2745=35⇒A^≈53∘08′\cos A = \frac{\vec{AB} \cdot \vec{AC}}{|\vec{AB}| \cdot |\vec{AC}|} = \frac{6 \cdot 6 + 3 \cdot (-3)}{3\sqrt{5} \cdot 3\sqrt{5}} = \frac{27}{45} = \frac{3}{5} \Rightarrow \widehat{A} \approx 53^\circ 08'   Since the triangle is isosceles at AA, B^=C^=180∘−53∘08′2=63∘26′\widehat{B} = \widehat{C} = \frac{180^\circ - 53^\circ 08'}{2} = 63^\circ 26'. • b) Let H(x;y)H(x; y) be the orthocenter. We have:   AH⃗=(x+4;y−1)\vec{AH} = (x + 4; y - 1), BC⃗=(0;−6)\vec{BC} = (0; -6);   BH⃗=(x−2;y−4)\vec{BH} = (x - 2; y - 4), AC⃗=(6;−3)\vec{AC} = (6; -3).   The orthogonality conditions give: {AH⃗⋅BC⃗=0 BH⃗⋅AC⃗=0⇔{(x+4)⋅0+(y−1)⋅(−6)=0 6(x−2)−3(y−4)=0\begin{cases} \vec{AH} \cdot \vec{BC} = 0 \\\ \vec{BH} \cdot \vec{AC} = 0 \end{cases} \Leftrightarrow \begin{cases} (x + 4) \cdot 0 + (y - 1) \cdot (-6) = 0 \\\ 6(x - 2) - 3(y - 4) = 0 \end{cases}   From the first equation: −6(y−1)=0⇒y=1-6(y - 1) = 0 \Rightarrow y = 1.   Substituting y=1y = 1 into the second equation: 6(x−2)−3(1−4)=0⇔6x−12+9=0⇔6x=3⇔x=126(x - 2) - 3(1 - 4) = 0 \Leftrightarrow 6x - 12 + 9 = 0 \Leftrightarrow 6x = 3 \Leftrightarrow x = \frac{1}{2}.   Therefore, the coordinates of the orthocenter are H(12;1)H\left(\frac{1}{2}; 1\right).

Exercise 4.25: Prove that for any triangle ABCABC: S_ABC=12AB⃗2⋅AC⃗2−(AB⃗⋅AC⃗)2S\_{ABC} = \frac{1}{2} \sqrt{\vec{AB}^2 \cdot \vec{AC}^2 - (\vec{AB} \cdot \vec{AC})^2}

Solution for Exercise 4.25: • By definition of the dot product: AB⃗⋅AC⃗=AB⋅AC⋅cos⁡A\vec{AB} \cdot \vec{AC} = AB \cdot AC \cdot \cos A.   Squaring both sides: (AB⃗⋅AC⃗)2=AB2⋅AC2⋅cos⁡2A(\vec{AB} \cdot \vec{AC})^2 = AB^2 \cdot AC^2 \cdot \cos^2 A. • Transform the expression under the square root: AB⃗2⋅AC⃗2−(AB⃗⋅AC⃗)2=AB2⋅AC2−AB2⋅AC2⋅cos⁡2A=AB2⋅AC2⋅(1−cos⁡2A)=AB2⋅AC2⋅sin⁡2A\vec{AB}^2 \cdot \vec{AC}^2 - (\vec{AB} \cdot \vec{AC})^2 = AB^2 \cdot AC^2 - AB^2 \cdot AC^2 \cdot \cos^2 A = AB^2 \cdot AC^2 \cdot (1 - \cos^2 A) = AB^2 \cdot AC^2 \cdot \sin^2 A • Since angle AA of △ABC\triangle ABC satisfies 0∘<A^<180∘0^\circ < \widehat{A} < 180^\circ, we have sin⁡A>0\sin A > 0. Taking the principal square root of both sides gives: AB⃗2⋅AC⃗2−(AB⃗⋅AC⃗)2=AB⋅AC⋅sin⁡A\sqrt{\vec{AB}^2 \cdot \vec{AC}^2 - (\vec{AB} \cdot \vec{AC})^2} = AB \cdot AC \cdot \sin A • On the other hand, the area of △ABC\triangle ABC is given by S_ABC=12AB⋅AC⋅sin⁡AS\_{ABC} = \frac{1}{2} AB \cdot AC \cdot \sin A.   Hence: S_ABC=12AB⃗2⋅AC⃗2−(AB⃗⋅AC⃗)2(Q.E.D.).S\_{ABC} = \frac{1}{2} \sqrt{\vec{AB}^2 \cdot \vec{AC}^2 - (\vec{AB} \cdot \vec{AC})^2} \quad (\text{Q.E.D.}).

Exercise 4.26: Let GG be the centroid of triangle ABCABC. Prove that for any arbitrary point MM: MA2+MB2+MC2=3MG2+GA2+GB2+GC2MA^2 + MB^2 + MC^2 = 3MG^2 + GA^2 + GB^2 + GC^2

Solution for Exercise 4.26: • Express vector MA⃗\vec{MA} through centroid GG: MA⃗=MG⃗+GA⃗\vec{MA} = \vec{MG} + \vec{GA}.   Taking the scalar square of both sides: MA2=MA⃗2=(MG⃗+GA⃗)2=MG2+2MG⃗⋅GA⃗+GA2MA^2 = \vec{MA}^2 = (\vec{MG} + \vec{GA})^2 = MG^2 + 2\vec{MG} \cdot \vec{GA} + GA^2 • Similarly for vertices BB and CC: MB2=MG2+2MG⃗⋅GB⃗+GB2MB^2 = MG^2 + 2\vec{MG} \cdot \vec{GB} + GB^2 MC2=MG2+2MG⃗⋅GC⃗+GC2MC^2 = MG^2 + 2\vec{MG} \cdot \vec{GC} + GC^2 • Summing these three equations side by side: MA2+MB2+MC2=3MG2+GA2+GB2+GC2+2MG⃗⋅(GA⃗+GB⃗+GC⃗)MA^2 + MB^2 + MC^2 = 3MG^2 + GA^2 + GB^2 + GC^2 + 2\vec{MG} \cdot (\vec{GA} + \vec{GB} + \vec{GC}) • Since GG is the centroid of △ABC\triangle ABC, by the characteristic centroid property we have: GA⃗+GB⃗+GC⃗=0⃗\vec{GA} + \vec{GB} + \vec{GC} = \vec{0}   Therefore: 2MG⃗⋅(GA⃗+GB⃗+GC⃗)=2MG⃗⋅0⃗=02\vec{MG} \cdot (\vec{GA} + \vec{GB} + \vec{GC}) = 2\vec{MG} \cdot \vec{0} = 0. • Thus, we obtain the required identity: MA2+MB2+MC2=3MG2+GA2+GB2+GC2(Q.E.D.).MA^2 + MB^2 + MC^2 = 3MG^2 + GA^2 + GB^2 + GC^2 \quad (\text{Q.E.D.}).