Applied Mathematics VI: Marginal Cost and Revenue, Profit and Consumer and Producer Surplus

Section B2 uses calculus on economic functions: marginal cost and marginal revenue as derivatives, the output that maximises profit, and consumer and producer surplus as areas found by definite integrals. The derivative and integral rules themselves are those of the core calculus chapters; this chapter is about their meaning in economics.
Overview

1. Marginal Cost and Marginal Revenue

1 min read

A cost function C(x) gives the total cost of producing x units, and a revenue function R(x) the total revenue from selling x units, with R(x) = price × x. Marginal cost is the extra cost of producing one more unit, and in calculus it is the rate of change of total cost: MC = dC/dx. Marginal revenue is MR = dR/dx. They are exact for a small change in x and approximate the cost or revenue of the next unit. For R(x) = 3x² + 36x + 5, MR = 6x + 36, so at x = 15 units MR = ₹126. For C(x) = 0.007x³ − 0.003x² + 15x + 4000, MC = 0.021x² − 0.006x + 15, so at x = 17, MC = 0.021 × 289 − 0.006 × 17 + 15 = ₹20.967. Total cost has a fixed part (4000 here, which does not change with x) that vanishes on differentiating, so marginal cost does not depend on fixed cost.

A cost function C(x) gives the total cost of producing x units, and a revenue function R(x) the total revenue from selling x units, with R(x) = price × x. Marginal cost is the extra cost of…

2. Profit and Its Maximum

1 min read · 2 parts

Profit is P(x) = R(x) − C(x), and the profit-maximising output is where MR = MC, that is P′(x) = 0, with P″(x) < 0 (the second-derivative test for a maximum). Worked example. Let the demand be such that revenue is R(x) = 100x − 0.5x² and the cost C(x) = 20x + 500. Then P(x) = 80x − 0.5x² − 500, and P′(x) = 80 − x = 0 gives x = 80; P″ = −1 < 0 confirms a maximum. The maximum profit is P(80) = 6,400 − 3,200 − 500 = ₹2,700. At x = 80, MR = 100 − 80 = 20 equals MC = 20. Producing less leaves profit on the table because each extra unit adds more revenue than cost; producing more loses money because each extra unit costs more than it brings.

Marginal analysis at a glance
QuantityMeaningIn calculus
Marginal costCost of one more unitdC/dx
Marginal revenueRevenue from one more unitdR/dx
Profit maximumMR = MC with P″ < 0d(R − C)/dx = 0

Profit is P(x) = R(x) − C(x), and the profit-maximising output is where MR = MC, that is P′(x) = 0, with P″(x) < 0 (the second-derivative test for a maximum). Worked example. Let the demand…

3. Consumer and Producer Surplus

2 min read · 3 parts

At the market price p₀ every unit is sold at the same price. Buyers who would have paid more than p₀ gain a surplus: consumer surplus (CS) is the total excess of what consumers were willing to pay over what they actually pay. Sellers who would have accepted less than p₀ gain too: producer surplus (PS) is the excess of the price they receive over the minimum they would have accepted. Graphically, with demand curve p = D(x), supply curve p = S(x) and equilibrium (x₀, p₀) where D(x₀) = S(x₀) = p₀: CS = ∫₀^x₀ D(x) dx − p₀x₀, the area between the demand curve and the price line, and PS = p₀x₀ − ∫₀^x₀ S(x) dx, the area between the price line and the supply curve. They are definite integrals that find an area.

Worked example. Demand is p = 100 − x and supply is p = 10 + 2x. At equilibrium 100 − x = 10 + 2x, so x₀ = 30 and p₀ = 70. CS = ∫₀³⁰ (100 − x) dx − 70 × 30 = (3,000 − 450) − 2,100 = ₹450. PS = 70 × 30 − ∫₀³⁰ (10 + 2x) dx = 2,100 − (300 + 900) = ₹900. The total surplus is ₹1,350. A price control below p₀ would raise consumers' gain on the units still sold but cut the quantity traded, so the total surplus falls; the usual trap is to compute the full integral and forget to subtract the rectangle p₀x₀ (for CS) or to subtract in the wrong order (for PS).

