I get stuck into a problem: I am going to produce orthogonalized eigenvectors of a matrix and in any iteration. I shortened my question in the bellow line:

Why do we face to different results of orthogonalization on vectors, and if we have to choose an orthogonalized eigenvectors to next processes, which of them is reliable? for example:


orthoa={{1/Sqrt[5], 2/Sqrt[5]}, {2/Sqrt[5], -(1/Sqrt[5])}}
orthob={{3/Sqrt[34], 5/Sqrt[34]}, {-(5/Sqrt[34]), 3/Sqrt[34]}}

Although, {3,5} is repeated in to but orthogonalized it seems to e different.

  • $\begingroup$ For me (Mathematica 10.2 on Mac OS), nonorthostorage === storagematrix1. Are you sure you've written down the outputs correctly? $\endgroup$ Commented Aug 5, 2015 at 14:45
  • $\begingroup$ @PatrickStevens, Ok I am so sorry the line is related to nonorthostorage! I corrected that. $\endgroup$ Commented Aug 5, 2015 at 15:01
  • $\begingroup$ Er, the commands to generate nonorthostorage and storagematrix1 are identical. $\endgroup$ Commented Aug 5, 2015 at 15:04
  • 2
    $\begingroup$ (1) This really needs to be pruned to a simpler example. Also I don't see an actual question. My guess is you are orthogonalizing the same set of vectors but given in different orders, and want to know if the results can/should be different. If that's the issue, then the answer is yes, they can and should be different. $\endgroup$ Commented Aug 5, 2015 at 15:21
  • 2
    $\begingroup$ @mr.0093 What you are saying, assuming you are the poster of this question, is that you made zero effort to track down the source of the apparent issue. Why would you think others would want to isolate it if it's not important enough for you to do so? $\endgroup$ Commented Aug 5, 2015 at 15:45

1 Answer 1


If you call Orthogonalize at the end, you're orthogonalizing the eigenvectors in a different order (i.e. after sorting on eigenvalue, rather than before). Orthogonalizing the same list in a different order usually gives a different output.

Orthogonalize[{{1., 2}, {1, 3}}]

(* {{0.447214, 0.894427}, {-0.894427, 0.447214}} *)

Orthogonalize[{{1, 3}, {1., 2}}]

(* {{0.316228, 0.948683}, {0.948683, -0.316228}} *)
  • $\begingroup$ If the orthogonalized eigenvectors are needed to the next process which of them are dependable? $\endgroup$ Commented Aug 5, 2015 at 15:33
  • $\begingroup$ The output of Orthogonalize[m] is a collection of orthonormal vectors. They are not in general eigenvectors of m unless there is only one eigenvalue (example: {{1, 0}, {2, 0}}). $\endgroup$ Commented Aug 5, 2015 at 15:39
  • 1
    $\begingroup$ If mr.0093 is the same person as Ackaran, there is a merging procedure: meta.stackexchange.com/help/merging-accounts $\endgroup$ Commented Aug 5, 2015 at 15:41
  • $\begingroup$ No this is my roommate. he said he didn't have so knowledge to answer me. $\endgroup$ Commented Aug 5, 2015 at 16:38
  • $\begingroup$ I am so sorry, if @mr.0093 (my roommate)answered instead me, since he did not have any answer to me, collaborated to write question for following it. $\endgroup$ Commented Aug 5, 2015 at 17:04

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.