Skip to content

Foundations of differential calculus ​

The central question of this chapter: "How much extra does one more unit of output earn?" "If the price rises another 1%, how much does the quantity sold fall?" Economics lumps these together under the name of marginal analysis, and its mathematical identity is the derivative. Why, from the 1870s onwards, was almost all of economics rewritten in the language of derivatives?

The arc of this chapter ​

Calculus was born in the 1660s-80s, invented independently by Newton (1643-1727) and Leibniz (1646-1716) — the former starting from the velocity of motion, the latter from the geometry of the tangent line, both arriving at "the rate of change at an instant". But economics took up the tool nearly two hundred years after its invention. In 1838 the French mathematician Cournot (1801-1877) published Research into the Mathematical Principles of the Theory of Wealth, the first systematic introduction of functions and derivatives into economic analysis — the Cournot duopoly model in today's micro textbooks (the central example of chapter 4, "The theory of markets", of Western Economics) is a legacy of that book. It was admired by few, and what really detonated the revolution was the marginal revolution of the 1870s: Jevons (1835-1882), Menger (1840-1921) and Walras independently shifted the pivot of value theory from "the total" (how much labour went into it) to "the marginal" (what one more unit brings) — the diminishing marginal utility displaced the labour theory of value as the core of the explanation of price, and the derivative became the mother tongue of economics from then on. In the 1890s Clark (1847-1939) promoted marginal productivity into the distribution principle of factor payment, and in the 1930s Hicks (1904-1989) arranged consumer choice as derivative conditions under constraints, and "marginal" completed its takeover of the entire home ground of microeconomics.

Why does this tool deserve the status? Because the core question of economics is the direction of adjustment of a choice: should output, prices, the saving rate go up or down, and where should they stop — "where to stop" is "where the rate of change is zero", exactly what the derivative is best at answering. The route of the chapter: the strict definition of the derivative and the basic rules of differentiation; higher-order derivatives (the second-order condition — the only way to tell a maximum from a minimum); the geometric meaning of the differential (tangent line and linear approximation); a table of common derivatives; and finally matching the mathematical objects to the economic protagonists one by one — marginal cost, elasticity, the first-order condition.

Core concepts ​

The derivative ​

The derivative describes the instantaneous rate of change of a function at a point. Let f(x)f(x) be differentiable at xx; then

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

If this limit exists, ff is differentiable at xx. The fraction in the definition, f(x+h)−f(x)h\frac{f(x+h)-f(x)}{h}, is the average rate of change over the interval; h→0h \to 0 compresses the average into the instantaneous value.

Why does economics want the "instantaneous" rather than the "average"? Because decisions happen at the margin: the firm has already produced xx units and now discusses the (x+1)(x+1)-th — not the average from the start (average cost), but the instantaneous slope at this point (marginal cost). The contribution of Cournot and the marginal revolutionaries can be summed up in one sentence: they refined "what happens if I have one more unit" from a crude average into an exact derivative. Incidentally, differentiability also requires the left and right limits to agree — a function at a kink (such as ∣x∣|x| at the origin) is continuous but not differentiable, and this detail returns to economics below in the form of the kinked demand curve.

The basic rules of differentiation ​

Constants and power functions: f(x)=c⇒f′(x)=0f(x) = c \Rightarrow f'(x) = 0; and f(x)=xn⇒f′(x)=nxn−1f(x) = x^n \Rightarrow f'(x) = nx^{n-1}. Sums, differences, products, quotients: if ff and gg are both differentiable, then

(f±g)′=f′±g′,(f⋅g)′=f′g+fg′,(fg)′=f′g−fg′g2(f \pm g)' = f' \pm g', \qquad (f \cdot g)' = f'g + fg', \qquad \left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}

Common functions: (ex)′=ex(e^x)' = e^x, (ln⁡x)′=1x(\ln x)' = \frac{1}{x}, (sin⁡x)′=cos⁡x(\sin x)' = \cos x, (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x, (arctan⁡x)′=11+x2(\arctan x)' = \frac{1}{1+x^2}.

