Density representation of Long's equation