Linear equation and the law of demand