Why a set of rules instead of returning to the definition each time? Because the definition is the proof of legitimacy and the rules are the working instruments: almost every function in economics (polynomial costs, exponential growth, logarithmic utility) can be differentiated mechanically from these rules. The power rule nxn−1nx^{n-1} doubles as an elasticity output: differentiate the Cobb-Douglas production function Y=AKαLβY = AK^{\alpha}L^{\beta} with respect to KK and LL to get MPK=αAKα−1LβMP_K = \alpha AK^{\alpha-1}L^{\beta} and MPL=βAKαLβ−1MP_L = \beta AK^{\alpha}L^{\beta-1} — the exponents α\alpha and β\beta read directly as the elasticities of output, which is why the form is everywhere in empirical work. More generally, "take logs, then differentiate" turns relative rates of change into slopes of logs, as developed in the elasticity section of chapter 12.

Higher-order derivatives and the second-order condition ​

A higher-order derivative differentiates the derivative again: f′′(x)f''(x) is the derivative of f′(x)f'(x). For f(x)=xnf(x) = x^n, f′′(x)=n(n−1)xn−2f''(x) = n(n-1)x^{n-2}; every derivative of exe^x is itself.

Why is the second derivative special in economics? Because the first-order condition f′(x)=0f'(x) = 0 only finds the "flat points" — a maximum and a minimum are indistinguishable there. What separates them is the second-order condition: f′′(x)<0f''(x) < 0 (the rate of change itself is decreasing) is a maximum. Every optimisation conclusion in economics is a duet of the pair: profit maximisation has MR=MCMR = MC plus "MC rising faster than MR"; utility maximisation has MRS=PX/PYMRS = P_X/P_Y plus convexity of preferences (an indifference curve convex to the origin is precisely the geometric statement of the second-order condition). Diminishing marginal utility, increasing marginal cost, risk aversion (a concave utility function) — the three great "diminishing" propositions of microeconomics all translate into f′′<0f'' < 0.

The differential and the tangent-line approximation ​

The derivative f′(x0)f'(x_0) of ff at (x0,f(x0))(x_0, f(x_0)) is the slope of the tangent line at that point, whose equation is y−f(x0)=f′(x0)(x−x0)y - f(x_0) = f'(x_0)(x - x_0). The differential dy=f′(x)dx\mathrm{d}y = f'(x)\mathrm{d}x is the increment when the curve is replaced by its tangent approximation: Δy≈f′(x)Δx\Delta y \approx f'(x)\Delta x (for small Δx\Delta x).

Why does a linear approximation deserve a name of its own? Because it is the mathematical boundary of "when marginal reasoning is valid": saying "one more unit of output costs an extra MCMC yuan" is strictly true only for an infinitesimal unit; for a whole discrete unit the differential approximation leaves an error — negligible for small hh, but in policy quantification (say, how much output a 10% subsidy brings) one must be aware that this is an approximation and not an identity. The distinction between "point elasticity and arc elasticity" in the elasticity calculations is precisely the economic version of this approximation.

Problems and analysis ​

How do marginal cost and marginal revenue read off from the definition of the derivative? ​

The marginal cost of a cost function C(x)C(x) is MC=C′(x)MC = C'(x) — the definition of the derivative sharpens it into lim⁡h→0C(x+h)−C(x)h\lim_{h\to 0}\frac{C(x+h)-C(x)}{h}: the per-unit cost increase from producing hh more units, in the limit as h→0h \to 0. Example: C(x)=2x2+3x+5C(x) = 2x^2 + 3x + 5, so MC=C′(x)=4x+3MC = C'(x) = 4x + 3 — the higher the output, the higher the marginal cost (the work of the x2x^2 term), which is the micro-form of increasing costs. Likewise, differentiating total revenue R(x)=P(x)⋅xR(x) = P(x) \cdot x with respect to output gives marginal revenue; when demand slopes down, MR<PMR < P (selling one more unit requires lowering the price of every unit already on sale), and the monopolist therefore holds output where MR=MCMR = MC (fully developed in chapter 4, "The theory of markets", of Western Economics).

