Vector Projection

Master vector projection: definition, formula, applications, orthogonal decomposition, and applications through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic vector projection
Exercise 1
Find the projection of \(\vec{u} = \langle 6, 8 \rangle\) onto \(\vec{v} = \langle 3, 4 \rangle\)
Definition:

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

Projection calculation:
  1. Calculate the dot product \(\vec{u} \cdot \vec{v}\)
  2. Calculate the magnitude squared \(|\vec{v}|^2\)
  3. Compute the scalar multiplier \(\frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\)
  4. Multiply this scalar by vector \(\vec{v}\)
Dot Product
\(\vec{u} \cdot \vec{v} = 50\)
Magnitude Squared
\(|\vec{v}|^2 = 25\)
Projection
\(\langle 6, 8 \rangle\)
Step 1: Calculate the dot product

\(\vec{u} \cdot \vec{v} = (6)(3) + (8)(4) = 18 + 32 = 50\)

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

\(|\vec{v}|^2 = 3^2 + 4^2 = 9 + 16 = 25\)

Step 3: Compute the scalar multiplier

\(\frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2} = \frac{50}{25} = 2\)

Step 4: Multiply scalar by vector \(\vec{v}\)

\(\text{proj}_{\vec{v}}\vec{u} = 2\vec{v} = 2\langle 3, 4 \rangle = \langle 6, 8 \rangle\)

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

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

Applied rules:

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

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

• Scalar multiplication: Multiply each component by the scalar

2 Orthogonal decomposition
Exercise 2
Decompose \(\vec{w} = \langle 5, 2 \rangle\) into components parallel and perpendicular to \(\vec{t} = \langle 3, 0 \rangle\)
Definition:

Orthogonal decomposition: \(\vec{w} = \text{proj}_{\vec{t}}\vec{w} + \vec{w}_{\perp}\) where \(\vec{w}_{\perp} = \vec{w} - \text{proj}_{\vec{t}}\vec{w}\)

Parallel Component
\(\text{proj}_{\vec{t}}\vec{w} = \langle 5, 0 \rangle\)
Perpendicular Component
\(\vec{w}_{\perp} = \langle 0, 2 \rangle\)
Step 1: Calculate the projection

\(\vec{w} \cdot \vec{t} = (5)(3) + (2)(0) = 15\)

\(|\vec{t}|^2 = 3^2 + 0^2 = 9\)

\(\text{proj}_{\vec{t}}\vec{w} = \frac{15}{9}\langle 3, 0 \rangle = \frac{5}{3}\langle 3, 0 \rangle = \langle 5, 0 \rangle\)

Step 2: Calculate the perpendicular component

\(\vec{w}_{\perp} = \vec{w} - \text{proj}_{\vec{t}}\vec{w} = \langle 5, 2 \rangle - \langle 5, 0 \rangle = \langle 0, 2 \rangle\)

Step 3: Verify the decomposition

\(\text{proj}_{\vec{t}}\vec{w} + \vec{w}_{\perp} = \langle 5, 0 \rangle + \langle 0, 2 \rangle = \langle 5, 2 \rangle = \vec{w}\)

\(\vec{w} = \langle 5, 0 \rangle + \langle 0, 2 \rangle\)
Final answer:

Parallel component: \(\langle 5, 0 \rangle\), Perpendicular component: \(\langle 0, 2 \rangle\)

Applied rules:

• Orthogonal decomposition: Any vector can be split into parallel and perpendicular components

• Parallel component: Equals the projection onto the reference vector

• Perpendicular component: Difference between original vector and projection

3 Scalar projection
Exercise 3
Find the scalar projection of \(\vec{a} = \langle 4, 3 \rangle\) onto \(\vec{b} = \langle 1, 1 \rangle\)
Definition:

Scalar projection: The magnitude of the vector projection: \(\text{comp}_{\vec{b}}\vec{a} = \frac{\vec{a} \cdot \vec{b}}{|\vec{b}|}\)

