https://nebusresearch.wordpress.com/2013/07/08/on-exact-and-inexact-differentials/
On exact and inexact differentials