Courses / TrainingStudy space

Welcome to your study space

Understand economics at your own pace: step-by-step guided courses, and exercises to practice.

🎓 47 guided courses🎯 10 exercise types🪜 7 steps per course
student

Shocks and AS-AD equilibrium

One rule that replaces four cases to memorise: where inflation, recession and stagflation come from.

🎓 Intermediate⏱️ 30 min
at equilibrium: aggregate demand = aggregate supply
Step 1 / 7

Problem / motivation

In 2022, the price of gas and oil soars: the French energy bill passes €110 billion, against 45.8 in 2025. Euro-area inflation reaches 10.6% in October — and yet activity slows down. How can prices and output head in OPPOSITE directions?

Because they are not decided separately. The general price level and a country's output are determined TOGETHER, where two forces meet: what all buyers want to buy — AGGREGATE DEMAND — and what all firms agree to produce — AGGREGATE SUPPLY. “Aggregate” simply means “the whole country at once”: one composite good, one average price. Careful, then: these are NOT the supply and demand curves of a particular market (course “The law of supply and demand”); here there are no more tomatoes and no more cars, there is GDP.

This course will not be content to list cases. It sets out the two equations, computes the equilibrium, then moves each curve to read the new meeting point — and out of it will come ONE rule, which replaces the four situations you are usually asked to learn by heart. That rule will say at the same time why stagflation exists, and why it puts governments and central banks in front of an impossible choice.

The price of imported energy soars. What does that shock do to the general price level and to output?

Step 2 / 7

Assumptions

In your view, which assumptions are needed for this model to hold? Jot down your ideas — no lead is wrong, this is your worksheet.

Your worksheet is still empty. Go for it: propose at least one idea.

0 idea(s) proposed
Step 3 / 7

Formalization

You first have to see the figure, so let us describe it precisely. Horizontal axis: the country's output, Y, in billions of euros. Vertical axis: the general price level, P, an index worth 100 at the start. AGGREGATE DEMAND is a curve that SLOPES DOWN from left to right: the higher prices are, the less is bought (assumption 2). Short-run AGGREGATE SUPPLY SLOPES UP from left to right: the higher prices are, the more profitable it is to produce (assumption 3). Two curves with opposite slopes cross at one point and one only: that point gives both the country's price and its output. The whole course consists in moving one or the other and re-reading that point.

Let us put numbers on it. Demand: Y = A − β(P − 100), where A is the level of demand when prices are at 100, and β measures how much demand recedes when prices rise by one point — take β = 8, that is, €8 billion less per index point. Short-run supply: Y = Ȳ + α(P − Pᵉ) − c, where Ȳ = €2,800 billion is potential GDP, Pᵉ the price EXPECTED when contracts were signed, α = 8 the response of firms to a price surprise, and c the extra cost imposed by a supply shock (c = 0 when all is calm). That second equation IS the supply curve: it slopes up because α is positive, and if expectations are always right (Pᵉ = P), what remains is Y = Ȳ — the long-run vertical. So both halves of assumption 3 can be read straight off the algebra.

The meeting point is obtained by writing that the two quantities are equal: A − β(P − 100) = Ȳ + α(P − Pᵉ) − c. At the start, take A = 2,800 (demand is exactly equal to potential), Pᵉ = 100 and c = 0. The equality becomes 2,800 − 8(P − 100) = 2,800 + 8(P − 100), so 8(P−100) = −8(P−100), which is possible only if P = 100; and then Y = 2,800. There is the starting equilibrium: price 100, output 2,800, exactly at potential. Nothing was imposed — the price CAME OUT of the computation, and that is what “equilibrium” means.

