Fixed, variable, and marginal cost. Average cost curves, economies of scale. Short-run vs long-run cost structures.
Understanding cost functions tells you when a firm should expand, contract, or build a new plant — and why prices sometimes fall when firms get bigger.
Cost functions describe how total, fixed, variable, average, and marginal costs depend on output; they let you use calculus (Derivatives) and optimization to find profit-maximizing or cost-minimizing output and evaluate economies of scale.
Cost functions are mathematical descriptions of how a firm's costs depend on the quantity of output it produces. At its most basic, a cost function answers: if the firm produces units, what is the total cost ? Splitting total cost into components yields intuition and decision rules that managers and economists use.
Key pieces and why they matter
Numerically, (the firm has a TC(10)=100+5(10)+0.5(10)^2=100+50+50=200$.
For , .
If , .
Notice numerically: .
For our example,
Numerically, . Marginal cost approximates the cost of the 11th unit; using discrete difference, , close to since the function is smooth.
Short-run vs Long-run
Economies of scale
Why this matters: Marginal cost interacts with price and marginal revenue to determine optimal output (see Optimization Introduction (d3)). Average cost tells you whether a firm covers its costs at a given price and whether expanding output reduces unit costs.
Marginal cost (MC) is central because in competitive markets the profit-maximizing condition often equates price to marginal cost (when firms are price takers). Average costs determine profitability and long-run entry/exit.
Formal relationships and calculus intuition (reference: Derivatives (d2))
Example: If , then
Numerically, . So the additional cost at output 20 is $6 per extra unit.
Setting gives . Thus the stationary point of occurs where . If that point is a minimum, MC crosses AC from below.
Concrete numeric check: Take as before. Then and . Solve :
Numerically check: . And , matching.
Local decision rules and short-run shutdown condition (link to Optimization Introduction (d3))
Example numeric decision: If price and , then optimal output solves . This matches the earlier minimum example and shows how calculus directly produces the optimal output.
Concrete numbers: For , has minimum at (since it's increasing here) with . If market price , since the firm should shut down. If , solve .
This section shows how derivatives (Derivatives (d2)) and optimization first-order conditions (Optimization Introduction (d3)) translate to managerial rules: set output where , check to decide shutdown, and use to check profitability.
Understanding the distinction between short-run and long-run cost structures is essential for planning capacity and for understanding industry dynamics (entry, exit, and firm size).
Short-run cost structure
Example: Suppose a firm has a factory requiring and variable cost . Then
Numerical check: at , (wait: compute carefully: , , so ), , .
Long-run cost structure and the envelope theorem
Algebraically, suppose plant size is parameterized by (e.g., capacity). For each we have . Then
Example (simplified): Suppose there are two discrete plant sizes:
For , , . So the small plant is cheaper at low output. For , , ; the large plant is cheaper at high output. The long-run cost at each picks the cheaper plant, creating an that can fall then rise depending on technology.
Economies of scale (technical/market meanings)
Concrete numeric instance: Take . Then . For , . For , . So average cost falls with scale: economies of scale.
Returns to scale vs economies of scale distinction
Long-run planning decisions
Cost functions are used across microeconomics, managerial economics, and public policy. Here are concrete applications and how this connects to downstream topics.
Pricing and output decisions in market structures
Cost-benefit, entry/exit, and long-run industry supply
Cost estimation and managerial accounting
Network industries and scale economies
Connection to welfare analysis
Downstream topics that use cost function mechanics
Concrete managerial checklist
Every formula in this lesson ties back to calculus (Derivatives (d2)) for rates of change and to optimization first-order conditions (Optimization Introduction (d3)) for choosing to maximize profit or minimize cost. These tools give actionable rules for pricing, capacity choice, and policy design.
Given , compute , , , , and evaluate them at .
Identify fixed cost (constant term): .
Compute variable cost: . For , .
Differentiate to get marginal cost: . For , .
Compute average total cost: . For , .
Verify : , , sum , matching .
Insight: This example reinforces that is the derivative of , is the constant term, and averages decompose cleanly; numerically checking identities is a useful verification step.
A firm has . Market price is . Should the firm produce in the short run? If yes, find optimal ; if no, explain why.
Compute and .
Find minimum of : AVC is linear increasing in here with slope $0.5$, so the minimum occurs at with . (Interpretation: marginally, AVC increases from 8.)
Compare market price to . Since , the firm should produce (not shut down) because price covers variable cost at some positive output.
Compute marginal cost: . Set to find interior optimum: .
Compute profit (optional check): , , profit . Loss is large, but since loss is less than fixed cost loss of from shutting down, producing minimizes loss in the short run.
Insight: Even when producing yields an economic loss, producing can be better than shutting down if price covers variable costs; calculus provides the production rule for interior solutions.
Two plant options: Small plant , Large plant . For determine which plant minimizes cost. Then compute and comment on economies of scale comparing to .
Compute .
Compute .
Compare costs: , so the large plant is cheaper for .
Compute long-run average cost at : (since large plant chosen).
Now evaluate at : . . Then LAC(50)=23LAC(200)=45.5$: average cost increased going from 50 to 200, indicating diseconomies of scale in this numeric example across that range. (Interpret: the large plant is better at low to medium q here but both plants generate higher average cost at much larger q due to quadratic variation.)
Insight: Picking among plant options is an optimization over discrete or continuous capital choices; the long-run average cost is the lower envelope of short-run costs and can exhibit economies or diseconomies of scale depending on technology parameters.
Total cost decomposes into fixed cost (doesn't vary with q in the short run) and variable cost (does); numerically compute FC as the constant term in polynomial TC(q).
Marginal cost equals the derivative of total cost: (Derivatives (d2)); in competitive settings set for interior optima (Optimization Introduction (d3)).
Average cost equals total cost per unit: , and intersects at 's minimum point.
Short-run cost curves reflect at least one fixed input; long-run cost minimizes over plant sizes and is the envelope of short-run curves.
Economies of scale mean declining long-run average cost with output; this can justify large-scale firms, but diseconomies can arise at large sizes.
Shutdown rule: produce in short run iff ; otherwise shut down and accept fixed costs without producing.
Empirical and managerial uses: estimate TC to compute MC for pricing, choose plant size to minimize LAC, and assess industry structure (natural monopoly vs competitive).
Confusing marginal cost with average cost: MC is the derivative (slope of TC), not TC divided by q. This leads to wrong decisions—MC can be below AC while AC is falling, but they are equal only at AC's minimum.
Treating fixed cost as avoidable in the short run: FC is sunk in the short run and should not affect marginal production decisions, only long-run planning. Incorporating FC into the shutdown decision is incorrect.
Using discrete differences instead of derivatives without checking scale: for rapidly changing or non-smooth TC functions, the discrete increment can diverge from ; always check the function curvature.
Assuming long-run average cost equals short-run average cost for a single plant: long-run cost optimizes over plant sizes, so is the lower envelope of SR averages; using a single SR curve for long-run decisions can mislead investment choices.
Easy: Given , compute and , then evaluate and .
Hint: Differentiate for . For , divide by and plug in .
MC(q)=3+0.2q, so MC(20)=3+0.2(20)=7. AC(q)=80/q+3+0.1q, so AC(20)=80/20+3+0.1(20)=4+3+2=9.
Medium: A firm has short-run cost . Market price is . Should the firm produce in the short run? If yes, find the profit-maximizing and the resulting profit.
Hint: Compute and its minimum to check shutdown; then set for the interior solution (Optimization Introduction (d3)).
VC(q)=10q+0.5q^2 so AVC(q)=10+0.5q, minimum at q=0 with AVC_min=10. Since p=35>10, produce. MC(q)=10+q. Set p=MC: 35=10+q => q=25. Compute TR=3525=875. TC=250+1025+0.5*625=250+250+312.5=812.5. Profit=875-812.5=62.5.
Hard: You are choosing plant size k≥0 affecting fixed and variable costs: , . For a required output q0=100, choose k to minimize . Find optimal k and the minimized total and average cost. (Edge case reasoning: ensure k>0.)
Hint: Treat TC as a function of k and differentiate w.r.t k; use first-order condition and check second derivative for minimization. This uses Optimization Introduction (d3).
Write TC(k)=100k+500+0.2(10000)/k=100k+500+2000/k. Differentiate: TC'(k)=100-2000/k^2. Set =0 => 100=2000/k^2 => k^2=2000/100=20 => k=\sqrt{20}\approx4.4721 (positive root). Second derivative TC''(k)=4000/k^3>0 so minimizer. Minimized TC=100(4.4721)+500+2000/4.4721 ≈447.21+500+447.21=1394.42. Average cost =TC/100 ≈13.9442.
Looking back: In Derivatives (d2) we learned that derivatives give instantaneous rates of change; here is a direct application of that concept to economics. In Optimization Introduction (d3) we learned how to set first-order conditions to find maxima/minima under constraints; here we set (or ) and differentiate cost with respect to plant size to find long-run minimizers. Looking forward: mastering cost functions enables analysis of production functions and duality (cost minimization), long-run competitive equilibria (entry/exit and zero-profit conditions), industrial organization topics like natural monopoly and oligopoly pricing strategies, and empirical estimation of cost and production technologies. Specific downstream concepts that require this material include: derivation of supply curves from cost functions, welfare analysis comparing price and marginal cost, and investment/capital choice models in dynamic firm theory.