This interdisciplinary paper explains how mathematical techniques of stochastic optimal control can be applied to the recent subprime mortgage crisis. Why did the financial markets fail to anticipate the recent debt crisis, despite the large literature in mathematical finance concerning optimal...