TExcelTAD
Home › School Analytical Trigonometry & Conic Sections › The Dot Product and Vector Orthogonality

The Dot Product and Vector Orthogonality

In Vectors in the Plane, we introduced vector addition and scalar multiplication. However, one fundamental question remained: Can we multiply two vectors together?

In mathematics and physics, there are two different ways to multiply vectors. In two dimensions, the most essential operation is the Dot Product (also called the Scalar Product or Inner Product).

Unlike vector addition, which produces a new vector, the dot product of two vectors produces a single scalar number. This scalar captures crucial geometric information about the relative alignment of the two vectors, allowing us to compute angles, test perpendicularity (orthogonality), and calculate directional shadows (projections).


Conceptual & Geometric Foundations

1. Geometric Definition of the Dot Product

Given two non-zero vectors u⃗\vec{u} and v⃗\vec{v} placed tail-to-tail, let θ\theta be the angle between them, where 0≤θ≤π0 \le \theta \le \pi (0∘≤θ≤180∘0^\circ \le \theta \le 180^\circ).

theta vec(u) vec(v) u . v = |u| * |v| * cos(theta)

The dot product, written with a centered dot u⃗⋅v⃗\vec{u} \cdot \vec{v}, is defined as:

u⃗⋅v⃗=∣u⃗∣∣v⃗∣cos⁡θ\vec{u} \cdot \vec{v} = |\vec{u}| |\vec{v}| \cos\theta

Notice how the sign of u⃗⋅v⃗\vec{u} \cdot \vec{v} depends entirely on cos⁡θ\cos\theta:

  1. Acute Angle (0∘≤θ<90∘0^\circ \le \theta < 90^\circ): cos⁡θ>0  ⟹  u⃗⋅v⃗>0\cos\theta > 0 \implies \vec{u} \cdot \vec{v} > 0. The vectors point generally in the same direction.
  2. Right Angle (θ=90∘=π2\theta = 90^\circ = \frac{\pi}{2}): cos⁡(90∘)=0  ⟹  u⃗⋅v⃗=0\cos(90^\circ) = 0 \implies \vec{u} \cdot \vec{v} = 0. The vectors are perpendicular (orthogonal).
  3. Obtuse Angle (90∘<θ≤180∘90^\circ < \theta \le 180^\circ): cos⁡θ<0  ⟹  u⃗⋅v⃗<0\cos\theta < 0 \implies \vec{u} \cdot \vec{v} < 0. The vectors point in opposing directions.

2. Algebraic Definition (Cartesian Coordinates)

When vectors are given by their components u⃗=(x1,y1)\vec{u} = (x_1, y_1) and v⃗=(x2,y2)\vec{v} = (x_2, y_2), how do we compute the dot product on paper without knowing θ\theta beforehand?

Recall that in the standard Cartesian basis, i⃗=(1,0)\vec{i} = (1, 0) and j⃗=(0,1)\vec{j} = (0, 1) are unit vectors perpendicular to each other:

i⃗⋅i⃗=1⋅1⋅cos⁡(0∘)=1,j⃗⋅j⃗=1⋅1⋅cos⁡(0∘)=1\vec{i} \cdot \vec{i} = 1 \cdot 1 \cdot \cos(0^\circ) = 1, \quad \vec{j} \cdot \vec{j} = 1 \cdot 1 \cdot \cos(0^\circ) = 1
i⃗⋅j⃗=1⋅1⋅cos⁡(90∘)=0\vec{i} \cdot \vec{j} = 1 \cdot 1 \cdot \cos(90^\circ) = 0

Expanding u⃗⋅v⃗=(x1i⃗+y1j⃗)⋅(x2i⃗+y2j⃗)\vec{u} \cdot \vec{v} = (x_1\vec{i} + y_1\vec{j}) \cdot (x_2\vec{i} + y_2\vec{j}) by the distributive law:

