Derivatives for
Demand & Revenue
Learn how marginal analysis uses derivatives to find optimal pricing, maximize revenue, and interpret demand curves like an economist.
What Is a Demand Function?
A demand function \( D(p) \) (or equivalently \( q = f(p) \)) tells you the quantity demanded of a product at a given price \( p \). As price rises, demand typically falls: the curve slopes downward.
Building the Revenue Function
Revenue is simply price times quantity. If quantity depends on price through a demand function \( D(p) \), then:
This is a downward-opening parabola: revenue starts at zero, rises to a maximum, then falls back to zero. The derivative \( R'(p) \) tells us exactly where revenue peaks.
Why Derivatives Matter Here
Core Rule: Marginal Revenue
This formula has two intuitive parts:
Visualizing Maximum Revenue
\( D'(p) \) vs. \( R'(p) \)
| \( D'(p) \) | \( R'(p) \) | |
|---|---|---|
| Measures | Change in quantity per $1 | Change in revenue per $1 |
| Typical Sign | Always negative | Positive, then negative |
| Key Insight | Steeper = more price-sensitive | Zero at max revenue |
| Units | \( \text{units} / \text{dollar} \) | \( \text{dollars} / \text{dollar} \) |
How to Find Maximum Revenue
Example 1: Linear Demand
A coffee shop finds that daily demand is \( D(p) = 300 - 6p \) cups when the price is \( p \) dollars. Find the price that maximizes daily revenue.
Example 2: Nonlinear Demand
A streaming service models subscribers (in thousands) as \( D(p) = \frac{500}{p + 5} \) where \( p \) is the monthly fee in dollars.
Example 3: Quadratic Demand
A gadget maker has demand \( D(p) = 1000 - 2p^2 \) for \( 0 \le p \le 22 \). Find the revenue-maximizing price.
The Product Rule in Action
When you cannot easily expand \( R(p) = p \cdot D(p) \), apply the product rule directly. Let \( u = p \) and \( v = D(p) \):
This is especially useful for demand functions involving square roots, exponentials, or fractions where expanding would be messy.
Interpreting the Sign of \( R'(p) \)
Confirming with \( R''(p) \)
After finding \( p^* \) where \( R'(p^*) = 0 \), the second derivative test tells you the nature of the critical point:
Common Mistakes to Avoid
Summary of Key Formulas
| Concept | Formula | What It Tells You |
|---|---|---|
| Demand | \( q = D(p) \) | Quantity at price \( p \) |
| Revenue | \( R(p) = p \cdot D(p) \) | Total income at price \( p \) |
| Marginal Revenue | \( R'(p) = D(p) + pD'(p) \) | Revenue change per $1 |
| Optimal Price | Solve \( R'(p) = 0 \) | Where revenue is maximized |
| Max Confirmation | \( R''(p^*) < 0 \) | Confirms a peak, not a valley |
Question 1 of 5
If \( D(p) = 400 - 8p \), what is the revenue function \( R(p) \)?
Question 2 of 5
Given \( R(p) = 400p - 8p^2 \), what is the marginal revenue \( R'(p) \)?
Question 3 of 5
A company's revenue is \( R(p) = 600p - 12p^2 \). At what price is revenue maximized?
Question 4 of 5
Using the product rule, \( R'(p) = D(p) + p \cdot D'(p) \). If \( D(p) = 100 - 2p \), what does \( R'(10) \) equal?
Question 5 of 5
If \( R'(p^*) = 0 \) and \( R''(p^*) = -8 \), what can you conclude?