Perfectly Competitive Markets in Math
Perfect Competition, or as I like to abbreviate it, Perfekt, is your standard paired Supply vs Demand market graph along with a firm graph where Marginal Revenue = Demand = Average Revenue = Price.
You can interact with it below: (See this page to interact with only this applet)
Profit per unit:
Economic state? Approximately Normal Profit
Should the firm shutdown in the short run? No.
Definitions
is the intersection between and the y-axis.
is the intersection between and the y-axis.
is an arbitrary constant that shifts up or down.
is the market price.
is the profit-maximizing price.
is the minimum of .
The default function is awfully complicated!!
Yup, I was having trouble finding a decent function such that all of the cool things like the intersection between and and and , so I asked Taiga to engineer one using Desmos:
The final function is very cursed:
Thought Process
The equation was written so that it could be manipulated as easily as possible. We already knew the general shape was going to have a sharp descent from the positive y-axis, and then slowly “climb up”. The “climb up” part could be approximated by a function that has a slant asymptote. Therefore, we began with a rational function with a quotient whose degree was 1 for a nice linear asymptote. This is why the numerator looks like a quadratic function (think of as ) and the denominator looks linear. Then, to perform linear transformations, we replaced with for horizontal stretching/squishing and shifting and took the entire function and replaced it with for vertical stretching/squishing and shifting.
Why?
As I was watching Matt Pedlow’s AP Microeconomics series for this year’s exam, I noticed that we can actually define many of the relationships between quantity and price using discrete calculus. So I thought it would be interesting to talk about how that would span out.
Also, it’s always nice to be able to have an interactive visualization of things, and I haven’t seen anything for microeconomics anywhere else.
Mathematical Formalization
Let me show you how some of these functions are calculated from .
Defining in terms of
The definition of Marginal Cost () is the difference in the Total Cost () of producing the currenth th good minus the of producing the last good, th. Using notation from my post on discrete derivatives, we can define as so:
By the way, both and map , where is the set of nonnegative integers,1 and is the set of reals with a unit of economic value, such as dollars.2 (In the app above, has a different meaning: the domain that will be plotted in the graph.)
As a side note, we define a special case for since the general definition results in a term , even though .
Defining in terms of
We can define Average Total Cost () similarly, but beware that since it is calculated with respect to the quantity of goods, its domain is actually . That is, it doesn’t make sense to talk about the average cost per good when no goods have been produced. So, , and
We can also define in terms of :
Market Price
Since algebraically finding the market price is hard, this approximates by finding the closest quantity such that
And if
is close enough to , about unit, then we’ll say the firm is making approximately normal profit.
Normally, the firm tries to produce at the price . For Perfekt firms, ; that is, they are price takers. So,
We can compare and to find the sign of the economic profit the firm is making:
Comparison | Economic State |
---|---|
Economic Loss | |
Normal Profit | |
Economic Profit |
Shutdown Point
If the firm is making an economic loss, we can also find
and compare and like so:
Comparison | Should the firm shutdown? |
---|---|
No | |
Doesn’t Matter3 | |
Yes |