Second Order Condition for profit maximization when the output y is the decision variable dMR/dy-dMC/dy<0 which says marginal revenue is falling faster than marginal cost. In pure competition, dMR/dy=0, so marginal revenue isn't falling, so dMC/dy must be >0, marginal cost must be increasing.