u⃗⋅v⃗=x1x2(i⃗⋅i⃗)+x1y2(i⃗⋅j⃗)+y1x2(j⃗⋅i⃗)+y1y2(j⃗⋅j⃗)=x1x2(1)+x1y2(0)+y1x2(0)+y1y2(1)=x1x2+y1y2\begin{aligned} \vec{u} \cdot \vec{v} &= x_1 x_2 (\vec{i} \cdot \vec{i}) + x_1 y_2 (\vec{i} \cdot \vec{j}) + y_1 x_2 (\vec{j} \cdot \vec{i}) + y_1 y_2 (\vec{j} \cdot \vec{j}) \\ &= x_1 x_2 (1) + x_1 y_2 (0) + y_1 x_2 (0) + y_1 y_2 (1) \\ &= x_1 x_2 + y_1 y_2 \end{aligned}

This gives our primary paper formula: multiply corresponding components and add the products.

u⃗⋅v⃗=x1x2+y1y2\vec{u} \cdot \vec{v} = x_1 x_2 + y_1 y_2

3. Equivalence via the Law of Cosines

Why does the algebraic formula x1x2+y1y2x_1 x_2 + y_1 y_2 always equal the geometric definition ∣u⃗∣∣v⃗∣cos⁡θ|\vec{u}||\vec{v}|\cos\theta?

Consider the triangle formed by u⃗\vec{u}, v⃗\vec{v}, and their difference w⃗=u⃗−v⃗\vec{w} = \vec{u} - \vec{v}:

theta vec(u) vec(v) u . v = |u| * |v| * cos(theta)

By the Law of Cosines in this triangle:

∣u⃗−v⃗∣2=∣u⃗∣2+∣v⃗∣2−2∣u⃗∣∣v⃗∣cos⁡θ|\vec{u} - \vec{v}|^2 = |\vec{u}|^2 + |\vec{v}|^2 - 2|\vec{u}||\vec{v}|\cos\theta

Now expand ∣u⃗−v⃗∣2|\vec{u} - \vec{v}|^2 using coordinates with u⃗−v⃗=(x1−x2,  y1−y2)\vec{u} - \vec{v} = (x_1 - x_2, \; y_1 - y_2):

∣u⃗−v⃗∣2=(x1−x2)2+(y1−y2)2=(x12−2x1x2+x22)+(y12−2y1y2+y22)=(x12+y12)+(x22+y22)−2(x1x2+y1y2)=∣u⃗∣2+∣v⃗∣2−2(x1x2+y1y2)\begin{aligned} |\vec{u} - \vec{v}|^2 &= (x_1 - x_2)^2 + (y_1 - y_2)^2 \\ &= (x_1^2 - 2x_1 x_2 + x_2^2) + (y_1^2 - 2y_1 y_2 + y_2^2) \\ &= (x_1^2 + y_1^2) + (x_2^2 + y_2^2) - 2(x_1 x_2 + y_1 y_2) \\ &= |\vec{u}|^2 + |\vec{v}|^2 - 2(x_1 x_2 + y_1 y_2) \end{aligned}

Comparing the two equations:

∣u⃗∣2+∣v⃗∣2−2∣u⃗∣∣v⃗∣cos⁡θ=∣u⃗∣2+∣v⃗∣2−2(x1x2+y1y2)|\vec{u}|^2 + |\vec{v}|^2 - 2|\vec{u}||\vec{v}|\cos\theta = |\vec{u}|^2 + |\vec{v}|^2 - 2(x_1 x_2 + y_1 y_2)

Canceling ∣u⃗∣2+∣v⃗∣2|\vec{u}|^2 + |\vec{v}|^2 and dividing by −2-2 rigorously proves:

x1x2+y1y2=∣u⃗∣∣v⃗∣cos⁡θx_1 x_2 + y_1 y_2 = |\vec{u}||\vec{v}|\cos\theta

Key Applications of the Dot Product

1. Angle Between Two Vectors

Equating the algebraic and geometric forms allows us to calculate the cosine of the angle θ\theta directly from coordinates:

cos⁡θ=u⃗⋅v⃗∣u⃗∣∣v⃗∣=x1x2+y1y2x12+y12x22+y22\cos\theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}| |\vec{v}|} = \frac{x_1 x_2 + y_1 y_2}{\sqrt{x_1^2 + y_1^2} \sqrt{x_2^2 + y_2^2}}

2. Orthogonality (Perpendicularity) Test

