Because each unit is sold at its maximum reservation price, P = MR. The demand curve is thus identical to MR.
Thus, when the perfect price discriminator maximizes profit at MR = MC, P = MC. In other words, efficiency (economic surplus2) is also maximized because the seller will sell or produce as long as the price the buyer is willing to pay is at least equal to the marginal cost of doing so. But because each buyer is charged his reservation price, all the economic surplus goes to the price discriminator (see Profit vs Efficiency Maximization).
Price Discrimination, Profit maximization, Marginal optimization
economic surplus, efficiency, marginal revenue, marginal willingness to pay, MR, MWP, P, perfect price discrimination, price, profit maximization, reservation price, total willingness to pay, TWP