Perfect Competititive : all participants of market should be price-takers No ExternalitiesWhile farmers sell different types of fruit and vegetables on this market, today you are looking at the apples.

The number of apples you purchase depends on their current price. Such curves show what the price should be for a consumer to purchase a certain amount of a particular or .
Let us suppse that when you get to the market, the prices is $0.40 per apple. At this price, you decide to buy six apples.
| Value | Quantity | Price | Surplus |
|---|---|---|---|
| Fisrt apple | 1 | $1.00 | $1.00 |
| Second apple | 1 | $0.80 | $0.80 |
| Next four apples | 4 | $0.60 | $2.40 |
| Gross Surplus | $4.20 |

We can define the red colored area as gross surplus of consumer. It can be decomposed into two differnet parts net consumer's surplus, expense of purchasing the goods.
Net consumer's surplusmeans Extra Value that you get from being able to buy all the apples at the same market price, even though the value you attach to some of them is higher than the market price.

Some consumers would pay much more for the same number of apples whie others buy apples only when they are cheap.
If we aggregate the
demand characteristicsof asufficiently large number of consumers, the discontinuities introduced by the individual decisions are smoothed away
demand function for the commoditydemand function is downward slopingThe amount consumed decreases as the price increases.
Demand curve gives the marginal value that consumers attach to the commodity.marginal willingness to pay decreases as their consumption increases.
net surplus is much more important than the calculation of an absolute value for this quantity.Calculating the absolute value of the
net surplusis quite difficult because theinverse demand functionis not known accurately.

net surplus is equal to the shaded area.net surplus is reduced to the roughly triangular area labeled A.Two effects contribute to this reduction in
net surplus.
- First, because the price is higher, consumption decreases from to . This loss of the
net surplusorwelfareis equal to the area labeled C.- Second, because consumers have to pay a higher price for the quantity that they still purchase, they losd an additional amount of
welfarerepresented by the area labeled B.
elasticity : the concept of same products between the demand for commodity and the price of commodity .cross-elasticity : the concept of substitute products between the demand for commodity and the price of commodity .elasticity of a commodity to its own price is always negativeCross-elasticities between substitute products are positive because an increase in the price of one will spur the demand for the other.If two commodities are
complementsa change in the demand for one will be accompanied by a similar change in the demand for the other.
Electiricyandelectric heatersare clearlycomplements.- The
cross-elasticitiesofcomplementary commoditiesare negative.
marginal benefit that consumers get from this commodity is equal to the price that they have to pay to obtain it. A similar argument can be used to develop our model of the producers.opportunity cost could be summurized as biggest cost by making choice when you decide
Inverse supply function : Supply function : 
marginal producer is the producer whose opportunity cost is equal to the market price.Extramarginal production : production that could become worthwhile if the market price were to increase.Inframarginal production : the opportunity cost of the production exist below the market priceProducer's Revenue : The red colored area at point 
Producer's Net Surplus : Upper area of the supply curve and lower area of the 
price elasticity : change of amount of the supply by change of priceelasticity of supply is always positive.long run than in the short run because suppliers have more opportunities to increase the means of production.
supplier or consumer cannot affect the price by its individual actions.All market participants take the price as given
perfectly competitive marketEquilibrium price or market clearing price : Equilibrim also can befined in terms of the inverse demand function and inverse supply function.
demand is greater than the supply
- Some suppliers will inevitably realize that there are some unsatisfied customers
- The traded
quantity will increasesand so will thepriceuntil theequilibrium conditionsare reached.
supply is greater than the demand.
- Some suppliers are left with goods for which they cannot find buyers.
- They will
reduce their productionuntil the amount that producers are willing to sell is equal to the amount that consumers are willing to buy.
Pareto efficient : if the benefit derived by any of the parties can be increased only by reducing the benefit enjoyed by one of the other parties.equilibrium situation in a competitive market is Pareto efficient in terms of both the quantity of goods exchanged and the allocation of these goods.
equilibrium , the situation is not Pareto efficientexcess of the equilibrium value is not Pareto efficientIn a
competitive market, all units of a given commodity are traded at the same price and this price represents themarginal rate of substitutionbetween this good and all other goods.

Consumer's surplus : A + B + E
Producer's surplus : C + D + F
External intervention sometives prevents the price of good from settling at the
equilibrium valuethat would result from a free and competitive market
If this price is set at a value that is higher than the competitive market clearing price
consumers reduce their consumption from to .
Consumers' surplus shrinks : A + Producers' surplus : B + C + DIf the government could enforce a maximum price for a good. Price set at a value
Consumers' surplus shrinks : A + B + CProducers' surplus : DDeadweight Loss : E + F