AP MICROECONOMICS • PRODUCTION, COST, AND PERFECT COMPETITION MODEL

Profit Maximization

How firms choose the output level where marginal revenue equals marginal cost to maximize economic profit.

Historical Context & Motivation

The question of how firms decide what quantity to produce and at what price to sell has occupied economists since the discipline's earliest days. Classical economists like Adam Smith and David Ricardo recognized that producers respond to incentives, but they lacked a precise framework for modeling the decision-making process at the level of an individual firm. The development of marginal analysis in the late nineteenth century provided the analytical toolkit needed to formalize the theory of profit maximization—an idea that remains the cornerstone of microeconomic theory and the AP Microeconomics curriculum today.

1776
Smith's Wealth of Nations
Adam Smith described how self-interested producers guided by the "invisible hand" allocate resources toward their most valued uses, laying the conceptual foundation for firm behavior analysis.
1838
Cournot's Mathematical Economics
Antoine Augustin Cournot introduced the first rigorous mathematical treatment of firm output decisions and derived the condition that profit is maximized where the derivative of profit with respect to quantity equals zero.
1871
The Marginalist Revolution
William Stanley Jevons, Carl Menger, and Léon Walras independently developed marginal utility theory, establishing the principle that economic decisions are made at the margin—one additional unit at a time.
1890
Marshall's Principles of Economics
Alfred Marshall synthesized supply and demand analysis and formalized the MR = MC rule for profit maximization, creating the standard framework taught in economics courses worldwide.
1933
Market Structure Theory Matures
Edward Chamberlin and Joan Robinson independently published works on monopolistic competition and imperfect competition, extending profit maximization analysis beyond the perfect competition model.

The central question that profit maximization theory addresses is deceptively simple: given a firm's cost structure and the demand conditions it faces, at what quantity of output does the firm earn the greatest possible difference between total revenue and total cost? The answer—produce where marginal revenue equals marginal cost (MR = MC)—is one of the most powerful results in all of economics, applicable across every market structure from perfect competition to monopoly.

Core Principles & Definitions

Before we can analyze how firms maximize profit, we need to establish several foundational concepts. In economics, profit refers specifically to economic profit—the difference between total revenue and total economic cost, where economic cost includes both explicit costs (out-of-pocket payments) and implicit costs (the opportunity cost of resources the firm already owns). This differs from accounting profit, which considers only explicit costs. Understanding these building blocks is essential for correctly applying the profit maximization rule on the AP exam.

1

Total Revenue (TR)

The total amount of money a firm receives from selling its output. Calculated as price times quantity (TR = P × Q). For a perfectly competitive firm, price is constant, so TR rises linearly with output.
2

Marginal Revenue (MR)

The additional revenue earned from selling one more unit of output (ΔTR / ΔQ). In perfect competition, MR equals the market price because the firm is a price taker. In imperfect competition, MR is less than price due to the downward-sloping demand curve.
3

Marginal Cost (MC)

The additional cost incurred from producing one more unit of output (ΔTC / ΔQ). MC typically falls initially due to increasing marginal returns, reaches a minimum, then rises due to diminishing marginal returns.
4

The MR = MC Rule

A firm maximizes profit (or minimizes loss) by producing the quantity where MR = MC, provided MR intersects MC from above (i.e., MC is rising). If MR > MC, the firm should expand output; if MR < MC, the firm should contract output.
5

The Shutdown Rule

Even when profit is negative, a firm should continue operating in the short run as long as price exceeds average variable cost (P ≥ AVC). If P < AVC, the firm minimizes losses by shutting down and paying only fixed costs.
KEY TAKEAWAY
Think of a firm's production decision like filling a bathtub: each additional unit of output is like turning the faucet one more notch. The marginal revenue from that unit is the water flowing in, while the marginal cost is the water draining out. As long as the inflow (MR) exceeds the outflow (MC), the tub fills higher—profit grows. The moment the drain opens wider than the faucet (MC > MR), you are losing water with every notch. The optimal strategy is to stop turning the faucet at the exact point where inflow equals outflow—that is, MR = MC.