Two non-zero vectors u⃗\vec{u} and v⃗\vec{v} are perpendicular (written u⃗⊥v⃗\vec{u} \perp \vec{v}) if and only if their angle is θ=90∘\theta = 90^\circ, which means cos⁡θ=0\cos\theta = 0:

u⃗⊥v⃗  ⟺  u⃗⋅v⃗=0  ⟺  x1x2+y1y2=0\vec{u} \perp \vec{v} \iff \vec{u} \cdot \vec{v} = 0 \iff x_1 x_2 + y_1 y_2 = 0

[!IMPORTANT] The condition x1x2+y1y2=0x_1 x_2 + y_1 y_2 = 0 is the universal paper test for perpendicular vectors! Given a vector u⃗=(a,b)\vec{u} = (a, b), an immediate orthogonal vector is (−b,a)(-b, a) or (b,−a)(b, -a), because (a)(−b)+(b)(a)=−ab+ab=0(a)(-b) + (b)(a) = -ab + ab = 0.

3. Vector Projections

The scalar projection of u⃗\vec{u} onto v⃗\vec{v} is the signed length of the perpendicular shadow cast by u⃗\vec{u} onto the line along v⃗\vec{v}:

scalv⃗u⃗=∣u⃗∣cos⁡θ=u⃗⋅v⃗∣v⃗∣\text{scal}_{\vec{v}}\vec{u} = |\vec{u}|\cos\theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|}

The vector projection of u⃗\vec{u} onto v⃗\vec{v} is the actual vector pointing in the direction of v⃗\vec{v} with this length:

projv⃗u⃗=(u⃗⋅v⃗∣v⃗∣2)v⃗\text{proj}_{\vec{v}}\vec{u} = \left(\frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\right) \vec{v}

Master Formula Box

Dot Product (Algebraic)u⃗⋅v⃗=x1x2+y1y2Dot Product (Geometric)u⃗⋅v⃗=∣u⃗∣∣v⃗∣cos⁡θSelf Dot Product and Normu⃗⋅u⃗=∣u⃗∣2  ⟹  ∣u⃗∣=u⃗⋅u⃗Angle Between Vectorscos⁡θ=x1x2+y1y2x12+y12x22+y22Orthogonality Criterionu⃗⊥v⃗  ⟺  x1x2+y1y2=0Vector Projectionprojv⃗u⃗=(u⃗⋅v⃗∣v⃗∣2)v⃗\begin{array}{|c|c|} \hline \textbf{Dot Product (Algebraic)} & \vec{u} \cdot \vec{v} = x_1 x_2 + y_1 y_2 \\ \hline \textbf{Dot Product (Geometric)} & \vec{u} \cdot \vec{v} = |\vec{u}| |\vec{v}| \cos\theta \\ \hline \textbf{Self Dot Product and Norm} & \vec{u} \cdot \vec{u} = |\vec{u}|^2 \implies |\vec{u}| = \sqrt{\vec{u} \cdot \vec{u}} \\ \hline \textbf{Angle Between Vectors} & \cos\theta = \dfrac{x_1 x_2 + y_1 y_2}{\sqrt{x_1^2 + y_1^2} \sqrt{x_2^2 + y_2^2}} \\ \hline \textbf{Orthogonality Criterion} & \vec{u} \perp \vec{v} \iff x_1 x_2 + y_1 y_2 = 0 \\ \hline \textbf{Vector Projection} & \text{proj}_{\vec{v}}\vec{u} = \left(\dfrac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\right)\vec{v} \\ \hline \end{array}

Step-by-Step Paper Calculation Method

  1. Calculate Dot Product: Compute x1x2x_1 x_2 and y1y2y_1 y_2, then add them carefully. Keep track of negative signs: (−a)(−b)=+ab(-a)(-b) = +ab and (−a)(b)=−ab(-a)(b) = -ab.
  2. Compute Magnitudes: Compute ∣u⃗∣=x12+y12|\vec{u}| = \sqrt{x_1^2 + y_1^2} and ∣v⃗∣=x22+y22|\vec{v}| = \sqrt{x_2^2 + y_2^2} separately.
  3. Determine Angle:
    • Write the quotient cos⁡θ=u⃗⋅v⃗∣u⃗∣∣v⃗∣\cos\theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}||\vec{v}|}.
    • Rationalize the denominator.
    • If the value matches a special unit circle angle (0,±12,±22,±32,±10, \pm\frac{1}{2}, \pm\frac{\sqrt{2}}{2}, \pm\frac{\sqrt{3}}{2}, \pm 1), state θ\theta in degrees or radians.
  4. Test Orthogonality: Simply evaluate x1x2+y1y2x_1 x_2 + y_1 y_2. If it is exactly 00, the vectors are perpendicular.

