English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Given a vector V1 (a, b) in 2d space , what is the simplest way to get unit vector V2 that is orthogonal to V1?

2007-07-11 21:12:12 · 2 answers · asked by teddy 2 in Science & Mathematics Mathematics

2 answers

The dot product of orthogonal vectors is zero. In two dimensions the slopes of perpendicular lines are negative reciprocals. Switch the x and y coefficients and change the sign of one of them.

For vector V1 = , the reciprocal V2 = . Now make it a unit vector by dividing by the magnitude.

V2 = / √(a² + b²)

As a check take the dot product.

V1 • V2 = / √(a² + b²)

V1 • V2 = | ab - ab | / √(a² + b²) = 0 / √(a² + b²) = 0

So they are orthogonal.

2007-07-11 21:20:52 · answer #1 · answered by Northstar 7 · 0 0

You get orthogonal vector when scalar product = 0
for V1(a,b) and V2(a',b') :
aa'+bb'=0

Once you have orthogonal vector, unit vector is given by :
a'²+b'² = 1

Example :
given vector v1(1,1)
if a'=1 then b' = -aa'/b = -1

a'²+b'² = 2
So you have to take (sqrt=square root)
a' = 1/sqrt(2) and b'=-1/sqrt(2) in order to have a'²+b'²=1

2007-07-12 04:15:12 · answer #2 · answered by Scanie 5 · 0 0

fedest.com, questions and answers