Visual Explanation: The MR = MC Intersection

The following diagram illustrates the profit-maximizing output decision for a perfectly competitive firm. Because a price taker faces a horizontal demand curve, its marginal revenue curve is a flat line at the market price. The key visual insight is that profit is maximized at the quantity where the rising portion of the MC curve intersects the MR curve. The shaded rectangle between price and ATC at that quantity represents the firm's economic profit (or loss).

The firm produces at Q*, where the rising MC curve (pink) intersects the horizontal MR curve (cyan). The green shaded rectangle shows economic profit: the area between P* and ATC at Q*. The ATC curve (violet) determines per-unit profit, while the AVC curve (amber dashed) marks the shutdown threshold.

Notice that the MC curve intersects the MR line at two points in many textbook illustrations—once while MC is falling and once while MC is rising. Only the intersection where MC is rising (upward-sloping) corresponds to profit maximization. The reason is straightforward: if MC were falling, producing one more unit would still add more revenue than cost, so the firm could increase profit by expanding further. The second-order condition for a maximum requires that MC be increasing at the optimal quantity.

Mathematical Framework

The mathematical derivation of the profit maximization condition follows directly from calculus-based optimization. While the AP Microeconomics exam does not require calculus, understanding the formal derivation reinforces the intuition behind the MR = MC rule and connects to the graphical analysis you have already seen.

PROFIT FUNCTION
π(Q) = TR(Q) − TC(Q)
Where π is economic profit, TR is total revenue as a function of output Q, and TC is total cost as a function of output Q. The firm seeks the value of Q that maximizes π.
FIRST-ORDER CONDITION
dπ/dQ = dTR/dQ − dTC/dQ = 0 → MR = MC
Setting the derivative of the profit function equal to zero yields the necessary condition: marginal revenue (dTR/dQ) must equal marginal cost (dTC/dQ). This is the MR = MC rule.
SECOND-ORDER CONDITION
d²π/dQ² < 0 → dMC/dQ > dMR/dQ
The second derivative of profit must be negative to ensure we have a maximum rather than a minimum. This requires that MC is rising faster than MR at the optimal Q—graphically, MC must cut MR from below.
PROFIT IN PERFECT COMPETITION
π = (P − ATC) × Q*
Since total revenue equals P × Q and total cost equals ATC × Q, profit can be expressed as the per-unit profit margin (P − ATC) multiplied by the profit-maximizing quantity Q*. This formula corresponds to the area of the shaded profit rectangle in the graph.
📝 AP EXAM TIP
On the AP Microeconomics exam, you will frequently be asked to identify the profit-maximizing quantity on a graph and then determine whether the firm earns a profit or a loss. Always follow a two-step process: (1) find Q* where MR = MC on the rising portion of MC, then (2) compare P to ATC at Q*. If P > ATC, the firm earns positive economic profit; if P < ATC but P > AVC, the firm operates at a loss; if P < AVC, the firm shuts down.

Three Profit Scenarios for the Competitive Firm

Depending on where the market price sits relative to the firm's cost curves, three distinct scenarios emerge. Each scenario uses the same MR = MC rule to determine the optimal quantity, but the relationship between price and average total cost determines whether the firm earns an economic profit, breaks even, or incurs a loss. The diagram below places all three cases side by side for comparison, a format commonly tested on the AP exam.

Three scenarios for a perfectly competitive firm: (A) P₁ > ATC → economic profit (green area), (B) P₂ = minimum ATC → break even (zero economic profit), (C) P₃ < ATC but P₃ > AVC → economic loss (red area), but the firm continues to operate in the short run.
Decision matrix for a perfectly competitive firm in the short run
ScenarioPrice vs. CostProfit StatusShort-Run Decision
A: ProfitP > ATC at Q*Positive economic profitProduce at Q* (MR = MC)
B: Break EvenP = min ATC at Q*Zero economic profitProduce at Q* (earning normal profit)
C: Loss (Operate)AVC < P < ATC at Q*Negative economic profitProduce at Q* (covers some fixed costs)
D: ShutdownP < AVC at Q*Loss exceeds fixed costsShut down; loss = total fixed cost

