How to find orthogonal vectors?

  • Thread starter Thread starter meteorologist1
  • Start date Start date
  • Tags Tags
    Orthogonal Vectors
Click For Summary
SUMMARY

To find orthogonal vectors in R^6, one must ensure that the dot product of the given vector and the desired orthogonal vector equals zero. For example, given a vector <1, -3, 4, 1, -1, 2>, valid orthogonal vectors can be constructed by setting all but two components to zero, such as <3, 1, 0, 0, 0, 0> or <2, 0, 0, 0, 0, -1>. The general approach involves choosing values for n-1 components freely while calculating the nth component to satisfy the orthogonality condition. This method can be generalized from lower dimensions, such as R^2 and R^4.

PREREQUISITES
  • Understanding of vector dot products
  • Familiarity with R^n vector spaces
  • Basic knowledge of linear algebra concepts
  • Ability to manipulate algebraic equations
NEXT STEPS
  • Study the properties of orthogonal vectors in higher dimensions
  • Learn about the Gram-Schmidt process for orthogonalization
  • Explore applications of orthogonal vectors in machine learning
  • Investigate the role of orthogonality in signal processing
USEFUL FOR

Mathematicians, students of linear algebra, data scientists, and anyone interested in understanding vector orthogonality in multi-dimensional spaces.

meteorologist1
Messages
98
Reaction score
0
Hi, this might be very easy, but I forgot how to do the following: I have a vector in R^6: (x1, x2, x3, x4, x5, x6). How do I find a vector such that their dot product vanishes? I know how to do it for the two dimensional case: (x1, x2), so the vector that is perpendicular to it is c(-x2, x1) where c is a scalar. Could someone show me how to do it for the vector in R^6 case?
 
Physics news on Phys.org
Take the cross product of your vector and any other vector that has the same origin (any unit vector usually fits the bill and is easiest since only one axis is non-zero).
 
Ok I see. I'm not sure how to do a cross product for a six-component vector though. Could you please show me?
 
The only condition on the vector is that its dot product with x vanishes?

Just solve

\vec{x}\cdot\vec{y} = 0

--J
 
Given a vector in n-dimensions, there is a whole (n-1)-dimensional hyperplane of vectors that are orthogonal to that vector.

Let me do the 4D-case. The 6D-case is easily obtained by generalizing.
Given V=(x1,x2,x3,x4), choose W=(w1,w2,w3,w4) such that
0=(V dot W)=x1w1+x2w2+x3w3+x4w4.

One choice is w1=-x2, w2=x1, w3=0, w4=0. (This is a generalization of your 2D example).

Basically, you can choose values for three components of W. The fourth is determined by the requirement that 0=(V dot W).
 
since someone has already posted the answer... I will show you another alternative method for this problem

let's say you have vector x in R^n, and want to find a vector y orthogonal to it
we know the dot product of these two vector must be zero

\vec{x} \cdot \vec{y} = 0

\Rightarrow x_{1} y_{1} + x_{2} y_{2} + x_{3} y_{3} + ...+ x_{n-1} y_{n-1} + x_{n} y_{n} = 0

\Rightarrow x_{1} y_{1}+ x_{2} y_{2} + x_{3} y_{3} + ...+ x_{n-1} y_{n-1} = - x_{n} y_{n}

\Rightarrow y_{n} = -(x_{1} y_{1} + x_{2} y_{2} + x_{3} y_{3} +...+ x_{n-1} y_{n-1}) / x_{n}

now, you have more freedom to vary y_{1}.y_{2}...y_{n-1} , as long as you the y_{n} follows the formulas above :biggrin:
 
If you know how to do it with 2 dim vectors, just take a vector with all except two components 0 and fix the other 2 to give a 0 dot product!

For example, to find a vector orthogonal to <1, -3, 4, 1 , -1, 2>, take all except the first two components 0, take the first two 3 and 1 respectively: <3, 1, 0, 0, 0, 0>.

Of course, there are many independent vectors orthogonal to a given six dimensional vector (not true in 2 dimensions). You could also choose to make all except the first and last components 0: <2, 0, 0, 0, 0, -1>.

OR <0, 4, 3, 0, 0, 0>

OR ...
 
All right thanks all.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
695
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
863
  • · Replies 23 ·
Replies
23
Views
3K
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
16
Views
2K
  • · Replies 50 ·
2
Replies
50
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K