03 - Utility Demand function and Pricing - DME

03 - Utility Demand function and Pricing - DME

%%
[[2024-11-08]]
%%

assumption - consumer economically rational

In the following discussion, we will assume the costumer to be economically rational:

The costumer will always try to maximize:

  • Consumption
  • Utililazation

Utility function

Let X be the set of goods that an economy can produce:

X={x1,x2,...,xn}

For simplicity, in this chapter we will work with only 2 goods:

X={x1,x2}

We can visualize this in the following graph:

03 - Utility Demand function and Pricing - DME 2024-12-01 12.04.09.excalidraw.png
%%🖋 Edit in Excalidraw%%

The area under the graph is the set of all possible combination of x1 and x2.

The utility function is defined as follows:

utility function ($u$)

The utility function, is a function u:
u:R2R
such that (x1,x2),(y1,y2)X, if (x1,x2) is chosen over (y1,y2), then u(x1,x2)>u(y1,y2).

It's a particular function. We are not as much interested in the absolute value of the function as much as we are in the relative value. We don't really care how much u(x1,x2) or u(y1,y2) are, but more if u(x1,x2)>u(y1,y2).

Properties of the utility function

The #Utility function is continuous

The #Utility function is monotonically increasing on every single variable:

uxi0i

The second derivative exists and is always negative or equal to 0 (the function is cuasi-convex):

2uxi20i

The #Utility function, calculated in the empty set (in (0,0)) is equal to 0:

u(0,0)=0

Types of utility function

Cobb-Douglas utility function

Cobb-Douglas utility function - 03 - Utility Demand function and Pricing - DME 2024-12-01 12.14.18.excalidraw.png
%%🖋 Edit in Excalidraw%%

The Cobb-Douglas utility function has the following value:

u(x1,x2)=x1ax2b

where

Quasilinear utility function

Quasilinear Utility Function - 03 - Utility Demand function and Pricing - DME 2024-12-01 12.16.27.excalidraw.png
%%🖋 Edit in Excalidraw%%

The Quasilinear utility function has the following expression:

u(x1,x2)=ν(x1)+x2

where:

Linear utility function

The linear #Utility function is works well for [[#Perfectly substitutive goods]]:

u(x1,x2)=ax1+bx2

where:

Other utility function

The other #Utility function works well for [[#Perfectly complementary goods]].

u(x1,x2)=min{ax1,bx2}

where:

Indifference curve

indifference curve

The indifference curve is the locus of points (x1,x2) where the #Utility function remains equal

Budget constrain

Let

p1x1+p2x2m

%%
[[2024-11-13]]
%%

Theory of election

,
What combination (x1,x2) will the consumer choose?

Reminding that the consumer is rational, we have an optimization problem:

max(x1,x2)u(x1,x2)

subject to:

p1x1+p2x2m

03 - Utility Demand function and Pricing - DME 2024-12-01 12.29.47.excalidraw.png
%%🖋 Edit in Excalidraw%%

The solution to the problem is given by the utility such that the iso-utility curve is tangent to the constraint, in the tangent point:

(x1,x2)

Relation of Marginal Substitution

03 - Utility Demand function and Pricing - DME 2024-12-01 12.47.59.excalidraw.png
%%🖋 Edit in Excalidraw%%

teorema

