Search topics and sections

An economic graph is a picture that shows how economic quantities relate to each other, such as how the price of a good affects how much of it people buy. Most economic graphs are a kind of chart with two axes. One variable goes on the horizontal axis, another goes on the vertical axis, and lines or curves show how the two move together.

Economists use graphs for two jobs. They draw economic models as pictures, and they display real data so patterns are easy to see.[1] The best-known example is the supply and demand diagram, which economics textbooks use to show how a market price is set.[2]

Axes, variables, and points

A variable is a quantity that can take a range of values, such as a price, a wage, or a number of cars sold.[1] An economic graph usually places one variable on the horizontal axis (the x-axis) and another on the vertical axis (the y-axis), as in a Cartesian coordinate system.

Each point on the graph pairs one value of each variable. A line or curve joins the points and shows the relationship between the two variables.[1] Graphs that do this are called line graphs.

Many economic relationships are drawn as straight lines with the equation

y=b+mxy = b + mx

where xx is the variable on the horizontal axis, yy is the variable on the vertical axis, bb is the y-intercept (where the line crosses the vertical axis), and mm is the slope.[1] Changing bb moves the line up or down without tilting it. Changing mm tilts it.[1]

Reading slope

The slope tells how two variables are related. It is the "rise over run": the change in the vertical variable divided by the change in the horizontal variable between two points.[1]

m=ΔyΔx,Δx≠0m = \frac{\Delta y}{\Delta x}, \quad \Delta x \neq 0

Here Δy\Delta y is the change on the vertical axis and Δx\Delta x is the change on the horizontal axis.

Four types of slope of a straight line Positive slope Negative slope Zero slope Vertical line x x x x run (Δx) y y y y slope called infinite rise (Δy)
Four straight lines show the slope types. A line with positive slope rises to the right, at a rate equal to rise over run (Δy/Δx\Delta y / \Delta x). A line with negative slope falls to the right, a horizontal line has zero slope, and the slope of a vertical line is called infinite.

The sign of the slope shows the direction of the relationship.[1]

  • Positive slope. The line rises from left to right, so both variables increase together. Price and quantity supplied have this relationship.
  • Negative slope. The line falls from left to right, so one variable falls as the other rises. Price and quantity demanded have this relationship.
  • Zero slope. The line is flat, so changes in xx bring no change in yy.
  • Vertical line. The run Δx\Delta x is zero, so the formula does not apply. Textbooks such as OpenStax call this slope infinite.[1]

A straight line has the same slope everywhere. A curve's slope changes from point to point, as on the bowed production possibilities frontier described below.[1][3]

The supply and demand diagram

The supply and demand diagram is the simplest and most often used tool of microeconomic analysis, the study of single markets and their buyers and sellers.[2] It plots quantity on the horizontal axis and price on the vertical axis.[4]

  • The demand curve slopes downward. Buyers want less at higher prices.
  • The supply curve slopes upward. Firms offer more at higher prices.[1]

Each curve rests on the ceteris paribus assumption. This Latin phrase means "other things being equal," so only price is allowed to change along the curve.[4]

Finding the equilibrium

The point where the curves cross is the equilibrium. At that price, the quantity buyers want equals the quantity sellers offer.[1]

OpenStax gives a worked example for personal pizzas.[1] Demand is Qd=16−2PQ_d = 16 - 2P and supply is Qs=2+5PQ_s = 2 + 5P, where PP is the price in dollars. Setting Qd=QsQ_d = Q_s gives 16−2P=2+5P16 - 2P = 2 + 5P, so P=2P = 2 and the quantity is 12.

To draw these lines with price on the vertical axis, solve each equation for PP.[1]

P=8−0.5 QdP=−0.4+0.2 QsP = 8 - 0.5\,Q_d \qquad P = -0.4 + 0.2\,Q_s

The demand line has slope −0.5-0.5, and the supply line has slope 0.20.2.[1]

On the graph the two lines cross at a price of 2 and a quantity of 12. This is the same answer the algebra gives.[1]

Writing price as a function of quantity, as in the demand equation above, gives the inverse demand function.

Supply and demand for pizza 0 4 8 12 16 20 Quantity (Q) Price P ($) Equilibrium (Q = 12, P = 2) Shortage 0 2 4 6 8 S: P = −0.4 + 0.2Q D: P = 8 − 0.5Q
Supply and demand for pizza. Demand P=8−0.5QP = 8 - 0.5Q and supply P=−0.4+0.2QP = -0.4 + 0.2Q cross at the equilibrium Q=12Q = 12, P=2P = 2. At a price of P=1P = 1, buyers want 14 units but sellers offer only 7, which leaves a shortage.

