Dot Product and Applications

Master dot product and applications: definition, properties, angle between vectors, orthogonal vectors, and applications through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Calculating dot product
Exercise 1
Find the dot product of \(\vec{u} = \langle 3, 4 \rangle\) and \(\vec{v} = \langle -2, 5 \rangle\)
Definition:

Dot product: The sum of the products of corresponding components: \(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)

Dot product calculation:
  1. For vectors \(\vec{u} = \langle u_x, u_y \rangle\) and \(\vec{v} = \langle v_x, v_y \rangle\)
  2. Multiply corresponding components: \(u_x v_x\) and \(u_y v_y\)
  3. Add the products: \(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)
Vector Components
\(\vec{u} = \langle 3, 4 \rangle\)
\(\vec{v} = \langle -2, 5 \rangle\)
Products
\(3 \times (-2) = -6\)
\(4 \times 5 = 20\)
Result
\(-6 + 20 = 14\)
Step 1: Identify components

\(\vec{u} = \langle 3, 4 \rangle\) means \(u_x = 3\) and \(u_y = 4\)

\(\vec{v} = \langle -2, 5 \rangle\) means \(v_x = -2\) and \(v_y = 5\)

Step 2: Apply dot product formula

\(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)

\(\vec{u} \cdot \vec{v} = (3)(-2) + (4)(5)\)

Step 3: Calculate products

\((3)(-2) = -6\)

\((4)(5) = 20\)

\(\vec{u} \cdot \vec{v} = 14\)
Final answer:

The dot product of \(\vec{u} = \langle 3, 4 \rangle\) and \(\vec{v} = \langle -2, 5 \rangle\) is 14

Applied rules:

• Component-wise multiplication: Multiply corresponding components separately

• Sum of products: Add all component products together

• Algebraic operations: Handle positive and negative numbers carefully

2 Finding angle between vectors
Exercise 2
Find the angle between \(\vec{a} = \langle 1, 2 \rangle\) and \(\vec{b} = \langle 3, 1 \rangle\)
Definition:

Angle formula: \(\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}\) where \(\theta\) is the angle between vectors

Dot Product
\(\vec{a} \cdot \vec{b} = 5\)
Magnitudes
\(|\vec{a}| = \sqrt{5}\)
\(|\vec{b}| = \sqrt{10}\)
Cosine
\(\cos \theta = \frac{5}{\sqrt{50}}\)
Step 1: Calculate the dot product

\(\vec{a} \cdot \vec{b} = (1)(3) + (2)(1) = 3 + 2 = 5\)

Step 2: Find magnitudes of vectors

\(|\vec{a}| = \sqrt{1^2 + 2^2} = \sqrt{1 + 4} = \sqrt{5}\)

\(|\vec{b}| = \sqrt{3^2 + 1^2} = \sqrt{9 + 1} = \sqrt{10}\)

Step 3: Apply angle formula

\(\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|} = \frac{5}{\sqrt{5} \cdot \sqrt{10}} = \frac{5}{\sqrt{50}}\)

\(\cos \theta = \frac{5}{5\sqrt{2}} = \frac{1}{\sqrt{2}} = \frac{\sqrt{2}}{2}\)

Step 4: Find the angle

\(\theta = \arccos\left(\frac{\sqrt{2}}{2}\right) = 45°\)

\(\theta = 45°\)
Final answer:

The angle between \(\vec{a} = \langle 1, 2 \rangle\) and \(\vec{b} = \langle 3, 1 \rangle\) is 45°

Applied rules:

• Angle formula: \(\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}\)

• Magnitude formula: \(|\vec{v}| = \sqrt{x^2 + y^2}\)

• Inverse cosine: \(\theta = \arccos(\cos \theta)\)

3 Checking orthogonality
Exercise 3
Determine if \(\vec{p} = \langle 2, -3 \rangle\) and \(\vec{q} = \langle 6, 4 \rangle\) are orthogonal
Definition:

Orthogonal vectors: Two vectors are orthogonal if their dot product is zero

Dot Product
\(\vec{p} \cdot \vec{q} = 0\)
Result
Orthogonal
Step 1: Calculate the dot product

\(\vec{p} \cdot \vec{q} = (2)(6) + (-3)(4) = 12 + (-12) = 0\)

Step 2: Apply orthogonality condition

If \(\vec{p} \cdot \vec{q} = 0\), then vectors are orthogonal

Step 3: Conclusion

Since \(\vec{p} \cdot \vec{q} = 0\), vectors \(\vec{p}\) and \(\vec{q}\) are orthogonal

Vectors are orthogonal
Final answer:

Yes, vectors \(\vec{p} = \langle 2, -3 \rangle\) and \(\vec{q} = \langle 6, 4 \rangle\) are orthogonal because their dot product is zero