Dot Product
\(\vec{a} \cdot \vec{b} = 7\)
Magnitude
\(|\vec{b}| = \sqrt{2}\)
Scalar Projection
\(\frac{7}{\sqrt{2}}\)
Step 1: Calculate the dot product

\(\vec{a} \cdot \vec{b} = (4)(1) + (3)(1) = 4 + 3 = 7\)

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

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

Step 3: Apply scalar projection formula

\(\text{comp}_{\vec{b}}\vec{a} = \frac{\vec{a} \cdot \vec{b}}{|\vec{b}|} = \frac{7}{\sqrt{2}} = \frac{7\sqrt{2}}{2}\)

\(\text{comp}_{\vec{b}}\vec{a} = \frac{7\sqrt{2}}{2}\)
Final answer:

The scalar projection of \(\vec{a} = \langle 4, 3 \rangle\) onto \(\vec{b} = \langle 1, 1 \rangle\) is \(\frac{7\sqrt{2}}{2}\)

Applied rules:

• Scalar projection: Measures the length of the projection vector

• Formula: \(\text{comp}_{\vec{b}}\vec{a} = \frac{\vec{a} \cdot \vec{b}}{|\vec{b}|}\)

• Relationship: Scalar projection × unit vector = vector projection

Vector Projection: Properties and Applications
\(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\vec{v}, \quad \text{comp}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|}\)
Vector and Scalar Projection Formulas
Vector Projection
\( \text{proj}_{\vec{v}}\vec{u} \)
Vector in direction of \(\vec{v}\)
Scalar Projection
\( \text{comp}_{\vec{v}}\vec{u} \)
Magnitude of projection
Orthogonal Component
\( \vec{u}_{\perp} = \vec{u} - \text{proj}_{\vec{v}}\vec{u} \)
Perpendicular to \(\vec{v}\)
Key definitions:

Vector projection: The component of vector \(\vec{u}\) that lies along vector \(\vec{v}\)

Scalar projection: The magnitude of the vector projection, representing the length of the projection

Orthogonal decomposition: Splitting a vector into parallel and perpendicular components relative to another vector

Unit vector: A vector with magnitude 1 in the direction of \(\vec{v}\): \(\hat{v} = \frac{\vec{v}}{|\vec{v}|}\)

Projection methodology:
  1. Calculate dot product: Find \(\vec{u} \cdot \vec{v}\)
  2. Calculate magnitude: Find \(|\vec{v}|\) or \(|\vec{v}|^2\)
  3. Apply formula: Use appropriate projection formula
  4. Verify result: Check that the projected vector is in the direction of \(\vec{v}\)
  5. Orthogonal check: Confirm that \(\vec{u}_{\perp}\) is perpendicular to \(\vec{v}\)
Tip 1: The vector projection is always in the same direction as the reference vector.
Tip 2: If vectors are parallel, the projection equals the original vector.
Tip 3: The perpendicular component is always orthogonal to the reference vector.
Solution: Exercises 4 to 5
4 Angle between projection and original vector
Exercise 4
Find the angle between \(\vec{u} = \langle 3, 4 \rangle\) and its projection onto \(\vec{v} = \langle 1, 2 \rangle\)
Definition:

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

Projection
\( \text{proj}_{\vec{v}}\vec{u} = \langle \frac{11}{5}, \frac{22}{5} \rangle \)
Dot Product
\( \vec{u} \cdot \text{proj}_{\vec{v}}\vec{u} = 25 \)
Angle
\( \theta = 0° \)
Step 1: Calculate the projection

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

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

\(\text{proj}_{\vec{v}}\vec{u} = \frac{11}{5}\langle 1, 2 \rangle = \langle \frac{11}{5}, \frac{22}{5} \rangle\)

Step 2: Calculate the dot product of \(\vec{u}\) and its projection

\(\vec{u} \cdot \text{proj}_{\vec{v}}\vec{u} = (3)\left(\frac{11}{5}\right) + (4)\left(\frac{22}{5}\right) = \frac{33}{5} + \frac{88}{5} = \frac{121}{5}\)

