User-defined orthonormal basis

In summary, The conversation discusses how to create an orthonormal basis, specifically a matrix with orthogonal vectors of norm 1, from a given direction in a space with dimension N>3. This can be achieved by finding N-1 linearly independent vectors and applying the Gram-Schmidt process, which will preserve the first given vector. The participants also express gratitude for the solution and mention concerns about numerical stability.
  • #1
markuz
5
0
Does anybody know how to create a orthonormal basis, i.e. a matrix containing orthogonal vectors of norm 1, out of a given direction (normalised vector or versor) in a space with dimension N>3?
With "out of a given direction", I mean that the resulting basis would have the first vector equal to the provided versor.
 
Physics news on Phys.org
  • #2
In principle, all you need is to find N - 1 more linearly independent vectors, and then you can apply the Gram-Schmidt process. That preserves the first vector, so if you put your given vector first in the list it will remain unaltered.
 
  • #3
thanks

Thanks it works! Not sure about the numerical stability but will keep an eye on it.
Thanks again
Cheers!
 

1. What is a user-defined orthonormal basis?

A user-defined orthonormal basis is a set of vectors in a vector space that are orthogonal (perpendicular) to each other and have a length of 1, also known as unit vectors. This basis is defined by the user or researcher, rather than being a predetermined set of basis vectors.

2. How is a user-defined orthonormal basis different from a standard basis?

A standard basis is a set of vectors that are predetermined and commonly used in linear algebra, such as the standard basis for the Cartesian coordinate system. A user-defined orthonormal basis, on the other hand, is defined by the user and can be used to represent a specific set of vectors in a vector space.

3. Why is a user-defined orthonormal basis important in linear algebra?

A user-defined orthonormal basis is important because it allows for the representation of vectors in a vector space in a simpler and more intuitive way. It also makes calculations and transformations easier, as the basis vectors are orthogonal and have a length of 1, which simplifies the process of finding projections and calculating angles between vectors.

4. How do you determine if a set of vectors form an orthonormal basis?

To determine if a set of vectors form an orthonormal basis, you can use the Gram-Schmidt process. This involves taking the set of vectors and using the process to find a set of orthogonal vectors with a length of 1. If the resulting vectors are the same as the original set, then they form an orthonormal basis.

5. Can a user-defined orthonormal basis be used in any vector space?

Yes, a user-defined orthonormal basis can be used in any vector space, as long as the vectors in the basis are linearly independent and span the vector space. This means that the vectors can be used to represent any vector in the vector space through a linear combination.

Similar threads

  • Linear and Abstract Algebra
Replies
14
Views
1K
  • Linear and Abstract Algebra
Replies
2
Views
908
Replies
3
Views
2K
  • Linear and Abstract Algebra
Replies
9
Views
570
  • Linear and Abstract Algebra
Replies
9
Views
196
  • Linear and Abstract Algebra
Replies
3
Views
936
  • Linear and Abstract Algebra
Replies
6
Views
1K
  • Linear and Abstract Algebra
Replies
6
Views
873
Replies
12
Views
3K
Replies
3
Views
2K
Back
Top