Solved Exercises on Dot Product and Its Applications in Precalculus

Master dot product: calculations, angle finding, orthogonality, and applications through these 5 detailed exercises with comprehensive solutions and visual representations.

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, -1 \rangle\)
Definition:

Dot product: The scalar result of multiplying corresponding components of two vectors and summing them: \(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)

Dot product calculation method:
  1. Identify the components of both vectors
  2. Multiply corresponding x-components together
  3. Multiply corresponding y-components together
  4. Add the two products to get the final result
Vectors
\(\vec{u} = \langle 3, 4 \rangle\), \(\vec{v} = \langle 2, -1 \rangle\)
Formula
\(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)
Result
\(\vec{u} \cdot \vec{v} = 2\)
Step 1: Identify vector components

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

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

Step 2: Multiply corresponding x-components

\(u_x \cdot v_x = 3 \cdot 2 = 6\)

Step 3: Multiply corresponding y-components

\(u_y \cdot v_y = 4 \cdot (-1) = -4\)

Step 4: Add the products

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

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

The dot product of \(\vec{u}\) and \(\vec{v}\) is 2

Applied rules:

• Component-wise multiplication: Multiply corresponding components separately

• Summation: Add all products together

• Sign handling: Be careful with negative components

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

Angle between vectors: The angle \(\theta\) between two vectors is found using: \(\cos\theta = \frac{\vec{a} \cdot \vec{b}}{\|\vec{a}\| \|\vec{b}\|}\)

Vectors
\(\vec{a} = \langle 1, 0 \rangle\), \(\vec{b} = \langle 0, 1 \rangle\)
Formula
\(\cos\theta = \frac{\vec{a} \cdot \vec{b}}{\|\vec{a}\| \|\vec{b}\|}\)
Result
\(\theta = 90°\)
Step 1: Calculate the dot product

\(\vec{a} \cdot \vec{b} = (1)(0) + (0)(1) = 0 + 0 = 0\)

Step 2: Calculate magnitudes

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

\(\|\vec{b}\| = \sqrt{0^2 + 1^2} = \sqrt{1} = 1\)

Step 3: Apply the angle formula

\(\cos\theta = \frac{\vec{a} \cdot \vec{b}}{\|\vec{a}\| \|\vec{b}\|} = \frac{0}{1 \cdot 1} = 0\)

Step 4: Find the angle

\(\theta = \arccos(0) = 90°\)

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

The angle between \(\vec{a}\) and \(\vec{b}\) is 90°

Applied rules:

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

• Magnitude calculation: \(\|\vec{v}\| = \sqrt{v_x^2 + v_y^2}\)

• Orthogonality: If dot product is 0, vectors are perpendicular

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 (perpendicular) if and only if their dot product equals zero

Vectors
\(\vec{p} = \langle 2, 3 \rangle\), \(\vec{q} = \langle -6, 4 \rangle\)
Dot product
\(\vec{p} \cdot \vec{q} = -12 + 12 = 0\)
Conclusion
Vectors are orthogonal
Step 1: Calculate the dot product

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

Step 2: Apply orthogonality test

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

Step 3: Verify the conclusion

Two vectors are perpendicular if and only if their dot product is zero

Step 4: State the final answer

The vectors \(\vec{p}\) and \(\vec{q}\) are orthogonal

Vectors are orthogonal
Final answer:

Yes, \(\vec{p}\) and \(\vec{q}\) are orthogonal since their dot product equals zero

Applied rules:

• Orthogonality test: Vectors are orthogonal iff \(\vec{u} \cdot \vec{v} = 0\)

• Dot product calculation: \(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)

• Perpendicularity: Orthogonal means perpendicular (90° angle)

Dot Product: Laws, Methods, and Formulas
\(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)
Dot Product Formula
\(\cos\theta = \frac{\vec{u} \cdot \vec{v}}{\|\vec{u}\| \|\vec{v}\|}\)
Angle Between Vectors
Commutative
\(\vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u}\)
Dot product is commutative
Orthogonal
\(\vec{u} \perp \vec{v} \iff \vec{u} \cdot \vec{v} = 0\)
Perpendicular vectors
Magnitude
\(\vec{v} \cdot \vec{v} = \|\vec{v}\|^2\)
Dot product with itself
Key definitions:

