Why Does the Vector Projection Formula Work?

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

Discussion Overview

The discussion revolves around the vector projection formula, specifically why the projection of vector \( \vec{a} \) onto vector \( \vec{b} \) is expressed as \( \frac{\vec{a} \cdot \vec{b}}{||\vec{b}||^2} \cdot \vec{b} \). Participants explore the mathematical reasoning behind this formula, its components, and the concept of signed length in vector projections.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant asks for an explanation of why the vector projection formula holds.
  • Another participant suggests that the term \( \frac{\vec{a} \cdot \vec{b}}{||\vec{b}||^2} \) can be expressed as \( \frac{||\vec{a}||\cos\theta}{||\vec{b}||} \), questioning if this is helpful.
  • Participants discuss the meaning of the horizontal component of \( \vec{a} \) and how it relates to scaling \( \vec{b} \).
  • There is a clarification that every vector can be expressed as the sum of two perpendicular vectors, with the horizontal component being the signed magnitude adjacent to angle \( \theta \).
  • One participant explains that the projection has a signed length \( ||a||\cos\varphi \), where \( \varphi \) is the angle between the vectors, and discusses the need to multiply by the unit vector in the direction of \( b \).
  • Another participant seeks clarification on the term "signed length" and its implications in the context of vector projections.

Areas of Agreement / Disagreement

Participants express various interpretations of the vector projection formula and its components, leading to multiple competing views on the definitions and implications of terms like "horizontal component" and "signed length." The discussion remains unresolved with no consensus reached.

Contextual Notes

There are limitations in the discussion regarding the definitions of terms used, such as "horizontal component" and "signed length," which may depend on specific contexts or interpretations. Additionally, the mathematical steps leading to the projection formula are not fully resolved.

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