Applied rules:

• Orthogonality condition: \(\vec{u} \perp \vec{v}\) if and only if \(\vec{u} \cdot \vec{v} = 0\)

• Perpendicular vectors: Form a 90° angle

• Dot product test: Zero dot product confirms perpendicularity

Dot Product Properties and Applications
\(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y = |\vec{u}||\vec{v}|\cos \theta\)
Dot Product Formula and Geometric Interpretation
Commutative
\( \vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u} \)
Order doesn't matter
Magnitude
\( \vec{u} \cdot \vec{u} = |\vec{u}|^2 \)
Self-dot product
Orthogonal
\( \vec{u} \cdot \vec{v} = 0 \)
Perpendicular vectors
Key definitions:

Dot product: A scalar value obtained by multiplying corresponding components of two vectors and summing the results

Orthogonal vectors: Vectors that are perpendicular to each other (form a 90° angle)

Projection: The component of one vector in the direction of another vector

Angle between vectors: The smallest angle formed when two vectors are placed tail to tail

Dot product applications:
  1. Calculate dot product: Multiply corresponding components and sum them
  2. Find angle between vectors: Use \(\cos \theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}||\vec{v}|}\)
  3. Test orthogonality: Check if dot product equals zero
  4. Find vector magnitude: Use \(\vec{u} \cdot \vec{u} = |\vec{u}|^2\)
  5. Vector projection: Calculate component of one vector in direction of another
Tip 1: The dot product of parallel vectors is the product of their magnitudes (positive if same direction, negative if opposite).
Tip 2: The dot product of perpendicular vectors is always zero.
Tip 3: Always calculate magnitudes separately when finding angles between vectors.
Solution: Exercises 4 to 5
4 Vector projection
Exercise 4
Find the projection of \(\vec{u} = \langle 4, 3 \rangle\) onto \(\vec{v} = \langle 2, 0 \rangle\)
Definition:

Vector projection: \(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\vec{v}\)

Dot Product
\( \vec{u} \cdot \vec{v} = 8 \)
Magnitude Squared
\( |\vec{v}|^2 = 4 \)
Projection
\( \langle 4, 0 \rangle \)
Step 1: Calculate the dot product

\(\vec{u} \cdot \vec{v} = (4)(2) + (3)(0) = 8 + 0 = 8\)

Step 2: Find magnitude squared of \(\vec{v}\)

\(|\vec{v}|^2 = 2^2 + 0^2 = 4 + 0 = 4\)

Step 3: Apply projection formula

\(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\vec{v} = \frac{8}{4}\vec{v} = 2\vec{v}\)

\(= 2\langle 2, 0 \rangle = \langle 4, 0 \rangle\)

\(\text{proj}_{\vec{v}}\vec{u} = \langle 4, 0 \rangle\)
Final answer:

The projection of \(\vec{u} = \langle 4, 3 \rangle\) onto \(\vec{v} = \langle 2, 0 \rangle\) is \(\langle 4, 0 \rangle\)

Applied rules:

• Projection formula: \(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\vec{v}\)

• Scalar multiplication: Multiply each component by the scalar factor

• Geometric interpretation: Projection is the "shadow" of one vector onto another

5 Dot product properties
Exercise 5
Prove that \(\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos \theta\) using the Law of Cosines
Definition:

Geometric interpretation: The dot product relates to the angle between vectors and their magnitudes

Law of Cosines
\( |\vec{u}-\vec{v}|^2 = |\vec{u}|^2 + |\vec{v}|^2 - 2|\vec{u}||\vec{v}|\cos \theta \)
Algebraic Expansion
\( (\vec{u}-\vec{v}) \cdot (\vec{u}-\vec{v}) = \vec{u} \cdot \vec{u} - 2\vec{u} \cdot \vec{v} + \vec{v} \cdot \vec{v} \)
Result
\( \vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos \theta \)
Step 1: Apply Law of Cosines to triangle formed by \(\vec{u}\), \(\vec{v}\), and \(\vec{u}-\vec{v}\)

\(|\vec{u}-\vec{v}|^2 = |\vec{u}|^2 + |\vec{v}|^2 - 2|\vec{u}||\vec{v}|\cos \theta\)

Step 2: Express the left side using dot product

\(|\vec{u}-\vec{v}|^2 = (\vec{u}-\vec{v}) \cdot (\vec{u}-\vec{v})\)

\(= \vec{u} \cdot \vec{u} - \vec{u} \cdot \vec{v} - \vec{v} \cdot \vec{u} + \vec{v} \cdot \vec{v}\)

\(= |\vec{u}|^2 - 2\vec{u} \cdot \vec{v} + |\vec{v}|^2\)

Step 3: Set equal to Law of Cosines result