In order to maintain the [[#Utility function]] constant, the ratio between the production of good 1 and good 2 needs to be equal to the Relation of Marginal Substitution:
RMS=p1p2


Proof:
Keeping u(x1,x2) constant can be written as forcing its Differential equal to 0:
du=!0du=ux1dx1+ux2dx2=!0
From this we can write:
dx1dx2=ux2ux1=RMS
Notice that, in the optimum point, the ratio dx1dx2 must be equal to the slope of the budget p1p2
q.e.d.

Particular cases

Perfectly substitutive goods
perfectly substitutive goods

Two goods are perfectly substitutive when the consumer is willing to substitute one goods for an other with no change with a 1:1 ratio:

Perfectly substitutive goods - 03 - Utility Demand function and Pricing - DME 2024-12-01 13.00.14.excalidraw.png

The arrow represents the direction in which the [[#Utility function]] increases

In this case, the utility function is well represented by a [[#Linear utility function]]

Perfectly complementary goods
perfectly complementary goods

Two goods are perfectly complementary if both are always consumed using fixed proportions.

Perfectly complementary goods - 03 - Utility Demand function and Pricing - DME 2024-12-01 13.09.32.excalidraw.png

The arrow represents the direction in which the [[#Utility function]] increases

In this case the [[#Utility function]] is well represented by the [[#Other utility function]].

Undesirable goods
undesirable good

A good is considered undesirable when the consumer does not accept it.

If x2 is the undesirable goods, the [[#Utility function]] grows in the direction of decreasing x2 and increasing x1.

Undesirable good - 03 - Utility Demand function and Pricing - DME 2024-12-01 13.12.39.excalidraw.png

The arrow represents the direction in which the [[#Utility function]] increases

Demand function

demand function

A demand function (xi) is a function that tells how much of a good the customers want:
xi=f(pi,pj,m)
where:

  • xi: Demand of good i
  • pi: Price of good i
  • pj: Price of good different than i
  • m: Budget of the buyer (can be seen as costumer's income)

The demand has different patterns depending on the type of good:

Types of demand functions - 03 - Utility Demand function and Pricing - DME 2024-12-01 16.07.30.excalidraw.png
%%🖋 Edit in Excalidraw%%

As a function of prices, usually demand decreases as price increases

03 - Utility Demand function and Pricing - DME 2024-12-01 16.12.21.excalidraw.png
%%🖋 Edit in Excalidraw%%

Griffen goods

Giffen goods are goods that, for some reason, have a demand that increases as price increases. This happens for example with some items during emergencies, when there is scarcity (remember face masks during covid).

Giffen goods - 03 - Utility Demand function and Pricing - DME 2024-12-01 16.14.28.excalidraw.png
%%🖋 Edit in Excalidraw%%

Elasticity

In general, finding the [[#Demand function]] is quite difficult. Often times though, we are not really interested in knowing the full demand, but we can work at the local level. We maybe just need to know how the demand varies when changing the several factors. This introduces the concept of elasticity.

demand elasticity ($\varepsilon_{p}$)

Let a demand be q=f(p).
Elasticity is defined as:
εp=limΔp0ΔqqΔpp=pqqp
Elasticity is the ratio between percentage change of demand and price. It tells us how much the demand varies, for a given variation in price (see also Elasticità della domadna).

Types of elasticity

Perfectly elastic demand
perfectly elastic demand

Perfectly elastic demand - 03 - Utility Demand function and Pricing - DME 2024-12-01 16.25.48.excalidraw.png

A perfectly elastic demand is one where #Elasticity is infinite:
εp=
This means that, even the slightest change in price will make the demand completely different. Really, what it means is that, even keeping the price constant, makes the demand change freely.

Elastic demand
elastic demand

Elastic demand - 03 - Utility Demand function and Pricing - DME 2024-12-01 16.28.16.excalidraw.png

An elastic demand is one where the demand is sensitive to the price. Changing the price strongly affects the demand
1<εp<

Perfectly inelastic demand
perfectly inelastic demand

Perfectly inelastic demand - 03 - Utility Demand function and Pricing - DME 2024-12-01 16.29.48.excalidraw.png

A perfectly inelastic demand is one where for any change in price, the demand stays constant
εp=0

Inelastic demand
inelastic demand

Inelastic demand - 03 - Utility Demand function and Pricing - DME 2024-12-01 16.32.36.excalidraw.png

An inelastic demand is one where even big change in prices, only cause small changes in demand.
0<εp<1

Unitary elasticity
unitary elasticity

Unitary elasticity - 03 - Utility Demand function and Pricing - DME 2024-12-01 16.34.19.excalidraw.png

A demand with unitary elasticity is one where for any percentage change in price, the demand changes of the same percentage.
εp=1

Theory of pricing

Social Welfare

Social Welfare is defined as the sum of #Consumer surplus and #Producer surplus

Let's imagine we have the following situation:

03 - Utility Demand function and Pricing - DME 2024-12-01 17.04.35.excalidraw.png

The equilibrium point is how much the costumer/consumer is pays in the current state of the market (with demand q and supply s).

Notice that, if the producer were to increase the supply, the price would increase. Same if the demand increased. This means that, in reality, the consumer is willing to pay more than pE. The consumer would pay any price indicated by the demand curve q.

Consumer surplus

The consumer surplus is the cumulative amount that all the consumers are still willing to pay given the current market conditions. It's what they're willing to pay on top of what they're paying currently.

In the graph, the consumer suprlus can be seen as the area indicated in orange:

03 - Utility Demand function and Pricing - DME 2024-12-01 17.10.37.excalidraw.png

Producer surplus

The producer surplus is the amount of supply that the producer is still willing to provide.

In the graph, is the area in green

03 - Utility Demand function and Pricing - DME 2024-12-01 17.14.21.excalidraw.png

Cost, value, price

Let g be the generalized social cost (assuming no externalities):

g=p+cu

where:

From the user prospective we have:

03 - Utility Demand function and Pricing - DME 2024-12-01 19.40.37.excalidraw.png

Then, the price costumers are willing to pay at q1 is the area in blue:

0q1g(z)dz

We can then define:

#Consumer surplus:

CS=0q1(g(z)dz)(p1+cu)q1

CS = Willing to pay - cash - trip time

While, from the producer prospective:

03 - Utility Demand function and Pricing - DME 2024-12-01 19.50.22.excalidraw.png

In the graph we have:
The curve q is the demand for a transportation service. Let's imagine we're working with q1 users.

The blue area is how much the costumers are cumulatively willing to pay.

The generalized cost for the user will be g1

g1=p1+cu

The generalized cost for the user is the sum of the price (p1) and all the other external costs (specifically time, cu).

If it costs the producer c to provide the service, p1c will be the producer's revenue and the corresponding red area the #Producer surplus.

The total social cost will be the sum of the orange and green areas.
While the net social benefit will be the willing to pay - social cost.

Pricing principles in transportation

Remember that the #Social Welfare is:

SW=CS+PS

The Consumer Surplus is an average cost that mainly depends on the number of users (q) and the size of the infrastructure (k):

cu(q,k)

The Producer Surplus will depend on:

C(q)=cqC0(q)=c0q

Then, the #Producer surplus is the sum:

PS=C0(q)+C(q)+r(k)k==pqincomec0qcqr(k)kTOT annual costs

Maximizing the social welfare

In general, with transportation, we're interested in maximizing the #Social Welfare:

maxq,kSW(q,x)

Where the SW:

SW(q,x)=CS(q,k)+PS(q,k)

This, according to what has been said before, can be written as:

SW(q,x)=CS(q,k)+PS(q,k)==0q1(g(z)dz)cu(q,k)qc0qcqr(k)k

where notice that, the term pq for the PS is already in the CS. We don't have to count this twice (this is clearer looking at the graph)

SW(q,x)=0q1(g(z)dz)cu(q,k)qc0qcqr(k)k

To maximize this function, we calculate the first derivatives (in q and k) and impose it equal to 0:

qSW(q,x)=g(q)cu(q,k)cu(q,k)qqc0c=!0q[1]kSW(q,x)=qcu(q,k)kr(k)r(k)kk=!0k[2]

Now, [1] can be written as:

g(q)=cu(q,k)+cu(q,k)q|qq+c0+c

And, remembering the definition of generalized cost:

g=p+cu(q,k)

we can write:

cu(q,k)+cu(q,k)qSocial Marginal costq+c0+c=p+cu(q,k)

So:

p=c0+c+qcuq|q,k

❗❗❗❗❗❗❗❗❗❗❗❗
❗❗❗ COMPLETARE ❗❗❗
❗❗❗❗❗❗❗❗❗❗❗❗

Pricing without congestion