Professional Documents
Culture Documents
Solution: Given 𝑧 = 𝑥 3 + 2𝑥 2 𝑦 + 𝑥𝑦 2 − 𝑦 3
𝜕𝑧 𝜕
Then, 𝜕𝑥 = 𝜕𝑥 (𝑥 3 + 2𝑥 2 𝑦 + 𝑥𝑦 2 − 𝑦 3 )
𝜕 𝜕 𝜕 𝜕
= 𝜕𝑥 (𝑥 3 ) + 2𝑦 𝜕𝑥 (𝑥 2 ) + 𝑦 2 𝜕𝑥 (𝑥) − 𝜕𝑥 (𝑦 3 )
= 3𝑥 2 + 2𝑦 ∙ 2𝑥 + 𝑦 2 ∙ 1 − 0
= 3𝑥 2 + 4𝑥𝑦 + 𝑦 2
𝜕𝑧 𝜕
= 𝜕𝑦 (𝑥 3 + 2𝑥 2 𝑦 + 𝑥𝑦 2 − 𝑦 3 )
𝜕𝑦
𝜕 𝜕 𝜕 𝜕
= 𝜕𝑦 (𝑥 3 ) + 2𝑥 2 𝜕𝑦 (𝑦) + 𝑥 𝜕𝑦 (𝑦 2 ) − 𝜕𝑦 (𝑦 3 )
= 0 + +2𝑥 2 ∙ 1 + 𝑥 ∙ 2𝑦 − 3𝑦 2
= 2𝑥 2 + 2𝑥𝑦 − 𝑦 2
𝜕2 𝑧 𝜕 𝜕𝑧
Now, = 𝜕𝑥 (𝜕𝑥)
𝜕𝑥 2
𝜕
= 𝜕𝑥 (3𝑥 2 + 4𝑥𝑦 + 𝑦 2 )
𝜕 𝜕 𝜕
= 𝜕𝑥 (3𝑥 2 ) + 𝜕𝑥 (4𝑥𝑦) + 𝜕𝑥 (𝑦 2 ))
𝜕 𝜕 𝜕
=3 (𝑥 2 ) + 4𝑦 (𝑥) + (𝑦 2 ))
𝜕𝑥 𝜕𝑥 𝜕𝑥
= 3 ∙ 2𝑥 + 4𝑦 ∙ 1 + 0
= 6𝑥 + 4𝑦
𝜕2 𝑧 𝜕 𝜕𝑧
And, = 𝜕𝑦 (𝜕𝑦)
𝜕𝑦 2
𝜕
= 𝜕𝑦 (2𝑥 2 + 2𝑥𝑦 − 𝑦 2 )
𝜕 𝜕 𝜕
= 𝜕𝑦 (2𝑥 2 ) + 𝜕𝑦 (2𝑥𝑦) − 𝜕𝑦 (𝑦 2 ))
𝜕 𝜕 𝜕
= 2 𝜕𝑦 (𝑥 2 ) + 2𝑥 𝜕𝑦 (𝑦) − 𝜕𝑥 (𝑦 2 ))
= 2 ∙ 2𝑥 + 2𝑥 ∙ 1 − 0
= 4𝑥 + 2𝑦
𝜕2 𝑧 𝜕 𝜕𝑧
Again, = 𝜕𝑥 (𝜕𝑦)
𝜕𝑥𝜕𝑦
𝜕
= 𝜕𝑥 (2𝑥 2 + 2𝑥𝑦 − 𝑦 2 )
𝜕 𝜕 𝜕
= 2 𝜕𝑥 (𝑥 2 ) + 2𝑦 𝜕𝑥 (𝑥) − 𝜕𝑥 (𝑦 2 )
= 2 ∙ 2𝑥 + 2𝑦 ∙ 1 − 0
= 4𝑥 + 2𝑦
𝜕2 𝑧 𝜕 𝜕𝑧
And, = 𝜕𝑦 (𝜕𝑥)
𝜕𝑦𝜕𝑥
𝜕
= 𝜕𝑦 (3𝑥 2 + 4𝑥𝑦 + 𝑦 2 )
𝜕 𝜕 𝜕
= 𝜕𝑦 (3𝑥 2 ) + 𝜕𝑦 (4𝑥𝑦) + 𝜕𝑦 (𝑦 2 )
𝜕 𝜕 𝜕
= 3 𝜕𝑦 (𝑥 2 ) + 4𝑥 𝜕𝑦 (𝑦) + 𝜕𝑦 (𝑦 2 )
= 0 + 4𝑥 ∙ 1 + 2𝑦
= 4𝑥 + 2𝑦
𝑥𝑦 𝜕𝑧 𝜕𝑧
2. If 𝑧 = 𝑥 2 +𝑦 2, then prove that 𝑥 𝜕𝑥 + 𝑦 𝜕𝑦 = 0
𝑥𝑦
Proof. Given, 𝑧 = 𝑥 2 +𝑦 2
(𝑥 2 +𝑦 2 )(𝑦)−(𝑥𝑦)(2𝑥+0)
= (𝑥 2 +𝑦2 )2
𝑥 2 𝑦+𝑦 3 −2𝑥 2 𝑦
= (𝑥 2 +𝑦 2 )2
𝑦 3 −𝑥 2 𝑦
= (𝑥 2 +𝑦 2)2
(𝑥 2 +𝑦 2 )(𝑥∙1)−(𝑥𝑦)(0+2𝑦)
= (𝑥 2 +𝑦 2 )2
𝑥 3 +𝑥𝑦 2 −2𝑥𝑦 2
= (𝑥 2 +𝑦 2 )2
𝑥 3 −𝑥𝑦 2
= (𝑥 2 +𝑦 2)2
𝜕𝑧 𝜕𝑧 𝑦 3 −𝑥2 𝑦 𝑥 3 −𝑥𝑦 2
Then , 𝑥 𝜕𝑥 + 𝑦 𝜕𝑦 = 𝑥 ((𝑥 2 +𝑦 2 )2 ) + 𝑦 ((𝑥 2 +𝑦 2)2 )
𝑥𝑦 3 −𝑥 3 𝑦 𝑥 3 𝑦−𝑥𝑦 3
= (𝑥 2 +𝑦 2)2 + (𝑥 2 +𝑦 2 )2
𝑥𝑦 3 −𝑥 3 𝑦+𝑥 3 𝑦−𝑥𝑦 3
= (𝑥 2 +𝑦2 )2
𝜕𝑧 𝜕𝑧
Hence, 𝑥 𝜕𝑥 + 𝑦 𝜕𝑦 = 0 (proved)
𝜕2 𝑢 𝜕2 𝑢
3. If 𝑢 = log(𝑥 2 + 𝑦 2 ), prove that 𝜕𝑥 2 + 𝜕𝑦 2 = 0
(𝑥 2 +𝑦 2 )(2∙1)−(2𝑥)(2𝑥)
= (𝑥 2 +𝑦 2 )2
2𝑥 2 +2𝑦 2 −4𝑥2
= (𝑥 2 +𝑦 2 )2
𝜕2 𝑢 2𝑦 2 −2𝑥 2
∴ = (𝑥 2 +𝑦 2 )2
𝜕𝑥 2
Similarly,
𝜕2 𝑢 𝜕 𝜕𝑢
= 𝜕𝑥 (𝜕𝑦)
𝜕𝑦 2
𝜕 2𝑦
= 𝜕𝑥 (𝑥 2 +𝑦 2)
𝜕 𝜕
(𝑥 2 +𝑦 2 ) (2𝑦)−(2𝑦) (𝑥 2 +𝑦2 )
𝜕𝑦 𝜕𝑦
= (𝑥 2 +𝑦 2 )2
(𝑥 2 +𝑦 2 )(2∙1)−(2𝑦)(2𝑦)
= (𝑥 2 +𝑦 2 )2
2𝑥 2 +2𝑦 2 −4𝑦2
= (𝑥 2 +𝑦2 )2
2𝑥 2 −2𝑦 2
= (𝑥 2 +𝑦 2)2
Then we get,
𝜕2 𝑢 𝜕2 𝑢 2𝑦 2 −2𝑥2 2𝑥 2 −2𝑦 2
+ 𝜕𝑦 2 = (𝑥 2 +𝑦 2 )2 + (𝑥 2 +𝑦 2 )2
𝜕𝑥 2
𝜕2 𝑢 𝜕2 𝑢
∴ + 𝜕𝑦 2 = 0 (proved)
𝜕𝑥 2
Exercise
𝜕2 𝑧 𝜕2 𝑧
1. If 𝑧 = log(𝑥 + 𝑦), then prove that 𝜕𝑥𝜕𝑦 = 𝜕𝑦𝜕𝑥
𝜕2 𝑓 𝜕2 𝑓
2. If 𝑓(𝑥, 𝑦) = 𝑥 3 + 2𝑥 2 𝑦 + 𝑥𝑦 2 − 𝑦 3 , then prove that 𝜕𝑥𝜕𝑦 = 𝜕𝑦𝜕𝑥
𝜕2 𝑧 𝜕2 𝑧
3. If 𝑧 = log(𝑥 + 𝑦), then prove that𝜕𝑥 2 − 𝜕𝑦 2 = 0.
Partial derivatives, like derivative like a function of single (one) variable, can be interpreted as
slopes or rate of change. If the cost function of making 𝑥 units of pen and y units of pencil is given
by: 𝐶(𝑥, 𝑦) = 5𝑥 + 3𝑦 + 30,
𝜕𝐶 𝜕
Then, 𝐶𝑥 (𝑥, 𝑦) = 𝜕𝑥 = 𝜕𝑥 (5𝑥 + 3𝑦 + 30) = 5(1) + 0 + 0 = 5
𝜕𝐶 𝜕
And, 𝐶𝑦 (𝑥, 𝑦) = 𝜕𝑦 = 𝜕𝑦 (5𝑥 + 3𝑦 + 30) = 0 + 3(1) + 0 = 3
Then, we can say that if production of pencil is held constant, the cost of production increases at
the rate of 𝐶𝑥 = 5 taka for each additional unit of pen made, whereas if production of pen held
constant, cost increases at the rate of 𝐶𝑦 = 3 taka for each additional unit pencil made.
Example-*. The total profit in taka when 𝑥 units of product A and 𝑦 units of product B are
produced and sold is given by:
𝑃(𝑥, 𝑦) = 120𝑥 − 𝑥 2 − 3𝑥𝑦 + 210𝑦 − 3𝑦 2
Find 𝑃(10, 20), 𝑃𝑥 (10, 20) and 𝑃𝑦 (10, 20). Interpret the partials in rate terminology.
Solution: Given, 𝑃(𝑥, 𝑦) = 120𝑥 − 𝑥 2 − 3𝑥𝑦 + 210𝑦 − 3𝑦 2
First we find, 𝑃(10, 20) = 120(10) − (10)2 − 3(10)(20) + 210(20) − 3(20)2
= 1200 − 100 − 600 + 4200 − 1200
= 3500 Tk.
The first partial of 𝑃(𝑥, 𝑦) w.r.t. 𝑥 is:
𝜕
𝑃𝑥 (𝑥, 𝑦) = 𝜕𝑥 {𝑃(𝑥, 𝑦)}
𝜕
= 𝜕𝑥 (120𝑥 − 𝑥 2 − 3𝑥𝑦 + 210𝑦 − 3𝑦 2 )
= 120(1) − 2𝑥 − 3𝑦(1) + 0 − 0
∴ 𝑃𝑥 (𝑥, 𝑦) = 120 − 2𝑥 − 3𝑦
Then, 𝑃𝑥 (10, 20) = 120 − 2(10) − 3(20)
= 120 − 20 − 30
= 70
Which means, with production B keeping constant (at 𝑦 = 20), profit is increasing at the rate of
Tk.70 per additional unit of A produced and sold.
The first partial of 𝑃(𝑥, 𝑦) w.r.t. 𝑦 is:
𝜕
𝑃𝑦 (𝑥, 𝑦) = 𝜕𝑦 {𝑃(𝑥, 𝑦)}
𝜕
= 𝜕𝑦 (120𝑥 − 𝑥 2 − 3𝑥𝑦 + 210𝑦 − 3𝑦 2 )
= 4.5
Interpretation: with capital investment keeping constant (at 𝑘 = 27), production will be
increased at the rate of 4.5 million taka per additional one million taka expenses labor.
(b) 𝑃𝐾 (64, 27) = 16 × 641/3 27−1/3
= 16 × 4 × 3−1
64
= 3
= 21.33
Interpretation: with labor investment holding constant (at 𝐿 = 64), production will be increased
at the rate of 21.33 million taka per additional one million taka expenses capital.
Example-*. The total cost of manufacture 𝑥 dozen ballpoints pens and 𝑦 dozen pencils is given
by 𝐶(𝑥, 𝑦) = 2𝑥𝑦 + 3𝑦 2 + 0.5𝑥 2 − 44𝑦 − 17𝑥 + 201.5
(a) Find the values of 𝑥 and 𝑦 that results in a minimum cost.
(b) What is the minimum cost?
Solution: Given the cost function 𝐶(𝑥, 𝑦) = 2𝑥𝑦 + 3𝑦 2 + 0.5𝑥 2 − 44𝑦 − 17𝑥 + 201.5
(a) Partially differentiating 𝐶(𝑥, 𝑦) w.r.t 𝑥, we get
𝜕𝐶 𝜕
𝐶𝑥 (𝑥, 𝑦) = 𝜕𝑥 = 𝜕𝑥 (2𝑥𝑦 + 3𝑦 2 + 0.5𝑥 2 − 44𝑦 − 17𝑥 + 201.5)
𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
= 2𝑦 𝜕𝑥 (𝑥) + 3 𝜕𝑥 (𝑦 2 ) + 0.5 𝜕𝑥 (𝑥 2 ) − 44 𝜕𝑥 (𝑦) − 17 𝜕𝑥 (𝑥) + 𝜕𝑥 (201.5)
= 2𝑦 × 1 + 3 × 0 + 0.5 × 2𝑥 − 44 × 0 − 17 × 1 + 0)
𝜕𝐶
∴ = 2𝑦 + 𝑥 − 17
𝜕𝑥
𝜕𝐶 𝜕
Similarly, 𝐶𝑦 (𝑥, 𝑦) = 𝜕𝑦 = 𝜕𝑦 (2𝑥𝑦 + 3𝑦 2 + 0.5𝑥 2 − 44𝑦 − 17𝑥 + 201.5)
𝜕 𝜕 𝜕 𝜕 𝜕 𝜕
= 2𝑥 𝜕𝑦 (𝑦) + 3 𝜕𝑦 (𝑦 2 ) + 0.5 𝜕𝑦 (𝑥 2 ) − 44 𝜕𝑦 (𝑦) − 17 𝜕𝑦 (𝑥) + 𝜕𝑦 (201.5)
= 2𝑥 × 1 + 3 × 2𝑦 + 0.5 × 0 − 44 × 1 − 17 × 0 + 0
𝜕𝐶
∴ = 2𝑥 + 6𝑦 − 44
𝜕𝑦
or, 2𝑦 + 𝑥 − 17 = 0
or, 𝑥 = −2𝑦 + 17 …. …. …. (1)
𝜕𝐶
Also, =0
𝜕𝑦
or, 2𝑥 + 6𝑦 − 44 = 0
or, 𝑥 + 3𝑦 − 22 = 0 …. …. …. (2)
putting the value of 𝑥 from equation (1) in equation (2), we get-
𝑥 + 3𝑦 − 22 = 0
or, (−2𝑦 + 17) + 3𝑦 − 22 = 0
or, −2𝑦 + 17 + 3𝑦 − 22 = 0
or, 𝑦−5=0
or, 𝑦=5
Putting the value of 𝑦 = 5 in equation (1), we get-
𝑥 = −2(5) + 17
or, 𝑥=7
Now, for testing the optimum point is maximum or minimu.
𝜕2 𝐶 𝜕 𝜕𝐶
= 𝜕𝑥 (𝜕𝑥 )
𝜕𝑥 2
𝜕
= 𝜕𝑥 (2𝑦 + 𝑥 − 17)
=0+1−0
=1
According to the definition, at the stationary point (𝑥, 𝑦) = (7, 5):
𝜕2 𝐶
𝐴= 𝜕𝑥 2
∴ 𝐴=1
𝜕2 𝐶 𝜕 𝜕𝐶
Similarly, = 𝜕𝑥 (𝜕𝑦)
𝜕𝑥𝜕𝑦
𝜕
= 𝜕𝑥 (2𝑥 + 6𝑦 − 44)
=2+0−0
=2>0 (positive)
At the stationary point (𝑥, 𝑦) = (7, 5):
𝜕2 𝐶
𝐵= 𝜕𝑥𝜕𝑦
∴ 𝐵=2
𝜕2 𝐶 𝜕 𝜕𝐶
Again, = 𝜕𝑦 (𝜕𝑦)
𝜕𝑦 2
𝜕
= 𝜕𝑦 (2𝑥 + 6𝑦 − 44)
=0+6−0
=6
According to the definition, at the stationary point (𝑥, 𝑦) = (7, 5):
𝜕2 𝐶
𝐶= 𝜕𝑦 2
∴ 𝐶=6>0 (positive)
Now, discriminant, 𝐷 = 𝐵 2 − 𝐴𝐶
= 22 − 1 × 6
= −2 < 0 (which is negative)
Since, 𝐷 = −2 < 0; and 𝐴 = 1 > 0 and 𝐶 = 6 > 0
So, the stationary point at (𝑥 = 7, 𝑦 = 5) is minimum.
Hence, the required cost will be minimum at the level of output ballpoints pen, 𝑥 = 7 dozen and
pencil, 𝑦 = 5 dozen.
(c) The minimum cost is
𝐶(7, 5) = 2 ∙ 7 ∙ 5 + 3 ∙ 52 + 0.5 ∙ 72 − 44 ∙ 5 − 17 ∙ 7 + 201.5
[Since, 𝐶(𝑥, 𝑦) = 2𝑥𝑦 + 3𝑦 2 + 0.5𝑥 2 − 44𝑦 − 17𝑥 + 201.5]
= 70 + 75 + 24.5 − 220 − 119 + 201.5
= 32
Example-*. Assume a store’s profit is depend on the number of sales persons, 𝑠, and the number
of inventory, 𝑖 (in lakhs of taka). If profit function is given by:
𝑃(𝑠, 𝑖) = 1400 − (12 − 𝑠)2 − (40 − 𝑖)2 ,
then what values of s and i will maximize the profit? Find the maximum profit.
Solution: Given the profit function: 𝑃(𝑠, 𝑖) = 1400 − (12 − 𝑠)2 − (40 − 𝑖)2
Partially differentiating 𝑃(𝑠, 𝑖) w.r.t. 𝑠, we get
𝜕𝐶 𝜕
𝑃𝑠 (𝑥, 𝑦) = = 𝜕𝑠 (1400 − (12 − 𝑠)2 − (40 − 𝑖)2 )
𝜕𝑠
𝜕 𝜕 𝜕
= 𝜕𝑠 (1400 − 𝜕𝑠 (12 − 𝑠)2 − 𝜕𝑠 (40 − 𝑖)2
𝜕
= 0 − 2(12 − 𝑠) 𝜕𝑠 (12 − 𝑠) − 0
= 0 − 2(12 − 𝑠)(0 − 1)
= 2(12 − 𝑠)
𝜕𝐶
= 24 − 2𝑠
𝜕𝑠
𝜕𝐶
At the stationary point =0
𝜕𝑠
So, we get: 24 − 2𝑠 = 0
or, 2𝑠 = 24
or, 𝑠 = 12 (1)
Partially differentiating 𝑃(𝑠, 𝑖) w.r.t. 𝑖, we get
𝜕𝐶 𝜕
𝑃𝑖 (𝑥, 𝑦) = = 𝜕𝑖 (1400 − (12 − 𝑠)2 − (40 − 𝑖)2 )
𝜕𝑖
𝜕 𝜕 𝜕
= 𝜕𝑖 (1400 − 𝜕𝑖 (12 − 𝑠)2 − 𝜕𝑖 (40 − 𝑖)2
𝜕
= 0 − 0 − 2(40 − 𝑖) 𝜕𝑖 (40 − 𝑖)
= −2(40 − 𝑖)(0 − 1)
𝜕𝐶
= 80 − 2𝑖
𝜕𝑖
𝜕𝐶
At the stationary point =0
𝜕𝑖
So, we get: 80 − 2𝑖 = 0
or, 2𝑖 = 80
or, 𝑖 = 40 (2)
Partially differentiating𝑃𝑠 (𝑥, 𝑦) w.r.t. 𝑠, we get
𝜕 𝜕
𝑃𝑠𝑠 (𝑥, 𝑦) = 𝜕𝑠 𝑃𝑠 (𝑥, 𝑦) = 𝜕𝑠 (24 − 2𝑠)
= 0 − 2(1)
𝐴 = −2 < 0 [∵ 𝐴 = 𝑃𝑠𝑠 (𝑥 ∗ , 𝑦 ∗ )]
Partially differentiating𝑃𝑖 (𝑥, 𝑦) w.r.t. 𝑠, we get
𝜕 𝜕
𝑃𝑠𝑖 (𝑥, 𝑦) = 𝜕𝑠 𝑃𝑖 (𝑥, 𝑦) = 𝜕𝑠 (80 − 2𝑖)
=0−0
𝐵=0 [∵ 𝐵 = 𝑃𝑠𝑖 (𝑥 ∗ , 𝑦 ∗ ) = 𝑃𝑖𝑠 (𝑥 ∗ , 𝑦 ∗ )]
Partially differentiating𝑃𝑠 (𝑥, 𝑦) w.r.t. 𝑠, we get
𝜕 𝜕
𝑃𝑖𝑖 (𝑥, 𝑦) = 𝜕𝑖 𝑃𝑖 (𝑥, 𝑦) = 𝜕𝑖 (80 − 2𝑖)
= 0 − 2(1)
𝐶 = −2 < 0 [∵ 𝐶 = 𝑃𝑖𝑖 (𝑥 ∗ , 𝑦 ∗ )]
Then, the discriminant: 𝐷 = 𝐵 2 − 𝐴𝐶
= 0 − (−2)(−2)
= −4 < 0
Since, 𝐷 = −4 < 0, 𝐴 = −2 < 0, and 𝐶 = −2 < 0, so the profit is maximum.
Hence, to maximize the profit, it is needed 𝑠 = 12 sales persons and inventory of taka 𝑖 = 40
lakhs.
The Maximum Profit is:
𝑃(12, 40) = 1400 − (12 − 12)2 − (40 − 40)2
= 1400
Example-*. To meet customer demand for a product, the producer makes a batch or lot of 𝐿 unit
of the product periodically. The producer’s strategy is to establish the period of time between lot
productions so that new lot is not made until some time after current inventory has been
exhausted. Thus there is a out-of-stock or stock-out interval. During this interval, orders received
from customer are placed in back order status and are filled immediately when a new lot is made.
Thus the producer makes 𝐿 units, uses some to fill back orders, and places the remainder 𝐼 units,
in inventory. Taking into account various cost, including a cost associated with being out-of-
stock, the producer has developed the following cost-function model:
750,000 20𝐼 2 25𝐿
𝐶(𝐿, 𝐼) = + + − 25𝐼
𝐿 𝐿 2
What values of 𝐿 and 𝐼 will minimize the cost to the producer? Compute the minimum cost.
750,000 20𝐼 2 25𝐿
Solution: Given the cost function 𝐶(𝐿, 𝐼) = + + − 25𝐼
𝐿 𝐿 2
If there is a local optimum point, the first partial derivatives of the cost function must be equal to
zero. Therefore,
𝜕𝐶 750,000 20𝐼 2
=− − + 12.5 = 0
𝜕𝐿 𝐿2 𝐿2
12.5𝐿2 −20𝐼 2 −750,000
or, =0
𝐿2
𝜕𝐶 40𝐼
And, = − 25 = 0
𝜕𝐼 𝐿
40𝐼−25𝐿
or, =0
𝐿
𝐵 = −0.625
𝜕2 𝐶 𝜕 𝜕𝐶
And, = 𝜕𝐼 ( 𝜕𝐼 )
𝜕𝐼 2
𝜕 40𝐼
= 𝜕𝐼 ( − 25)
𝐿
40 𝜕 𝜕
= (𝐼) − (25)
𝐿 𝜕𝐼 𝜕𝐼
40
= ×1−0
𝐿
40
= 𝐿
At the point 𝐿 = 400 and 𝐼 = 250
40
𝐶 = 400
2nd Part
750,000 20×2502 25×400
The minimum cost is 𝐶(400, 250) = + + − 25 × 250
400 400 2
750,000 20𝐼 2 25𝐿
[Since, 𝐶(𝐿, 𝐼) = + + − 25𝐼]
𝐿 𝐿 2
Utility: Utility may be defined as the power or property of a commodity or service to satisfy a
human want. But utility is not inherent in the commodity or service and universal for all. It depend
on the mental attitude or feeling of the user or consumer. Therefore, utility is subjective concept.
Utility of same product or service may vary from consumer to consumer.
Total Utility: A consumer may not use only one unit of product or service. He may require more
units. The more are the units utilized, greater is the utility derived. Thus the total utility is the sum
of utilities derived from the consumption of all units of a commodity. Total utility increases with
the increase in the unit utilized.
Marginal Utility: The marginal utility of a commodity is the utility of a commodity derived from
the consumption of an extra unit of an commodity. That is, marginal utility is the utility of a
marginal unit.
Note: Marginal utility can be Positive, Negative, or Zero.
Utility Function: Every consumer allocates his money income in different commodities in such a
manner as to obtain maximum satisfaction from their consumption. For example, let a consumer
wants to buy two commodities 𝐴 and 𝐵. Suppose he purchases 𝑥 units of 𝐴 and 𝑦 units of 𝐵. Then
the total utility 𝑈 will be depend on x and y. That is U is a function of x and y.
Therefore, 𝑈 = 𝑓(𝑥, 𝑦).
𝑈 = 𝑓(𝑥, 𝑦) is said to be consumer’s utility function and it follow the following assumptions:
1. 𝑈, 𝑥, and 𝑦 all are positive.
2. For any given value of 𝑈, if 𝑥 increases then 𝑦 decreases.
3. 𝑓(𝑥, 𝑦) is a continuous function of 𝑥 and 𝑦.
4. The first and second order partial derivatives of that function are also continuous.
I. Partial Derivatives for Obtaining Maximum Utility: Let a consumer want to maximize his
utility by purchasing/consuming two commodities A and 𝐵. In doing so, he has to consider the
restriction of his limited income.
If the price of the commodity 𝐴 is 𝑃𝑥 and commodity 𝐵 is 𝑃𝑦 per unit and if he purchases 𝑥 units
of A and 𝑦 units of B, then his total expenditure will be 𝑥𝑃𝑥 + 𝑦𝑃𝑦 .
Suppose his budget is 𝐼, then 𝐼 = 𝑥𝑃𝑥 + 𝑦𝑃𝑦 is said to be consumer’s budget equation.
Then we want to is to maximize the consumer’s utility function
𝑈 = 𝑓(𝑥, 𝑦)
Subject to the budget constraint (equation)
𝐼 = 𝑥𝑃𝑥 + 𝑦𝑃𝑦
The problem is to determine such values of 𝑥 and 𝑦 which maximize 𝑈 = 𝑓(𝑥, 𝑦).
𝑥𝑃𝑥 + 𝑦𝑃𝑦 − 𝐼 = 0
Now, by solving the above three equations simultaneously, we will get such values of 𝑥 and 𝑦,
which will maximize the utility function 𝑈 = 𝑓(𝑥, 𝑦).
𝑃 − 𝑔(𝑥, 𝑦) = 0
Then, by solving the above three equations simultaneously, we will get such values of 𝑥 and 𝑦,
that will minimize the cost function 𝐶 = 𝑓(𝑥, 𝑦).
= 4𝑦 3 (3𝑥 2 ) + 𝜆(1 + 0 − 0)
𝜕𝐹
= 12𝑥 2 𝑦 3 + 𝜆 (4)
𝜕𝑥
𝜕𝐹 𝜕
And, = 𝜕𝑦 (4𝑥 3 𝑦 3 + 𝜆(𝑥 + 2𝑦 − 12))
𝜕𝑦
𝜕 𝜕
= 4𝑥 3 (𝑦 3 ) + 𝜆 (𝑥 + 2𝑦 − 12)
𝜕𝑦 𝜕𝑦
or, 2𝜆 = −12𝑥 3 𝑦 2
or, 𝜆 = −6𝑥 3 𝑦 2 (7)
Equating (6) and (7), for 𝜆, we get
−6𝑥 3 𝑦 2 = −12𝑥 2 𝑦 3
or, 𝑥 = 2𝑦 (8)
Putting the value of x in equation (2), we get
2𝑦 + 2𝑦 = 12 [since, 𝑥 + 2𝑦 = 12]
Which gives, 𝑦 = 3 units
From equation (8), we get-
𝑥 = 2×3 [since, 𝑥 = 2𝑦]
or, 𝑥=6 units
Hence, for 𝑥 = 6 and 𝑦 = 3 that consumer’s utility will be maximum.
or, 2𝜆 = −𝑦 − 2
1
or, 𝜆 = − 2 (𝑦 + 2) (4)
= (𝑥(1) + 0) + 𝜆(0 + 1 − 0)
𝜕𝐹
=𝑥+𝜆
𝜕𝑦
𝜕𝐹
At the stationary point, also 𝜕𝑦 = 0
𝜕𝐹
Then, we get: =𝑥+𝜆 =0
𝜕𝑦
or, 𝜆 = −𝑥 (5)
Equating equation (4) and (5) for 𝜆, we get
1
− 2 (𝑦 + 2) = −𝑥
or, 𝑦 + 2 = 2𝑥
or, 𝑦 = 2𝑥 − 2 (6)
Putting the value of 𝑦 = 2𝑥 − 2 in equation (2)
2𝑥 + 2𝑥 − 2 − 62 = 0 [equation (2): 2𝑥 + 𝑦 − 62 = 0]
or, 4𝑥 = 64
or, 𝑥 = 16 units
Putting value of 𝑥 = 16 in equation (6), we get
𝑦 = 2(16) − 2
= 32 − 2
= 30
Hence, for 𝑥 = 16 and 𝑦 = 30 units of consumption, the utility of the consumer will be
maximized.
Example-*. The cost function of manufacturing a particular product is 𝐶(𝑥, 𝑦) = 𝑥 + 3𝑦 and its
production function is 𝑥𝑦 = 75. Find the value of x and y such that the cost is minimum.
Solution: Given the cost function: 𝐶(𝑥, 𝑦) = 𝑥 + 3𝑦 (1)
And, the production function 𝑥𝑦 = 75
This production function can be written as: 𝑥𝑦 − 75 = 0 (2)
Applying the Lagrange’s multiplier ‘𝜆’, we get a new function as:
𝐹(𝑥, 𝑦, 𝜆) = 𝑥 + 3𝑦 + 𝜆(𝑥𝑦 − 75) (3)
Partially differentiating 𝐹(𝐿, 𝐾, 𝜆), w.r.t. 𝑥, we get
𝜕𝐹 𝜕
= 𝜕𝑥 {𝑥 + 3𝑦 + 𝜆(𝑥𝑦 − 75)}
𝜕𝑥
𝜕 𝜕
= 𝜕𝑥 (𝑥 + 3𝑦) + 𝜆 𝜕𝑥 (𝑥𝑦 − 75)
= (1 + 0) + 𝜆(𝑦 × 1 − 0)
𝜕𝐹
= 1 + 𝜆𝑦
𝜕𝑥
𝜕𝐹
At the stationary point 𝜕𝑥 = 0
we get 1 + 𝜆𝑦 = 0
1
or, 𝜆 = −𝑦 (4)
= (0 + 3 × 1) + 𝜆(𝑥 × 1 − 0)
𝜕𝐹
𝜕𝑦
= 3 + 𝜆𝑥
𝜕𝐹
At the stationary point 𝜕𝑦 = 0
we get 3 + 𝜆𝑥 = 0
3
or, 𝜆 = −𝑥 (5)
or, 𝑥 = 3𝑦 (6)
Putting the value of 𝑥 = 3𝑦 in equation (2), we get
(3𝑦)𝑦 − 75 = 0 [equation (2): 𝑥𝑦 − 75 = 0]
or, 𝑦 2 = 25
or, 𝑦=5 [since 𝑦 ≠ −5]
Putting the value of 𝑦 = 5 in equation (6), we get
𝑥 = 3×5
= 15
Hence, the cost will be minimum for 𝑥 = 15 and 𝑦 = 5.
= 4 + 0 + 𝜆(𝐾 2 − 0)
𝜕𝐹
= 4 + 𝜆𝐾 2
𝜕𝐿
𝜕𝐹
At the stationary (optimum) point 𝜕𝐿
=0
𝜕𝐹
= 4 + 𝜆𝐾 2 = 0
𝜕𝐿
or, 4 + 𝜆𝐾 2 = 0
or, 𝜆𝐾 2 = −4
4
or, 𝜆 = − 𝐾2 (3)
= 0 + 5 × 1 + 𝜆(𝐿(2𝐾) − 0)
𝜕𝐹
= 5 + 2𝜆𝐿𝐾
𝜕𝐾
𝜕𝐹
At the stationary points 𝜕𝐾 = 0
𝜕𝐹
Then we get = 5 + 2𝜆𝐿𝐾 = 0
𝜕𝐾
or, 5 + 2𝜆𝐿𝐾 = 0
or, 2𝜆𝐿𝐾 = −5
5
or, 𝜆 = − 2𝐿𝐾 (4)
or, 𝐾 = 40 units
Hence, with 𝐿 = 25 units and 𝐾 = 40 units the cost of production will be minimum.
Exercise:
1. During a period of operation, a gasoline producer makes and sells 𝑥 gallons of regular and
𝑦 gallons of super at a cost, in cents, of 𝐶(𝑥, 𝑦) = 2𝑥 2 − 4𝑥𝑦 + 3𝑦 2 − −6𝑥 + 10𝑦.
Find 𝐶𝑥 (10, 15), and 𝐶𝑦 (10, 15) and interpret the result in rate terminology.
2. The total output of an industry, V million dollars, is a function of L (expenditure for labor)
1 2
and K (dollars of capital invested in the industry). Suppose 𝑉(𝐿, 𝐾) = 12𝐿3 𝐾 3 , then
compute the following and interpret the result in rate terminology:
𝜕𝑉
(a) for (𝐿, 𝐾) = (27, 8)
𝜕𝐿
𝜕𝑉
(b) for (𝐿, 𝐾) = (27, 8)
𝜕𝐾
3. One unit of a product can be made by using Machine A for x hours and Machine B for y
hours. The cost in dollars of making one unit is: C ( x, y) 3x2 2 xy y 2 12 x 4 y 50 .
(i) What number of hours on each machine will minimize the cost of making one unit?
(ii) Compute the minimum cost?
4. Profit in dollars earned by making and selling 𝑥 gallons of molasses and 𝑦 gallons of
maple syrup is given by𝑃(𝑥, 𝑦) = 50𝑥 − 0.05𝑥 2 + 110𝑦 − 0.10𝑦 2.
(a) What number of units of each product will maximize the profit?
(b) Compute the maximum profit.
5. To meet customer demand for a product, the producer makes a batch or lot of 𝐿 unit of the
product periodically. The producer’s strategy is to establish the period of time between lot
productions so that new lot is not made until some time after current inventory has been
exhausted. Thus there is a out-of-stock or stock-out interval. During this interval, orders
received from customer are placed in back order status and are filled immediately when a
new lot is made. Thus the producer makes 𝐿 units, uses some to fill back orders, and places
the remainder 𝐼 units, in inventory. Taking into account various cost, including a cost
associated with being out-of-stock, the producer has developed the following cost-function
model:
1350,000 20𝐼 2
𝐶(𝐿, 𝐼) = + + 15𝐿 − 30𝐼
𝐿 𝐿
What values of 𝐿 and 𝐼 will minimize the cost to the producer? What would be the
minimum cost?
6. If the cost function of a commodity is C 4 x 5 y and the production is x y 2 40,000 ,
find the value of x and y such that the cost is minimum.
7. The cost function of a commodity is 𝐶 = 2𝑥 + 5𝑦, where 𝑥 shows the labor and 𝑦 shows
the capital and its production function is 𝑥√𝑦 = 625. Find the value of 𝑥 and 𝑦 such that
the cost is minimum.
8. The utility function of a consumer is 𝑈 = 4𝑥 3 𝑦 3 . His budget equation is 𝑥 + 2𝑦 = 12.
Determine the quantities x and y such that the consumers gets maximum satisfaction.