# Vector algebra (i guess?)

1. Sep 2, 2005

### teclo

hello, i'm taking electrodynamics, and to begin we're doing vector algebra/calculus.

here's the problem i'm faced with. there's a triangle defined by the points.

(1,0,0)
(0,2,0)
(0,0,3)

the task at hand is finding the unit vector orthogonal to the defined plane. the method that occured to me was to find two of the sides of the triange. from there, i could divide the resulting vector by the magnitude (abcos(theta)), giving me n-hat.

in any case, it's been along time since trig, and i'm not sure how i should get the angle theta between the two selected sides. maybe i'm not doing it right, i don't know. any advise would be appreciated!

cheers

2. Sep 2, 2005

### quasar987

I can't understand what you're suggesting, but here's a hint for a way to do it.

HINT: Cross product.

3. Sep 2, 2005

### teclo

yes, call the x-y line vector a, x-z vector b

a X b = |ab|cos theta n(hat)

n(hat) would equal [aXb]/|ab|cos theta

no?

the question remains on how to get the angle. i can't seem to recall and a friend is borrowing my trig/algebra book.

4. Sep 2, 2005

### amcavoy

Try taking the determinant.

$$a\times b=\left|\begin{array}{ccc}i & j & k \\ 1 & -2 & 0 \\ 0 & 2 -& 3\end{array}\right|$$

This will give you one vector orthogonal to the triangle.

5. Sep 2, 2005

### quasar987

Almost. The magnitude of a X b is |ab|sin(theta), not cos(theta). But use apmcavoy's way. Get the vector by the determinant "method", and simply calculate its norm with use of "3-D pythagoras".

6. Sep 2, 2005

### Hyperreality

For me the easiest way is to find the equation of the plane in the form of

ax + by + cz + d = 0.

It follows that the unit vector n-hat ix (a,b,c)

7. Sep 3, 2005

### teclo

thanks, i'm retarded. i had the cross product defined, i just didn't think to make a unit vector out of it. it was pretty trivial dividing my result by 7. thanks again.

cheers