PERFECT COMPETITION, PROFIT MAXIMIZATION: A perfectly competitive firm is presumed to produce the quantity of output that maximizes economic profit--the difference between total revenue and total cost. This production decision can be analyzed directly with economic profit, by identifying the greatest difference between total revenue and total cost, or by the equality between marginal revenue and marginal cost.