Dot product: The scalar result of multiplying corresponding components of two vectors and summing them. The result can be positive, negative, or zero.

Angle between vectors: The smallest angle formed when two vectors are placed tail-to-tail, ranging from 0° to 180°.

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

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

Scalar result: The dot product produces a single number (scalar), not a vector.

Complete methodology:
  1. Identify vector components: Extract x and y components from both vectors
  2. Apply dot product formula: Multiply corresponding components and sum
  3. For angle calculations: Use the relationship with magnitudes
  4. For orthogonality tests: Check if dot product equals zero
  5. Verify results: Check calculations and interpret geometrically
Tip 1: The dot product is commutative: \(\vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u}\).
Tip 2: If dot product is zero, vectors are perpendicular (orthogonal).
Tip 3: If dot product is positive, the angle is acute (< 90°).
Tip 4: If dot product is negative, the angle is obtuse (> 90°).
Common errors: Forgetting to multiply corresponding components, confusing dot product with vector addition, mixing up the angle formula, forgetting to take square roots for magnitudes.
Applications: Physics (work calculation, force projection), engineering (stress analysis), computer graphics (lighting, collision detection), navigation (course corrections).
Properties to know by heart:

• Dot product: \(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)

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

• Orthogonality: \(\vec{u} \perp \vec{v} \iff \vec{u} \cdot \vec{v} = 0\)

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

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

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

Solution: Exercises 4 to 5
4 Finding projection
Exercise 4
Find the scalar projection of \(\vec{u} = \langle 4, 3 \rangle\) onto \(\vec{v} = \langle 1, 1 \rangle\)
Definition:

Scalar projection: The magnitude of the projection of vector \(\vec{u}\) onto vector \(\vec{v}\), calculated as: \(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{\|\vec{v}\|}\)

Given
\(\vec{u} = \langle 4, 3 \rangle\), \(\vec{v} = \langle 1, 1 \rangle\)
Formula
\(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{\|\vec{v}\|}\)
Result
\(\text{proj}_{\vec{v}}\vec{u} = \frac{7}{\sqrt{2}}\)
Step 1: Calculate the dot product

\(\vec{u} \cdot \vec{v} = (4)(1) + (3)(1) = 4 + 3 = 7\)

Step 2: Calculate the magnitude of \(\vec{v}\)

\(\|\vec{v}\| = \sqrt{1^2 + 1^2} = \sqrt{1 + 1} = \sqrt{2}\)

Step 3: Apply the scalar projection formula

\(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{\|\vec{v}\|} = \frac{7}{\sqrt{2}}\)

Step 4: Rationalize the denominator (optional)

\(\frac{7}{\sqrt{2}} = \frac{7\sqrt{2}}{2} \approx 4.95\)

\(\text{proj}_{\vec{v}}\vec{u} = \frac{7}{\sqrt{2}}\)
Final answer:

The scalar projection of \(\vec{u}\) onto \(\vec{v}\) is \(\frac{7}{\sqrt{2}}\) or \(\frac{7\sqrt{2}}{2}\)

Applied rules:

• Scalar projection: \(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{\|\vec{v}\|}\)

• Magnitude calculation: \(\|\vec{v}\| = \sqrt{v_x^2 + v_y^2}\)

• Rationalization: Multiply numerator and denominator by \(\sqrt{2}\)

5 Advanced application
Exercise 5
If \(\vec{a} = \langle x, y \rangle\) and \(\vec{b} = \langle 2, 3 \rangle\), find the condition for \(\vec{a} \perp \vec{b}\)
Definition:

Condition for orthogonality: Two vectors are perpendicular if and only if their dot product equals zero

Given
\(\vec{a} = \langle x, y \rangle\), \(\vec{b} = \langle 2, 3 \rangle\)
Orthogonality
\(\vec{a} \cdot \vec{b} = 0\)
Condition
\(2x + 3y = 0\)
Step 1: Apply the orthogonality condition

For \(\vec{a} \perp \vec{b}\), we need \(\vec{a} \cdot \vec{b} = 0\)

Step 2: Calculate the dot product

