SECTION 1
Historical Context & Motivation
The idea that mathematics could systematically describe market behavior took centuries to mature. Early economists such as Adam Smith and David Ricardo reasoned about supply and demand in purely verbal terms, relying on qualitative arguments rather than formal equations. It was not until the Marginalist Revolution of the 1870s that scholars began expressing economic relationships as continuous functions and, critically, began asking what happens at the margin — that is, what effect a tiny, incremental change in one variable has on another. This question is precisely the question answered by the derivative, and it transformed economics from a literary discipline into a quantitative science.
1838 • Cournot's Demand Curves
1871 • The Marginalist Revolution
1890 • Marshall's Principles
1930s–1950s • Optimization in the Firm
The central question this lesson addresses is deceptively simple: If a company changes its price by a small amount, how does its revenue respond? Answering this rigorously requires modeling demand as a differentiable function of price (or quantity), constructing a revenue function from it, and then applying derivatives to locate the exact price or quantity at which revenue is maximized. These tools — marginal revenue, marginal demand, and price elasticity — form the backbone of modern pricing strategy.
SECTION 2
Core Principles & Definitions
Before diving into computations, it is essential to establish the foundational concepts that connect calculus to business decision-making. Each concept below builds on the previous one: a demand function tells us what consumers will buy, a revenue function translates that demand into income, and marginal analysis uses derivatives to understand how both change at every conceivable operating point.
Demand Function
Revenue Function
Marginal Revenue
Price Elasticity of Demand
Revenue Maximization Condition
KEY TAKEAWAY
SECTION 3
Visual Explanation — Demand and Revenue Curves
The relationship between demand, revenue, and marginal revenue is best understood graphically. The diagram below shows a linear inverse demand curve p(q) and the corresponding total revenue curve R(q). Notice that revenue forms a downward-opening parabola whose peak occurs exactly where the marginal revenue line crosses the horizontal axis.
Several features of this diagram deserve attention. First, the total revenue curve is a concave-down parabola because the revenue function R(q) = 100q − q² has a negative leading coefficient, ensuring a unique global maximum. Second, the marginal revenue curve MR = 100 − 2q intersects the quantity axis at exactly q = 50, confirming that the first-order condition R′(q) = 0 identifies the peak. Third, notice that at q = 50 the price on the demand curve is p = 50, which is exactly the midpoint of the demand curve — a well-known result for linear demand. To the left of q = 50 the marginal revenue is positive, meaning each additional unit sold still adds to total revenue; to the right, marginal revenue turns negative, and each additional unit actually reduces total revenue because the required price cut erodes earnings on all previous units.
SECTION 4
Mathematical Framework
We now formalize the relationships introduced visually. Throughout this section, let q denote quantity, p denote price, and assume the inverse demand function p(q) is differentiable and decreasing. The following equations constitute the core mathematical toolkit for analyzing demand and revenue with derivatives.
TOTAL REVENUE
R(q) is total revenue, p(q) is the inverse demand (price as a function of quantity), and q is the number of units sold. This is valid for any demand model — linear, quadratic, exponential, etc.
MARGINAL REVENUE (PRODUCT RULE)
Applying the product rule: p(q) is the revenue gained from the marginal unit at the current price, and q × p′(q) captures the revenue lost because price must fall on every unit already being sold. Since p′(q) < 0, the second term is negative, so MR < p for all q > 0.
MARGINAL REVENUE — LINEAR DEMAND
For linear demand with intercept a and slope −b, marginal revenue is also linear with the same intercept but twice the slope. Revenue is maximized at q* = a/(2b), and the revenue-maximizing price is p* = a/2.
PRICE ELASTICITY OF DEMAND
E measures the percentage change in quantity demanded per percentage change in price. Because dq/dp < 0, elasticity is negative; many textbooks work with |E|. Revenue is increasing when |E| > 1 (elastic), decreasing when |E| < 1 (inelastic), and at its maximum when |E| = 1 (unit elastic).
Connecting MR and Elasticity
SECTION 5
Elasticity, Revenue Regions & Classification
Understanding how elasticity varies along a demand curve is crucial for pricing decisions. Even when the demand curve is linear (and thus has a constant slope), the elasticity changes at every point because it depends on the ratio p/q, which shifts as we move along the curve. The spectrum bar below summarizes the three regimes and the diagram that follows shows how these regimes correspond to different regions of the revenue curve.
Elasticity Spectrum Along a Linear Demand Curve
| Elasticity Regime | |E| Value | MR Sign | Revenue Response to Price Cut |
|---|---|---|---|
| Elastic | |E| > 1 | MR > 0 | Revenue increases |
| Unit Elastic | |E| = 1 | MR = 0 | Revenue unchanged (at maximum) |
| Inelastic | |E| < 1 | MR < 0 | Revenue decreases |
Elasticity regimes and their implications for revenue
SECTION 6
Worked Example — Revenue Maximization
A company sells a product whose demand function is q = 200 − 4p, where q is the weekly quantity sold and p is the price in dollars. We wish to find the revenue function, the marginal revenue, the revenue-maximizing price and quantity, and the price elasticity at the optimum.
Revenue Maximization for q = 200 − 4p
- 1
Step 1 — Rewrite as Inverse Demand
Solve the demand equation q = 200 − 4p for price: 4p = 200 − q, so p(q) = 50 − q/4. This gives us price as a function of quantity, which is the form we need to build the revenue function.p(q) = 50 − 0.25q - 2
Step 2 — Construct the Revenue Function
Total revenue is R(q) = p(q) × q = (50 − 0.25q) × q. Expanding: R(q) = 50q − 0.25q². This is a downward-opening parabola, confirming a unique global maximum exists.R(q) = 50q − 0.25q² - 3
Step 3 — Find Marginal Revenue
Differentiate R(q) with respect to q: R′(q) = d/dq [50q − 0.25q²] = 50 − 0.5q. This is the marginal revenue. Note it has the same vertical intercept as the inverse demand function (50) but twice the slope (−0.5 versus −0.25).MR = R′(q) = 50 − 0.5q - 4
Step 4 — Set MR = 0 to Maximize Revenue
Setting R′(q) = 0: 50 − 0.5q = 0 → 0.5q = 50 → q* = 100. We verify this is a maximum by checking the second derivative: R″(q) = −0.5 < 0 for all q, confirming concavity and a global maximum.Revenue-maximizing quantity: q* = 100 units - 5
Step 5 — Find the Optimal Price and Maximum Revenue
Substituting q* = 100 into the inverse demand function: p* = 50 − 0.25(100) = 50 − 25 = $25. Maximum revenue: R(100) = 50(100) − 0.25(100²) = 5000 − 2500 = $2,500 per week.p* = $25, R_max = $2,500 per week - 6
Step 6 — Verify with Elasticity
At the optimum, E = (dq/dp)(p/q) = (−4)(25/100) = −1. The absolute value |E| = 1, confirming unit elasticity at the revenue maximum, exactly as theory predicts.|E| = 1 at q* = 100 ✓
SECTION 7
Strengths, Limitations & Model Comparisons
The derivative-based approach to demand and revenue analysis is remarkably powerful, but like all models it rests on assumptions that may or may not hold in practice. Understanding these strengths and limitations helps you know when to trust the model's predictions and when to proceed with caution.
| Aspect | Strengths | Limitations |
|---|---|---|
| Precision | Provides exact optimal price and quantity via first- and second-derivative tests, eliminating guesswork. | Precision is only as good as the demand function estimate; real-world demand is noisy and shifts over time. |
| Generality | Works for any differentiable demand function — linear, quadratic, exponential, logistic, etc. | Assumes demand is a smooth, differentiable curve; in practice, demand may have discrete jumps or discontinuities (e.g., psychological pricing thresholds). |
| Elasticity Link | The MR = p(1 + 1/E) identity connects calculus to empirically measurable elasticity, bridging theory and data. | Elasticity itself varies with price, making point estimates less useful for large price changes. |
| Single-Product Focus | Clean, tractable analysis for one-product firms or individual product lines. | Ignores cross-elasticities and portfolio effects when a firm sells multiple complementary or substitute products. |
| Revenue vs. Profit | Revenue maximization is the foundation for profit analysis — just add cost structures. | Maximizing revenue is not the same as maximizing profit; firms must also consider marginal cost (MR = MC for profit max). |
Strengths and limitations of derivative-based revenue analysis
KEY TAKEAWAY
SECTION 8
Connections to Profit Maximization & Advanced Theory
The techniques developed in this lesson extend naturally to the full profit-maximization problem and to more sophisticated market structures. The table below contrasts the revenue-focused analysis of this lesson with the profit-focused analysis you will encounter next, highlighting how the same derivative tools generalize.
| Feature | Revenue Maximization (This Lesson) | Profit Maximization (Next Step) |
|---|---|---|
| Objective Function | R(q) = p(q) × q | π(q) = R(q) − C(q) |
| First-Order Condition | R′(q) = 0 → MR = 0 | π′(q) = 0 → MR = MC |
| Second-Order Condition | R″(q) < 0 | π″(q) < 0, i.e., MR′ < MC′ |
| Elasticity Condition | |E| = 1 at optimum | Firm operates where |E| > 1 (elastic region only) |
| Typical Application | Nonprofits, government agencies, or firms with negligible marginal costs (e.g., digital goods) | Most firms with significant production costs |
Revenue maximization vs. profit maximization
Beyond single-product analysis, derivatives play a central role in price discrimination (using demand derivatives for different consumer segments), oligopoly theory (where firms' revenue functions depend on competitors' quantities via best-response functions), and dynamic pricing (where demand functions shift over time and partial derivatives with respect to both price and time are required). The fundamental skill — differentiating a revenue or profit function and interpreting the sign and magnitude of the derivative — remains the same across all of these advanced contexts.
Looking Ahead
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
This lesson developed the calculus toolkit for analyzing demand functions and revenue functions using derivatives. We began with the historical roots of marginal analysis in the work of Cournot, Jevons, and Marshall, then established five core principles: the demand function q = D(p), the revenue function R(q) = p(q) × q, marginal revenue MR = R′(q) = p(q) + qp′(q), price elasticity of demand E = (dq/dp)(p/q), and the revenue maximization condition MR = 0, equivalently |E| = 1.
Visually, for linear demand p(q) = a − bq, the MR curve has twice the slope of the demand curve and crosses zero at the midpoint q* = a/(2b), which corresponds to unit elasticity and the peak of the revenue parabola. To the left of this point demand is elastic and price cuts raise revenue; to the right demand is inelastic and price cuts lower revenue. The elegant identity MR = p(1 + 1/E) unifies the calculus and economics perspectives, and these same derivative techniques extend naturally to profit maximization (setting MR = MC), nonlinear demand models, and multi-product firms.