Lecture 5 (For Student)
Lecture 5 (For Student)
Lecture 5
1
Learning objectives
• To determine the functions of several variables
• To discuss partial elasticity and marginal functions
• To explain unconstrained optimization
• To explain constrained optimization
• To explain Lagrange multipliers for economic interpretation
2
Functions of Several Variables
Learning Objective 1 3
Functions of Several Variables
4
Functions of Several Variables
X = independent variable
Y = dependent variable
If X more than one,
y = f(x1, x2, . . . , xn) = x1 x2 … xn + 2xn
Quick Check:
5
Functions of Several Variables
First-order partial derivatives, fx and fy
z = f(x,y)
The partial derivative of f with respect to x is written as
6
Functions of Several Variables
First-order partial derivatives, fx and fy
7
Functions of Several Variables
First-order partial derivatives, fx and fy
8
Functions of Several Variables
Second-order partial derivatives, fx and fy
1. for the function obtained by differentiating twice with respect to x
9
Functions of Several Variables
Second-order partial derivatives, fx and fy
10
Functions of Several Variables
Second-order partial derivatives, fx and fy
11
Functions of Several Variables
Second-order partial derivatives, fx and fy
12
Functions of Several Variables
Second-order partial derivatives, fx and fy
Example:
For the function
f(x1,x2,x3) = x13 + x1 x32 + 5x24
we could differentiate first with respect to x1 to get
13
Functions of Several Variables
Small Increments Formula
14
Functions of Several Variables
Small Increments Formula
15
Functions of Several Variables
Implicit Differentiation
This formula can be used to fi nd d y /d x given any implicit
function
f (x,y) = constant
that is,
Example:
16
Partial Elasticity
and Marginal Functions
Learning Objective 2 17
Partial Elasticity and Marginal Functions
Elasticity of Demand
The price elasticity of demand is defined to be:
18
Partial Elasticity and Marginal Functions
Elasticity of Demand
• EPA > 0 -> Q increases as PA rises, because consumers buy more
of the Q as it becomes relatively less expensive P
• EPA < 0 -> the alternative good is complementary then Q decreases
as PA rises, because the bundle of goods as a whole becomes more
expensive
19
Partial Elasticity and Marginal Functions
Elasticity of Demand
20
Partial Elasticity and Marginal Functions
Elasticity of Demand
21
Partial Elasticity and Marginal Functions
Utility
To analyze the behavior of consumers quantitatively we associate with
each set of options a number, U, called utility , which indicates the
level of satisfaction.
Example:
Given the utility function
U = x11/4 x32/4
determine the value of the marginal utilities
when x1 = 100 and x2 = 200. Hence estimate the change in utility when
x1 decreases from 100 to 99 and x2 increases from 200 to 201.
22
Partial Elasticity and Marginal Functions
Utility
23
Unconstrained Optimization
Learning Objective 3 24
Unconstrained Optimization
This is typified by the problem of profit maximization, which usually
has a finite solution without the need to impose constraints. In a sense
the constraints are built into the profit function, which is defined by
π = TR − TC
because there is a conflict between trying to make total revenue, TR,
as large as possible while trying to make total cost, TC, as small as
possible.
25
Unconstrained Optimization
One Variables Two Variables
Function y = f(x) z = f(x,y)
Step 1 f ′(x) = 0 fx(x,y) = 0
fy(x,y) = 0
to find the stationary points (a,b)
Step 2 • f ″(a) > 0 then the function • fxx > 0, fyy > 0 and fxx fyy − fx2y > 0
has a minimum at x = a at (a,b) then the function has a
• f ″(a) < 0 then the function minimum at (a,b)
has a maximum at x = a • fxx < 0, fyy < 0 and fxx fyy − fx2y > 0
• f ″(a) = 0 then the point at (a,b) then the function has a
cannot be classified using maximum at (a,b)
the available information. • fxx fyy − fx2y < 0 at (a,b) then the
function has a saddle point at
(a,b)
26
Unconstrained Optimization
Example:
A firm is a perfectly competitive producer and sells two goods G1 and
G2 at $1000 and $800, respectively. The total cost of producing these
goods is given by
Solution:
TR1 = 1000Q1
TR2 = 800Q2
TR = TR1 + TR2 = 1000Q1 + 800Q2
27
Unconstrained Optimization
28
Unconstrained Optimization
29
Unconstrained Optimization
30
Constrained Optimization
Learning Objective 4 31
Constrained Optimization
method of substitution
Example:
To illustrate the method we will show how to fi nd the minimum value
of the objective function
z = −2x2 + y2
subject to the constraint y = 2x – 1
Solution:
z = −2x2 + (2x − 1)2
= −2x2 + 4x2 − 4x + 1
= 2x2 − 4x + 1
Note the wonderful effect that this has on z . Instead of z being a
function of two variables, x and y , it is now just a function of the one
variable, x . Consequently, the minimum value of z can be found using
the theory of stationary points
32
Constrained Optimization
At a stationary point = 0, that is 4x − 4 = 0 which has solution x = 1.
Differentiating a second time we see that
confirming that the stationary point is a minimum. The value of z can
be found by substituting x = 1 into z = 2x2 − 4x + 1 to get
z = 2(1)2 − 4(1) + 1
= −1
33
Constrained Optimization
Example:
A firm’s unit capital and labor costs are $1 and $2 respectively. If the
production function is given by
Q = 4 LK + L 2
find the maximum output and the levels of K and L at which it is
achieved when the total input costs are fixed at $105.
Solution:
Total input costs are K + 2L = 105
Step 1: Rearranging the constraint to express K in terms of L gives
K = 105 − 2 L
Step 2: Substituting formula above to production function gives
Q = 4L (105 − 2 L) + L2
= 420L − 7L2
34
Constrained Optimization
Step 3:
At a stationary point
420 − 14 L = 0 which has solution L = 30.
K = 105 − 2L
K = 105 − 2(30)
K = 45
The firm should therefore use 30 units of labor and 45 units of capital to
produce a maximum output of 6300.
35
Lagrange Multipliers
Learning Objective 5 36
Lagrange Multipliers
Example:
To illustrate the new method consider trying to optimize the value of
x2 − 3xy + 12 x
subject to the constraint 2x + 3y = 6
Solution:
Step 1
37
Lagrange Multipliers
Step 2
x2 − 3xy + 12 x
38
Lagrange Multipliers
We can eliminate x from equation (2) by multiplying equation (1) by 3,
multiplying equation (2) by 2 and adding. Similarly, x can be eliminated from
equation (3) by subtracting equation (3) from (1). These operations give
−9y − 12λ = −36 (4)
−6y − 2λ = −18 (5)
39
End of Lecture 5
40