Worked Example: Finding the Profit-Maximizing Output

Consider a perfectly competitive wheat farmer who faces a market price of $8 per bushel. The farmer's cost data are provided in the table below. We will use this information to identify the profit-maximizing quantity, calculate total profit, and determine whether the firm should continue operating in the short run.

Cost schedule for a perfectly competitive wheat farmer (TFC = $10)
Q (bushels)TC ($)MC ($)ATC ($)AVC ($)
010
118818.008.00
224612.007.00
32849.336.00
43468.506.00
54288.406.40
654129.007.33
7701610.008.57
Finding Profit-Maximizing Output and Economic Profit
1
Step 1 — Identify Given InformationThe market price is $8 per bushel. Since this is a perfectly competitive market, P = MR = $8 for every unit. Total fixed cost is $10 (TC when Q = 0). The MC, ATC, and AVC values have been computed from the total cost data.
2
Step 2 — Apply the MR = MC RuleScan the MC column for the quantity where MC equals or is closest to the market price of $8 without exceeding it. At Q = 5, MC = $8, which exactly equals MR = $8. At Q = 4, MC = $6 < MR, so additional profit can still be gained. At Q = 6, MC = $12 > MR, so that unit would reduce profit. Therefore, Q* = 5 bushels.
Profit-maximizing quantity: Q* = 5 bushels
3
Step 3 — Calculate Total Revenue and Total CostTR = P × Q* = $8 × 5 = $40. From the table, TC at Q = 5 is $42.
TR = $40, TC = $42
4
Step 4 — Calculate Economic Profitπ = TR − TC = $40 − $42 = −$2. The firm earns a negative economic profit (economic loss) of $2. Alternatively, using the per-unit formula: π = (P − ATC) × Q = ($8 − $8.40) × 5 = (−$0.40) × 5 = −$2.
Economic profit: π = −$2 (a loss)
5
Step 5 — Apply the Shutdown DecisionShould the firm continue operating? Compare P to AVC at Q*: P = $8 and AVC = $6.40 at Q = 5. Since P ($8) > AVC ($6.40), the firm should continue producing in the short run. By operating, the firm covers all variable costs and contributes $8 toward fixed costs, limiting its loss to $2. If the firm shut down, it would lose the entire $10 in fixed costs.
Decision: Continue operating (loss of $2 < TFC of $10)

Strengths & Limitations of the Profit Maximization Model

The MR = MC framework is one of the most versatile tools in microeconomics, but like any model, it rests on simplifying assumptions that may not fully capture real-world firm behavior. Understanding both the power and the limitations of this model is essential for applying it correctly on the AP exam and for appreciating its place in the broader landscape of economic theory.

Strengths and limitations of the MR = MC profit maximization model
StrengthsLimitations
Universal applicability: the MR = MC rule works in every market structure (perfect competition, monopoly, monopolistic competition, oligopoly).Assumes firms have perfect knowledge of their cost and revenue curves, which is rarely true in practice.
Provides clear decision rules—produce where MR = MC, shut down if P < AVC—that can be tested empirically.Ignores behavioral factors such as satisficing, managerial goals, and corporate social responsibility that may override pure profit motives.
Graphical representation is intuitive and well-suited to comparative static analysis (e.g., shifts in demand or costs).Assumes output is continuously divisible, but in many industries firms can only adjust output in discrete increments.
Links naturally to supply curve derivation: the firm's MC curve above AVC is its short-run supply curve.Static model that does not account for dynamic factors like investment, innovation, or learning-by-doing over time.
KEY TAKEAWAY
The profit maximization model is like Newton's laws of motion in physics: it provides an extraordinarily useful first approximation that correctly predicts behavior in a wide range of situations, even though more sophisticated models (behavioral economics, game theory) are needed to explain cases where the simplifying assumptions break down. On the AP exam, treat the MR = MC rule as your default analytical tool unless the problem explicitly introduces a complication that overrides it.

