Practice Problems 11

Lecture 11: Partial Derivatives and Total Differentials

Problem numbers refer to the textbook (Chiang & Wainwright, 4th edition). These are not graded, but you should attempt them all before the quiz. Try each question yourself first, then expand the Solution to check.

Exercise 7.4

1. Find ∂y/∂x1 and ∂y/∂x2 for each of the following functions:

  1. y=2x13−11x12x2+3x22
Solution

∂y∂x1=6x12−22x1x2∂y∂x2=−11x12+6x2

  1. y=5x1+3x2−2
Solution

∂y∂x1=5(x2−2)−(5x1+3)⋅0(x2−2)2=5x2−2∂y∂x2=0⋅(x2−2)−1⋅(5x1+3)(x2−2)2=−(5x1+3)(x2−2)2

2. Find fx and fy from the following:

  1. f(x,y)=x2+5xy−y3
Solution

fx=2x+5yfy=5x−3y2

  1. f(x,y)=(x2−3y)(x−2)
Solution

fx=(2x)(x−2)+(x2−3y)⋅1=3x2−4x−3yfy=−3(x−2)+(x2−3y)⋅0=−3x+6

3. From the answers to Prob. 2, find fx(1,2), the value of the partial derivative fx when x=1 and y=2, for each function.

Solution

For (a), fx(1,2)=2(1)+5(2)=12.

For (b), fx(1,2)=3(1)2−4(1)−3(2)=−7.

5. If the utility function of an individual takes the form U=U(x1,x2)=(x1+2)2(x2+3)3 where U is total utility, and x1 and x2 are the quantities of two commodities consumed:

  1. Find the marginal-utility function of each of the two commodities.
Solution

U1=∂U∂x1=2(x1+2)(x2+3)3U2=∂U∂x2=3(x1+2)2(x2+3)2

  1. Find the value of the marginal utility of the first commodity when 3 units of each commodity are consumed.
Solution

U1(3,3)=2(3+2)(3+3)3=2×5×216=2160

7. Write the gradients of the following functions:

  1. f(x,y,z)=x2+y3+z4
Solution

fx=2xfy=3y2fz=4z3∇f(x,y,z)=[2x3y24z3]

  1. f(x,y,z)=xyz
Solution

fx=yzfy=xzfz=xy∇f(x,y,z)=[yzxzxy]

Exercise 8.1

1. Find the differential dy, given:

  1. y=−x(x2+3)
Solution

Since y=−x3−3x, dy=(−3x2−3)dx=−3(x2+1)dx

4. Find the point elasticity of demand, given Q=k/Pn, where k and n are positive constants.

  1. Does the elasticity depend on the price in this case?
Solution

Writing Q=kP−n, dQdP=−nkP−n−1, so

εd=dQdP⋅PQ=−nkP−n−1⋅PkP−n=−n

No: the elasticity is the constant −n, whatever the price.

  1. In the special case where n=1, what is the shape of the demand curve? What is the point elasticity of demand?
Solution

With n=1, Q=k/P, so PQ=k: the demand curve is a rectangular hyperbola, downward sloping and approaching both axes. The point elasticity is εd=−1 everywhere (unit elastic).

6. Given Q=100−2P+0.02Y, where Q is quantity demanded, P is price, and Y is income, and given P=20 and Y=5,000, find the

  1. Price elasticity of demand.
Solution

At P=20 and Y=5,000, Q=100−40+100=160, so

εP=∂Q∂P⋅PQ=−2⋅20160=−0.25

  1. Income elasticity of demand.
Solution

εY=∂Q∂Y⋅YQ=0.02⋅5000160=0.625

Exercise 8.2

3. Find the total differential, given

  1. y=x1x1+x2
Solution

∂y∂x1=1⋅(x1+x2)−x1⋅1(x1+x2)2=x2(x1+x2)2

∂y∂x2=−x1(x1+x2)2

dy=x2dx1−x1dx2(x1+x2)2

4. The supply function of a certain commodity is Q=a+bP2+R1/2(a<0, b>0)[R: rainfall] Find the price elasticity of supply εQP, and the rainfall elasticity of supply εQR.

Solution

εQP=∂Q∂P⋅PQ=2bP⋅PQ=2bP2a+bP2+R1/2

εQR=∂Q∂R⋅RQ=12R−1/2⋅RQ=R1/22(a+bP2+R1/2)

5. How do the two partial elasticities in Prob. 4 vary with P and R? In a strictly monotonic fashion (assuming positive P and R)?

Solution

Write Q=a+bP2+R1/2 and assume Q>0. For εQP=2bP2/Q:

∂εQP∂P=4bPQ−2bP2⋅2bPQ2=4bP(a+R1/2)Q2

∂εQP∂R=−bP2R−1/2Q2<0

So εQP is strictly decreasing in R. In P it is strictly increasing if a+R1/2>0 and strictly decreasing if a+R1/2<0: the sign does not depend on P, so it is strictly monotonic in P either way.

For εQR=R1/2/(2Q):

∂εQR∂P=−bPR1/2Q2<0

∂εQR∂R=R−1/2Q−14Q2=R−1/2(a+bP2)4Q2

So εQR is strictly decreasing in P. In R it is strictly increasing if a+bP2>0 and strictly decreasing if a+bP2<0: again the sign does not depend on R, so it is strictly monotonic in R.

6. The foreign demand for our exports X depends on the foreign income Yf and our price level P: X=Yf1/2+P−2. Find the partial elasticity of foreign demand for our exports with respect to our price level.

Solution

εXP=∂X∂P⋅PX=−2P−3⋅PYf1/2+P−2=−2Yf1/2P2+1<0

7. Find the total differential for each of the following functions:

  1. U=7x2y3
Solution

dU=Uxdx+Uydy=14xy3dx+21x2y2dy=7xy2(2ydx+3xdy)

  1. U=(x−3y)3
Solution

dU=3(x−3y)2dx+3(x−3y)2(−3)dy=3(x−3y)2(dx−3dy)

Exercise 8.4

2. Find the total derivative dz/dt, given

  1. z=x2−8xy−y3, where x=3t and y=1−t
Solution

dzdt=zxdxdt+zydydt=(2x−8y)(3)+(−8x−3y2)(−1)=14x−24y+3y2=42t−24(1−t)+3(1−t)2=3t2+60t−21

  1. z=7u+vt, where u=2t2 and v=t+1
Solution

dzdt=zududt+zvdvdt+zt=7(4t)+t⋅1+v=28t+t+t+1=30t+1

  1. z=f(x,y,t), where x=a+bt and y=c+kt
Solution

dzdt=fxdxdt+fydydt+ft=bfx+kfy+ft

4. Find the partial total derivatives §W/§u and §W/§v if

  1. W=ax2+bxy+cu, where x=αu+βv and y=γu
Solution

§W§u=Wx∂x∂u+Wy∂y∂u+Wu=(2ax+by)α+bxγ+c=(2aα+bγ)(αu+βv)+αbγu+c

§W§v=Wx∂x∂v+Wy∂y∂v=(2ax+by)β+bx⋅0=β[(2aα+bγ)u+2aβv]

  1. W=f(x1,x2), where x1=5u2+3v and x2=u−4v3
Solution

§W§u=f1∂x1∂u+f2∂x2∂u=10uf1+f2

§W§v=f1∂x1∂v+f2∂x2∂v=3f1−12v2f2