Let us now do the algebra once and for all, with a demand shock ΔA (A becomes 2,800 + ΔA) and a supply shock c. Solving, the new equilibrium reads: P* = 100 + (ΔA + c)/(α+β) and Y* = Ȳ + (α·ΔA − β·c)/(α+β). Look at the SIGNS, they are the whole course. In the price, ΔA and c both enter with a PLUS: demand up or costs up, prices rise in both cases. In output, ΔA enters with a plus and c with a MINUS. Conclusion: **a demand shock pushes P and Y the same way; a supply shock pushes them opposite ways**. One rule, four cases deduced — and stagflation stops being a mystery: it is simply the line “c positive”. On the figure it shows just as clearly as in the algebra, and here is the vocabulary that goes with it. A positive ΔA moves the DEMAND curve to the RIGHT: at every price level, the country wants to buy more. The equilibrium then slides ALONG the supply curve, which slopes up — hence price and output rising together. A positive extra cost c moves the SUPPLY curve to the LEFT: at every price level, firms produce less. This time the equilibrium slides along the demand curve, which slopes down — hence a price that rises while output falls. The rule of signs and the drawing say exactly the same thing. Click each term:

= and

Tap a term in the formula to see its definition.

Step 4 / 7

Solving / calculation

Four shocks of the same size — €80 billion — applied in turn to the same starting point (P = 100, Y = 2,800). The numbers are a toy model, chosen so the arithmetic comes out round; the reasoning is that of the standard AS-AD model.

  1. Fiscal stimulus: demand rises (ΔA = + 80)P* = 100 + 80/16 · Y* = 2,800 + 8×80/16P 105 · Y 2,840 — both RISE
  2. Collapse in confidence: demand falls (ΔA = − 80)P* = 100 − 80/16 · Y* = 2,800 − 8×80/16P 95 · Y 2,760 — both FALL
  3. ⚡ Energy surge: costs rise (c = + 80)P* = 100 + 80/16 · Y* = 2,800 − 8×80/16P 105 · Y 2,760 — STAGFLATION
  4. Reverse oil shock: costs fall (c = − 80)P* = 100 − 80/16 · Y* = 2,800 + 8×80/16P 95 · Y 2,840 — the dream scenario
  5. The whole table, at a glancedemand: 105/2,840 and 95/2,760 · supply: 105/2,760 and 95/2,840demand = same direction · supply = opposite directions
  6. And in the long run? Expectations catch up (stimulus ΔA = + 80)Pᵉ catches P up, supply becomes vertical: 2,800 = 2,880 − 8(P − 100)P 110 · Y 2,800 — back to potential
  7. ⚠️ The long-run price exceeds the short-run one110 against 105the stimulus leaves only one trace: higher prices
  8. And if the extra supply cost LASTS? (c = + 80 permanent)expectations catch up, but the extra cost stays: Y = Ȳ − cP 110 · Y 2,720 — output stays BELOW potential

Three lessons. (1) One rule is enough, and it can be read in the signs of P* and Y*: a DEMAND shock moves prices and output the same way, a SUPPLY shock moves them opposite ways. Nothing left to memorise. (2) Stagflation is therefore not an anomaly but the normal signature of a supply shock — and that is what makes it formidable: any policy acting on demand moves P and Y the SAME way, so relieving output worsens inflation, and the reverse. You cannot aim at both at once with the same tool (interpretation, point 2). (3) In the long run, output returns to potential: all that survives of the stimulus is higher prices — 110 against 100 at the start, so even more than the 105 of the short run, because as expectations catch up wages push supply upwards in their turn.

Live calculationA − β(P−100) = Ȳ + α(P−Pᵉ) − c ⟹ P* = 100 + (ΔA+c)/(α+β), Y* = Ȳ + (α·ΔA − β·c)/(α+β)

You do not set prices: you set the SHOCKS, and the equilibrium is computed. Apply a demand shock, then a supply shock of the same size, and compare the two result lines. Then try to offset a supply shock with a demand shock — you will see that bringing output back deepens inflation, and the other way round.