Connection to Imperfect Competition & Long-Run Analysis

While this lesson focuses on profit maximization in the context of perfect competition, the MR = MC rule extends directly to imperfectly competitive market structures. The key difference lies in the shape of the demand and marginal revenue curves. In perfect competition, MR is a horizontal line at the market price; in monopoly and monopolistic competition, MR is a downward-sloping line that lies below the demand curve because the firm must lower its price to sell additional units. Understanding how profit maximization adapts across market structures is critical for later units on monopoly, oligopoly, and monopolistic competition.

Profit maximization across market structures
FeaturePerfect CompetitionMonopoly / Imperfect Competition
Demand curvePerfectly elastic (horizontal at market P)Downward-sloping (firm is the market or has market power)
MR vs. PriceMR = P for all unitsMR < P for all units after the first
Profit-max ruleProduce where P = MC (rising)Produce where MR = MC, then charge the price on the demand curve at Q*
Long-run profitZero economic profit (entry/exit drives P to min ATC)Positive economic profit possible if barriers to entry exist
Allocative efficiencyAchieved (P = MC in long run)Not achieved (P > MC → deadweight loss)

In the long run of perfect competition, the entry of new firms (attracted by positive economic profits) and the exit of existing firms (driven out by losses) shift the market supply curve until price equals the minimum of the long-run average total cost curve. At this point, every firm earns zero economic profit, producing at the allocatively and productively efficient output level. This long-run equilibrium result is one of the most celebrated conclusions of the perfectly competitive model and a frequent topic on the AP exam's free-response questions.

Practice Problems

1
A perfectly competitive firm discovers that at its current output level, marginal revenue exceeds marginal cost. What should the firm do to increase its economic profit?
2
A firm in a perfectly competitive market sells its product at $15 per unit. At its profit-maximizing output of 200 units, average total cost is $12. What is the firm's total economic profit?
3
A perfectly competitive firm has the following cost data at its MR = MC output level: P = $10, ATC = $12, AVC = $9. Which of the following best describes the firm's short-run situation and optimal decision?
PROBLEM 4APPLIED
The market for organic strawberries is perfectly competitive. Currently, firms in the industry are earning positive economic profits. (a) Draw a correctly labeled graph for a typical firm showing the profit-maximizing quantity and the area of economic profit. Include the demand/MR curve, MC curve, and ATC curve. (b) Explain what will happen in the long run to: (i) the number of firms in the industry, (ii) the market supply curve, (iii) the market price, and (iv) the economic profit earned by each firm. (c) On a new graph, show the long-run equilibrium for a typical firm. Label the long-run equilibrium price and quantity. (d) Explain why the long-run equilibrium in perfect competition is both allocatively efficient and productively efficient.
PROBLEM 5CRITICAL THINKING
A perfectly competitive firm's total cost function is TC = 50 + 2Q + 0.5Q². The market price is $12. (a) Derive the firm's MC function and determine the profit-maximizing quantity. (b) Calculate the firm's economic profit or loss at this quantity. (c) Should the firm operate or shut down in the short run? Justify your answer using the shutdown rule.

Profit Maximization — Key Concepts Review

A firm maximizes economic profit by producing the quantity where marginal revenue equals marginal cost (MR = MC) on the rising portion of the MC curve. In perfect competition, the firm is a price taker, so MR equals the market price, and the profit-maximizing condition simplifies to P = MC. Economic profit is calculated as (P − ATC) × Q*, and the firm earns a profit when P > ATC, breaks even when P = min ATC, and incurs a loss when P < ATC.

Even when experiencing a loss, a firm should continue operating in the short run as long as P ≥ AVC, because revenue covers all variable costs and contributes to fixed costs. The shutdown rule dictates that if P < AVC, the firm minimizes losses by ceasing production. In the long run, free entry and exit drive economic profit to zero, pushing each firm to produce at minimum ATC—achieving both allocative efficiency (P = MC) and productive efficiency (P = min ATC).

Varsity Tutors • AP Microeconomics • Profit Maximization