Step-by-Step Notebook Examples

Example 1: Dot Product and Angle Calculation

Problem Statement: Given vectors u⃗=(3,1)\vec{u} = (3, 1) and v⃗=(2,4)\vec{v} = (2, 4) in R2\mathbb{R}^2:

  1. Calculate the dot product u⃗⋅v⃗\vec{u} \cdot \vec{v}.
  2. Find the exact cosine of the angle θ\theta between u⃗\vec{u} and v⃗\vec{v}.
  3. Deduce the exact measure of θ\theta.

Paper Calculation Steps:

  1. Compute Dot Product:

    u⃗⋅v⃗=(3)(2)+(1)(4)=6+4=10\begin{aligned} \vec{u} \cdot \vec{v} &= (3)(2) + (1)(4) \\ &= 6 + 4 \\ &= 10 \end{aligned}
  2. Compute Magnitudes:

    ∣u⃗∣=32+12=9+1=10|\vec{u}| = \sqrt{3^2 + 1^2} = \sqrt{9 + 1} = \sqrt{10}
    ∣v⃗∣=22+42=4+16=20=25|\vec{v}| = \sqrt{2^2 + 4^2} = \sqrt{4 + 16} = \sqrt{20} = 2\sqrt{5}
  3. Compute cos⁡θ\cos\theta:

    cos⁡θ=u⃗⋅v⃗∣u⃗∣∣v⃗∣=1010⋅20=10200=10102=12=22\begin{aligned} \cos\theta &= \frac{\vec{u} \cdot \vec{v}}{|\vec{u}| |\vec{v}|} \\ &= \frac{10}{\sqrt{10} \cdot \sqrt{20}} \\ &= \frac{10}{\sqrt{200}} \\ &= \frac{10}{10\sqrt{2}} \\ &= \frac{1}{\sqrt{2}} = \frac{\sqrt{2}}{2} \end{aligned}
  4. Determine Angle θ\theta: Since cos⁡θ=22\cos\theta = \frac{\sqrt{2}}{2} and 0≤θ≤π0 \le \theta \le \pi:

    θ=π4(45∘)\theta = \frac{\pi}{4} \quad (45^\circ)

Final Answer:

  • u⃗⋅v⃗=10\vec{u} \cdot \vec{v} = 10
  • cos⁡θ=22\cos\theta = \frac{\sqrt{2}}{2}
  • θ=45∘=π4 rad\theta = 45^\circ = \frac{\pi}{4}\text{ rad}

Example 2: Proving a Right Triangle via Orthogonality

Problem Statement: In the Cartesian plane, points A(1,2)A(1, 2), B(4,6)B(4, 6), and C(−4,12)C(-4, 12) are given. Use the vector dot product to prove that △ABC\triangle ABC is a right triangle, and identify which vertex holds the right angle.

Paper Calculation Steps:

  1. Form the Side Vectors Originating at Vertex BB:

    • Vector BA⃗=(xA−xB,  yA−yB)=(1−4,  2−6)=(−3,  −4)\vec{BA} = (x_A - x_B, \; y_A - y_B) = (1 - 4, \; 2 - 6) = (-3, \; -4).
    • Vector BC⃗=(xC−xB,  yC−yB)=(−4−4,  12−6)=(−8,  6)\vec{BC} = (x_C - x_B, \; y_C - y_B) = (-4 - 4, \; 12 - 6) = (-8, \; 6).
  2. Compute the Dot Product BA⃗⋅BC⃗\vec{BA} \cdot \vec{BC}:

    BA⃗⋅BC⃗=(−3)(−8)+(−4)(6)=24−24=0\begin{aligned} \vec{BA} \cdot \vec{BC} &= (-3)(-8) + (-4)(6) \\ &= 24 - 24 \\ &= 0 \end{aligned}
  3. Geometric Conclusion: Because BA⃗⋅BC⃗=0\vec{BA} \cdot \vec{BC} = 0 and both vectors are non-zero, the vectors BA⃗\vec{BA} and BC⃗\vec{BC} are strictly orthogonal:

    BA⃗⊥BC⃗  ⟺  ∠ABC=90∘\vec{BA} \perp \vec{BC} \iff \angle ABC = 90^\circ

    Therefore, △ABC\triangle ABC is a right triangle with its right angle at vertex BB.

