Question: How to solve linear system with minimum expression?

Hi all,

I need to solve this linear system:

 

R11+R12+fx=1

R21+R22+fy=1

R31+R32+fz=1

R11+R21+R31=1

R12+R22+R32=1

R11*R22*fz+R12*fy*R31+fx*R21*R32-R31*R22*fx-R32*fy*R11-fz*R21*R12=1

 

It is a solution for a 3D rotation matrix in which I know the last coloumn (fx,fy,fz) and I need to find the other six elements of the matrix R11,R12...Obvioulsy there are infinite solution, but in particular I need the one with the minimum trace i.e. minimum(R11+R22+fz).

How do I solve this on Maple16?

Thank you very much

Please Wait...