The graph also shows what happens away from equilibrium.

  • Price below equilibrium. The quantity demanded exceeds the quantity supplied. This shortage pushes the price up.[2]
  • Price above equilibrium. The quantity supplied exceeds the quantity demanded, a surplus. A price floor, a government-set minimum price, can hold the price there.[5]

Movements along a curve and shifts of a curve

A change in the good's own price moves the market along a curve. It changes the quantity demanded but does not shift the demand curve.[4]

A change in anything else that affects buyers shifts the whole demand curve. Examples are income, tastes, population, prices of related goods, and expectations.[4]

An increase in demand moves the curve right, so more is bought at every price. A decrease moves it left.[4]

Movement along a demand curve versus a shift of the curve Movement along the curve Price Quantity D A B price of the good changes Shift of the curve Price Quantity D0 D1 (increase) D2 (decrease) income, tastes, related prices, expectations change
On the left, a change in the good's own price moves the market along a single demand curve DD from point AA to point BB. On the right, a change in income, tastes, related prices, or expectations shifts the whole curve from D0D_0 right to D1D_1 (increase) or left to D2D_2 (decrease).

Supply curves work the same way. Changes in input prices, technology, natural conditions, or taxes shift the supply curve.[4]

A change in the good's own price moves the market along the supply curve instead of shifting it.[4]

Comparing the equilibrium before and after a shift is called comparative statics.

Areas on the graph

Areas between the curves measure gains from trade.[6]

  • Consumer surplus is the area below the demand curve and above the price. It shows that many buyers would have paid more than the market price.
  • Producer surplus is the area between the price and the supply curve below the equilibrium. It shows that many sellers would have accepted less.
  • Social surplus is the sum of the two. It is largest at the equilibrium quantity.
  • Deadweight loss is the area of social surplus lost when output is pushed away from equilibrium. A price ceiling (a government-set maximum price) or a price floor can cause it.[6][5]
Consumer surplus, producer surplus, and deadweight loss At equilibrium Price Quantity D S E P* Q* Consumer surplus Producer surplus With a price floor Price Quantity D S E P* Q* Qd Price floor Deadweight loss
In a market at equilibrium EE, consumer surplus lies above the price P∗P^* and below demand, and producer surplus lies below P∗P^* and above supply. A price floor above P∗P^* cuts the quantity traded to QdQ_d, and the triangle between demand and supply from QdQ_d to Q∗Q^* is the deadweight loss.

Other common diagrams

Many other economic models use the same two-axis form. The table lists some common ones.

Diagram Horizontal axis Vertical axis What it shows
Production possibilities frontier Amount of one good Amount of another good The trade-off a society faces with limited resources[3]
Indifference curves with a budget line Amount of one good Amount of another good A consumer's best affordable choice[7]
Aggregate demand and aggregate supply Real GDP Price level Total output and the average price level of an economy[8]
Phillips curve Unemployment rate Inflation rate (yearly % change in the price level) A short-run trade-off between unemployment and inflation[8][9]
IS-LM model Income Interest rate Joint balance of the goods market and the money market[10]
Lorenz curve Running total of population share (%) Running total of income share (%) How unequally income is shared[11]

Production possibilities frontier

The production possibilities frontier (PPF) shows the most a society can make of two goods with its limited resources.[3] Points on the curve are productively efficient, meaning it is impossible to make more of one good without making less of the other. Points inside the curve waste resources.[3]

The slope of the PPF shows the opportunity cost of one good, measured in how much of the other good is given up.[3]

The curve bows outward because opportunity cost rises as a society makes more of one good. This pattern is called the law of increasing opportunity cost.[3]

Production possibilities frontierABCDFRinefficientslope = opportunity costcannot be producedwith current resourcesHealthcareEducation
A production possibilities frontier between education and healthcare. Points A, B, C, D, and F on the bowed-out curve use all resources efficiently, point R inside the curve is inefficient, the shaded region outside cannot be produced, and the slope between B and C, rise over run, gives the opportunity cost.

Indifference curves and the budget line

An indifference curve joins all the bundles of two goods that give a person the same level of satisfaction, or utility.[7] Indifference curves share three properties.[7]

  • They slope downward.
  • They are steeper on the left and flatter on the right.
  • Higher curves mean more utility.

The straight budget line shows every bundle the person can just afford. The best choice is the point of tangency, where the budget line just touches the highest reachable indifference curve at a single point.[7]

