MHB Component of a vector perpendicular to another

Click For Summary
The discussion focuses on finding the vector components of vector A, given as A = -4a_x + 2a_y + 3a_z, relative to vector B, which is corrected to B = 3a_x + 4a_y - a_z. The first part involves calculating the component of A parallel to B using the projection formula, leading to a result that matches the book's answer. For the second part, participants suggest subtracting the parallel component from A to find the perpendicular component, referencing the Gram-Schmidt process. Additionally, general formulas for both parallel and perpendicular components are provided for clarity. Understanding these concepts is essential in linear algebra and related fields.
Drain Brain
Messages
143
Reaction score
0
Given $\overline{A}=-4a_{x}+2a_{y}+3a_{z}$ and $\overline{B}=3a_{x}+4a_{y}-a_{x}$.
1.Find the vector component of A parallel to B
2.Find the vector component of A perpendicular to B

my solution for 1.

$\overline{A}\cdot\overline{b}=-1.372$

$(\overline{A}\cdot\overline{b})(\overline{b})=-0.806a_{x}-1.075a_{y}+0.268a_{z}$

I'm not sure if my method is correct in 1, but it matched the answer at the back of my book. For 2 I have no idea how to attack it. please help. TIA.
 
Physics news on Phys.org
Drain Brain said:
Given $\overline{A}=-4a_{x}+2a_{y}+3a_{z}$ and $\overline{B}=3a_{x}+4a_{y}-a_{x}$.

I'm assuming you meant $\overline{B}=3a_x+4a_y-a_{z}$.

1.Find the vector component of A parallel to B
2.Find the vector component of A perpendicular to B

my solution for 1.

$\overline{A}\cdot\overline{b}=-1.372$

$(\overline{A}\cdot\overline{b})(\overline{b})=-0.806a_{x}-1.075a_{y}+0.268a_{z}$

Hmm; I get that $\overline{A}\cdot\overline{B}=(-4)(3)+(2)(4)+(3)(-1)=-12+8-3=-7.$ This is assuming that $a_x, a_y,$ and $a_z$ are orthonormal. Then $(\overline{A}\cdot\overline{B})\overline{B}=-21a_x-28a_y+7a_z$. But if you're trying to find the component of $\overline{A}$ parallel to $\overline{B}$, you would need to compute
$$\text{proj}_{\overline{B}}(\overline{A})=\frac{\overline{A}\cdot\overline{B}}{\overline{B}\cdot \overline{B}} \, \overline{B},$$
or
$$\frac{1}{9+16+1}(-21a_x-28a_y+7a_z)=-0.807a_x -1.077a_y+0.269a_z,$$
pretty much what you got.

I'm not sure if my method is correct in 1, but it matched the answer at the back of my book. For 2 I have no idea how to attack it. please help. TIA.

Why not subtract the result of your previous calculation from $\overline{A}$? If you take $\overline{A}$, and subtract off from it however much of it is in the direction of $\overline{B}$, you should be left with how much of it is perpendicular to $\overline{B}$, right?

This, by the way, is the beginning of the Gram-Schmidt Orthonormalization Procedure, of great importance in linear algebra and quantum mechanics.
 
Ackbach said:
I'm assuming you meant $\overline{B}=3a_x+4a_y-a_{z}$.
Hmm; I get that $\overline{A}\cdot\overline{B}=(-4)(3)+(2)(4)+(3)(-1)=-12+8-3=-7.$ This is assuming that $a_x, a_y,$ and $a_z$ are orthonormal. Then $(\overline{A}\cdot\overline{B})\overline{B}=-21a_x-28a_y+7a_z$. But if you're trying to find the component of $\overline{A}$ parallel to $\overline{B}$, you would need to compute
$$\text{proj}_{\overline{B}}(\overline{A})=\frac{\overline{A}\cdot\overline{B}}{\overline{B}\cdot \overline{B}} \, \overline{B},$$
or
$$\frac{1}{9+16+1}(-21a_x-28a_y+7a_z)=-0.807a_x -1.077a_y+0.269a_z,$$
pretty much what you got.
Why not subtract the result of your previous calculation from $\overline{A}$? If you take $\overline{A}$, and subtract off from it however much of it is in the direction of $\overline{B}$, you should be left with how much of it is perpendicular to $\overline{B}$, right?

This, by the way, is the beginning of the Gram-Schmidt Orthonormalization Procedure, of great importance in linear algebra and quantum mechanics.

By the way, $\overline{b}$ is the unit vector in the direction of $\overline{B}$
 
Drain Brain said:
By the way, $\overline{b}$ is the unit vector in the direction of $\overline{B}$

Is there a general formula for prob. 2 like what you suggested in prob 1? Thnaks!
 
Drain Brain said:
Is there a general formula for prob. 2 like what you suggested in prob 1? Thnaks!

I'd recommend you take a closer look at the tail end of Post #2.
 
1) The component of vector parallel to another vector is found by the formula

u . v/ l v l
u refers to first vector, . refers to dot product, v is second vector and l v l is magnitude of second vector.

2) The component of vector perpendicular to another vector is found by the formula

P - ( P . Q^) Q^

P refers to first vector, - refers to subtraction, . refers to dot product, Q^ refers to the unit vector in the direction of second vector.

You can ask me for more doubts,

I am a student studying in 8th grade.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
981
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K