\(\vec{a} \cdot \vec{b} = (x)(2) + (y)(3) = 2x + 3y\)

Step 3: Set the dot product equal to zero

\(2x + 3y = 0\)

Step 4: Solve for the condition

Any vector \(\vec{a} = \langle x, y \rangle\) where \(2x + 3y = 0\) is orthogonal to \(\vec{b}\)

\(2x + 3y = 0\)
Final answer:

The condition for \(\vec{a} \perp \vec{b}\) is \(2x + 3y = 0\), or equivalently \(y = -\frac{2}{3}x\)

Applied rules:

• Orthogonality test: \(\vec{u} \perp \vec{v} \iff \vec{u} \cdot \vec{v} = 0\)

• Dot product calculation: \(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)

• Parametric condition: Express relationship between variables

Dot Product: Comprehensive Summary and Applications
\(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)
Dot Product Formula
Key definitions:

Dot product: The fundamental scalar operation between two vectors that produces a single number representing the product of their magnitudes and the cosine of the angle between them. The algebraic definition is \(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\), and the geometric definition is \(\vec{u} \cdot \vec{v} = \|\vec{u}\| \|\vec{v}\| \cos\theta\).

Angle between vectors: The measure of the smallest angle formed when two vectors are positioned with their tails at the same point. The angle can be found using the formula \(\cos\theta = \frac{\vec{u} \cdot \vec{v}}{\|\vec{u}\| \|\vec{v}\|}\).

Orthogonal vectors: Two vectors are orthogonal (perpendicular) if and only if their dot product equals zero. This occurs when the angle between them is 90°.

Scalar projection: The magnitude of the projection of one vector onto another, calculated as \(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{\|\vec{v}\|}\).

Vector projection: The vector component of \(\vec{u}\) in the direction of \(\vec{v}\), calculated as \(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{\|\vec{v}\|^2}\vec{v}\).

Work in physics: The dot product represents work done when a force vector acts through a displacement vector: \(W = \vec{F} \cdot \vec{d}\).

Complete methodology for dot product applications:
  1. Identify the vectors: Extract components from given vectors or convert from other forms
  2. Choose the appropriate formula: Select the right formula based on what you need to find
  3. Calculate required values: Compute dot products, magnitudes, or angles as needed
  4. Apply geometric relationships: Use the connection between dot product and angle
  5. Interpret results: Understand the geometric or physical meaning of the result
  6. Verify calculations: Check for arithmetic errors and geometric consistency
Tip 1: The dot product is commutative: \(\vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u}\). Order doesn't matter in the calculation.
Tip 2: If the dot product is zero, the vectors are perpendicular (orthogonal). This is a key test for perpendicularity.
Tip 3: If the dot product is positive, the angle between vectors is acute (less than 90°). If negative, the angle is obtuse (greater than 90°).
Tip 4: The dot product of a vector with itself gives the square of its magnitude: \(\vec{v} \cdot \vec{v} = \|\vec{v}\|^2\).
Tip 5: Always double-check magnitude calculations by taking the square root of the sum of squares of components.
Tip 6: Remember that the dot product produces a scalar (single number), not a vector.
Common errors: Forgetting to multiply corresponding components in the dot product calculation, confusing the dot product with vector addition, misapplying the angle formula (forgetting to divide by magnitudes), incorrectly calculating vector magnitudes, confusing scalar and vector projections.
Applications: Physics (calculating work done by forces, determining power), engineering (structural analysis, signal processing), computer graphics (lighting models, collision detection, visibility testing), navigation (course corrections, bearing calculations), economics (optimization problems).
Key relationships: The dot product connects algebraic operations with geometric properties. It reveals the degree of alignment between vectors and provides a bridge between coordinate geometry and vector analysis.
Memorization aids: "Multiply matching parts, then add" for dot product calculation; "cosine of angle equals dot product divided by product of magnitudes" for angle finding.
Essential properties and formulas to know by heart:

• Dot product formula: \(\vec{u} \cdot \vec{v} = u_x v_x + u_y v_y\)

• Geometric interpretation: \(\vec{u} \cdot \vec{v} = \|\vec{u}\| \|\vec{v}\| \cos\theta\)

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

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

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

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

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

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