\(|\vec{u}|^2 - 2\vec{u} \cdot \vec{v} + |\vec{v}|^2 = |\vec{u}|^2 + |\vec{v}|^2 - 2|\vec{u}||\vec{v}|\cos \theta\)

Step 4: Simplify

\(-2\vec{u} \cdot \vec{v} = -2|\vec{u}||\vec{v}|\cos \theta\)

\(\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos \theta\)

\(\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos \theta\)
Final answer:

The identity \(\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos \theta\) is proven using the Law of Cosines

Applied rules:

• Law of Cosines: Relates sides of triangle to included angle

• Distributive property: \(\vec{u} \cdot (\vec{v} + \vec{w}) = \vec{u} \cdot \vec{v} + \vec{u} \cdot \vec{w}\)

• Self-dot product: \(\vec{u} \cdot \vec{u} = |\vec{u}|^2\)

Comprehensive Guide: Dot Product Applications
\(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y = |\vec{u}||\vec{v}|\cos \theta\)
Dual Definition of Dot Product
Key definitions:

Dot product: A scalar operation that measures how much two vectors point in the same direction

Orthogonal vectors: Vectors that are perpendicular to each other, with a dot product of zero

Projection: The vector component of one vector in the direction of another vector

Angle between vectors: The acute angle formed when vectors are positioned tail to tail

Dot product methodology:
  1. Component form: \(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\) for computational purposes
  2. Geometric form: \(\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos \theta\) for geometric interpretations
  3. Orthogonality test: If \(\vec{u} \cdot \vec{v} = 0\), vectors are perpendicular
  4. Angle calculation: \(\theta = \arccos\left(\frac{\vec{u} \cdot \vec{v}}{|\vec{u}||\vec{v}|}\right)\)
  5. Projection calculation: \(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\vec{v}\)
Tip 1: When the dot product is positive, vectors point in similar directions (angle < 90°).
Tip 2: When the dot product is negative, vectors point in opposite directions (angle > 90°).
Tip 3: The dot product of parallel vectors equals the product of their magnitudes.
Tip 4: Always check that calculated angles are within the valid range [0°, 180°].
Common errors: Forgetting to normalize when finding angles, misapplying orthogonality condition, confusing dot product with cross product.
Exam preparation: Practice angle calculations, memorize projection formula, understand geometric interpretations.
Important properties and applications:

• Commutative: \(\vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u}\)

• Distributive: \(\vec{u} \cdot (\vec{v} + \vec{w}) = \vec{u} \cdot \vec{v} + \vec{u} \cdot \vec{w}\)

• Scalar multiplication: \((c\vec{u}) \cdot \vec{v} = c(\vec{u} \cdot \vec{v})\)

• Self-dot product: \(\vec{u} \cdot \vec{u} = |\vec{u}|^2\)

Visualization: Dot Product Relationships
Understanding How Dot Product Varies with Angle
Visualizing the relationship between angle and dot product:
1. Dot product vs angle between vectors
2. Effect of vector magnitudes on dot product
3. Orthogonal vectors (dot product = 0)
4. Parallel vectors (maximum dot product)

Analysis: The visualization shows how the dot product changes as the angle between vectors varies.

  • Maximum positive value when vectors are parallel
  • Zero when vectors are perpendicular
  • Negative when angle is greater than 90°
  • Maximum negative when vectors are anti-parallel

Questions & Answers

Question: What does the dot product actually measure? What does the number represent geometrically?

Answer: The dot product measures how much two vectors point in the same direction. Geometrically, it's the product of the magnitudes of the two vectors and the cosine of the angle between them: \(\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos \theta\).

  • Positive dot product: Vectors point in similar directions (angle < 90°)
  • Zero dot product: Vectors are perpendicular (orthogonal)
  • Negative dot product: Vectors point in opposite directions (angle > 90°)

It's essentially a measure of the "alignment" of two vectors.

Question: How can I remember the difference between dot product and cross product?

Answer: Here's a helpful way to remember:

  • Dot product: Results in a SCALAR (single number), uses a dot (·), measures similarity in direction
  • Cross product: Results in a VECTOR (has magnitude and direction), uses a cross (×), measures perpendicularity

Also remember: "Dot gets a dot (·) and gives a scalar" vs "Cross gets a cross (×) and gives a vector".

Question: Can the dot product be used to find the area of a parallelogram formed by two vectors?

Answer: No, the dot product cannot be used to find the area of a parallelogram. The dot product is related to the cosine of the angle between vectors, not the sine.

The area of a parallelogram formed by two vectors is found using the magnitude of their cross product: Area = \(|\vec{u} \times \vec{v}|\). In 2D, this equals \(|u_x v_y - u_y v_x|\).

However, the dot product can be used to find the angle between vectors, which could then be used with the formula: Area = \(|\vec{u}||\vec{v}|\sin \theta\).