I have been trying to find orthogonal matrix of order n where first row will be given as 1/√n, 1/√n, .... n times.

The second row will be a vector such that dot product of it with the row above and below will be zero and so on. Means, in a matrix of order 3, the 3rd row will be the cross product of first 2 rows.

How do I approach such a problem?

  • Hi "Doctor", you asked a fine question, but it contained some parts which are off-topic for this site. So I removed those parts to prevent the question to be closed by the community. If you need answers for implementation details, ask at www.stackoverflow.com (but avoid to ask the same question on PSE an SO).
    – Doc Brown
    Commented Nov 18, 2014 at 12:42

1 Answer 1


Extend the given row vector with n-1 vectors forming a set of n linear independent vectors. For example,


should be sufficient. Afterwards, you apply the Gram-Schmidt process to these vectors. Since Gram-Schmidt keeps the first vector unchanged, the result will be n orthogonal row vectors, forming the orthogonal matrix you are looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.