This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
In applied mathematics, Wahba's problem, first posed by Grace Wahba in 1965, seeks to find a rotation matrix (special orthogonal matrix) between two coordinate systems from a set of (weighted) vector observations. Solutions to Wahba's problem are often used in satellite attitude determination utilising sensors such as magnetometers and multi-antenna GPS receivers. The cost function that Wahba's problem seeks to minimise is as follows:
where is the k-th 3-vector measurement in the reference frame, is the corresponding k-th 3-vector measurement in the body frame and is a 3 by 3 rotation matrix between the coordinate frames. is an optional set of weights for each observation.
A number of solutions to the problem have appeared in literature, notably Davenport's q-method, QUEST and methods based on the singular value decomposition (SVD). Several methods for solving Wahba's problem are discussed by Markley and Mortari.
This is an alternative formulation of the orthogonal Procrustes problem (consider all the vectors multiplied by the square-roots of the corresponding weights as columns of two matrices with N columns to obtain the alternative formulation). A compact and elegant derivation can be found in Appel (2015).
One solution can be found using a singular value decomposition (SVD).
1. Obtain a matrix as follows:
2. Find the singular value decomposition of
3. The rotation matrix is simply:
where
A geometric interpretation of Wahbaβs problem using unit quaternions was presented by Liu, et al. (2026)
For unit vector observations, each correspondence defines a circle of admissible quaternions, called a ''quaternion circle''. To see this, choose any unit quaternion whose rotation maps to . Every other rotation satisfying this correspondence is obtained by subsequently rotating about . With scalar-first quaternions and Hamilton multiplication , the corresponding quaternion can therefore be written asQuaternion multiplication preserves norms, and . Thus and are orthonormal vectors in , and the complete set of admissible quaternions forms a great circle; this arises from the 2-to-1 mapping from unit quaternions to rotation matrices.
For mutually consistent observations, the solution lies at the common intersection of these circles. Two correspondences with non-collinear source vectors determine a unique rotation, represented by two antipodal intersection points. With measurement noise, the circles need not have a common intersection.
The same geometry gives a linear least-squares formulation. Let the rows of form an orthonormal basis for the orthogonal complement of the subspace spanned by and . Therefore, each exact correspondence is equivalent towhich yields a classical linear formulation subject to a unit-norm constraint.