A generalized Liouville equation and magnetic stability | Synapse