Why Does the Vector Projection Formula Work?

  • Context: MHB 
  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary
SUMMARY

The vector projection formula, expressed as $$\frac{\vec{a} \cdot \vec{b}}{||\vec{b}||^2} \cdot \vec{b}$$, accurately calculates the projection of vector $\vec{a}$ onto vector $\vec{b}$. This formula derives from the relationship between the lengths of the vectors and the cosine of the angle $\theta$ between them, specifically $$\dfrac{||\vec{a}||\cos\theta}{||\vec{b}||}$$. The projection's signed length is determined by the angle between the vectors, and it is essential to multiply by the unit vector in the direction of $\vec{b}$ to maintain the correct orientation of the projection.

PREREQUISITES
  • Understanding of vector notation and operations, including dot products.
  • Familiarity with trigonometric concepts, particularly cosine and angles between vectors.
  • Knowledge of vector magnitudes and unit vectors.
  • Basic grasp of linear algebra concepts related to vector projections.
NEXT STEPS
  • Study the derivation of the vector projection formula in detail.
  • Learn about the geometric interpretation of vector projections in 2D and 3D spaces.
  • Explore applications of vector projections in physics, such as resolving forces.
  • Investigate the relationship between vector projections and orthogonal components in linear algebra.
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who require a solid understanding of vector projections and their applications in various fields.

evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)
Given two vectors $a$ and $b$ why does it hold that the vector projection of $a$ on $ b$ is $$\frac{\vec{a} \cdot \vec{b}}{||\vec{b}||^2} \cdot \vec{b}$$

?
Could you explain to me why the formula holds?
 
Physics news on Phys.org
$$\dfrac{\vec{a}\cdot\vec{b}}{||\vec{b}||^2}$$ may be written as $$\dfrac{||\vec{a}||\cos\theta}{||\vec{b}||}$$.

Does that help?
 
greg1313 said:
$$\dfrac{\vec{a}\cdot\vec{b}}{||\vec{b}||^2}$$ may be written as $$\dfrac{||\vec{a}||\cos\theta}{||\vec{b}||}$$.

Does that help?

How do we use this?
 
$||\vec{a}||\cos\theta$ is the horizontal component of $\vec{a}$. Dividing by $||\vec{b}||$ gives us the ratio by which we want to scale $\vec{b}$.
 
greg1313 said:
$||\vec{a}||\cos\theta$ is the horizontal component of $\vec{a}$. Dividing by $||\vec{b}||$ gives us the ratio by which we want to scale $\vec{b}$.

Could you explain to me what you mean by horizontal component?
 
Every vector may be expressed as the sum of two perpendicular vectors. The horizontal component is the (signed) magnitude (length) of the vector that is adjacent to the angle $\theta$. It may be negative. For example, the vector <-3, 1> has a horizontal component of -3.
 
Last edited:
greg1313 said:
Every vector may be expressed as the sum of two perpendicular vectors. The horizontal component is the (signed) magnitude (length) of the vector that is adjacent to the angle $\theta$. It may be negative. For example, the vector <-3, 1> has a horizontal component of -3.

Is this the only way to see it?
 
The vector projection has the signed length $\|a\|\cos\varphi$ where $\varphi$ is the angle between the two vectors. Since the projection goes in the same direction as $b$ or in the opposite direction, you multiply the length by the unit vector in the direction of $b$, i.e., by $\dfrac{b}{\|b\|}$. The result is
\[
\|a\|\cos\varphi\cdot\frac{b}{\|b\|}=\frac{\|a\|\|b\|\cos\varphi}{\|b\|^2}b=\frac{a\cdot b}{\|b\|^2}b.
\]
 
Evgeny.Makarov said:
The vector projection has the signed length $\|a\|\cos\varphi$ where $\varphi$ is the angle between the two vectors. Since the projection goes in the same direction as $b$ or in the opposite direction, you multiply the length by the unit vector in the direction of $b$, i.e., by $\dfrac{b}{\|b\|}$. The result is
\[
\|a\|\cos\varphi\cdot\frac{b}{\|b\|}=\frac{\|a\|\|b\|\cos\varphi}{\|b\|^2}b=\frac{a\cdot b}{\|b\|^2}b.
\]

Evgeny.Makarov said:
The vector projection has the signed length $\|a\|\cos\varphi$

What exactly do you mean by "signed length"? (Thinking)
Evgeny.Makarov said:
Since the projection goes in the same direction as $b$ or in the opposite direction, you multiply the length by the unit vector in the direction of $b$, i.e., by $\dfrac{b}{\|b\|}$.

Why do we have to multiply the length by the unit vector in the direction of $b$? (Thinking)
 
  • #10
evinda said:
What exactly do you mean by "signed length"?
Suppose that a plane or space has a scale that allows measuring the length of every line segment, in particular, the length of every vector. For example, we may stipulate that all lengths are measured in centimeters.

Suppose that a vector $e$ is given on a plane or in space. Given another vector $v$ that is parallel to $e$, by the signed length of $v$ with respect to $e$ I mean the length of $v$ (in the given scale) if $v$ points in the same direction as $e$ and negative length of $v$ if $v$ points in the opposite direction from $e$. In the previous post, I referred to the vector projection of $a$ on $b$ (thus by definition the projection is parallel to $b$) and its signed length with respect to $b$.

evinda said:
Why do we have to multiply the length by the unit vector in the direction of $b$?
If $\|e\|=1$ and $v$ is parallel to $e$, then $v$ is equal to $e$ multiplied by the signed length of $v$ with respect to $e$. This follows from the definition of multiplication of a vector by a number.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 17 ·
Replies
17
Views
4K
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
26
Views
2K