How do we construct an Orthonormal Basis from a Single Vector a?

How do we construct an Orthonormal Basis from a Single Vector a?



By using Cross Product, we can find a new basis denoted as u, v, and w.

1. Make w a unit vector in the direction of a:
w = a / ||a||

2. Then choose any vector t not collinear with w, and use the Cross Product to build a unit vector u that is perpendicular to w:
u = t x w / ||t x w||

If t is collinear with w then the denominator will vanish. A simple procedure to find a vector sufficiently different from w is to start with a t equal to w and change the smallest magnitude component of t to 1.

3. v = w x u

Popular posts from this blog

After analyzing the model, your manager has informed that your regression model is suffering from multicollinearity. How would you check if he's true? Without losing any information, can you still build a better model?

Is rotation necessary in PCA? If yes, Why? What will happen if you don't rotate the components?

What does Latency mean?