Reading the surplus areas
SurplusArea betweenValue in the example
Consumer surplusDemand curve and price line₹450
Producer surplusPrice line and supply curve₹900
EquilibriumDemand = supplyx₀ = 30, p₀ = 70
Consumer and producer surplus, worked
  1. Demand p = 100 − x; supply p = 10 + 2x
  2. Equilibrium: x₀ = 30, p₀ = 70
  3. CS = (3,000 − 450) − 2,100 = ₹450Subtract the rectangle p₀x₀
  4. PS = 2,100 − (300 + 900) = ₹900
  5. Total surplus ₹1,350

At the market price p₀ every unit is sold at the same price. Buyers who would have paid more than p₀ gain a surplus: consumer surplus (CS) is the total excess of what consumers were willing…

4. A Price Ceiling and the Surplus Lost

1 min read · 1 part

Take the same market and set a price ceiling of ₹60, below the equilibrium ₹70. At ₹60 consumers demand x = 100 − 60 = 40 units but producers supply only 10 + 2x = 60, so x = 25 units: a shortage of 15. Trade is limited to the shorter side, 25 units. If those units go to the buyers who value them most, CS = ∫₀²⁵ (100 − x) dx − 60 × 25 = (2,500 − 312.5) − 1,500 = ₹687.5, and PS = 60 × 25 − ∫₀²⁵ (10 + 2x) dx = 1,500 − (250 + 625) = ₹625. The total is ₹1,312.5, against ₹1,350 at equilibrium, so ₹37.5 of surplus is lost: the deadweight loss of the ceiling. Consumers who still buy gain (their surplus per unit rises) and producers lose, but the units that no longer trade are a loss to both. The calculation shows how the integrals of this chapter are used in the policy questions of economics.

Equilibrium against a ₹60 ceiling
MeasureEquilibrium (₹70)Ceiling (₹60)
Quantity traded3025
Consumer surplus450687.5
Producer surplus900625
Total surplus1,3501,312.5

Take the same market and set a price ceiling of ₹60, below the equilibrium ₹70. At ₹60 consumers demand x = 100 − 60 = 40 units but producers supply only 10 + 2x = 60, so x = 25 units: a…

5. Worked Problems: Profit Maximum and Surplus

1 min read · 2 parts

Let revenue be R(x) = 100x − 2x² and cost C(x) = 20x + 500. Then MR = 100 − 4x and MC = 20. Profit is greatest where MR = MC, so 100 − 4x = 20 and x = 20. The second derivative of profit is −4, which is negative, confirming a maximum. At x = 20, R = 2,000 − 800 = 1,200, C = 400 + 500 = 900, and the maximum profit is 300. For surplus, take demand p = 50 − x and supply p = 10 + x. Equating them gives x = 20 and p = 30. The consumer surplus is the triangle between the demand curve and the price line, ½ × 20 × (50 − 30) = 200, and the producer surplus is the triangle between the price line and the supply curve, ½ × 20 × (30 − 10) = 200.

⚠️ Profit is not revenue
Setting MR = 0 gives the point of maximum revenue (x = 25 here), which is a different point from maximum profit. Profit is maximised where marginal revenue equals marginal cost, provided the second-order condition holds. A question that asks for maximum profit and a student who maximises revenue will differ by the cost term.
Finding the profit maximum
  1. R = 100x − 2x²; C = 20x + 500
  2. MR = 100 − 4x; MC = 20
  3. MR = MC gives x = 20
  4. Second derivative −4 < 0: maximum
  5. Profit = 1,200 − 900 = 300
MR = 0 gives maximum revenue, a different point.

