**In this article we will discuss about the derivation of ordinary demand function and compensated demand function. **

**Ordinary Demand Function:**

A consumer’s ordinary demand function, is also known as the Marshallian demand function, can be derived from the analysis of utility-maximisation.

**Let’s assume that the utility function of the consumer is: **

U = q_{1}q_{2 }(6.45)

ADVERTISEMENTS:

**And his budget constraint is: **

y° = p_{1}q_{1} + p_{2}q_{2} (6.46)

**The relevant Lagrange function needed for deriving the conditions for utility maximization is: **

V = q_{1}q_{2} + λ (y°− p_{1}q_{1} – p_{2}q_{2} ) (6.47)

ADVERTISEMENTS:

**The first-order condition for constrained utility-maximisation is: **

Now solving equations (6.48) – (6.50) for obtaining the equilibrium values of q_{1} and q_{2}.

**From (6.48) and (6.49), we have: **

**From (6.50) and (6.51), we have: **

**Similarly, we would have: **

q_{2} = y°/2p_{2} (6.53)

(6.52) and (6.53) gives us the demand functions for the two goods, respectively.

**Two important properties of the demand functions that is derived from above are:**

(1) The demand for any commodity is a single-valued function of prices and income, For example, in eqn (6.52), it is found that for every given pair of the values of y° and p_{1}, having a unique value of q_{1}. Similarly, equation (6.53) would give a unique value of q_{2} for every given pair of values of y° and p_{2}.

(2) The demand functions are homogeneous of degree zero in prices and income. That is, if the prices of the goods and the money income of the consumer increase (or decrease) by a certain proportion, the consumer’s demand for the goods would remain unchanged.

**Compensated Demand Function****: **

If there is a change in the price of a commodity that the consumer purchases and if the consumer is duly compensated for the price change, i.e., if he is taxed after a fall in price or subsidized after a rise in price to such an extent that his level of utility remains the same, then his price-demand relation for the commodity is known as his compensated demand function for the good.

ADVERTISEMENTS:

**In order to derive such a function let’s assume that the utility function of the consumer is: **

U = q_{1}q_{2} (6.54)

And his budget equation is y^{o }= p_{1}q_{1} + p_{2}q_{2 }(6.55)

**Under the ‘compensated’ conditions, the consumer would purchase such a combination of the goods that would minimise his expenditure for the goods subject to the utility constraint: **

ADVERTISEMENTS:

U^{o }=q_{1}q_{2 }(6.56)

where U^{o} is the utility level at his initial equilibrium point.

**Here the relevant Lagrange function is: **

V = p_{1}q_{1} +p_{2}q_{2} + µ (U^{o} − q_{1}q_{2}) (6.57)

ADVERTISEMENTS:

**The first-order conditions are given by: **

**From (6.58) and (6.59), we have: **

**From (6.60) and (6.61), we have: **

ADVERTISEMENTS:

Eqns. (6.62) and (6.63) gives the consumer’s compensated demand functions for the two goods. It is evident in these demand functions that if there are proportionate changes in pi and p_{2}, the consumer’s demand for the goods, i.e., qi and q_{2}, would remain unchanged. In other words, the compensated demand functions are homogeneous of degree zero in the prices of the goods.