Final Answer: BA⃗⋅BC⃗=0\vec{BA} \cdot \vec{BC} = 0, so △ABC\triangle ABC is a right triangle with right angle at BB.


Example 3: Vector Projection

Problem Statement: Find the vector projection of u⃗=(5,2)\vec{u} = (5, 2) onto v⃗=(3,−1)\vec{v} = (3, -1).

Paper Calculation Steps:

  1. Calculate Dot Product u⃗⋅v⃗\vec{u} \cdot \vec{v}:

    u⃗⋅v⃗=(5)(3)+(2)(−1)=15−2=13\vec{u} \cdot \vec{v} = (5)(3) + (2)(-1) = 15 - 2 = 13
  2. Calculate ∣v⃗∣2|\vec{v}|^2:

    ∣v⃗∣2=32+(−1)2=9+1=10|\vec{v}|^2 = 3^2 + (-1)^2 = 9 + 1 = 10
  3. Apply the Vector Projection Formula:

    projv⃗u⃗=(u⃗⋅v⃗∣v⃗∣2)v⃗=(1310)(3,  −1)=(3910,  −1310)\begin{aligned} \text{proj}_{\vec{v}}\vec{u} &= \left(\frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\right)\vec{v} \\ &= \left(\frac{13}{10}\right) (3, \; -1) \\ &= \left( \frac{39}{10}, \; -\frac{13}{10} \right) \end{aligned}
  4. Verify Orthogonality of the Rejection Vector: The error vector e⃗=u⃗−projv⃗u⃗\vec{e} = \vec{u} - \text{proj}_{\vec{v}}\vec{u} must be perpendicular to v⃗\vec{v}:

    e⃗=(5,2)−(3910,−1310)=(1110,  3310)\vec{e} = (5, 2) - \left(\frac{39}{10}, -\frac{13}{10}\right) = \left(\frac{11}{10}, \; \frac{33}{10}\right)

    Check dot product with v⃗=(3,−1)\vec{v} = (3, -1):

    e⃗⋅v⃗=(1110)(3)+(3310)(−1)=3310−3310=0\vec{e} \cdot \vec{v} = \left(\frac{11}{10}\right)(3) + \left(\frac{33}{10}\right)(-1) = \frac{33}{10} - \frac{33}{10} = 0

    The decomposition is verified on paper!

Final Answer:

projv⃗u⃗=(3910,  −1310)\text{proj}_{\vec{v}}\vec{u} = \left(\frac{39}{10}, \; -\frac{13}{10}\right)

Common Mistakes & Paper Traps

[!WARNING] Trap 1: Writing the Dot Product as a Vector. A dot product is a scalar, not a vector! Writing u⃗⋅v⃗=(x1x2,y1y2)\vec{u} \cdot \vec{v} = (x_1 x_2, y_1 y_2) is completely wrong. You must add the products: x1x2+y1y2x_1 x_2 + y_1 y_2.

[!WARNING] Trap 2: Confusing Orthogonality with Collinearity.

  • Orthogonal (Perpendicular, θ=90∘\theta = 90^\circ): u⃗⋅v⃗=0  ⟺  x1x2+y1y2=0\vec{u} \cdot \vec{v} = 0 \iff x_1 x_2 + y_1 y_2 = 0.
  • Collinear (Parallel, θ=0∘\theta = 0^\circ or 180∘180^\circ): x1y2−x2y1=0x_1 y_2 - x_2 y_1 = 0. Do not mix up the product of corresponding components (x1x2+y1y2x_1 x_2 + y_1 y_2) with the cross-multiplication (x1y2−x2y1x_1 y_2 - x_2 y_1)!