Consumer choice with a budget line and indifference curves012345678910BooksDoughnuts04080120G: affordable, less utilityBudget line ($60; books $6, doughnuts $0.50)UlUmUhB: best choice (tangency)F: not affordable
A budget line of $60 (books at $6, doughnuts at $0.50) with three indifference curves. Bundle B at 3 books and 84 doughnuts is the best affordable choice, where curve UmU_m just touches the budget line. Bundle F on UhU_h costs too much, and bundle G on UlU_l is affordable but gives less utility.

Macroeconomic diagrams

Macroeconomic diagrams describe the economy as a whole rather than a single market. The aggregate demand and aggregate supply (AD-AS) diagram uses three terms.[8]

  • Real GDP is the economy's total output, adjusted for inflation. It goes on the horizontal axis.
  • The price level is an index of the average price of all goods and services produced in the economy. It goes on the vertical axis.
  • Potential GDP is the output an economy can produce when it fully employs its labor, physical capital (equipment, buildings, and other tools used in production), and technology.

The two curves have different shapes.[8]

  • The AD curve slopes down.
  • The short-run AS curve is nearly flat at the far left and nearly vertical at the far right, near potential GDP.

The point where the curves cross gives the equilibrium price level and the equilibrium real GDP.[8]

The IS-LM diagram puts the interest rate on the vertical axis and income on the horizontal axis.[10]

  • The IS curve slopes down. It marks the combinations of income and interest rate at which investment equals saving.
  • The LM curve slopes up. It marks where money demand (how much money people want to hold) equals money supply (how much money there is).[10]

Graphs of data

Economists also use graphs to show data, because a picture makes patterns easier to see than a long list of numbers.[1] Three common types are line graphs, bar graphs, and pie graphs.[1]

  • Line graphs show how two variables change together. A time series is a line graph with time on the horizontal axis, such as the unemployment rate by year. Line graphs are widely used for prices, wages, quantities, and the size of the economy.
  • Bar graphs use bar heights to compare quantities, such as the populations of countries. Bars can be split into parts to show subgroups.
  • Pie graphs show how a total is divided into shares, such as a population by age group. Too many slices make them hard to read.

For time series in more depth, see time series visualization.

Common pitfalls

Slope is not elasticity

It is a common mistake to confuse the slope of a demand or supply curve with its elasticity.[12] Elasticity measures how strongly quantity responds to price, as the percentage change in quantity divided by the percentage change in price.[12] For price elasticity of demand it is

elasticity=% change in quantity demanded% change in price\text{elasticity} = \frac{\%\ \text{change in quantity demanded}}{\%\ \text{change in price}}

On a straight demand line the slope is the same everywhere, but the elasticity is not.[12] In an OpenStax example, the slope is −10/200-10/200 along the whole line. The elasticity is 0.45 between one pair of points and 1.47 between another pair higher up the line.[12]

The same axis label can mean different things

Microeconomic and macroeconomic diagrams use similar axes for different things.[8]

Diagram Horizontal axis Vertical axis
Supply and demand (one market) Quantity of one good Price of that good
AD-AS (whole economy) Real GDP, the total of all final goods and services Price level, an index combining prices across the economy

Curves can move over time

A curve drawn from one period may not hold in another. The downward-sloping Phillips curve fit US data for 1960 to 1969, but in the 1970s and early 1980s unemployment and inflation rose together, a pattern called stagflation.[9]

Economists concluded that two things shift the Phillips curve.[9]

  • Supply shocks, such as the mid-1970s oil crisis.
  • Changes in what people expect inflation to be.

Presentation choices change impressions

The same data can look very different depending on how it is drawn.[1] This is the topic of misleading graphs.

  • Stretching the vertical axis makes rises and falls look larger. Stretching the horizontal axis makes them look smaller.
  • A vertical scale of 0% to 30% makes swings in unemployment look small, while a scale of 3% to 10% makes them look large.
  • Averaging data, such as using five-year averages instead of monthly figures, smooths out highs and lows.
  • Choosing the start and end dates can make a variable seem to rise or fall.
The same unemployment series on two vertical scales Scale 0% to 30% Scale 3% to 10% 0%10%20%30% 3%4%5%6%7%8%9%10% 200020102020 200020102020 YearYear Unemployment rate Unemployment rate Illustrative data
The same made-up unemployment series drawn on two vertical scales. On a 0%0\% to 30%30\% axis the line looks nearly flat, and on a 3%3\% to 10%10\% axis the same values show large swings.

History

Early data charts

William Playfair, a Scottish engineer and political economist, published The Commercial and Political Atlas in London in 1786. An early edition had circulated privately in 1785.[13]