Visualization: Dot Product Applications
Understanding Dot Product Geometrically
Visualizing how dot product relates to angle between vectors:
- Acute angles (dot product > 0)
- Right angles (dot product = 0)
- Obtuse angles (dot product < 0)

Analysis: The visualization demonstrates how the dot product indicates the relationship between vectors. Positive values mean vectors point in similar directions, zero means perpendicular, and negative means opposite directions.

  • Parallel vectors (θ = 0°): Maximum positive dot product
  • Perpendicular vectors (θ = 90°): Dot product equals zero
  • Opposite vectors (θ = 180°): Maximum negative dot product

Questions & Answers

Question: I'm confused about the geometric meaning of the dot product. What does it actually represent physically?

Answer: The dot product has several important geometric and physical interpretations:

Geometric interpretation: The dot product \(\vec{u} \cdot \vec{v} = \|\vec{u}\| \|\vec{v}\| \cos\theta\) represents the product of the magnitudes of the vectors and the cosine of the angle between them. It measures how much one vector "goes in the direction of" the other.

Physical interpretation: In physics, the dot product represents work done when a force acts through a displacement: \(W = \vec{F} \cdot \vec{d}\). It measures how much of the force contributes to motion in the direction of displacement.

Projection interpretation: The dot product relates to the scalar projection of one vector onto another: \(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{\|\vec{v}\|}\). It tells us the component of one vector in the direction of the other.

Essentially, the dot product measures the degree of alignment between two vectors: positive for similar directions, zero for perpendicular vectors, and negative for opposite directions.

Question: What's the difference between scalar projection and vector projection? How do I calculate each?

Answer: These are two related but different concepts:

Scalar projection: This is a scalar (single number) representing the magnitude of the projection of one vector onto another. The formula is:

\(\text{scalar proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{\|\vec{v}\|}\)

This tells you how long the projection is.

Vector projection: This is a vector that represents the actual projected component of one vector in the direction of another. The formula is:

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

This gives you both the magnitude and direction of the projection.

Notice that the vector projection is the scalar projection multiplied by the unit vector in the direction of \(\vec{v}\): \(\text{vector proj}_{\vec{v}}\vec{u} = \left(\text{scalar proj}_{\vec{v}}\vec{u}\right) \cdot \frac{\vec{v}}{\|\vec{v}\|}\).

Question: How can I tell the difference between acute, right, and obtuse angles using the dot product?

Answer: The sign of the dot product directly indicates the type of angle between two vectors:

Positive dot product: The angle is acute (less than 90°). This happens when \(\cos\theta > 0\), meaning the vectors point in generally similar directions.

Zero dot product: The angle is exactly 90° (right angle). This happens when \(\cos\theta = 0\), meaning the vectors are perpendicular (orthogonal).

Negative dot product: The angle is obtuse (greater than 90°). This happens when \(\cos\theta < 0\), meaning the vectors point in generally opposite directions.

This is a powerful tool because you can quickly determine the nature of the angle without calculating its exact measure. For example, if \(\vec{u} \cdot \vec{v} = -5\), you immediately know the angle is obtuse, even without finding the exact angle value.

Question: Can you explain the relationship between dot product and vector magnitude? I've seen formulas that connect them.

Answer: There's a fundamental relationship between the dot product and vector magnitude:

Self-dot product property: When you take the dot product of a vector with itself, you get the square of its magnitude:

\(\vec{v} \cdot \vec{v} = v_x^2 + v_y^2 = \|\vec{v}\|^2\)

This is because: \(\vec{v} \cdot \vec{v} = v_x \cdot v_x + v_y \cdot v_y = v_x^2 + v_y^2\), and by definition, \(\|\vec{v}\| = \sqrt{v_x^2 + v_y^2}\), so \(\|\vec{v}\|^2 = v_x^2 + v_y^2\).

This relationship is extremely useful for:

  • Finding magnitude: \(\|\vec{v}\| = \sqrt{\vec{v} \cdot \vec{v}}\)
  • Checking calculations: If you calculate \(\vec{v} \cdot \vec{v}\) and it doesn't equal the square of the magnitude, you made an error
  • Deriving other formulas: Many vector identities use this property

This property also connects the algebraic and geometric definitions of the dot product.