malmstens differential equation