Step 3: Calculate magnitudes

\(|\vec{u}| = \sqrt{3^2 + 4^2} = 5\)

\(|\text{proj}_{\vec{v}}\vec{u}| = \sqrt{\left(\frac{11}{5}\right)^2 + \left(\frac{22}{5}\right)^2} = \sqrt{\frac{121}{25} + \frac{484}{25}} = \sqrt{\frac{605}{25}} = \frac{11\sqrt{5}}{5}\)

Step 4: Apply angle formula

\(\cos \theta = \frac{\vec{u} \cdot \text{proj}_{\vec{v}}\vec{u}}{|\vec{u}||\text{proj}_{\vec{v}}\vec{u}|} = \frac{\frac{121}{5}}{5 \cdot \frac{11\sqrt{5}}{5}} = \frac{\frac{121}{5}}{11\sqrt{5}} = \frac{121}{55\sqrt{5}} = \frac{11}{5\sqrt{5}} = \frac{11\sqrt{5}}{25}\)

Actually, since the projection is in the same direction as \(\vec{v}\), and we're looking for the angle between \(\vec{u}\) and its projection onto \(\vec{v}\), the angle is the same as the angle between \(\vec{u}\) and \(\vec{v}\).

Let's recalculate: \(\cos \theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}||\vec{v}|} = \frac{11}{5\sqrt{5}} = \frac{11\sqrt{5}}{25}\)

But since the projection is in the same direction as \(\vec{v}\), the angle between \(\vec{u}\) and \(\text{proj}_{\vec{v}}\vec{u}\) is the same as between \(\vec{u}\) and \(\vec{v}\).

Wait - the projection is a scalar multiple of \(\vec{v}\), so it's in the same direction as \(\vec{v}\). Therefore, the angle between \(\vec{u}\) and its projection onto \(\vec{v}\) is the same as the angle between \(\vec{u}\) and \(\vec{v}\).

\(\theta = \arccos\left(\frac{11\sqrt{5}}{25}\right) \approx 24.4°\)
Final answer:

The angle between \(\vec{u} = \langle 3, 4 \rangle\) and its projection onto \(\vec{v} = \langle 1, 2 \rangle\) is the same as the angle between \(\vec{u}\) and \(\vec{v}\), which is approximately 24.4°

Applied rules:

• Projection direction: The projection is always in the direction of the reference vector

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

• Geometric insight: The angle between a vector and its projection equals the angle between the vector and the reference vector

5 Projection properties proof
Exercise 5
Prove that the vector \(\vec{u}_{\perp} = \vec{u} - \text{proj}_{\vec{v}}\vec{u}\) is orthogonal to \(\vec{v}\)
Definition:

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

Definition
\( \vec{u}_{\perp} = \vec{u} - \text{proj}_{\vec{v}}\vec{u} \)
Dot Product
\( \vec{u}_{\perp} \cdot \vec{v} = 0 \)
Result
Orthogonal
Step 1: Write the definition of the perpendicular component

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

Step 2: Calculate the dot product \(\vec{u}_{\perp} \cdot \vec{v}\)

\(\vec{u}_{\perp} \cdot \vec{v} = \left(\vec{u} - \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\vec{v}\right) \cdot \vec{v}\)

Step 3: Apply distributive property of dot product

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

Step 4: Simplify using \(\vec{v} \cdot \vec{v} = |\vec{v}|^2\)

\(\vec{u}_{\perp} \cdot \vec{v} = \vec{u} \cdot \vec{v} - \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2} \cdot |\vec{v}|^2 = \vec{u} \cdot \vec{v} - \vec{u} \cdot \vec{v} = 0\)

\(\vec{u}_{\perp} \cdot \vec{v} = 0\)
Final answer:

Since \(\vec{u}_{\perp} \cdot \vec{v} = 0\), the vector \(\vec{u}_{\perp}\) is orthogonal to \(\vec{v}\)

Applied rules:

• Distributive property: \((\vec{a} + \vec{b}) \cdot \vec{c} = \vec{a} \cdot \vec{c} + \vec{b} \cdot \vec{c}\)

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

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