[!WARNING] Trap 3: Forgetting the Magnitude Squares in Projections. The projection formula divides by ∣v⃗∣2=x22+y22|\vec{v}|^2 = x_2^2 + y_2^2, not ∣v⃗∣=x22+y22|\vec{v}| = \sqrt{x_2^2 + y_2^2}. Leaving the radical produces an incorrect magnitude.


Pencil & Paper Practice

Solve these problems in your notebook before reviewing the complete worked solutions below.

Practice Problems

  1. Problem 1: Find the dot product of a⃗=(−4,3)\vec{a} = (-4, 3) and b⃗=(6,8)\vec{b} = (6, 8). What does this result tell you about the angle between them?
  2. Problem 2: Determine the value of parameter mm such that u⃗=(m,4)\vec{u} = (m, 4) and v⃗=(3,−6)\vec{v} = (3, -6) are orthogonal.
  3. Problem 3: Calculate the angle θ\theta between p⃗=(1,0)\vec{p} = (1, 0) and q⃗=(1,3)\vec{q} = (1, \sqrt{3}).

Step-by-Step Solutions

Solution 1:

  • a⃗⋅b⃗=(−4)(6)+(3)(8)=−24+24=0\vec{a} \cdot \vec{b} = (-4)(6) + (3)(8) = -24 + 24 = 0.
  • Since a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0, the two vectors are strictly orthogonal (θ=90∘\theta = 90^\circ).

Solution 2:

  • Orthogonality requires u⃗⋅v⃗=0\vec{u} \cdot \vec{v} = 0.
  • (m)(3)+(4)(−6)=0  ⟹  3m−24=0  ⟹  3m=24  ⟹  m=8(m)(3) + (4)(-6) = 0 \implies 3m - 24 = 0 \implies 3m = 24 \implies m = 8.

Solution 3:

  • Dot product: p⃗⋅q⃗=(1)(1)+(0)(3)=1\vec{p} \cdot \vec{q} = (1)(1) + (0)(\sqrt{3}) = 1.
  • Magnitudes: ∣p⃗∣=12+02=1|\vec{p}| = \sqrt{1^2 + 0^2} = 1, and ∣q⃗∣=12+(3)2=1+3=4=2|\vec{q}| = \sqrt{1^2 + (\sqrt{3})^2} = \sqrt{1 + 3} = \sqrt{4} = 2.
  • Cosine of angle: cos⁡θ=11×2=12\cos\theta = \frac{1}{1 \times 2} = \frac{1}{2}.
  • Therefore: θ=π3=60∘\theta = \frac{\pi}{3} = 60^\circ.

Summary

  • The dot product can be computed geometrically (u⃗⋅v⃗=∣u⃗∣∣v⃗∣cos⁡θ\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos\theta) or algebraically (u⃗⋅v⃗=x1x2+y1y2\vec{u} \cdot \vec{v} = x_1 x_2 + y_1 y_2).
  • Dot product yields a scalar, not a vector.
  • Two non-zero vectors are perpendicular if and only if their dot product is zero:
    u⃗⊥v⃗  ⟺  u⃗⋅v⃗=0  ⟺  x1x2+y1y2=0\vec{u} \perp \vec{v} \iff \vec{u} \cdot \vec{v} = 0 \iff x_1 x_2 + y_1 y_2 = 0
  • The angle between two vectors is found via cos⁡θ=u⃗⋅v⃗∣u⃗∣∣v⃗∣\cos\theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}||\vec{v}|}.

Test yourself

What is the dot product of u⃗=(2,−7)\vec{u} = (2, -7) and v⃗=(−3,−1)\vec{v} = (-3, -1)?

  1. 1
  2. −13-13
  3. −6-6
  4. 1313

For which value of kk are the vectors a⃗=(k,5)\vec{a} = (k, 5) and b⃗=(2,−10)\vec{b} = (2, -10) perpendicular?

  1. 25
  2. −25-25
  3. 10
  4. 0

If ∣u⃗∣=4|\vec{u}| = 4, ∣v⃗∣=6|\vec{v}| = 6, and the angle between them is 120∘120^\circ, what is u⃗⋅v⃗\vec{u} \cdot \vec{v}?

  1. −12-12
  2. 1212
  3. −123-12\sqrt{3}
  4. 2424