Skip to content
Tutorials Center
My learning

Topics

Lesson 36 of 37 ยท Projects and Practice

Practice Set: Market Failure, Government and Labor

Practice problems on externalities, public goods, price controls, taxes, minimum wage and inequality, with solutions you can run and a self-test quiz.

This second set covers chapters seven and eight: market failure, government intervention, labor markets and inequality. As before, work on paper first, then run the solution code. Always state the formula you use before the numbers.

Problem 1: A pollution tax

Demand is P = 120 - 2Q. Private marginal cost is MC = 20 + Q. Each unit also causes external damage of $15. Find the market quantity, the socially efficient quantity, the right tax and the deadweight loss.

  • Market: 120 - 2Q = 20 + Q, so 3Q = 100, Q = 33.33, P = 53.33.
  • Social: 120 - 2Q = 35 + Q, so 3Q = 85, Q = 28.33.
  • A tax of $15 per unit moves the market to the efficient quantity.
  • Deadweight loss: ยฝ ร— (33.33 - 28.33) ร— 15 = 37.5.
Python Solution: externality

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Problem 2: A public good

Three residents value a community garden. Marginal willingness to pay for the 1st, 2nd, 3rd, 4th garden plot: Ana 12, 9, 6, 3; Ben 10, 7, 4, 1; Chen 8, 5, 2, 0. Each plot costs $20. How many plots are efficient? How many would Ana provide alone?

Sums: 30, 21, 12, 4. Plots 1 and 2 have a sum of at least 20; the third has 12 < 20. So 2 plots are efficient. Ana's own value for the first plot is 12, below the cost of 20, so she would build none by herself, although the garden is clearly worth building.

Python Solution: public good

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Problem 3: Price controls and taxes

Demand Qd = 200 - 4P, supply Qs = 40 + 4P.

  • Equilibrium: 200 - 4P = 40 + 4P, so P = 20, Q = 120.
  • A ceiling at $15: Qd = 140, Qs = 100, shortage 40.
  • A tax of $10 on sellers: new supply Qs = 40 + 4(P - 10) = 4P, so 200 - 4P = 4P, P = 25, Q = 100. Buyers pay 25 (up 5), sellers keep 15 (down 5). Revenue = 10 ร— 100 = 1,000. Deadweight loss = ยฝ ร— 10 ร— (120 - 100) = 100.
Python Solution: ceiling and tax

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Problem 4: Labor demand

A cafe sells each coffee for $4. The marginal products of baristas 1 to 5 are 12, 10, 8, 6, 3 coffees per hour. The hourly wage is $30. How many baristas does the cafe hire?

MRP per hour: 48, 40, 32, 24, 12. Hire while MRP โ‰ฅ 30: baristas 1, 2 and 3 (32 โ‰ฅ 30), not the fourth (24).

Python Solution: hiring rule

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Problem 5: Inequality

Five households earn 20, 20, 30, 50 and 80 (thousands). Find the mean and the Gini coefficient.

The mean is 40. Pairs: the Gini uses ฮฃ|xi - xj| / (2nยฒm); run the code to see the sum and the result.

Python Solution: Gini

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Self-test

Quick check ยท 5 questions

of 5 answered You scored / 5 ยท perfect!

  1. 1. A good is non-rival and non-excludable. Markets usually provide it

    Free riding means private buyers will not pay for the full social value.
  2. 2. A tax of $6 per unit is placed on sellers. Buyers' price rises by $2. Who bears most of the tax?

    Buyers bear 2 of the 6; sellers bear the other 4.
  3. 3. A binding price floor leads to

    Quantity supplied exceeds quantity demanded at the higher price.
  4. 4. Wage 20, MRP of the next worker is 18. A profit-maximizing firm should

    The worker adds 18 to revenue but costs 20.
  5. 5. Which Gini value indicates the greatest inequality?

    A higher Gini coefficient means a more unequal distribution.

Summary

  • Externality problems: compare private and social marginal cost; the efficient tax equals the external marginal cost.
  • Public goods: add values vertically and compare with marginal cost.
  • Controls and taxes: compute equilibrium first, then the controlled quantities.
  • Labor: hire while MRP โ‰ฅ wage.
  • Inequality: Lorenz curve and Gini summarize the distribution.

Next: Project: A Market Simulator