Vectors


By Anonymous on Wednesday, February 14, 2001 - 04:23 pm :

Hi,

How do you find a vector which is perpendicular to both a and b where:

a = 2i - 3j - 4k
b = 4i - 4j + k

Thank you.


By Dan Goodman (Dfmg2) on Wednesday, February 14, 2001 - 04:47 pm :

Well, there are a variety of ways of doing it, depending on how much you know about vectors. Do you know about the dot product of two vectors, a .b =ax bx +ay by +az bz , which is 0 if a and b are perpendicular?


By Kerwin Hui (Kwkh2) on Wednesday, February 14, 2001 - 04:51 pm :

Use the vector (cross) product to get

a xb =-19i -18j +4k

Alternatively, consider the intersection of two planes

x .a =0; x .b =0

and solve for x , which will have a degree of freedom.

Kerwin


By Anonymous on Wednesday, February 14, 2001 - 05:20 pm :

Hi,

Dan, I have heard of the dot product of two vectors. Kerwin, I have not learnt 'degree of freedom'.

Dan, but I don't know how to use this fact to find the answer to the question. Can you help?

In our case, a.b = (2x4) + (-3x-4) + (-4x1) = 8 + 12 - 4 = 16? Now what do we do?


By Kerwin Hui (Kwkh2) on Wednesday, February 14, 2001 - 05:32 pm :

Well, let x =xi +yj +zk , and substitute into

x.a =0; x.b =0

we have

2x-3y-4z=0
4x-4y+z=0

for x to be perpendicular to both a and b . Now we can fix one of x, y, z and solve the equation simultaneously to give the other 2 in terms of the one we fixed. This is known as a degree of freedom because you can choose the value of one variable freely. Now, say we fix x=1 and we find y=18/19, z=-4/19. (Obviously we want to avoid the case x =0 )

Kerwin


By Dan Goodman (Dfmg2) on Wednesday, February 14, 2001 - 05:56 pm :
Anon, do you know that the dot product of two vectors is 0 if the two vectors are perpendicular? If you know that the dot product is equal to a.b=|a||b|cosq, where |a| and |b| are the lengths of |a| and |b| respectively, and q is the angle between the two vectors, then this is obvious, because cos(90°)=0. If not, I can show you why this is true. Once you have this, you want a vector x=(x,y,z)=xi+yj+zk such that x.a=0 and x.b=0. If you could find that vector, then it would be perpendicular to both a and b. If you expand these two dot products out, you get the two equations that Kerwin gave above. These two equations can be solved to give a vector perpendicular to both a and b. What Kerwin means by ''a degree of freedom'' is that if x is perpendicular to a and b, then 2x, 3x, px, 2.464x, and so on are also perpendicular to them, so there is a whole line of solutions.
By Anonymous on Wednesday, February 14, 2001 - 06:15 pm :

Thanks Kerwin, Dan for your explanations.

Here is what I think I have to do,

a = 2i - 3j - 4k
b = 4i - 3j + k

and let the perpendicular vector what we need to find the values of x,y,z, be c ,
c = xi + yj + zk

From what you said, that a vector is perpendicular to eachother, then,
b .c = a .c = 0 (because as you said Dan, cos90=0, thus at right angles to eachother)

a .c = (2x)i + (-3y)j + (-4z)k = 0
b .c = (4x)i + (-3y)j + (z)k = 0

Hence we can write as,
2x - 3y - 4z = 0
4x - 3y + z = 0

I lost you when you said, to let x=1 and then solve the 2 equations, why can you choose any value of x?


By Kerwin Hui (Kwkh2) on Wednesday, February 14, 2001 - 06:37 pm :

Well, first of all, a.c etc. are scalars, so there should not be any i, j, k in the answer.

Now, if you consider the two planes, they intersect at a line through origin. Any vector on the line will do the job. Another way of thinking about this is that we have 3 unknowns but only 2 equations, so we can only expressed 2 variables in terms of the third. Thus, you can take an arbitrary value of x and solve for y, z and still have a vector satisfying the required condition.

Kerwin


By Anonymous on Wednesday, February 14, 2001 - 06:52 pm :

Thanks,
How do I prove the Cosine rule using Vector methods?


By Kerwin Hui (Kwkh2) on Wednesday, February 14, 2001 - 07:34 pm :
Let a, b denote the vectors O A, O B respectively. Then, for triangle O A B:

O A2=a.a

O B2=b.b

A B2=(a-b).(a-b)=a.a -2a.b+b.b

which gives the required result when you substitute a.b = a bcosq

Kerwin


By Anonymous on Friday, February 16, 2001 - 11:21 am :

Thanks Kerwin.

How do you prove that the angle in a semi-circle is a right angle by vector methods?


By Kerwin Hui (Kwkh2) on Friday, February 16, 2001 - 01:52 pm :

Let AC be the diameter, and O be the mid-point. Further, let B be a point on the circumference. Let OA, OB be a , b respectively and we are required to show that

(a -b ).(a +b )=0,

which is immediate because a2 =b2 =r2 , where r is the radius of the circle.

Kerwin


By Anonymous on Friday, February 16, 2001 - 02:10 pm :

Thanks Kerwin.


By Anonymous on Friday, February 16, 2001 - 02:13 pm :

If A(2,1,7), B(-3,1,4), C(2,-1,5) how do you find the cosine of < ABC (angle ABC) using vector methods?

Do you find vector BC and BA? Then use a.b=|a||b|cosq?


By Kerwin Hui (Kwkh2) on Friday, February 16, 2001 - 05:46 pm :

Yes, that is the right method.


By Anonymous on Friday, February 16, 2001 - 10:40 pm :

Thanks Kerwin.