Let revenue be R(x) = 100x − 2x² and cost C(x) = 20x + 500. Then MR = 100 − 4x and MC = 20. Profit is greatest where MR = MC, so 100 − 4x = 20 and x = 20. The second derivative of profit is…

Key takeaways

  • Marginal cost is dC/dx and marginal revenue dR/dx; fixed cost does not affect marginal cost.
  • Profit P = R − C is maximised where MR = MC and P″ < 0.
  • Consumer surplus = ∫D(x)dx − p₀x₀; producer surplus = p₀x₀ − ∫S(x)dx, both from 0 to the equilibrium quantity.
  • A price ceiling below equilibrium cuts the quantity traded and total surplus, leaving a deadweight loss.

Practice questions (24)

Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.

  1. Marginal cost is defined as:

    1. dC/dx
    2. C/x
    3. C × x
    4. x/C
    Show answer

    Answer: A — dC/dx

    Marginal cost is the rate of change of total cost with output, dC/dx. C/x is the average cost.
  2. For R(x) = 3x² + 36x + 5, the marginal revenue at x = 15 is:

    1. 36
    2. 90
    3. 710
    4. 126
    Show answer

    Answer: D — 126

    MR = 6x + 36 = 6 × 15 + 36 = 126. The 36 is the value at x = 0.
  3. Profit is maximised where:

    1. MR = 0
    2. C(x) is smallest
    3. MR = MC with P″ < 0
    4. R(x) is smallest
    Show answer

    Answer: C — MR = MC with P″ < 0

    Setting P′ = 0 means MR = MC, and the second derivative negative confirms a maximum.