Comprehensive Guide: Vector Projection
\(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\vec{v}, \quad \vec{u} = \text{proj}_{\vec{v}}\vec{u} + \vec{u}_{\perp}\)
Vector Projection and Decomposition
Key definitions:

Vector projection: The component of vector \(\vec{u}\) that lies along the direction of vector \(\vec{v}\)

Scalar projection: The magnitude of the vector projection, representing how much of \(\vec{u}\) is in the direction of \(\vec{v}\)

Orthogonal component: The part of \(\vec{u}\) that is perpendicular to \(\vec{v}\)

Orthogonal decomposition: Expressing a vector as the sum of components parallel and perpendicular to another vector

Projection methodology:
  1. Identify vectors: Determine which vector is being projected and which is the reference
  2. Calculate dot product: Find the dot product of the two vectors
  3. Calculate magnitude squared: Find the square of the reference vector's magnitude
  4. Apply projection formula: Use \(\text{proj}_{\vec{v}}\vec{u} = \frac{\vec{u} \cdot \vec{v}}{|\vec{v}|^2}\vec{v}\)
  5. Find orthogonal component: Calculate \(\vec{u}_{\perp} = \vec{u} - \text{proj}_{\vec{v}}\vec{u}\)
Tip 1: The projection of \(\vec{u}\) onto \(\vec{v}\) is always in the same direction as \(\vec{v}\).
Tip 2: If \(\vec{u}\) and \(\vec{v}\) are parallel, then \(\text{proj}_{\vec{v}}\vec{u} = \vec{u}\).
Tip 3: The orthogonal component is always perpendicular to the reference vector.
Tip 4: The sum of the parallel and perpendicular components equals the original vector.
Common errors: Confusing vector and scalar projections, forgetting to square the magnitude in the denominator, mixing up the vectors in the formula.
Exam preparation: Practice decomposition problems, memorize both projection formulas, understand geometric interpretations.
Important properties and applications:

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

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

• Orthogonal decomposition: \(\vec{u} = \text{proj}_{\vec{v}}\vec{u} + \vec{u}_{\perp}\)

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

Visualization: Projection Relationships
Understanding How Projection Changes with Angle
Visualizing the relationship between angle and projection length:
1. Scalar projection vs angle between vectors
2. Effect of vector magnitudes on projection
3. Maximum projection when vectors are parallel
4. Zero projection when vectors are perpendicular

Analysis: The visualization shows how the scalar projection changes as the angle between vectors varies.

  • Maximum value when vectors are parallel (angle = 0°)
  • Zero when vectors are perpendicular (angle = 90°)
  • Negative when angle is greater than 90°
  • Zero when vectors are anti-parallel (angle = 180°)

Questions & Answers

Question: What's the difference between vector projection and scalar projection? When would I use each?

Answer: The key differences are:

  • Vector projection: Results in a vector (has both magnitude and direction)
  • Scalar projection: Results in a single number (just magnitude)

Use vector projection when you need the actual vector component in a specific direction. Use scalar projection when you only need the magnitude of the projection, such as when calculating work done by a force in a particular direction.

Question: Why is the perpendicular component important? What does it represent geometrically?

Answer: The perpendicular component represents the part of the original vector that is independent of (not aligned with) the reference vector. It's important because:

  • Together with the parallel component, it completely reconstructs the original vector
  • It's useful in physics for separating forces into components acting in different directions
  • It's essential for understanding how much of a vector operates in a direction orthogonal to another

Geometrically, it's the "leftover" part after removing the component that aligns with the reference vector.

Question: Can I project a vector onto another vector that starts from a different point?

Answer: Yes, you can project any vector onto another vector regardless of their positions. Vectors are defined by their magnitude and direction, not by their position in space. When we talk about projecting vector \(\vec{u}\) onto vector \(\vec{v}\), we're considering their directional relationship, not their locations.

In practice, we often place both vectors at the origin to make calculations easier, but this doesn't change the result of the projection.