Estimating Demand and Supply Curves
Using elasticity plus a few starred averages pulled from real data, we cook up an approximate linear demand (or supply) curve without having to derive it from scratch.
So we learned about elasticity.
And the cool thing is — using this elasticity idea, we can approximately derive the demand curve (or the supply curve).
Up until now, the demand curve has just been handed to us. Curve given → check elasticity → predict how demand moves when price moves. Done.
What made all that possible????
Yep. “Because the demand curve was already given.”
But realistically? Deriving a demand curve out in the wild is… a stretch.
Why? Because it’s complicated.
Like, so complicated we don’t even want to try.
So instead, what we actually do is — we lean on statistical data,
![]()
given a valid estimate of that elasticity at a representative price-quantity point, we cook up a locally calibrated linear demand curve. That’s our approximate equation — not a claim that simply averaging market observations identifies demand.
“Approximate” meaning: only kinda right. Error is not zero.
And also!!! It only holds for changes in $P$ that aren’t too big.
OK with that framing, let’s go derive the approximate equation.
First!!! From statistical data,
![]()
can be estimated with an appropriate empirical design. But observed prices and sales move when either demand or supply shifts, so their raw percentage-change ratio need not be a demand elasticity.
Here we’ll take the elasticity as an input estimated for the relevant point and other conditions. Experiments or suitable exogenous variation can help separate the price response; chopping the data into averages alone cannot!

Heads-up: This sketch describes processing data, not identification by itself: equilibrium price-quantity observations can reflect shifts of both curves. The calculation below assumes a valid price-elasticity input at the chosen calibration point.
OK now let’s switch hats and think about it as math.
What we want is some kind of straight line — a first-degree thing.
Big disclaimer about econ vs math:
For the mathematical function $Q(P)$, P is the input and Q the output. The conventional economics diagram nevertheless puts P vertically and Q horizontally.
That’s an axis convention, not a universal rule about cause and effect!!!
For the nonzero-slope linear demand relation we’re calibrating, an inverse relation exists. A horizontal $Q(P)$ line would be an exception, so straight-line form alone is not enough.
What we want is:

That’s the target.
Now, from the statistical data,
![]()
we take an estimated elasticity at the calibration point, along with representative positive sales volume and price values. Those price and quantity values may be sample averages; the elasticity at that point is not automatically the average of all observed elasticities.
The elasticity input is
![]()
We’ll mark these inputs with stars and call them
![]()
,
![]()
,
![]()
.
Then from the definition of elasticity, we can estimate $dQ/dP$.
![]()
and plugging the starred estimates in,

we can write it like that, so
the estimate of $dQ/dP$ is

and boom — at this point we’ve nailed down most of the first-degree approximate equation:

And now, how do we get the leftover y-intercept?
We just need one mildly-obvious assumption, heh heh heh.
“This approximate demand curve we’re building? It’s gotta pass through
![]()
.”
If it passes through that point, then plugging the point into the equation has to satisfy it,
i.e.,

this has to hold too, so

that’s what it works out to. And the approximate equation is done:

OK shall we run an example through this thing.
“In 1990, per capita chicken consumption in the United States was about 70 pounds, while the inflation-adjusted average retail price was about $0.7 per pound. The estimated elasticity of demand for chicken was −0.55.”
What’s the approximate demand curve?
→
![]()

Done.
Can we pull the same trick for the supply curve????
Process the supply data, spit out
![]()
,
![]()
,
![]()
and with the definition

we build

and the y-intercept follows the same reasoning — assume the curve passes through
![]()
and once you finish it off,

it’s just…. the same thing…. (obviously,….)
Only the data swapped out — now it’s about supply instead of demand.
The algebraic skeleton? Identical, heh heh heh heh heh heh.
Questions or corrections?
Did a step lose you, or does a number look off? Email me or use the contact page. Include the note title and the step or figure you mean.
Feedback goes to me privately by email; it is not posted as a public comment.