logo back up home forward   further reading more topics »

Maths - Reorthogonalising a matrix - Attempt at an Alternative Method

Another approach to try might be to split the matrices into there individual elements:

The inverse of a 2x2 matrix [O] is:

[O]-1 = 1/(o00 o11 * o01 o10)
o11 -o01
-o10 o00

so expanding out [O]T = [O]-1 gives:

o00 = o11/(o00 o11 * o01 o10)
o10 = -o01/(o00 o11 * o01 o10)
o01 = -o10/(o00 o11 * o01 o10)
o11 = o00/(o00 o11 * o01 o10)

If we constrain the determinant to be 1 then,

(o00 o11 * o01 o10) = 1

o00 = o11
o10 = -o01

we are looking for C where [O] = [C]*[M]

c00 * m00 + c01 * m10 c00 * m01 + c01 * m11
c10 * m00 + c11 * m10 c10 * m01 + c11 * m11
=
c00 c01
c10 c11
m00 m01
m10 m11

so combining these gives:

c00 * m00 + c01 * m10 = c10 * m01 + c11 * m11

c00 * m01 + c01 * m11 = -c10 * m00 - c11 * m10

There seem to be more unknowns than equations so its difficult to see where to take this?


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover Mathematics for 3D game Programming - Includes introduction to Vectors, Matrices, Transforms and Trigonometry. (But no euler angles or quaternions). Also includes ray tracing and some linear & rotational physics also collision detection (but not collision response).

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to the software project, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

cover Mathmatica

Can you help?

Please send me any improvements to here. I would appreciate ideas to make the pages more useful including error correction, ideas for new pages, improvements to wording. It helps if you quote the full URL of the page.

 

Terminology and Notation

Specific to this page here:

 

program

I am working on a project which uses these principles, if you would like to help me with this you are welcome to join in, here:

http://sourceforge.net/projects/mjbworld/

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2008 Martin John Baker - All rights reserved - privacy policy.