Relationship between potential energy and total mass