Show the other 21 questions
  1. Consumer surplus is the area between:

    1. The supply curve and the price line
    2. The demand curve and the price line
    3. The supply and demand axes
    4. The cost and revenue curves
    Show answer

    Answer: B — The demand curve and the price line

    It is what buyers would pay in total minus what they actually pay; the supply-curve area is the producer surplus.
  2. For C(x) = 0.007x³ − 0.003x² + 15x + 4000, the marginal cost at x = 17 is about:

    1. 20.967
    2. 4,000
    3. 15
    4. 21,000
    Show answer

    Answer: A — 20.967

    MC = 0.021x² − 0.006x + 15 = 6.069 − 0.102 + 15 = 20.967. The fixed cost 4,000 drops out of the derivative.
  3. With R(x) = 100x − 0.5x² and C(x) = 20x + 500, the profit-maximising output is:

    1. 100
    2. 40
    3. 20
    4. 80
    Show answer

    Answer: D — 80

    P′ = 80 − x = 0 gives x = 80, and P″ = −1 < 0. The value 100 is where revenue alone peaks, with MR = 0, which is not the condition MR = MC.
  4. The maximum profit in that problem is:

    1. ₹3,200
    2. ₹6,400
    3. ₹2,700
    4. ₹500
    Show answer

    Answer: C — ₹2,700

    P(80) = 80 × 80 − 0.5 × 6,400 − 500 = 6,400 − 3,200 − 500 = 2,700. The value 6,400 forgets the other terms.
  5. Demand is p = 100 − x and supply is p = 10 + 2x. The equilibrium quantity and price are:

    1. 45 and 55
    2. 30 and 70
    3. 70 and 30
    4. 90 and 10
    Show answer

    Answer: B — 30 and 70

    100 − x = 10 + 2x gives x = 30, and p = 100 − 30 = 70. The pair 70 and 30 swaps price and quantity.
  6. For demand p = 100 − x and supply p = 10 + 2x, the consumer surplus is:

    1. ₹450
    2. ₹900
    3. ₹2,550
    4. ₹1,350
    Show answer

    Answer: A — ₹450

    CS = ∫₀³⁰ (100 − x) dx − 70 × 30 = 2,550 − 2,100 = 450. The value 900 is the producer surplus and 1,350 their sum.
  7. In the same market, the producer surplus is:

    1. ₹450
    2. ₹1,200
    3. ₹2,100
    4. ₹900
    Show answer

    Answer: D — ₹900

    PS = 70 × 30 − ∫₀³⁰ (10 + 2x) dx = 2,100 − 1,200 = 900. The 2,100 is the revenue, not the surplus.
  8. The cost function is C(x) = 3x² + 5x + 100. The marginal cost at x = 4 is:

    1. 29
    2. 42
    3. 168
    4. 5
    Show answer

    Answer: A — 29

    MC = dC/dx = 6x + 5, which is 29 at x = 4. 42 is the tempting wrong option, the average cost C(4) ÷ 4 = 168 ÷ 4, which is a different quantity from the marginal cost.
  9. If the demand (price) function is p = 40 − x, the revenue function R(x) is:

    1. 40 − x
    2. 40x − x²
    3. 40 − x²
    4. 40x + x²
    Show answer

    Answer: B — 40x − x²

    Revenue = price × quantity = (40 − x) × x = 40x − x². 40 − x is the tempting wrong option, which is the price per unit, not the total revenue.
  10. A firm sells every unit at a fixed price of ₹25, so R(x) = 25x. Its marginal revenue is:

    1. ₹25x
    2. ₹0
    3. ₹25
    4. ₹625
    Show answer

    Answer: C — ₹25

    MR = dR/dx = 25, since each extra unit adds ₹25. ₹25x is the tempting wrong option, which is the total revenue itself rather than its rate of change.
  11. With R(x) = 60x − 0.5x² and C(x) = 10x + 200, the profit-maximising output and the maximum profit are:

    1. x = 60, profit 1,000
    2. x = 50, profit 1,250
    3. x = 40, profit 800
    4. x = 50, profit 1,050
    Show answer

    Answer: D — x = 50, profit 1,050

    Profit = −0.5x² + 50x − 200, so P′ = 50 − x = 0 gives x = 50 and P(50) = −1,250 + 2,500 − 200 = 1,050, with P″ = −1 < 0. x = 60 is the tempting wrong option, where MR = 0 and revenue (not profit) is maximum; 1,250 forgets the fixed cost 200.
  12. Demand is p = 60 − 2x and supply is p = 10 + 3x. The consumer surplus at equilibrium is:

    1. ₹100
    2. ₹150
    3. ₹400
    4. ₹500
    Show answer

    Answer: A — ₹100

    Equilibrium: 60 − 2x = 10 + 3x gives x = 10, p = 40. CS = ∫₀¹⁰ (60 − 2x) dx − 40 × 10 = 500 − 400 = ₹100. ₹150 is the tempting wrong option, the producer surplus of the same market; ₹500 is the area under demand, before subtracting the amount actually paid.
  13. In the same market (demand p = 60 − 2x, supply p = 10 + 3x), the producer surplus at equilibrium is:

    1. ₹100
    2. ₹150
    3. ₹250
    4. ₹400
    Show answer

    Answer: B — ₹150

    PS = 40 × 10 − ∫₀¹⁰ (10 + 3x) dx = 400 − (100 + 150) = ₹150. ₹100 is the tempting wrong option, the consumer surplus; ₹250 is the integral under supply, the cost of production, which has not been subtracted from the revenue 400.
  14. For C(x) = x³/3 − 4x² + 20x + 50, the minimum value of the marginal cost is:

    1. 20
    2. 50
    3. 4
    4. 12
    Show answer

    Answer: C — 4

    MC = x² − 8x + 20, which is smallest where its derivative 2x − 8 = 0, at x = 4, giving MC = 16 − 32 + 20 = 4. 20 is the tempting wrong option, MC at x = 0, which is not the lowest point of the curve.
  15. With R(x) = 70x − x² and C(x) = 20x + 400, the break-even outputs (where profit is zero) are:

    1. x = 20 and x = 30
    2. x = 0 and x = 50
    3. x = 15 and x = 35
    4. x = 10 and x = 40
    Show answer

    Answer: D — x = 10 and x = 40

    Profit = −x² + 50x − 400 = 0, so x² − 50x + 400 = 0 and (x − 10)(x − 40) = 0. x = 20 and x = 30 is the tempting wrong option: the pair adds to 50 like the true roots, but its product is 600, not 400, and the profit at x = 20 is ₹200, not zero.
  16. With R(x) = 100x − x² and C(x) = x² + 20x + 50, profit is maximum at an output of:

    1. 20
    2. 50
    3. 40
    4. 10
    Show answer

    Answer: A — 20

    MR = 100 − 2x and MC = 2x + 20; setting MR = MC gives 80 = 4x, so x = 20, and the profit curve has second derivative −4 < 0. 50 is the tempting wrong option, where MR = 0 and so revenue, not profit, is maximum.
  17. Demand is p = 80 − 4x and the market price is ₹40. The consumer surplus is:

    1. ₹400
    2. ₹200
    3. ₹300
    4. ₹800
    Show answer

    Answer: B — ₹200

    At p = 40, x = 10. CS = ∫₀¹⁰ (80 − 4x) dx − 40 × 10 = 600 − 400 = ₹200, which is the triangle ½ × 10 × (80 − 40). ₹400 is the tempting wrong option, the rectangle 10 × 40 actually paid, or equally the base × height of the triangle without the half.
  18. Demand is p = 100 − x and supply is p = 10 + 2x. A price ceiling of ₹50 is imposed. If the units traded go to the buyers who value them most, the loss of total surplus (deadweight loss) is:

    1. ₹300
    2. ₹450
    3. ₹150
    4. ₹1,200
    Show answer

    Answer: C — ₹150

    At equilibrium (x = 30, p = 70) CS = 450 and PS = 900, a total of 1,350. At the ceiling only 20 units are supplied (10 + 2x = 50): CS = 2,000 − 200 − 1,000 = 800 and PS = 1,000 − 600 = 400, a total of 1,200. The loss is 1,350 − 1,200 = ₹150. ₹300 is the tempting wrong option, double the true triangle ½ × 10 × 30; ₹1,200 is the surplus that remains.
  19. A firm sells at a fixed price ₹21 and its cost is C(x) = x³/3 − 5x² + 30x + 50. The profit-maximising output is:

    1. 1
    2. 5
    3. 21
    4. 9
    Show answer

    Answer: D — 9

    MR = 21 and MC = x² − 10x + 30, so MR = MC gives x² − 10x + 9 = 0, x = 1 or 9. The profit curve has P″ = −(2x − 10), which is negative at x = 9 (maximum, profit 189 − 158 = 31) and positive at x = 1 (minimum). x = 1 is the tempting wrong option: it also satisfies MR = MC but is a minimum of profit.
  20. The demand curve is p = 100 − x² and the market price is ₹64. The consumer surplus is:

    1. ₹144
    2. ₹108
    3. ₹528
    4. ₹384
    Show answer

    Answer: A — ₹144

    At p = 64, x = 6. CS = ∫₀⁶ (100 − x²) dx − 64 × 6 = (600 − 72) − 384 = ₹144. ₹108 is the tempting wrong option, the triangle ½ × 6 × 36 which treats the curved demand as a straight line; ₹528 is the area under demand without subtracting the ₹384 paid.
  21. The supply curve is p = x² + 4 and the market price is ₹29. The producer surplus is about:

    1. ₹62.50
    2. ₹83.33
    3. ₹61.67
    4. ₹145
    Show answer

    Answer: B — ₹83.33

    At p = 29, x = 5. PS = 29 × 5 − ∫₀⁵ (x² + 4) dx = 145 − (125/3 + 20) = 145 − 61.67 = ₹83.33. ₹62.50 is the tempting wrong option, the triangle ½ × 5 × 25 that treats the curved supply as a straight line; ₹61.67 is the integral (cost) alone, not subtracted from revenue 145.