Equilibrium price level105 (starting point: 100)
Equilibrium output€2,760bn (potential: 2,800)
Output gapbelow potential by €40bn, i.e. 1.43% of potential
DiagnosisSTAGFLATION: prices up AND output down — the signature of an adverse supply shock
In the long runexpectations catch up, output returns to 2,800 and the price settles at 100 — only the DEMAND shock leaves a lasting trace on prices, the extra supply cost fading away if it is temporary
-20+2+4Total output gap -40
  • Effect of the demand shock 0
  • Effect of the supply shock -40
  • Total output gap -40 %
Step 5 / 7

Economic interpretation

Three readings: what inflation on its own does not tell you, why a supply shock puts decision-makers in front of an impossible choice, and what becomes of all this over time.

Inflation alone never tells you where the problem comes from

This follows directly from the price formula, where both shocks enter with the same sign: a rise in prices can come from demand that is too strong just as much as from costs that are too high. To settle it, you have to look at OUTPUT at the same time. Is it rising? Demand is to blame. Is it falling? It is supply. That is exactly the diagnosis made in 2022: euro-area inflation reached 10.6% in October, but activity was slowing — the signature of a supply shock, very different from the overheating of high-growth years. The remedy therefore cannot be the same, even though the symptom on display is identical.

Faced with a supply shock, no demand tool will do

Take the rule again: any policy acting on demand — a fiscal stimulus (course “The fiscal multiplier”), a cut or a rise in the policy rate (course “The Taylor rule”) — moves prices and output the SAME way. But a supply shock has pushed them opposite ways. Supporting activity therefore adds inflation to inflation; breaking inflation deepens the recession. One instrument, two targets moving apart: that is the trade-off described by the Phillips curve (course “The expectations-augmented Phillips curve”), and the nightmare of central banks in 1974, in 1980 and in 2022. An important qualification: this holds for DEMAND policies. Measures acting on supply itself — energy saving, diversified sourcing, training, productive investment — aim at the right curve, but their effects are slow.

In the long run, potential takes over again — under three conditions

Once contracts are renegotiated and expectations up to date, supply becomes vertical: output returns to potential Ȳ and only prices keep the trace of the shock. That is why the stimulus in our example ends at P = 110 without a single euro of extra output. ⚠️ But beware of generalising: that return holds for a DEMAND shock, and for a TEMPORARY supply shock. If the extra cost lasts — energy dear for good, a shortage settled in — it stays in the equation even once expectations have caught up: supply then becomes vertical at Ȳ − c, and output settles BELOW potential (2,720 in our example, solving step, last line). Not to be confused with the hysteresis described below: in one case potential Ȳ is intact and output stays under it because of a persistent extra cost, in the other it is potential ITSELF that has fallen. Two further caveats, finally. The first: this “long run” is counted in years, and a generation can spend its whole working life in the short run. The second, more serious: if the recession lasts, unemployed workers lose their skills and firms close for good — potential Ȳ itself ends up falling. Economists call that HYSTERESIS, and it forbids treating a temporary shock light-heartedly.

Step 6 / 7

Limits / critiques

Step 7 / 7

Exercises

1

Model of the course (Ȳ = 2,800, α = β = 8). A stimulus takes demand to ΔA = + €160bn. What is the new equilibrium price level?

3

An adverse supply shock imposes c = + €160bn of extra costs (demand unchanged). What is equilibrium output (in €bn)?

€bn
5

True or false: when the price level rises and output rises along an unchanged supply curve, we may speak of a supply shock.

7

True or false: faced with a surge in energy prices, a central bank can both support output and contain inflation by acting on its policy rate.

2

Same stimulus (ΔA = + 160, c = 0). What is equilibrium output (in €bn)?

€bn
4

Prices rise and output falls. Where does the shock come from?

6

After the stimulus of exercise 1 (ΔA = + 160), what is output once expectations have caught up, in the long run (in €bn)?

€bn
8

True or false: a deep and long recession can lower potential GDP itself.