KEY_final practice questions
KEY_final practice questions
Sample Questions
Question 1.
a) Write the Lagrange function L for the following problem:
y = 4 x1 x2 − 2 x12 + x22 subject to 3 x1 + x2 − 5 = 0
c) Determine whether the stationary value is a maximum, minimum or neither; based on the sign
L11 L12 g1
of the Hessian matrix of the Lagrange function L21 L22 g2 .
g1 g2 0
Solution:
a) L = 4 x1 x2 − 2 x12 + x22 + λ (3 x1 + x2 − 5)
b)
L1 = 4 x2 − 4 x1 + 3λ = 0
L2 = 4 x1 + 2 x2 + λ = 0 From L1 : 3λ = 4 x1 − 4 x2 , from L2 : λ = −4 x1 − 2 x2
Lλ = 3 x1 + x2 − 5 = 0
Using these two expressions for λ: 3(− 4 x1 − 2 x2 ) = 4 x1 − 4 x2
− 12 x1 − 6 x2 = 4 x1 − 4 x2
− 2 x2 = 16 x1
x2 = −8 x1
Plug this into Lλ : 3 x1 − 8 x1 − 5 = 0
− 5 x1 = 5 ⇒ x1* = −1 ⇒ x2* = −8(−1) = 8
Stationary value is ( x1* , x2* ) = (−1,8)
c)
L11 = −4,
L12 = 4
L11 L12 g1 − 4 4 3
L21 = 4 4 3 −4 3
L21 L22 g2 = 4 2 1 = 3 − = 3(4 − 6) − (−4 − 12) = 10 > 0
L22 = 2 2 1 4 1
g1 g2 0 3 1 0
g1 = 3
g2 = 1
Since the sign from the matrix is positive, (-1,8) is a maximum.
Solution:
f1 = −6( x1 + x2 ) d 2 y = f11dx12 + 2 f12 dx1dx2 + f 22 dx22
f 2 = −6( x1 + x2 ) = −6dx12 + 2(− 6 )dx1dx2 − 6dx22
f11 = −6 (
= −6 dx12 + 2dx1dx2 + dx22 )
f12 = −6 = f 21 = −6(dx1 + dx2 ) ≤ 0
2
f 22 = −6
Concave (Theorem 11.7)
Use Hessian matrix of second order partial derivatives for the following function to show
f f12
whether it is (strictly)concave/convex. (Hint: H = 11 )
f 21 f 22
f ( x1 , x2 ) = ( x1 + 2 x2 ) defined on R+2+
2
Solution:
f1 = 2(x1 + 2 x2 )
f 2 = 4( x1 + 2 x2 )
f11 = 2
f12 = 4 = f 21
f 22 = 8
Solution:
a) First order conditions:
f1 = 6 x12 − 3 x2 + 2 x1 = 0
3
f 2 = −3 x1 − 4 x2 = 0 ⇒ 4 x2 = −3 x1 ⇒ x2 = − x1
4
3
6 x12 − 3 − x1 + 2 x1 = 0
plug it into f1 : 4
17 17
⇒ 6 x12 + x1 = 0 ⇒ x1 (6 x1 + ) = 0
4 4
17 17
⇒ x1 = 0 and (6 x1 + ) = 0 ⇒ x1 = −
4 24
17
⇒ x1 = 0 and x1 = −
24
17 17
There are two stationary points: ( x1* , x2* ) = (0,0) and ( x1* , x2* ) = − ,
24 32
b)
Econ 211 O.Mesta Page 4 of 9
17 17
According to theorem 11.9 part 2, the hessian is negative definite. It means that − , is a
24 32
local maximum. It is local because the sign of f11 depends on x1 .
a)
det ( A − λI ) = 0
2−λ 3
det ( A − λI ) = = (2 − λ )(− 6 − λ ) − 9 = λ2 + 4λ − 21 = 0 ⇒ λ = 3,
3 −6−λ
⇒ λ = −7
⇒ (λ − 3)(λ + 7 ) = 0
b)
Start with λ = 3 , the eigenvector q is found by solving the following equation:
( A − 3λ )q = 0
2 −3 3 q1 − 1 3 q1 0 − q1 + 3q2 = 0 ⇒ q1 = 3q2
( A − 3λ )q = = =
3 − 6 − 3 q2 3 − 9 q2 0 3q1 − 9q2 = 0
( A − (−7)λ )q = 0
2 + 7 3 q1 9 3 q1 0 9q1 + 3q2 = 0
( A − (−7)λ )q = = =
3 − 6 + 7 q2 3 1 q2 0 3q1 + q2 = 0 ⇒ q2 = −3q1
Step (2)
1 3 1 3
−
10 2 3
QT AQ = 10 10 10
3 1 3 − 6 − 3 1
10 10 10 10
2−9 3 + 18 1 3
= 10 10 10 10
6+3 9 − 6 3 1
−
10 10 10 10
−7 21 1 3
= 10 10 10 10
9 3 3 1
−
10 10 10 10
− 7 − 63 − 21 + 21
= 10 10
9 − 9 27 + 3
10 10
− 70
0
= 10
0 30
10
− 7 0
=
0 3
b) Use mean value theorem to calculate the largest possible value for f(18) given that f(x) is
continuous and differentiable on [5,18]. Moreover, it is known that f (5) = 6 and f ′( x ) ≤ 3 .
c) Calculate the present value of V = $1500 per year at an interest rate of 12% for 30 years.
b) According to the Mean Value Theorem, there is a point c in [5,18] such that
f (18) − f (5)
f ′(c) = .
18 − 5
Derive the solutions for all three equilibrium prices using the reduced row echelon form.
Solution: Setting supply equal to demand in each market and rearranging gives:
2 p1 + p3 = 30 2 0 1 30
4 p2 + p3 = 40 Matrix form is 0 4 1 40
p1 − p2 + 4 p3 = 15 1 − 1 4 15
205
1 0 0
15
0 1 0 140
15
40
0 0 1
15
205 140 40
So the equilibrium prices are p1 = , p2 = , p3 =
15 15 15