functions (klein chapter 2) - university of maryland · • total derivative is change in all...

26
Multivariate Calculus Professor Peter Cramton Economics 300

Upload: dinhnhu

Post on 08-Apr-2018

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Multivariate Calculus

Professor Peter Cramton

Economics 300

Page 2: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Multivariate calculus

• Calculus with single variable (univariate)

• Calculus with many variables (multivariate)

1 2( , ,..., )ny f x x x

( )y f x

Page 3: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Partial derivatives

• With single variable, derivative is change in y in

response to an infinitesimal change in x

• With many variables, partial derivative is change in

y in response to an infinitesimal change in a single

variable xi (hold all else fixed)

• Total derivative is change in all variables at once

Page 4: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Cobb-Douglas production function

• How does production change in L?

• Marginal product of labor (MPL)

• Partial derivatives use instead of d

1 12 220Q K L

1 12 210

QK L

L

Page 5: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Cobb-Douglas production function

• How does production change in K?

• Marginal product of capital (MPK)

• Partial derivatives use instead of d

1 12 220Q K L

1 12 210

QK L

K

Page 6: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Cobb-Douglas production function

• Note

• Produce more with more labor, holding capital fixed

• Produce more with more capital, holding labor fixed

1 12 220Q K L

1 12 210 0

QMPK K L

K

1 12 210 0

QMPL K L

L

Page 7: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Second-order partial derivatives

• Differentiate first-order partial derivatives

312 2

3 12 2

2

2

2

2

5

5

Q QK L

L L L

Q QK L

K K K

1 12 210

QK L

L

1 12 210

QK L

K

Page 8: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Second-order partial derivatives

• Note

• MPL declines with more labor, holding capital fixed

• MPK declines with more capital, holding labor fixed

• Diminishing marginal product of labor and capital

312 2

3 12 2

2

2

2

2

5 0

5 0

Q QK L

L L L

Q QK L

K K K

Page 9: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Second-order cross partial derivatives

• What happens to MPL when capital increases?

• What happens to MPK when labor increases?

• By Young’s Theorem cross-partials are equal

1 12 2

2

5 0Q Q

K LK L K L

1 12 2

2

5 0Q Q

K LL K L K

1 12 2

2 2

5 0Q Q

K LL K K L

1 12 210

QK L

L

1 12 210

QK L

K

1 12 220Q K L

Page 10: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Labor demand at different levels of capital

312 2

2

25 0

QK L

L

1 12 210 0

QK L

L

K = K0 K = K1

Page 11: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

1 12 220Q K L

Page 12: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Contour plot • Isoquant is 2D projection in K-L space of Cobb-

Douglas production with output fixed at Q*

1 12 220Q K L

Page 13: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Implicit function theorem

• Each isoquant is implicit function

• Implicit since K and L vary as dependent variable Q* is a fixed parameter

• Solving for K as function of L results in explicit function

• Use implicit function theorem when can’t solve K(L)

1 12 2*Q AK L

2*

( )

Q

AK L

L

Page 14: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Implicit function theorem

For an implicit function

defined at point with continuous

partial derivatives

there is a function defined in

neighborhood of corresponding to

such that

1( , ,..., )nF y x x k0 0 0

1( , ,..., )ny x x0 0 0

1( , ,..., ) 0,y nF y x x

1( ,..., )ny f x x0 0

1( ,..., )nx x

1( , ,..., )nF y x x k0 0 0

1

0 0 0

1

0 0 0

10 0

1 0 0 0

1

( ,..., )

( , ,..., )

( , ,..., )( ,..., )

( , ,..., )

i

n

n

x n

i n

y n

y f x x

F y x x k

F y x xf x x

F y x x

Page 15: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Verifying implicit function theorem

• Cobb-Douglas production

• Explicit function for isoquant

• Derivative of isoquant

• Slope of isoquant = marginal rate of technical substitution – Essential in determining optimal mix of production inputs

1 12 2*Q AK L

2*

( )

Q

AK L

L

2*

2 2

( )

Q

AdK L KL K

dL L L L

Page 16: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Implicit function theorem 0 0 0

10 0

1 0 0 0

1

( , ,..., )( ,..., )

( , ,..., )

ix n

i n

y n

F y x xf x x

F y x x

1 12 2Q AK L

1 12 210

QK L

L

1 12 210

QK L

K

1 12 2

1 12 2

10

10

Q

dK K L KLQdL LK LK

Page 17: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Implicit function theorem from differential

• For multivariate function

• Differential is

• Holding quantity fixed (along the isoquant)

• Thus

( , )Q F K L

Q QdQ dK dL

K L

0Q Q

dQ dK dLK L

Q

dK MPLLQdL MPK

K

Page 18: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Isoquants for Cobb-Douglas

1Q AK L

1 1

(1 ) 1

dK AK L K

dL AK L L

K bL

Page 19: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Homogeneous functions

• When all independent variables increase by factor

s, what happens to output?

– When production function is homogeneous of degree

one, output also changes by factor s

• A function is homogeneous of degree k if

( , )ks Q F sK sL

Page 20: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Homogeneous functions

• Is Cobb-Douglas production function

homogeneous?

• Yes, homogeneous of degree 1

• Production function has constant returns to scale

– Doubling inputs, doubles output

1Q AK L 1 1 1( ) ( )A sK sL As s K L sQ

Page 21: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Homogeneous functions

• Is production function homogeneous?

• Yes, homogeneous of degree +

• For + = 1, constant returns to scale – Doubling inputs, doubles output

• For + > 1, increasing returns to scale – Doubling inputs, more than doubles output

• For + < 1, decreasing returns to scale – Doubling inputs, less than doubles output

( ) ( )A sK sL As K L s Q

Q AK L

Page 22: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Properties of homogeneous functions

• Partial derivatives of a homogeneous of degree k

function are homogeneous of degree k-1

• Cobb-Douglas partial derivatives don’t change as

you scale up production

1Q AK L

1 1QAK L

L

1 1 0 1 1( ) ( )

QA sK sL As K L

L

Page 23: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Isoquants for Cobb-Douglas

1Q AK L

1 1

(1 ) 1

dK AK L K

dL AK L L

K bL

Page 24: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Euler’s theorem

• Any function Q = F(K,L) has the differential

• Euler’s Theorem: For a function homogeneous of

degree k,

• Let Q = GDP and Cobb-Douglas

• Marginal products are associated with factor prices

Q QdQ dK dL

K L

Q QkQ K L

K L

1Q AK L

1QL AK L Q

L

(1 )

QK Q

K

In US, .67

Page 25: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Chain rule

1

1

1

1

( ,..., )

( ,..., )

...

n

i i m

n

i i n i

y f x x

x g t t

xy f x f

t x t x t

Page 26: Functions (Klein chapter 2) - University Of Maryland · • Total derivative is change in all variables at once. Cobb-Douglas production function • How does production change in

Chain rule exercise 2 23 2

8 18

4

What is dy/dz?

y x xw w

x z

w z

(6 2 )8 (2 2 )4

dy y x y w

dz x z w z

x w w x