The full academy launches January 2027. Join the waitlist for the $179 founding price.
Waldbauer Academy of Economics

Courses › Intermediate Microeconomics

Second and third year · Module 1 of 15

Models, optimization, and the math toolkit

What changes in intermediate micro: models and comparative statics, derivatives as marginal values, optimization, elasticity with calculus, and constrained choice.

By Maximus S. Waldbauer · About 3½ hours, including the problem set and quiz.

First-year micro taught you to think at the margin: keep doing something as long as the extra benefit beats the extra cost. Intermediate micro keeps that idea and makes it exact. The marginal benefit becomes a derivative, “keep going until they’re equal” becomes a first-order condition, and a graph becomes an equation you can solve.

This module is the toolkit for the rest of the course. It reviews the handful of calculus ideas you need, always with an economic meaning attached, and shows how economists use models to answer “what happens if…?” questions. If your math is rusty, take your time here. Every later module leans on it.

By the end of this module you will be able to

What this module covers

  1. What intermediate micro adds
  2. Derivatives are marginal values
  3. Finding the best choice
  4. Elasticity with calculus
  5. Choosing under a constraint
  6. Problem set with step-by-step solutions
  7. Module quiz

Lesson 1.1 Free lesson

What intermediate micro adds

An economic model is a simplified description of how some part of the world works, written precisely enough that you can work out its consequences. A map is a good comparison: a subway map leaves out almost everything about the city, and that is exactly why it is useful for getting from one station to another.

Every model sorts its variables into two groups. Exogenous variables are taken as given from outside the model: prices a single shopper can’t change, the weather, a tax rate set by government. Endogenous variables are what the model explains: how many concert tickets a fan buys, how many tacos a food truck makes, the price a market settles on.

Two assumptions that do most of the work

Neither assumption says people are perfectly informed geniuses. Optimization only says people do the best they can with what they know and what they like. Later modules look at evidence on when that works well and when it doesn’t.

Comparative statics

Most questions in economics are “what happens if…?” questions. What happens to rents if a city adds 5,000 apartments? What happens to coffee sales if a tax goes up? Comparative statics answers them by comparing two equilibria: the one before the change in an exogenous variable, and the one after. It doesn’t trace the path between them, only where you end up.

Worked example: Comparative statics in a café market

Demand for lattes in a town is Qd = 1,000 − 100P and supply is Qs = 100P + 600 − 50w, where w is the hourly wage of baristas. P and Q are endogenous; w is exogenous. The wage enters supply with a minus sign because higher wages raise the cost of making each latte.

Set Qd = Qs: 1,000 − 100P = 100P + 600 − 50w, so 200P = 400 + 50w and P = 2 + 0.25w.

At a wage of $16, P = 2 + 4 = $6 and Q = 1,000 − 600 = 400 lattes a day. The comparative static is dP/dw = 0.25.

Each $1 increase in the barista wage raises the equilibrium latte price by 25 cents. The sign makes economic sense: higher costs reduce supply and raise the price. Checking signs like this is a habit worth building.

Common mistake

Treating a model’s assumptions as claims that the world is exactly like that. A model is judged by whether it helps explain and predict, not by whether every assumption is literally true. A good habit is to ask which assumptions drive a result, and whether the result would survive if they were relaxed.

Key ideas

  • A model sorts variables into exogenous (given) and endogenous (explained).
  • Most of micro rests on two assumptions: optimization and equilibrium.
  • Comparative statics compares equilibria before and after a change in an exogenous variable.
  • Always check that the sign of a comparative static makes economic sense.

Practice questions: Models, optimization, and the math toolkit

Try these, then open each answer to check your work.

  1. 1.In a model of the market for apartment rentals in one city, which is exogenous?
    1. The equilibrium rent
    2. The number of apartments rented
    3. A property tax rate set by the city
    4. The quantity of apartments demanded
    Show answer

    Answer: C. Exogenous variables come from outside the model. The tax rate is set by government; rent and quantity are what the model explains.

  2. 2.Comparative statics means:
    1. Tracing month by month how a market adjusts to a shock
    2. Assuming that no exogenous variable ever changes
    3. Estimating a demand curve from data on prices and sales
    4. Comparing equilibria before and after a change in an exogenous variable
    Show answer

    Answer: D. It compares end points, not the path between them.

  3. 3.If C(q) = 100 + 4q + 0.5q2, what is marginal cost at q = 10?
    1. 4
    2. 9
    3. 14
    4. 100
    Show answer

    Answer: C. MC = C′(q) = 4 + q = 14 at q = 10.

Problems with step-by-step solutions

  1. 4.A city’s apartment market has demand Qd = 50,000 − 20R and supply Qs = 10,000 + 20R + 500B, where R is monthly rent in dollars and B is the number of new buildings approved this year. Which variables are endogenous and which exogenous? Find R as a function of B and the comparative static dR/dB.
    Show step-by-step solution
    1. R and Q are endogenous; B is exogenous (set by the city).
    2. Set Qd = Qs: 50,000 − 20R = 10,000 + 20R + 500B, so 40R = 40,000 − 500B.
    3. R = 1,000 − 12.5B.
    4. dR/dB = −12.5: each additional building approved lowers equilibrium rent by $12.50 a month. The sign makes sense: more supply, lower rent.
  2. 5.Differentiate: (a) f(x) = 4x3 − 2x + 9; (b) g(x) = 10√x; (c) h(x) = 3 ln x; (d) k(x) = (2x + 1)4.
    Show step-by-step solution
    1. (a) f′(x) = 12x2 − 2.
    2. (b) g(x) = 10x0.5, so g′(x) = 5x−0.5 = 5/√x.
    3. (c) h′(x) = 3/x.
    4. (d) Chain rule: 4(2x + 1)3 × 2 = 8(2x + 1)3.

Get the full module

The complete module adds every lesson, interactive graphs, a full problem set with step-by-step solutions, and a quiz. The academy opens in January 2027: join the waitlist for the founding price (lifetime access for $179).

Join the waitlist Try a full module free

More practice: free practice questions for this course.