Orthogonal and Parallel Vectors

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
17 replies · 6K views
_N3WTON_
Messages
350
Reaction score
3

Homework Statement


For the following vectors 'u' and 'v', express 'u' as the sum u = p + n where 'p' is parallel to 'v' and 'n' is orthogonal to 'v'
u = {-1, 2, 3}
v = {2, 1, 1}

Homework Equations


Dot product
Cross product

The Attempt at a Solution


First, I should say that I do not know how to use latex for determinants, so if somebody can help me out there I could make this problem a bit easier to read. Now, I am aware that two vectors are orthogonal if their dot product is 0 and parallel if their cross product is zero. I used this knowledge to attempt to solve the problem:
0 = p x v
0 = n 'dot' v
To attempt to figure out the value of p={a, b, c} I performed the cross product and obtained:
[itex]i (c-b) - j (2c-a) + k (2b-a) = 0[/itex]
[itex]c = b[/itex]
[itex]2c = a[/itex]
[itex]2b = a[/itex]
Next, to attempt to figure out the value of n={x, y, z} I performed a the dot product and obtained:
[itex](2, 1, 1) dot (x, y, z)[/itex]
[itex]2x + y + z = 0[/itex]
At this point I am not sure what to do, if somebody could give me some advice I'd greatly appreciate it.
 
Physics news on Phys.org
_N3WTON_ said:

Homework Statement


For the following vectors 'u' and 'v', express 'u' as the sum u = p + n where 'p' is parallel to 'v' and 'n' is orthogonal to 'v'
u = {-1, 2, 3}
v = {2, 1, 1}

Homework Equations


Dot product
Cross product

The Attempt at a Solution


First, I should say that I do not know how to use latex for determinants, so if somebody can help me out there I could make this problem a bit easier to read. Now, I am aware that two vectors are orthogonal if their dot product is 0 and parallel if their cross product is zero. I used this knowledge to attempt to solve the problem:
0 = p x v
0 = n 'dot' v
To attempt to figure out the value of p={a, b, c} I performed the cross product and obtained:
[itex]i (c-b) - j (2c-a) + k (2b-a) = 0[/itex]
[itex]c = b[/itex]
[itex]2c = a[/itex]
[itex]2b = a[/itex]
Next, to attempt to figure out the value of n={x, y, z} I performed a the dot product and obtained:
[itex](2, 1, 1) dot (x, y, z)[/itex]
[itex]2x + y + z = 0[/itex]
At this point I am not sure what to do, if somebody could give me some advice I'd greatly appreciate it.

You are thinking too hard. cv is parallel to v for any choice of scalar c. Let that be parallel part. Then the other part of the sum must be u-cv. Find c by making sure u-cv is perpendicular to v using the dot product.
 
Dick said:
You are thinking too hard. cv is parallel to v for any choice of scalar c. Let that be parallel part. Then the other part of the sum must be u-cv. Find c by making sure u-cv is perpendicular to v using the dot product.
Ok so I made c =2:
cv = {4, 2, 2} = p
n = u - p = {-1, 2, 3} - {4, 2, 2} = {-5, 0 , 2}
u = p + n = {4, 2, 2} + {-5, 0 ,2} = {-1, 2, 4}
is the problem really this simple? XD
 
_N3WTON_ said:
Ok so I made c =2:
cv = {4, 2, 2} = p
n = u - p = {-1, 2, 3} - {4, 2, 2} = {-5, 0 , 2}
u = p + n = {4, 2, 2} + {-5, 0 ,2} = {-1, 2, 4}
is the problem really this simple? XD

Yes, it's basically that simple. But I don't get c=2. Your n isn't perpendicular to v. How did you get that?
 
Dick said:
Yes, it's basically that simple. But I don't get c=2. Your n isn't perpendicular to v. How did you get that?
It was arbitrary, I thought two vectors are parallel so long as their components are proportional, {4, 2, 2} is proportional to {2, 1, 1}, no?
 
_N3WTON_ said:
It was arbitrary, I thought two vectors are parallel so long as their components are proportional, {4, 2, 2} is proportional to {2, 1, 1}, no?

Yes, but u-cv needs to be perpendicular to v as well. That's what determines c.
 
Dick said:
Yes, but u-cv needs to be perpendicular to v as well. That's what determines c.
ohhh...ok, let me try again..
 
nvm I thought I knew how to do it but I dont...would I find c by:
{-1, 2, 3} - c{2, 1, 1} = 0 ?
 
_N3WTON_ said:
nvm I thought I knew how to do it but I dont...would I find c by:
{-1, 2, 3} - c{2, 1, 1} = 0 ?

No. u-cv is supposed to perpendicular to v. Use the dot product! So (u-cv).v=0. Solve that.
 
Dick said:
No. u-cv is supposed to perpendicular to v. Use the dot product! So (u-cv).v=0. Solve that.
sorry I thought I solved it but made a mistake...trying again
 
Ok I got c=1/2, is that correct?
 
sorry, I should show how I got that...
(u-cv).v = 0
u.v - cv.v = 0
{-1,2,3}.{2,1,1} - c{2,1,1}.{2,1,1} = 0
3 - 6c = 0
c = 1/2
 
Just to state, about the general case, that in any vector space V where orthogonality makes sense and W is a subspace of V , we have ## V= W \oplus W^{\perp} ## then every vector can be written as the sum of a vector w in W and a vector ## w^{\perp}## in ## W^{\perp} ##. This also follows from the Fundamental Theorem of Linear Algebra.
 
Dick said:
Yes, c=1/2 not 2.
thank you for your help...youre right, i was thinking to much about that one XD
 
sd
WWGD said:
Just to state, about the general case, that in any vector space V where orthogonality makes sense and W is a subspace of V , we have ## V= W \oplus W^{\perp} ## then every vector can be written as the sum of a vector w in W and a vector ## w^{\perp}## in ## W^{\perp} ##. This also follows from the Fundamental Theorem of Linear Algebra.
I appreciate your help but I'm not familiar with the FToLA (perhaps you could elaborate)...I plan on taking Linear Algebra next semester :D