Question
Question: How do I find the orthogonal projection of two vectors?...
How do I find the orthogonal projection of two vectors?
Solution
Orthogonal projection between two vectors states that the angle between these two vectors is 90∘.
We will put this value into the general formula to find the value of projection.
Formula used: If two vectors a, b are there in a 2D−plane, and they make an angle of θ, then we can write the following equation:
So, The vector projection of b onto a: we said that the length of the projection is ∣b∣cosθ.
So, ∣a∣∣b∣cosθ=ab.
So, it is written as projab.
We can divide both the sides by ∣a∣ to get the value of ∣b∣cosθ.
Complete step-by-step solution:
Let's say, we want to find the projection of x on another y in the same vector space.
Also, consider that the projection is denoted by p.
Then we can set the dot product of these two vectors using the above formula:
x(y−p)cosθ=x(y−p).
But these two vectors are orthogonal, the angle between them should be equal to 90∘.
So, we can rewrite the above equation in following way:
\Rightarrow$$$\left| {\overrightarrow x } \right|\left| {\overrightarrow {(y - p)} } \right|\cos {90^ \circ } = \overrightarrow x \overrightarrow {(y - p)} $$.
We know that the value of $$\cos {90^ \circ } = 0$$, putting it to the above equation, we get:
\Rightarrow\overrightarrow x \overrightarrow {(y - p)} = 0$$.
Now, using the property of dot product, we get the following equation:
$\Rightarrow\overrightarrow x \overrightarrow y - \overrightarrow x \overrightarrow p = 0..........(1).Now,astheprojectionofthesetwovectorsisalongthesideto\overrightarrow x , or $\Rightarrow$$$\overrightarrow p is alongx, p would be some multiple of x.
Let say, p=mx
So, we can rewrite the equation (1) as following:
\Rightarrow$$$\overrightarrow x \overrightarrow y - \overrightarrow x m\overrightarrow x = 0$$
After applying the rules of dot products, we get:
\Rightarrow$xy−xmx=0
So, the require projection vector p would be ∣x∣∣x∣xyx.
Note: Vector projection is the vector produced when one vector is resolved into two component vectors.
One vector is perpendicular to the second vector and the other one is parallel to the second vector.
The parallel one is called a projection vector.