a primer on the math behind the collapse