Why is elasticity a derivative in the logarithmic sense? ​

The price elasticity of demand Ed=−dQdP⋅PQE_d = -\frac{\mathrm{d}Q}{\mathrm{d}P} \cdot \frac{P}{Q} measures the percentage change in quantity demanded when the price changes by 1%. It is not an ordinary derivative but a "ratio of relative changes": the ordinary derivative answers "how much does the absolute quantity change", but for cars and matches the meaning of "cut 1 yuan" is worlds apart — only relative changes are comparable. Taking logs of both sides of Q=AP−bQ = AP^{-b} gives ln⁡Q=ln⁡A−bln⁡P\ln Q = \ln A - b \ln P, and the elasticity is exactly the slope of the logs, −b-b, independent of the price level — hence the name "constant elasticity". Chapter 12 shows how this "differentiate the logs" technique becomes the computational basis of growth accounting (the Solow residual).

Derivations and worked examples ​

Example 1: from a cost function to the optimal output ​

Let C(x)=2x2+3x+5C(x) = 2x^2 + 3x + 5 and P=47P = 47 (a perfectly competitive firm, price taken as given). Profit is π(x)=47x−(2x2+3x+5)\pi(x) = 47x - (2x^2 + 3x + 5). First-order condition:

π′(x)=47−(4x+3)=0⟹x=11\pi'(x) = 47 - (4x + 3) = 0 \quad\Longrightarrow\quad x = 11

Second-order condition: π′′(x)=−4<0\pi''(x) = -4 < 0, confirming a maximum. Check the economic condition: at x=11x = 11, MC=4(11)+3=47=PMC = 4(11) + 3 = 47 = P — the signature snapshot of the competitive firm, "price equals marginal cost". The example also shows three things meeting in one place: the differentiation rules, solving the first-order condition for output, and verifying the nature of the solution with the second-order condition.

Example 2: elasticity and total revenue moving together ​

Let demand be Q=100−2PQ = 100 - 2P. The point elasticity is Ed=−dQdP⋅PQ=2P100−2PE_d = -\frac{\mathrm{d}Q}{\mathrm{d}P}\cdot\frac{P}{Q} = \frac{2P}{100 - 2P}. At P=25P = 25 (Q=50Q = 50) we have Ed=1E_d = 1 — exactly the maximum of total revenue R=P(100−2P)R = P(100 - 2P): R′=100−4P=0R' = 100 - 4P = 0 gives P=25P = 25. The two threads (elasticity equal to one, MR=0MR = 0) meet at the revenue maximum, an instance of the theorem that "total revenue is extreme when ∣Ed∣=1|E_d| = 1": to decide between raising and cutting the price, first look at which stretch of the elasticity range you are standing in.

Limits and what comes next ​

First, the assumption of differentiability is not automatic: Sweezy's (1910-2004) kinked demand curve of 1939 describes rivals "following down but not following up" as a kink in the demand curve — at the kink the derivative does not exist, the marginal revenue curve has a gap, and prices are therefore sticky. Continuous differentiability is a modelling choice rather than a property of reality; thresholds, exit decisions and fixed costs produce kinks everywhere. Second, data are discrete: the "marginal" in statistics is approximated with differences (Δy/Δx\Delta y / \Delta x), and the coarser the sample the worse the approximation; the estimation of marginal effects in econometrics (such as the average marginal effects of a logit model) is a derivative in essence, but its reliability is limited by the assumption on functional form. Third, the amendments after the marginal revolution: Chamberlin (1899-1967) and Robinson (1903-1983) pushed marginal analysis into imperfect competition in 1933 while exposing the complicated welfare implications of MR=MCMR = MC under monopoly; behavioural economics questions the psychological reality of "infinitely divisible continuous choice" (decisions are often discrete and threshold-like); and numerical optimisation (an extension of chapter 12) takes over when an analytic derivative is not available. The language of derivatives expanded under amendment rather than retiring — it is the one piece of general syntax in today's economics with no substitute.

References ​