Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2011 Dec 30.
Published in final edited form as: Linear Algebra Appl. 2010 Dec 30;433(11-12):1719–1721. doi: 10.1016/j.laa.2010.07.011

Solution of a Complex Least Squares Problem with Constrained Phase

Mark Bydder 1
PMCID: PMC2976560  NIHMSID: NIHMS229771  PMID: 21076627

Abstract

The least squares solution of a complex linear equation is in general a complex vector with independent real and imaginary parts. In certain applications in magnetic resonance imaging, a solution is desired such that each element has the same phase. A direct method for obtaining the least squares solution to the phase constrained problem is described.

Keywords: Matrix equation, Phase constraint, Magnetic resonance imaging

I Introduction

Consider the linear equation given in Eq 1

Ax=b (1)

where A is a complex m × n matrix, b is a complex m-vector and x is a complex n-vector. The minimum norm least squares solution to Eq 1 has 2n independent variables: the real and imaginary parts of x, which may also be represented in polar form as the amplitude and phase. However in certain applications in magnetic resonance imaging, it is reasonable to expect the phase of all elements of x to be the same and thus a phase constrained solution is desired.

This is a nonlinear optimization problem that has been approached previously using iterative Gauss-Newton search [1]. The present study derives an alternate, direct method for solving the phase constrained problem in which the minimum norm least squares solution is obtained such that the phase of every element of x is identical.

II Direct Method

A solution of the desired form is assumed, xreale, which comprises a real n-vector xreal and a real scalar ϕ. Eq 1 is then re-written as in Eq 2.

Axrealeiφ=b (2)

The goal is to minimize the sum of squares of the residual r = bAxreale over xreal and ϕ. Using separable least squares [2] to isolate the linear terms, the optimal xreal can be obtained for any ϕ by equating d (rHr)/dxreal to zero. This leads to the expression M xreal = Re(A Hbe), where M ≡ Re(A HA). Taking the pseudoinverse M yields the minimum norm least squares solution,

x^real=MRe(AHbeiφ). (3)

Note that the rank and condition number of M are not necessarily the same as those of AHA.

The residual may now be expressed as function of ϕ only and it remains to minimize rHr over ϕ.

r=bAMRe(AHbeiφ)eiφ (4)

Making use of the identities AHA = M+ i Im(AHA) and MMM = M and dropping imaginary terms (since rHr is real),

rHr=bHbRe(AHbeiφ)TMRe(AHbeiφ). (5)

Equating d(rHr)/ to zero yields the necessary condition for obtaining a minimum.

2Im(AHbeiφ)TMRe(AHbeiφ)=0 (6)

Eq 6 can be seen to be the imaginary part of (A Hb)TM(A Hb)e−2. For the imaginary part to be zero, the phase must also be zero which requires

φ^=12(AHb)TM(AHb). (7)

Thus the least squares solution to the phase constrained problem is realeiϕ̂ with the phase given by Eq 7 and the real vector given by Eq 3.

III Application to Magnetic Resonance Imaging

In magnetic resonance imaging, methods for separating water and fat signals commonly exploit the characteristic resonant frequencies of the protons in water and fat molecules [3-5]. Differences in frequency come about because electron shielding around the functional groups (-OH, -CH2, -CH3, etc.) causes the protons to experience slightly different magnetic fields and thus precess at different speeds, typically of a few parts per million of the main field.

In an imaging experiment data is typically sampled at three time points to detect changes in signal. The relevant matrix for this situation is given by Eq 8, taking the sampling times from Ref [3] and the fat spectrum from Ref [5].

A=[1.0000.8810.443i1.0000.119+0.895i1.0000.7010.381i] (8)

Simulated data were generated for range of water and fat combinations with water + fat = 1 and phase 0. Gaussian random noise with standard deviation 0.1 was added to the real and imaginary parts. Estimates were calculated using unconstrained linear least squares and by phase constrained least squares (Eq 3 and Eq 7). The means and standard deviations were computed from 106 trials. Table I indicates mean values are identical for both methods but the standard deviations are up to 41% higher when using the unconstrained method.

Table I.

Simulation results for the unconstrained and phase constrained estimation of water and fat based on Eq 8. Results indicate mean values are identical for both methods while standard deviations are up to 41% higher in the unconstrained case.

Water
Fat
Mean
(unconstrained)
Mean
(constrained)
Std. Dev.
(unconstrained)
Std. Dev.
(constrained)
Ratio
1.0
0.0
1.000-0.000i
0.000-0.000i
1.000-0.000i
-0.000-0.000i
0.0822
0.0914
0.0820
0.0649
1.002
1.408
0.8
0.2
0.800+0.000i
0.200-0.000i
0.800+0.000i
0.200-0.000i
0.0822
0.0914
0.0801
0.0664
1.026
1.376
0.6
0.4
0.600-0.000i
0.400-0.000i
0.600+0.000i
0.400-0.000i
0.0822
0.0914
0.0751
0.0722
1.094
1.266
0.4
0.6
0.400-0.000i
0.600-0.000i
0.400+0.000i
0.600-0.000i
0.0822
0.0914
0.0670
0.0814
1.227
1.123
0.2
0.8
0.200+0.000i
0.800+0.000i
0.200+0.000i
0.800+0.000i
0.0822
0.0914
0.0603
0.0884
1.363
1.034
0.0
1.0
0.000-0.000i
1.000+0.000i
0.000+0.000i
1.000+0.000i
0.0822
0.0914
0.0584
0.0912
1.408
1.002

IV Conclusion

A direct method has been derived for solving a complex least squares problem with constrained phase. In application to water/fat separation in magnetic resonance imaging, the advantage over unconstrained linear least squares is reduced standard deviation in the estimated variables.

Acknowledgments

This study was funded in part by General Electric Healthcare.

Footnotes

Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final citable form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.

References

  • 1.Yu H, Reeder SB, McKenzie CA, Brau ACS, Shimakawa A, Brittain JH, Pelc NJ. Single Acquisition Water-Fat Separation: Feasibility Study for Dynamic Imaging. Magn Reson Med. 2006;55:413. doi: 10.1002/mrm.20771. [DOI] [PubMed] [Google Scholar]
  • 2.Bjorck A. Numerical methods for least squares problems. Society for Industrial and Applied Mathematics; 1996. p. 351. [Google Scholar]
  • 3.Pineda AR, Reeder SB, Wen Z, Pelc NJ. Cramér-Rao bounds for three-point decomposition of water and fat. Magn Reson Med. 2005;54:625. doi: 10.1002/mrm.20623. [DOI] [PubMed] [Google Scholar]
  • 4.Hernando D, Haldar JP, Sutton BP, Ma J, Kellman P, Liang ZP. Joint estimation of water/fat images and field inhomogeneity map. Magn Reson Med. 2008;59:571. doi: 10.1002/mrm.21522. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Hamilton G, Middleton MS, Bydder M, Yokoo T, Schwimmer JB, Kono Y, Patton HM, Lavine JE, Sirlin CB. Effect of PRESS and STEAM sequences on magnetic resonance spectroscopic liver fat quantification. J Magn Reson Imaging. 2009;30:145. doi: 10.1002/jmri.21809. [DOI] [PMC free article] [PubMed] [Google Scholar]

RESOURCES