Formal Solution of Liouville's Equation