The book held 43 time-series charts of trade and one bar chart.[13] Playfair invented the bar chart for this book.[13]

The supply and demand diagram before Marshall

The supply and demand diagram is named for Alfred Marshall, but Humphrey traces it to five earlier economists, starting with Cournot, who originated it.[2] The other four developed it years before Marshall.[2]

Year Economist Contribution
1838 Antoine Augustin Cournot First to draw market demand and supply curves for a particular good, with price on the horizontal axis rather than the vertical axis used today[2]
1841 Karl Heinrich Rau Put price on the vertical axis, without knowing Cournot's work, and first used the diagram to study how a market returns to equilibrium[2]
1844 Jules Dupuit Drew only demand curves, no supply curves, and used them to show consumer surplus and deadweight-loss triangles[2]
1863 Hans von Mangoldt Used shifts of the curves to show how equilibrium price and quantity change[2]
1870 Fleeming Jenkin Drew intersecting demand and supply curves and devised the idea of producer surplus[2]

Marshall presented the diagram in his Pure Theory of Domestic Values (1879) and later in Principles of Economics (1890).[2]

He compared the two curves to the blades of a pair of scissors. This is why the diagram is also called the Marshallian cross or Marshallian scissors.[2]

Economist Thomas Humphrey argues that the diagram bears Marshall's name because he gave its most complete and convincing statement, not because he invented it.[2]

Cournot also used calculus, the branch of mathematics that studies how quantities change, on his demand curve.[2] He wrote revenue as R=pF(p)R = pF(p), where F(p)F(p) is the quantity sold at price pp. He set the derivative of revenue (its rate of change as price changes) to zero, which gave the price that brings in the most revenue:

p=−F(p)F′(p)p = -\frac{F(p)}{F'(p)}

Here F′(p)F'(p) is the slope of the demand function at that price, which must not be zero.[2]

Twentieth-century diagrams

In 1937, John Hicks published the first version of what became the IS-LM model.[10] His single two-dimensional graph showed the outcome of two separate markets, and the model became the organizing tool of the new field of macroeconomics.[10] Hicks originally called the money-market curve LL rather than LM.[10]

In the 1950s, A. W. Phillips of the London School of Economics studied 60 years of British data. He found a trade-off between unemployment and inflation that became known as the Phillips curve.[9]

Timeline of early economic graphs, 1780 to 1960 1780 1800 1820 1840 1860 1880 1900 1920 1940 1960 1838 Cournotfirst demand andsupply curvesprice on horizontal axis 1786 Playfairtrade line chartsand bar chart 1844 Dupuit 1879 and 1890 Marshallscissors diagram 1950sPhillips curve 1841 Rauprice on vertical axisstability 1870 Jenkin 1937 HicksIS-LL (later IS-LM) 1863 Mangoldtcurve shifts
Timeline of early economic graphs from 1780 to 1960, from Playfair's 1786 trade charts to the Phillips curve of the 1950s. Cournot first drew demand and supply curves in 1838 with price on the horizontal axis, and Rau put price on the vertical axis in 1841.

References

  1. A: The Use of Mathematics in Principles of Economics, Principles of Economics 3e, OpenStax, 2022.
  2. Marshallian Cross Diagrams and Their Uses before Alfred Marshall: The Origins of Supply and Demand Geometry, Thomas M. Humphrey, Economic Review, Federal Reserve Bank of Richmond, 1992.
  3. 2.2 The Production Possibilities Frontier and Social Choices, Principles of Economics 3e, OpenStax, 2022.
  4. 3.2 Shifts in Demand and Supply for Goods and Services, Principles of Economics 3e, OpenStax, 2022.
  5. 3.4 Price Ceilings and Price Floors, Principles of Economics 3e, OpenStax, 2022.
  6. 3.5 Demand, Supply, and Efficiency, Principles of Economics 3e, OpenStax, 2022.
  7. B: Indifference Curves, Principles of Economics 3e, OpenStax, 2022.
  8. 24.2 Building a Model of Aggregate Demand and Aggregate Supply, Principles of Economics 3e, OpenStax, 2022.
  9. 25.3 The Phillips Curve, Principles of Economics 3e, OpenStax, 2022.
  10. IS-LM Model, International Encyclopedia of the Social Sciences, Encyclopedia.com, 2008.
  11. The Lorenz Curve, OER Commons.
  12. 5.1 Price Elasticity of Demand and Price Elasticity of Supply, Principles of Economics 3e, OpenStax, 2022.
  13. William Playfair Founds Statistical Graphics, and Invents the Line Chart and Bar Chart, Jeremy M. Norman, HistoryofInformation.com.

Figure