For a linear demand curve, total revenue is maximized when