Takashi Math Tutorials Ans Key (2019)
Takashi Math Tutorials Ans Key (2019)
You are required to submit your work at my dropbox (or what you call pigeon-
hole) AB48 on the 5th floor of SOE/SOSS building by 5:00pm on the date specified
below.
1. x = 5 and y = −3 ⇒ x + y = 2.
True.
2. x2 = 16 ⇒ x = 4.
Question 1.2 (10 points) Let U = {1, 2, . . . , 11} be the universal set and define
A = {1, 4, 6} and B = {2, 11}. Answer the following:
1. A ∩ B?
A ∩ B = ∅.
1
2. A ∪ B?
A ∪ B = {1, 2, 4, 6, 11}.
3. B c = U \B?
B c = {1, 3, 4, 5, 6, 7, 8, 9, 10}.
4. Ac = U \A?
Question 1.3 (13 points) Let f (x) = ax3 + bx2 + cx + d. Then, show that
f (x + h) − f (x)
= 3ax2 + 2bx + c + 3axh + ah2 + bh.
h
0
Also, find f (x).
We compute the following:
So,
f (x + h) − f (x) = a(3x2 h + 3xh2 + h3 ) + b(2xh + h2 ) + ch
Now, it is easy to see that we obtain what is desired as (f (x + h) − f (x))/h. Finally,
0 f (x + h) − f (x)
f (x) = lim = lim (3ax2 +2bx+c+3axh+ah2 +bh) = 3ax2 +2bx+c.
h→0 h h→0
Question 1.4 (10 points) The total cost of producing x units of a commodity is
C(x) = x3 − 90x2 + 7500x, where x ≥ 0. Answer the following questions.
0
1. Compute the marginal cost function, C (x).
0
C (x) = 3x2 − 180x + 7500.
2
√
1. f (x) = 35 x2 − 2x7 + 1
8 − x.
0 6 1
f (x) = x − 14x6 − x−1/2 .
5 2
1
3. f (x) = x5 + (x5 + 1).
x
0
f (x) = (5x4 − x−2 )(x5 + 1) + (x5 + x−1 )5x4 = 10x9 + 5x4 + 4x3 − x−2 .
4. f (x) = ex x−2 .
0 x −2 x −3 x −2 −3 x 1 2
f (x) = e x + e × (−2)x = e (x − 2x )=e 2
− 3
x x
5. f (x) = (x + ex )2 .
0
f (x) = 2(x + ex )(1 + ex ).
Question 1.6 (20 points) Find the equations for the tangents to the graphs of the
following functions at the specified points.
1. y = 3 − x − x2 at x = 1.
dy
= −1 − 2x
dx
dy
= −3.
dx x=1
So, we have
y − 1 = −3(x − 1) ⇔ y = −3x + 4,
which is the equation for the tangent to the graph.
2. y = (x2 − 1)/(x2 + 1) at x = 1.
So, we have
y − 0 = (x − 1) ⇔ y = x − 1,
which is the equation for the tangent to the graph.
3
1
+ 1 (x2 − 1) at x = 2.
3. y = x2
dy
= −2x−3 (x2 − 1) + (x−2 + 1)2x = 2(x−3 + x)
dx
dy
= 17/4.
dx x=2
So, we have
5 17
y−
= (x − 2),
12 4
which is the equation for the tangent to the graph.
x4 +1
4. y = (x2 +1)(x+3)
at x = 0.
So, we have
1 1
= − (x − 0),
y−
3 9
which is the equation for the tangent to the graph.
Question 1.7 (20 points) For each of the following functions, determine the in-
tervals where it is increasing.
We compute dy/dx:
dy
= 6x − 12 = 6(x − 2).
dx
So, the function is increasing if and only if x ≥ 2.
We compute dy/dx:
dy 4x3 − 12x √ √
= = x3 − 3x = x(x2 − 3) = x(x + 3)(x − 3).
dx 4
√ √
Thus, the function is increasing if and only if either x ≥ 3 or − 3 ≤ x ≤ 0.
4
3. y = 2x/(x2 + 2).
We compute dy/dx:
√ √
dy 2(x2 + 2) − 2x · 2x −2(x + 2)(x − 2)
= = .
dx (x2 + 2)2 (x2 + 2)2
√ √
Thus, the function is increasing if and only if − 2 ≤ x ≤ 2.
First, observe that this function is not well-defined when x = −1. We compute
dy/dx:
dK dK dL
= · = αALα−1 · b = αbA(bt + c)α−1 .
dt dL dt
Question 2.2 (12 points) If u(z) denotes an individual’s utility of having income
(or consumption) z, then
00 0
R = −zu (z)/u (z)
is the coefficient of relative risk aversion. Compute R for the following utility
functions (where A1 , A2 , and ρ are positive constants with ρ 6= 1, and we assume
that z > 0):
5
√
1. u(z) = z.
0 1 −1/2
u (z) = z
2
00 1
u (z) = − z −3/2
4
00 0
R = −zu (z)/u (z) = 1/2.
2. u(z) = A1 − A2 z −2 .
0
u (z) = 2A2 z −3
00
u (z) = −6A2 z −4
00 0
R = −zu (z)/u (z) = 3.
z 1−ρ
3. u(z) = A1 + A2 (1−ρ) .
0
u (z) = A2 z −ρ
00
u (z) = −ρA2 z −(1+ρ)
00 0
R = −zu (z)/u (z) = ρ.
6
Question 2.4 (12 points) Determine the following using the rules for limits:
1. limx→0 (3 + 2x2 ).
3+2x
2. limx→−1 x−1 .
3 + 2x 3 + 2 limx→−1 x
lim =
x→−1 x − 1 limx→−1 (x − 1)
1
= = −1/2.
−2
(y+1)5 −y 5
5. limy→0 y+1 .
1/z+2
6. limz→−2 z .
7
1/3
x+1
1. f (x) = x−1 .
1 x+1 1
ln f (x) = ln [ln(x + 1) − ln(x − 1)]
=
3 x−1 3
0
f (x) d ln f (x) 1 1 1 −2
= = − = .
f (x) dx 3 x+1 x−1 3(x + 1)(x − 1)
2. f (x) = x2x .
ln f (x) = 2x ln x
0
f (x) d ln f (x)
= = 2 ln x + 2 = 2(ln x + 1).
f (x) dx
√
3. f (x) = x − 2(x2 + 1)(x4 + 6).
1
ln f (x) = ln(x − 2) + ln(x2 + 1) + ln(x4 + 6)
2
0
f (x) d ln f (x) 1 2x 4x3
= = + 2 + 4 .
f (x) dx 2(x − 2) x + 1 x + 6
Question 2.6 (15 points) Find the intervals where the following functions are in-
creasing:
1. y = ln(4 − x2 ).
We first check the domain of the function. The inside of logarithmic function
must be positive. So, we must satisfy 4−x2 > 0. This implies that −2 < x < 2.
0
Next, we compute y :
0 −2x
y = .
4 − x2
0
Then, y ≥ 0 if and only if either −2 < x ≤ 0 or x > 2. After we take into
account the domain of the function, we conclude that y is increasing if and
only if either −2 < x ≤ 0.
2. y = x3 ln x.
0
We compute y :
0
y = 3x2 ln x + x2 = x2 (3 ln x + 1) = x2 (ln x3 + 1).
0
Then, y ≥ 0 if and only if x ≥ e−1/3 . That is, y is increasing if and only if
x ≥ e−1/3 . Note that ln e−1 = − ln e = −1. Recall that f (x) = ln x is not
well-defined over the negative orthant of the real line.
8
(1−ln x)2
3. y = 2x .
0
We compute y :
0 ex−3
f (x) = > 0.
2 + ex−3
So, f is strictly increasing.
y = ln(2 + ex−3 )
⇔ ey = 2 + ex−3
⇔ ex−3 = ey − 2
⇔ x − 3 = ln(ey − 2)
⇔ x = ln(ey − 2) + 3.
Since the logarithmic function is only well-defined over the positive region of
the real line, we must have ey − 2 > 0. This implies that y > ln 2. So, the
range of f over which g is well-defined is (ln 2, ∞).
0 0
5. Verify that f (3) = 1/g (ln 3).
0
We compute g (y):
0 ey
g (y) = .
ey − 2
9
So,
0 ey − 2
1/g (y) =
ey
0 0
and we have 1/g (ln 3) = 1/3. We also compute f (3) = 1/3.
1. Draw a graph of f .
We skip this.
Question 3.3 (16 points) Find ∂z/∂x and ∂z/∂y for the following:
10
1. z = x2 + 3y 2 .
∂z/∂x = 2x,
∂z/∂y = 6y.
2. z = xy.
∂z/∂x = y,
∂z/∂y = x.
3. z = 5x4 y 2 − 2xy 5 .
∂z/∂x = 20x3 y 2 − 2y 5 ,
∂z/∂y = 10x4 y − 10xy 4 .
4. z = ex+y .
∂z/∂x = ex+y ,
∂z/∂y = ex+y .
5. z = exy .
∂z/∂x = yexy ,
∂z/∂y = xexy .
6. z = ex /y.
∂z/∂x = ex /y,
∂z/∂y = −ex /y 2 .
7. z = ln(x + y).
1
∂z/∂x =
x+y
1
∂z/∂y = .
x+y
8. z = ln(xy).
1
∂z/∂x =
x
1
∂z/∂y = .
y
Question 3.4 (16 points) Find all first- and second-order partial derivatives for
the following:
11
1. z = x2 + e2y
∂z
= 2x
∂x
∂z
= 2e2y
∂y
∂2z
= 2
∂x2
∂2z
= 4e2y
∂y 2
2
∂ z ∂2z
= = 0.
∂x∂y ∂y∂x
2. z = y ln x
∂z
= y/x
∂x
∂z
= ln x
∂y
∂2z
= −y/x2
∂x2
∂2z
= 0
∂y 2
∂2z ∂2z
= = 1/x.
∂x∂y ∂y∂x
3. z = xy 2 − exy
∂z
= y 2 − yexy
∂x
∂z
= 2xy − xexy
∂y
∂2z
= −y 2 exy
∂x2
∂2z
= 2x − x2 exy
∂y 2
2
∂ z ∂2z
= = 2y − exy (xy + 1).
∂x∂y ∂y∂x
12
4. z = xy
∂z
= yxy−1
∂x
∂z
= xy ln x
∂y
∂2z
= y(y − 1)xy−2
∂x2
∂2z
= xy (ln x)2
∂y 2
2
∂ z ∂2z
= = xy−1 + yxy−1 ln x = xy−1 (1 + y ln x).
∂x∂y ∂y∂x
Question 3.5 (10 points) Let z = ln(x2 + y 2 )/2. Show that ∂ 2 z/∂x2 + ∂ 2 z/∂y 2 =
0.
∂z 2x x
= = 2
∂x 2(x2 +y ) 2 x + y2
∂z 2y y
= = 2
∂y 2(x2 + y 2 ) x + y2
∂2z (x2 + y 2 ) − x · 2x y 2 − x2
= =
∂x2 (x2 + y 2 )2 (x2 + y 2 )2
∂2z (x2 + y 2 ) − y · 2y x2 − y 2
= =
∂y 2 (x2 + y 2 )2 (x2 + y 2 )2
f (x, y).
Question 3.7 (10 points) Verify that the points (−1, 5) and (1, 1) lie on the same
level curve for the function:
13
g(−1, 5) = (−2 + 5)3 − 2(−1) + 5/5 = 33 + 2 + 1 = 27 + 3 = 30
g(1, 1) = (2 + 1)3 − 2 + 5 = 33 − 2 + 5 = 30.
Question 3.8 (10 points) Let F (x, y) = ex−2y − ln(2x2 y). Answer the following
questions.
ex−2y is always well-defined for any values of x and y. However, the domain of
ln(2x2 y) must be positive. In order to have 2x2 y > 0, we must have x 6= 0 and
y > 0.
2. Show that (x, y) = (1, 1/2) lies on the level curve F (x, y) = 1.
14
1. Suppose that we are given
where a and b are constants. Find the differentials, dx and dy, in terms of dt
and ds.
∂g(t, s) ∂g(t, s)
dx = dt + ds
∂t ∂s
= 2a(at + bs)dt + 2b(at + bs)ds.
∂h(t, s) ∂h(t, s)
dy = dt + ds
∂t ∂s
a b
= (at + bs)−1/2 dt + (at + bs)−1/2 ds.
2 2
z = f (x, y) = xα y 1−α
x = g(t, s) = (t + s)2
√
y = h(t, s) = t + s.
15
Question 4.2 (7 points) Consider the equation:
exyz − 3xyz = 1.
∂z yz(exyz − 3)
= −
∂x (x,z)=(1,1) xy(exyz − 3) (x,z)=(1,1)
ey − 3
= − y = −1.
e −3
0
Question 4.3 (15 points) Using the implicit function theorem, find y for the fol-
00
lowing level curves. Also, find y using chain rule.
1. x2 y = 1
0 ∂F/∂x 2y
y =− =− .
∂F/∂y x
2. x − y + 3xy = 2
16
Define F (x, y) = x − y + 3xy − 2 so that we have F (x, y) = 0. We first compute
the following:
∂F
= 1 + 3y
∂x
∂F
= −1 + 3x
∂y
3. y 5 − x6 = 0.
17
1 + 3 2 − 1 −3 + 2 4 1 −1
A+B = 5+4 0+2 2+5 = 9 2 7 .
1 + 2 −1 + 0 1 + 3 3 −1 4
1 − 3 2 + 1 −3 − 2 −2 3 −5
A−B = 5−4 0−2 2 − 5 = 1 −2 −3
1 − 2 −1 − 0 1 − 3 −1 −1 −2
1 · 3 + 2 · 4 + (−3) · 2 1 · (−1) + 2 · 2 + (−3) · 0 1 · 2 + 2 · 5 + (−3) · 3
AB = 5·3+0·4+2·2 5 · (−1) + 0 · 2 + 2 · 0 5·2+0·5+2·3
1 · 3 + (−1) · 4 + 1 · 2 1 · (−1) + (−1) · 2 + 1 · 0 1 · 2 + (−1) · 5 + 1 · 3
5 3 3
= 19 −5 16 .
1 −3 0
3 · 1 + (−1) · 5 + 2 · 1 3 · 2 + (−1) · 0 + 2 · (−1) 3 · (−3) + (−1) · 2 + 2 · 1
BA = 4·1+2·5+5·1 4 · 2 + 2 · 0 + 5 · (−1) 4 · (−3) + 2 · 2 + 5 · 1
2·1+0·5+3·1 2 · 2 + 0 · 0 + 3 · (−1) 2 · (−3) + 0 · 2 + 3 · 1
0 4 −9
= 19 3 −3 .
5 1 −3
3 · 4 + (−1) · 0 + 2 · 1 3 · 1 + (−1) · 3 + 2 · (−2) 3 · 2 + (−1) · 2 + 2 · 3
BC = 4·4+2·0+5·1 4 · 1 + 2 · 3 + 5 · (−2) 4·2+2·2+5·3
2·4+0·0+3·1 2 · 1 + 0 · 3 + 3 · (−2) 2·2+0·2+3·3
14 −4 10
= 21 0 27 .
11 −4 13
1 2 −3 14 −4 10
A(BC) = 5 0 2 21 0 27
1 −1 1 11 −4 13
1 · 14 + 2 · 21 + (−3) · 11 1 · (−4) + 2 · 0 + (−3) · (−4) 1 · 10 + 2 · 27 + (−3) · 13
= 5 · 14 + 0 · 21 + 2 · 11 5 · (−4) + 0 · 0 + 2 · (−4) 5 · 10 + 0 · 27 + 2 · 13
1 · 14 + (−1) · 21 + 1 · 11 1 · (−4) + (−1) · 0 + 1 · (−4) 1 · 10 + (−1) · 27 + 1 · 13
23 8 25
= 92 −28 76 .
4 −8 −4
18
5 3 3 4 1 2
(AB)C = 19 −5 16 0 3 2
1 −3 0 1 −2 3
5·4+3·0+3·1 5 · 1 + 3 · 3 + 3 · (−2) 5·2+3·2+3·3
= 19 · 4 + (−5) · 0 + 16 · 1 19 · 1 + (−5) · 3 + 16 · (−2) 19 · 2 + (−5) · 2 + 16 · 3
1 · 4 + (−3) · 0 + 0 · 1 1 · 1 + (−3) · 3 + 0 · (−2) 1 · 2 + (−3) · 2 + 0 · 3
23 8 25
= 92 −28 76 .
4 −8 −4
0 2 c11 c12 2c21 2c22
(A − 2I)C = = .
1 3 c21 c22 c11 + 3c21 c12 + 3c22
If we want to have (A−2I)C = I, we must have c11 = −3/2; c12 = 1; c21 = 1/2;
and c22 = 0. Therefore,
−3/2 1
C= .
1/2 0
19
Let
a11 b11 + a12 b21 a11 b12 + a12 b22
AB =
a21 b11 + a22 b21 a21 b12 + a22 b22
and
0 a11 b11 + a12 b21 a21 b11 + a22 b21
(AB) =
a11 b12 + a12 b22 a21 b12 + a22 b22
0 0 b11 b21 a11 a21 b11 a11 + b21 a12 b11 a21 + b21 a22 0
BA = = = (AB) .
b12 b22 a12 a22 b12 a11 + b22 a12 b12 a21 + b22 a22
a2 − 1
a −3
a+1 2 a2 + 4
−3 4a −1
symmetric?
In order for the above matrix to be symmetric, we must have the following two
equations:
(1) a2 − 1 = a + 1 and (2) a2 + 4 = 4a.
For (1), we obtain (a − 2)(a + 1) = 0. For (2), we obtain (a − 2)2 = 0. To satisfy
these equations simultaneously, we must have a = 2.
Calculate (i) AB; (ii) |A|; (iii) |B|; (iv) |A| · |B|; and (v) |AB|.
1 · 1 + (−1) · 2 + 0 · 0 1 · 2 + (−1) · 3 + 0 · 1 1 · 3 + (−1) · 4 + 0 · (−1)
AB = 1 · 1 + 3 · 2 + 2 · 0 1·2+3·3+2·1 1 · 3 + 3 · 4 + 2 · (−1)
1·1+2·2+1·0 1·2+2·3+1·1 1 · 3 + 2 · 4 + 1 · (−1)
−1 −1 −1
= 7 13 13 .
5 9 10
3 2
1+1 1+2 1
2
|A| = 1 · (−1) 2 1 + (−1) · (−1)
1 = −1 − 1 = −2.
1
1+1 3 4 2+1 2 3
|B| = 1 · (−1) 1 −1 + 2 · (−1) = −7 + 10 = 3.
1 −1
20
|A| · |B| = (−2) · 3 = −6.
−1 −1
|AB| = 7 · (−1)2+1 + 13 · (−1)2+2 −1 −1 + 13 · (−1)2+3 −1 −1
9 10 5 10 5 9
= 7 − 65 + 52 = −6.
(1 − x)3 + 16 − 12(1 − x) = 0.
y 3 − 12y + 16 = 0.
Question 4.10 (10 points) Use Cramer’s rule to solve the following system of
equations:
2x1 − 3x2 = 2
4x1 − 6x2 + x3 = 7
x1 + 10x2 = 1.
Let
2 −3 0 x1 2
A = 4 −6 1 ; x = x2 ; and b = 7 .
1 10 0 x3 1
Then, the given system of linear equations is expressed as Ax = b. We first claim
that |A| =
6 0.
21
Then, by Cramer’s rule, we obtain
2 −3 0 .
2+3 2 −3
x1 = 7 −6 1 |A| = (−1)
1 10 = 1.
1 10 0
2 2 0 .
1 2 2
x2 = 4 7 1 |A| =
= 0.
1 1 0 23 1 1
2 −3 2 .
−1
x3 = 4 −6 7 |A| = (2 × |A11 | + 4 × |A21 | + |A31 |)
1 10 1 23
−1 1+1 −6 7
2+1 −3 2
3+1 −3 2
= 2(−1) 10 1 + 4 × (−1) 10 1 + (−1) −6 7
23
−1
= {2(−6 − 70) − 4(−3 − 20) + (−21 + 12)}
23
−152 + 92 − 9
= = (−69)/(−23) = 3.
(−23)
where a, b, and c are constant real numbers. Answer the following questions.
22
2. Compute the matrix product CD.
1 3 −7 a b c
CD = 2 5 1 −13 14 −15
1 2 7 −1 1 −1
a − 39 + 7 b + 42 − 7 c − 45 + 7
= 2a − 65 − 1 2b + 70 + 1 2c − 75 − 1
a − 26 − 7 b + 28 + 7 c − 30 − 7
a − 32 b + 35 c − 38
= 2a − 66 2b + 71 2c − 76 .
a − 33 b + 35 c − 37
If D = C −1 , we must have
a − 32 b + 35 c − 38 1 0 0
CD = 2a − 66 2b + 71 2c − 76 = 0 1 0 .
a − 33 b + 35 c − 37 0 0 1
4. Let
1 0 2
A = 0 2 −2 ,
0 0 −1
and
h1
H = h2 ,
h3
where h1 , h2 , and h3 are constant real numbers. Show that there exists exactly
one 3 × 1 matrix Y such that AY = CH. (Hint: You do not need to find Y
for this question.)
If A−1 exists, we can derive Y uniquely in such a way that Y = A−1 CH. Since
we know that A−1 exists if and only if |A| 6= 0, it only remains to show that
|A| =
6 0. That is,
1+1 2 −2
|A| = 1 · (−1) 0 −1 = −2 6= 0.
5. Let B = C −1 AC and
x1
X = x2 .
x3
23
Show that X = C −1 Y is the solution to the equation BX = H.
If B −1 exists, we have
X = B −1 H = (C −1 AC)−1 H (∵ B = C −1 AC)
= C −1 A−1 CH
= C −1 Y (∵ Y = A−1 CH)
1. z = x3 + y 3 .
dz = 3x2 dx + 3y 2 dy.
2
2. z = xey .
2 2
dz = ey dx + 2xyey dy.
3. z = ln(x2 − y 2 ).
2x 2y
dz = dx − dy.
x − y2
2 x − y2
2
Question 5.3 (9 points) Let u = u(x, y). Answer the following questions.
24
Question 5.4 (9 points) Let a = (1, 2, 2), b = (0, 0, −3), and c = (−2, 4, −3).
Find the following.
1. a + b + c;
1 0 −2 −1
a + b + c = 2 + 0 + 4 = 6 .
2 −3 −3 −4
2. a − 2b + 2c;
1 0 −2 −3
a − 2b + 2c = 2 − 2 0 + 2 4 = 10 .
2 −3 −3 2
3. 3a + 2b − 3c.
1 0 −2 9
3a + 2b − 3c = 3 2 + 2 0 − 3 4 = −6 .
2 −3 −3 9
Question 5.5 (9 points) Express the vector (4, −11) as a linear combination of
(2, −1) and (1, 4).
Set
2 1 4
t +s = ,
−1 4 −11
where t, s ∈ R. This is equivalent to the following system of equations:
2t + s = 4,
−t + 4s = −11.
Question 5.6 (8 points) For what values of x are (x, −x−8, x, x) and (x, 1, −2, 1)
orthogonal?
We must have (x, −x − 8, x, x) · (x, 1, −2, 1) = 0. This is equivalent to
x2 − x − 8 − 2x + x = 0 ⇔ (x − 4)(x + 2) = 0.
Therefore, x = −2, 4.
25
1. Find the equation for the line that passes through (3, −2, 2) and (10, 2, 1).
Let a = (3, −2, 2) and b = (10, 2, 1). We compute b − a = (7, 4, −1). Thus,
the corresponding equation is
where t ∈ R.
2. Find the equation for the line that passes through (1, 3, 1) and has the same
direction as (0, −1, 1).
where t ∈ R.
Question 5.8 (16 points) The following system of equations defines both u =
u(x, y) and v = v(x, y) as continuously differentiable functions of x and y around
the point P where (x, y, u, v) = (1, 1, 1, 1):
2uv + v 2 = 2x + y
u − v = x2 − y 2 .
26
2. Find ∂u/∂x and ∂v/∂x at P
We start from
2v 2(u + v) du 2dx + dy
= .
1 −1 dv 2xdx − 2ydy
Setting dy = 0, we obtain
2v 2(u + v) du 2dx
=
1 −1 dv 2xdx
2v 2(u + v) ∂u/∂x 2
⇔ =
1 −1 ∂v/∂x 2x
We start from
2v 2(u + v) du 2dx + dy
= .
1 −1 dv 2xdx − 2ydy
Setting dx = 0, we obtain
2v 2(u + v) du dy
=
1 −1 dv −2ydy
2v 2(u + v) ∂u/∂y 1
⇔ = .
1 −1 ∂v/∂y −2y
27
4. If x decreases by 0.1 and y increases by 0.2 from their values at P , what are
the approximate changes in u and v?
28
Next, evaluating the above derived system at P , we obtain
0 0
uy − 2vy − 1 = 0
0 0 0
−2uy − (ln 2)vy = vy .
0 0
4. Find the values of the partial derivatives uy and vy at P .
0 1 + ln 2
uy (2, 1) =
5 + ln 2
0 2
vy (2, 1) = − .
5 + ln 2
Question 5.10 (an additional question, not for the grade of HW#5) A firm’s
cost per unit of output is given by the function:
wr
c(w, r) =
w+r
where r denote the rental price of capital and w denote the wage rate. Answer the
following questions.
2. Show that the function c(·) satisfies Euler’s theorem for homogeneous functions.
29
Second, we compute
0 0 wr2 + w2 r wr(w + r) wr
wc1 (w, r) + rc2 (w, r) = 2
= 2
= = c(w, r).
(w + r) (w + r) w+r
0 0
This implies that wc1 (w, r) + rc2 (w, r) = kc(w, r) where k = 1. Thus, Euler’s
theorem holds.
3. Find all the second-order partial derivatives of c(·), and show that they are all
homogeneous of the same degree.
00 ∂ 2
c11 (w, r) =(r (w + r)−2 ) = −2r2 (w + r)−3
∂w
00 ∂
c22 (w, r) = (w2 (w + r)−2 ) = −2w2 (w + r)−3
∂r
00 00 ∂ 2
c12 (w, r) = c21 (w, r) = (r (w + r)−2 ) = 2r(w + r)−2 + r2 · (−2)(w + r)−3
∂r
= 2r(w + r)−3 (w + r − r) = 2wr(w + r)−3
00 t2 00 00
c11 (tw, tr) = −2(tr)2 (tw + tr)−3 =c (w, r) = t−1 c11 (w, r)
t3 11
00 t2 00 00
c22 (tw, tr) = −2(tw)2 (tw + tr)−3 = 3 c22 (w, r) = t−1 c22 (w, r)
t
00 00 t2 0 00
c12 (w, r) = c21 (w, r) = 2(tw)(tr)(tw + tr)−3 = 3 c12 (w, r) = t−1 c12 (w, r)
t
This shows that all the second derivatives of c(·) are homogenous of degree -1.
We first compute
0 0
f1 (x, y) = 5(x + 1)4 (y + 1)6 and f2 (x, y) = 6(x + 1)5 (y + 1)5 .
We therefore have
f (x, y) ≈ 1 + 5x + 6y.
30
√
2. f (x, y) = 1+x+y
We first compute
0 1 0 1
f1 (x, y) = (1 + x + y)−1/2 and f2 (x, y) = (1 + x + y)−1/2 .
2 2
We therefore have
1 1
f (x, y) ≈ 1 + x + y.
2 2
3. f (x, y) = ex ln(1 + y).
We first compute
0 0 ex
f1 (x, y) = ex ln(1 + y) and f2 (x, y) = .
1+y
We therefore have
f (x, y) ≈ 0 + 0 · x + y = y.
Question 6.2 (10 points) Find the tangent planes to the following surfaces at the
indicated points:
1. z = x2 + y 2 at (1, 2, 5)
We compute
0 0
∇f (x, y) = (f1 , f2 ) = (2x, 2y).
Thus, the tangent plane at (1, 2, 5) is
0 0
{(x, y, z) ∈ R3 | f1 (1, 2)(x − 1) + f2 (1, 2)(y − 2) = z − 5}
= {(x, y, z) ∈ R3 | 2(x − 1) + 4(y − 2) = z − 5}
= {(x, y, z) ∈ R3 | 2x + 4y − 5 = z}.
We compute
0
f1 (x, y) = −2x(y − 2x2 ) − 4x(y − x2 ) = 2x(4x2 − 3y)
0
f2 (x, y) = y − 2x2 + y − x2 = 2y − 3x2 .
31
(t3 + 2t − 3)dt
R
1.
t4
= + t2 − 3t + C.
4
(x − 1)2 dx
R
2.
x3
Z
= (x2 − 2x + 1)dx = − x2 + x + C.
3
R
3. (x − 1)(x + 2)dx
x3 x2
Z
= (x2 + x − 2)dx = + − 2x + C.
3 2
(x + 2)3 dx
R
4.
x4
Z
= (x3 + 6x2 + 12x + 8)dx = + 2x3 + 6x2 + 8x + C.
4
x3
Z
2 4
= x −3+ dx = − 3x + 4 ln x + C.
x 3
Question 6.5 (8 points) Find the general form of a function f whose second deriva-
00 0
tive f (x) is x2 . If we require in addition that f (0) = 1 and f (0) = −1, what is
f (x)?
32
We first observe
x3
Z Z
0 00
f (x) = f (x)dx = x2 dx = + C1 ,
3
0
where C1 is a constant of integration. Since f (0) = −1, we obtain C1 = −1. So,
0
f (x) = x3 /3 − 1. Furthermore,
Z 3
x4
Z
0 x
f (x) = f (x)dx = − 1 dx = − x + C2 ,
3 12
x4
f (x) = − x + 1.
12
Question 6.6 (16 points) Use integration by parts to evaluate the following:
Let us recall the following formula:
Z b Z b
0 0
f (x)g (x)dx = [f (x)g(x)]ba − f (x)g(x)dx.
a a
Z 1
1. x ln(x + 2)dx
−1
Z 2
2. x2x dx
0
Z 1
3. x2 ex dx
0
3 √
Z
4. x 1 + xdx.
0
0
1. Set f (x) = x and g(x) = (x + 2) ln(x + 2) − x. Note that g (x) = ln(x + 2). By
integration by parts, we have
Z 1 Z 1
1
x ln(x + 2)dx = [x{(x + 2) ln(x + 2) − x}]−1 − ((x + 2) ln(x + 2) − x) dx
−1 −1
Z 1 Z 1 Z 1
= 3 ln 3 − x ln(x + 2)dx − 2 ln(x + 2)dx + xdx.
−1 −1 −1
This implies
1 1
x2
Z
2 x ln(x + 2)dx = 3 ln 3 − 2 [(x + 2) ln(x + 2) − x]1−1 +
−1 2 −1
= 3 ln 3 − 2 (3 ln 3 − 2) = −3 ln 3 + 4.
33
Hence,
1
−3 ln 3
Z
x ln(x + 2)dx = + 2.
−1 2
0
2. Set f (x) = x and g(x) = 2x / ln 2. Note that g (x) = 2x . By integration by parts,
we have
Z 2 x 2 Z 2 x x 2
x 2 2 8 2
x2 dx = x − dx = −
0 ln 2 0 0 ln 2 ln 2 (ln 2)2 0
8 4 1 8 3
= − − = − .
ln 2 (ln 2)2 (ln 2)2 ln 2 (ln 2)2
Z 1
1. (x4 − x9 )(x5 − 1)12 dx
0
Z
ln x
2. √ dx
x
Z 4
dx
3. p √ .
0 1+ x
34
1. First, we observe the following:
Z 1 Z 1 Z 1
(x4 −x9 )(x5 −1)12 dx = − x4 (x5 −1)(x5 −1)12 dx = − x4 (x5 −1)13 dx. (∗)
0 0 0
1 du
x4 = .
5 dx
Besides, x = 0 ⇔ u = −1 and x = 1 ⇔ u = 0. By integration by substitution, we
have Z 1 0
1 0 13 1 u14
Z
1
x4 (x5 − 1)13 dx = u du = = − . (∗∗)
0 5 −1 5 14 −1 70
Plugging (∗∗) into (∗), we obtain
Z 1
1
(x4 − x9 )(x5 − 1)12 dx = .
0 70
√ √
2. Set u = x. Then, x = u2 and du/dx = 1/2 x. So,
dx
√ = 2du.
x
dx = 2(u − 1)du.
2 3/2 3
Z 3 Z 3 h i3
1/2 −1/2
= 2 u du − 2 u du = 2 u − 2 2u1/2
1 1 3 1 1
2 3/2
4 √ √
= 2· 3 − 1 − 2 · 2 31/2 − 1 = (3 3 − 1) − 4( 3 − 1)
3 3
= 8/3.
Question 6.8 (8 points) The value v0 of a new car depreciates continuously at the
annual rate of 10% – that is, v(t) = v0 e−δt where δ = 0.1 is the rate of depreciation.
How many years does it take for the car to lose 90% of its original value?
35
What we want is to find t to satisfy
v0
= v0 e−δt .
10
This is equivalent to
1 = 10e−δt .
Taking the natural logarithm on both hand sides, we obtain
t
ln 1 = ln(10e−δt ) = ln 10 − δt = ln 10 − .
10
Since ln 1 = 0, we obtain
t = 10 ln(10) ≈ 23.02.
Note that (x4 + 1) > 0. So, since f is defined over [0, ∞], we conclude that f
is strictly increasing if and only if x ∈ (0, 1). This implies that f achieves the
maximum at x = 1. Therefore, the maximum of f is 1.
36
Question 7.2 (9 points) Find possible local extreme (maximum or minimum) points
for f (x) = e3x − 6ex , where x ∈ R = (−∞, ∞).
We check the first-order condition of f :
0
f (x) = 3e3x − 6ex = 3ex (e2x − 2) = 0.
Since ex is always positive for any x ∈ R, the only stationary point is obtained as
follows: √
e2x − 2 ⇔ 2x = ln 2 ⇔ x∗ = ln( 2).
0 √ 0 √
Since f √ (x) < 0 if x < ln( 2) and f (x) > 0 if x > ln( 2), we conclude that
x∗ = ln( 2) is a local minimum point of f .
x2 + 1
f (x) = ,
x
which is defined over [1/2, 2]. Answer the following questions.
1. Show that f achieves the maximum and minimum over [1/2, 2].
0 2x · x − (x2 + 1) (x + 1)(x − 1)
f (x) = 2
= = 0.
x x2
So, x = −1, 1 are the stationary points of f but the domain of f is [1/2, 2], we
only consider x = 1 as the only candidate for extreme points on the interior of
[1/2, 2]. We obtain f (1) = 2.
We compute:
1/4 + 1 5
f (1/2) = =
1/2 2
4+1 5
f (2) = = .
2 2
4. Find the maximum point and minimum point of f over [1/2, 2].
37
Question 7.4 (15 points) Let f be the function defined over [1, e3 ] as
3 ln x = 1 ⇔ x = e1/3 > 1.
ln x = 1 ⇔ x = e.
38
We thus compare the following values:
f (1) = 0
4
f (e1/3 ) =
27
f (e) = 0
f (e3 ) = 12.
Question 7.5 (12 points) The price a firm obtains for a commodity varies with
demand q according to the inverse demand function, p(q) = 18 − 0.006q. The total
cost function is C(q) = 0.004q 2 + 4q + 4500. Answer the following questions.
We claim that q = 700 is the profit maximizing output. To show this, we check
the second-order condition: for any q,
00
π (q) = −0.02 < 0.
39
Question 7.6 (16 points) Consider the following function:
2 √
f (x) = 1 + x + 6.
x
Answer the following questions.
1. Find the domain of f and the intervals where f (x) is positive.
First of all, f is not well-defined when x = 0. Second, the inside the square-
root must be nonnegative, we must have x ≥ −6. Therefore, the domain of f
is
D = [−6, 0) ∪ (0, ∞).
In order for f (x) to be positive, we must have the following conditions:
2
x > −6 and 1 + > 0.
x
These two inequalities imply that x < −2. So, f (x) is positive if and only if
x ∈ (−6, −2) and x > 0.
2. Find all stationary points of f .
0
We derive f (x):
2√
0 2 1
f (x) = − 2 x + 6 + 1 + · √
x x 2 x+6
1 4 2 1 4 24 2
= √ − 2 (x + 6) + 1 + = √ − − 2 +1+
2 x+6 x x 2 x+6 x x x
1 1
x2 − 2x − 24 = 2 √
= √ (x − 6)(x + 4).
2x2 x + 6 2x x + 6
Thus, x = −4, 6 are the stationary points of f .
3. Examine the limit of f (x) when x → 0 from both the left and the right. In
addition, examine the limit of f (x) when x → +∞.
√
When x → 0 regardless from the left or right, x + 6 → 6. So, everything
depends on (1+2/x). When x → 0 from the left, f (x) converges to −∞. When
x → 0 from the right, f (x) converges
√ to ∞. When x → +∞, (1 + 2/x) → 1.
So, now everything depends on x + 6. So, x → ∞, f (x) → +∞.
4. Are the stationary points you found are the global maximum or minimum
points? If so, verify it. If not, argue why.
40
By the previous question, we know that limx→0− f (x) = −∞ and limx→0+ f (x) =
∞. Thus, the stationary points are neither global maximum nor minimum
points.
Question 7.7 (12 points) Let f be the function defined over (−∞, ∞) as
3
f (x) = x3 + x2 − 6x + 10.
2
Answer the following questions.
1. Find the stationary points of f and determine the intervals where f is nonde-
creasing.
0
We first compute f (x):
0
f (x) = 3x2 + 3x − 6 = 3(x2 + x − 2) = 3(x + 2)(x − 1).
0
From the first-order condition f (x) = 0, x = −2, 1 are the stationary points.
0
Since f is nondecreasing if and only if f ≥ 0, we conclude that f (x) is nonde-
creasing if and only if either x ∈ (−∞, −2] or [1, ∞).
2. Find the inflection point for f .
00
We compute f (x):
00
f (x) = 6x + 3 = 3(2x + 1).
00 00
Since f (x) ≥ 0 if x ≥ −1/2 and f (x) ≤ 0 if x ≤ −1/2, x = −1/2 is the
inflection point for f .
Question 7.8 (10 points) A firm’s production function is f (L) = 12L2 − L3 /12,
where L denotes the number of workers, with L ∈ [0, 200]. Answer the following
questions.
1. What size of the work force (L∗ ) maximizes output q = f (L)?
0
We first compute f (L):
0 L2 L
f (L) = 24L − = (96 − L)
4 4
0
From the first-order condition f (L) = 0, we claim L∗ = 96 ∈ [0, 200]. Next,
00
we compute f (L):
00 L 1
f (L) = 24 − = (48 − L).
2 2
00 ∗ ∗
Therefore, we have f (L ) < 0 so that L = 96 is the local maximum of f . We
compute the following:
f (0) = 0
f (96) = 36, 864
f (200) = −186, 666
41
Since f is clearly continuous and [0, 200] is a nonempty compact set, f has the
maximum and minimum point of f over [0, 200]. So, L∗ = 96 is the maximum
point of f .
2. What size of the work force (L∗∗ ) maximizes output per worker, f (L)/L?
0
Let F (L) = f (L)/L = 12L − L2 /12. We compute F (L):
0 L 1
F (L) = 12 − = (72 − L).
6 6
00
We claim L∗∗ = 72 ∈ [0, 200]. We next compute f (L) = −1/6 for any L. So,
L∗∗ = 72 is the global maximum of F .
Since a11 = −4 < 0, a22 = −9 < 0, and a11 a22 − a12 a21 = 0, Q(x1 , x2 ) is
negative semidefinite.
Question 8.2 (14 points) The function f defined for all (x, y) ∈ R2 is give as
follows:
f (x, y) = x2 + y 2 − 6x + 8y + 35.
Answer the following questions.
42
First, we obtain the FOC:
0
f1 (x, y) = 2x − 6 = 0,
0
f2 (x, y) = 2y + 8 = 0.
Thus, we obtain the unique stationary point (x∗ , y ∗ ) = (3, −4). Next, we
compute the second derivatives of f :
00
f11 (x, y) = 2,
00
f22 (x, y) = 2,
00 00
f12 (x, y) = f21 (x, y) = 0.
Hence, we obtain the Hessian matrix as follows:
2 0
H(x, y) = .
0 2
00
Since f11 = 2 > 0 and |H| = 4 > 0, H(x, y) is positive definite in all (x, y).
Thus, (x∗ , y ∗ ) = (3, −4) is the local minimum point of f .
2. Show that f (x, y) can be written in the form f (x, y) = (x − 3)2 + (y + 4)2 + 10.
Explain why this shows that the local minimum point you found in the previous
question is indeed the (global) minimum point of f .
(x − 3)2 + (y + 4)2 + 10 = x2 − 6x + 9 + y 2 + 8y + 16 + 10
= x2 + y 2 − 6x + 8y + 35 = f (x, y).
Since H(x, y) is positive definite not only at (x∗ , y ∗ ) = (3, −4) but also all
other points, (x∗ , y ∗ ) = (3, −4) is the global minimum point of f .
Question 8.3 (12 points) The demands for a monopolist’s two products are de-
termined by the equations:
px = 25 − x,
py = 24 − 2y,
where px and py are the prices per unit of the two goods, respectively, and x and y
are the corresponding quantities. The costs of producing and selling x units of the
first good and y units of the other are given as
C(x, y) = 3x2 + 3xy + y 2 .
Answer the following questions.
1. Find the monopolist’s profit π(x, y) from selling x units of the first good and
y units of the other good.
π(x, y) = px x + py y − C(x, y)
= (25 − x)x + (24 − 2y)y − 3x2 − 3xy − y 2
= −4x2 − 3y 2 − 3xy + 25x + 24y.
43
2. Find the local maximum values of x and y for π(x, y).
Solving the above system of equations, we obtain the unique stationary point
(x∗ , y ∗ ) = (2, 3). Second, we compute the second derivatives of π:
00
π11 (x, y) = −8,
00
π22 (x, y) = −6,
00 00
π12 (x, y) = π21 (x, y) = −3.
Since H(x, y) is negative definite at not only (x∗ , y ∗ ) but also all other points,
(x∗ , y ∗ ) = (2, 3) is the global maximum point of π.
f (x, y) = x2 + 2xy 2 + 2y 2 .
To find the stationary points, we must solve the following system of equations:
0
f1 = 2x + 2y 2 = 2(x + y 2 ) = 0,
0
f2 = 4xy + 4y = 4y(x + 1) = 0.
44
From the second equation, we must have two cases: (1) y = 0 and (2) x = −1.
0
Case (1): y = 0 and f1 = 0 imply that x = 0. So, (0, 0) is a stationary point.
0
Case (2): x = −1 and f1 = 0 imply that y 2 = 1. So, (−1, −1) and (−1, 1) are
stationary points of f .
So, there are three stationary points: (0, 0), (−1, −1), and (−1, 1).
3. Classify these stationary points of f in the sense that you clarify whether it is
a local maximum, local minimum, or saddle point.
00
Since f11 (0, 0) = 2 > 0 and |H(0, 0)| = 8 > 0, H(0, 0) is positive definite.
Thus, (0, 0) is a local minimum point of f .
Since |H(−1, −1)| = |H(−1, 1)| = −16 < 0, both (−1, −1) and (0, 0) are saddle
points.
Question 8.5 (12 points) Consider the following three functions: (1) f (x, y) =
−x4 − y 4 ; (2) f (x, y) = x4 + y 4 ; and (3) f (x, y) = x3 + y 3 . Answer the following
questions.
1. Prove that the origin (0, 0) is a stationary point for each one of these functions.
0 0
(1) We compute the following: f1 = −4x3 and f2 = −4y 3 . So, (0, 0) is the
unique stationary point of f (x, y) = x4 − y 4 .
0 0
(2) We compute the following: f1 = 4x3 = 0 and f2 = 4y 3 = 0. So, (0, 0) is
the unique stationary point of f (x, y) = x4 + y 4 .
0 0
(3) We compute the following: f1 = 3x2 and f2 = 3y 2 . So, (0, 0) is the unique
stationary point of f (x, y) = x3 + y 3 .
45
2. For each one of these functions, derive the Hessian matrix H.
−12x2
(1) 0
H (x, y) = ,
0 −12y 2
12x2
(2) 0
H (x, y) = ,
0 12y 2
(3) 6x 0
H (x, y) = .
0 6y
3. Prove that |H| = 0 evaluated at (x, y) = (0, 0) for each one of these functions.
This is trivial because H (1) , H (2) , and H (3) all are zero matrices at (x, y) =
(0, 0).
4. By studying the functions directly, prove that the origin (0, 0) is respectively
a (global or local) maximum point for (1), a (global or local) minimum point
for (2), and a saddle point for (3).
(1) For any (x, y) 6= (0, 0), we obtain f (x, y) = −x4 − y 4 < 0. So, (0, 0) is the
global maximum point.
(2) For any (x, y) 6= (0, 0), we obtain f (x, y) = x4 + y 4 > 0. So, (0, 0) the
global minimum point.
(3) Let ε > 0. Then, we have f (ε, ε) = 2ε3 > 0 and f (−ε, −ε) = −2ε3 < 0, no
matter how small ε can be. So, (0, 0) is the saddle point.
Question 8.6 (12 points) Suppose a monopolist faces two types of markets, called
Market 1 and Market 2, respectively. These two markets are characterized their
respective (inverse) demand function as follows:
p1 = 200 − 2q1 ,
p2 = 180 − 4q2 ,
where p1 and p2 are the prices of the good at Market 1 and Market 2, respectively,
and q1 and q2 are the corresponding quantities. The cost function is
C(q1 , q2 ) = 20(q1 + q2 ).
1. How much should be sold in the two markets to maximize total profit? What
are the corresponding prices?
46
We set up the profit function of this firm:
π(q1 , q2 ) = p1 q1 + p2 q2 − 20(q1 + q2 )
= (200 − 2q1 )q1 + (180 − 4q2 )q2 − 20q1 − 20q2
= −2q12 − 4q22 + 180q1 + 160q2
= −2(q1 − 45)2 − 4 (q2 − 20)2 + 4050 + 1600
= −2(q1 − 45)2 − 4 (q2 − 20)2 + 5650.
The profit maximizing input vector is (q1 , q2 ) = (45, 20). Therefore, the corre-
sponding prices are (p1 , p2 ) = (200−90, 180−80) = (110, 100). The maximized
total profit is 5, 650.
2. How much profit is lost if it becomes illegal to discriminate prices?
First, we must have p1 = p2 so that 200 − 2q1 = 180 − 4q2 . This leads to the
relation: q1 = 2q2 + 10. With this relation between q1 and q2 , we express the
profit function of the firm as a function of q2 only:
π(q2 ) = −2(2q2 + 10)2 − 4q22 + 180(2q2 + 10) + 160q2
= −2(4q22 + 40q2 + 100) − 4q22 + 360q2 + 1800 + 160q2
= −12q22 + 440q2 + 1600
55 2
12100
= −12 q2 − + 1600 +
3 3
55 2 16900
= −12 q2 − +
3 3
2
55 1
= −12 q2 − + 5633 + .
3 3
Therefore, the lost profit is (16 + 2/3).
47
2. Show that f is a continuous function.
Observe that f consists of the sum of polynomials, all of which, 4x, −2x2 , and
−2y 2 are continuous. So, f is also continuous.
5. Argue why the maximization problem has the maximum and minimum points
of f over D.
48
Question 8.8 (10 points) Using the Lagrangian method, find the only solution
candidate to the following opmization problem with an equality constraint:
From the first two equations, we obtain x = 3y. Plugging x = 3y into the equality
constraint, we obtain y = m/10. So, we also have x = 3m/10. Thus, the candidate
for the solution to the optimization problem is (x∗ , y ∗ ) = (3m/10, m/10).
From (1) and (2), we obtain x2 = y 2 . Plugging this relation into the con-
straint, we obtain x2 = 4, or x = ±2. So, there are four solution candidates:
(x, y) = (2, 2), (2, −2), (−2, 2), (−2, −2). When plugging these values into (1), we
also obtain the associated value of λ. In sum, the solution candidates (x∗ , y ∗ , λ∗ ) are
(i) (2, 2, 3/2); (ii) (2, −2, −3/2); (iii) (−2, 2, −3/2); and (iv) (−2, −2, 3/2).
Since the objective function is 3xy, we can ignore (ii) and (iii), the solution
candidates are reduced to (x∗ , y ∗ , λ∗ ) = (2, 2, 3/2), (−2, −2, 3/2). Define g(x, y) =
x2 + y 2 . We compute
∇g(x, y) = (2x, 2y)
49
Note that the constraint qualification is satisfied unless (x, y) = (0, 0). Moreover,
(0, 0) is not a feasible point because 02 + 02 = 0 6= 8. So, the constraint qualification
is indeed satisfied for this problem.
Define D = {(x, y) ∈ R2 |g(x, y) = 8} as the set of feasible points in this problem.
We claim that D is compact. It is easy to see that g(x, y) = x2 + y 2 is a continuous
function so that D is closed. Moreover, D is bounded because any (x, y) ∈ D satisfies
x2 + y 2 ≤ 8. So, D is compact.
Since the objective function f (x, y) = 3xy is continuous and D is compact, by
the extreme value theorem, the constrained maximization problem has a solution.
We thus conclude that the solutions are (x∗ , y ∗ ) = (2, 2), (−2, −2).
At (x, y, λ) = (9, 4, 12), the value of the objective function is 30. Let us pro-
pose (x̂, ŷ) = (0, 25). Clearly, (x̂, ŷ) satisfies the constraint. Moreover, the
corresponding value of the objective function is 75. This implies that one can
find a better solution than the one we found using the Lagrangian method.
3. Find the solution to the optimization problem.
First, for the constraint function to be well defined, the domain of the objective
√ √
function must be x ≥ 0 and y ≥ 0. By the constraint, we obtain y = 5 − x.
50
Since the objective function f (x, y) is 2x + 3y, we must set x = 0 and y = 25
to maximize it. So, we conclude that the solution is (x, y) = (0, 25).
Question 9.3 (20 points) A firm uses two inputs x and y to produce its single
1 3
output. It has a production function: 4x 4 y 4 . This firm is constrained to use input
x = 1000. Suppose that the price of output p is 1 and input prices are also 1. Answer
the following questions.
2. Find (x∗ , y ∗ , λ∗ ) that satisfies the first-order conditions of the Lagrangian func-
tion.
51
3. How much is the firm willing to pay to be allowed to use ε more units of input
x, for a small ε > 0?
Since the Lagrange multiplier is interpreted as the price the firm is willing to
pay for its constraint to be relaxed in “one” unit. So, if the firm is allowed to
use ε more units of input x, it is willing to pay 26ε.
Question 9.4 (20 √ points) Suppose that a firm produces a good with the production
function f (L, K) = LK. The firm wants to produce q, given that w and r are input
prices and p is output price. The firm thus minimizes the cost:
√
min C = wL + rK s.t. LK = q.
L,K
1. Using the Lagrangian method, find the optimal choices, L∗ (w, r, q) and K ∗ (w, r, q).
w L−1/2 K 1/2 w K
= 1/2 −1/2 ⇒ = .
r L K r L
w
Thus, K = r L. Plugging this into (3), we obtain
w −1/2
L=q .
r
w
From K = r L, we further obtain
w 1/2
K=q .
r
Hence, the optimal choices are
w −1/2
L∗ (w, r, q) = q ,
r
w 1/2
K ∗ (w, r, q) = q .
r
52
Plugging the above optimal choices into (1), we obtain
w −1/2
λ∗ = 2wq ,
r
which is positive.
0 0
We compute (g1 , g2 ) = (L−1/2 K 1/2 /2, L1/2 K −1/2 /2). Thus, we can confirm
0 0
(g1 (L∗ , K ∗ ), g2 (L∗ , K ∗ )) 6= (0, 0) so that the constraint qualification is satisfied.
2. Verify that the optimal choices derived in the previous question are the global
minimum point.
w −1/2
where λ∗ = 2wq
r > 0. We can check that
00 λ∗ −3/2 1/2
L11 = L K >0
4
00 λ∗ 1/2 −3/2
L22 = L K >0
4
00 00 00 00 (λ∗ )2 −1 −1 (λ∗ )2 −1 −1
L11 L12 − L12 L21 = L K − L K = 0.
16 16
Thus, H is positive semidefinite.
53
w −1/2 w 1/2
C ∗ = wq + rq = 2qw1/2 r1/2 .
r r
We first compute the following:
∂C ∗
= qw−1/2 r1/2 = L∗ (w, r, q),
∂w
∂C ∗
= qw1/2 r−1/2 = K ∗ (w, r, q),
∂r
∂C ∗
= 2w1/2 r1/2 .
∂q
Hence,
∂C ∗
= 1,
∂w (w,r,q)=(1,1,1)
∂C ∗
= 1,
∂r (w,r,q)=(1,1,1)
∂C ∗
= 2.
∂q (w,r,q)=(1,1,1)
54
where the price of good x is 1 and that of good y is 4 and the consumer’s income is
100. Answer the following questions.
1. Using the Lagrangian method, find the quantities demanded for the two goods.
We have λ = 1/4 from (2); x = 4 from λ = 1/4 and (1); and y = 24 from (3).
Therefore, the optimal choice is (x∗ , y ∗ ) = (4, 24).
2. Suppose income increases from 100 to 101. What is the exact increase in the
optimal value of u(x, y) based on the Lagrangian method? Compare with the
value found in the previous question for the Lagrangian multiplier.
We have λ = 1/4 from (2); x = 4 from λ = 1/4 and (1); and y = 97/4 =
24 + 1/4 from (3). Note that the constraint qualification is satisfied because
0 0
(g1 , g2 ) = (1, 4). So, the optimal choice becomes (x∗∗ , y ∗∗ ) = (4, 97/4). Third,
we compute the value of u∗∗ = u(x∗∗ , y ∗∗ ):
Finally, we obtain u∗∗ − u∗ = 1/4, which is the same as the value of the
Lagrange multiplier we obtained.
55
3. Suppose we change the budget constraint to px + qy = m, but keep the same
utility function. We assume that p, q, and m are positive constants. Using
the Lagrangian method, derive the quantities demanded of the two goods if
m > q 2 /4p.
From (2), we have λ = 1/q. Plugging this into (1), we obtain x = q 2 /4p2 .
Furthermore, plugging this into (3), we obtain y = (m − q 2 /4p)/q, which is
positive because m > q 2 /4p.
4. Show that the solution candidate you found using the Lagrangian method in
the previous question is indeed the solution to the original constrained maxi-
mization problem.
D1 = {(x, y) ∈ R2 | x ≥ 0}
D2 = {(x, y) ∈ R2 | y ≥ 0}
D3 = {(x, y) ∈ R2 |x + 4y = 100}
56
√
Define f (x, y) = f 1 (x, y) + f 2 (x, y), where f 1 (x, y) = x and f 2 (x, y) = y.
Since both f 1 (x, y) and f 2 (x, y) are continuous functions, the sum of them
√
is also continuous, i.e., f (x, y) = x + y is a continuous function. By the
extreme-value theorem, the original constrained maximization problem has a
solution. Since the qualification constraint is also satisfied, the Lagrangian
method generates the solution if the solution exists. The preceding arguments
establish what we wanted.
1. Write down the first-order conditions for a global maximum in the constrained
optimization problem.
Define
D = (x, y, z) ∈ R3 | px + qy + rz = m ,
as the set of feasible points. Since each px, qy, and rz is a continuous function,
the sum of these continuous functions is a continuous function of x, y, z. Thus,
D is a closed set. Choose k = max{m/p, m/q, m/r}. Since x > 0, y ≥ 0, z ≥ 0,
the budget constraint implies that x ≤ m/p, y ≤ m/q, and z ≤ m/r. Define
B = {(x, y, z) ∈ R3 | x2 + y 2 + z 2 ≤ 3k 2 }. We claim that D ⊆ B. Fix
(x, y, z) ∈ D arbitrarily. Then,
m2 m2 m2
x2 + y 2 + z 2 ≤ + 2 + 2 ≤ 3k 2 .
p2 q r
57
Hence, D is a bounded set. The preceding argument concludes that D is a
compact set. The objective function U (x, y, z) = x + y 1/2 − z −1 is the sum
of x, y −1/2 , and z −1 , each of which is a continuous function. Thus, U (·) is
also a continuous function. By the extreme value theorem, the constrained
optimization problem has a solution.
3. Show that the first-order conditions you found above are sufficient for finding
a global maximum point.
From (1), we obtain p λ = 1/p. Plugging this into (2) and (3), we obtain
2 2
y = p /4q and z = p/r, respectively. Finally, substituting these into (4),
we obtain
p2 √
1
x= m− − pr ,
p 4q
√
which is nonnegative because m ≥ pr + p2 /4q. This is consistent with x ≥ 0.
Note that the constraint qualification is satisfied unless (p, q, r) = (0, 0, 0),
√
which cannot be the case given the assumption we have. If m > pr + p2 /4q,
we have the interior solution. In this case, the unique candidate solution sat-
isfies the FOCs of the Lagrangian is indeed the solution to the constrained
optimization. The solution is summarized:
p2 √
∗ 1
x (p, q, r, m) = m− − pr ,
p 4q
y ∗ (p, q, r, m) = p2 /4q 2 ,
z ∗ (p, q, r, m) =
p
p/r.
√
If m = pr + p2 /4q, we have the boundary solution. But, even in this case,
the solution is expressed as the same as the one we provided above.
5. Show that the maximized utility is given by the following function:
r
m p r
U ∗ (p, q, r, m) = + −2 .
p 4q p
58
6. Find ∂U ∗ /∂m.
We obtain λ = 1 from (2). Plugging this into (1), we obtain x = −6. Since
λ = 1 > 0, we have 6x − 4y − a = 0 from (5). Plugging x = −6 into this
equality, we obtain y = −9 − a/4. So, we obtain (x, y) = (−6, −9 − a/4) as the
unique solution candidate by solving the Kuhn-Tucker conditions.
We compute the Hessian matrix associated with the Lagrangian function L
given λ = 1: 00 00
L11 L12 −1 0
HL (x, y) = 00 00 = .
L21 L22 0 0
00 00 00 00 00 00
Since L11 = −1 < 0, L22 = 0, and L11 L22 − L12 L21 = 0, we conclude that HL
is negative semidefinite for all (x, y). This implies that (−6, −9 − a/4) is the
solution to the problem.
3. Derive V (a), which is the maximized objective function given a.
59
0
4. Verify that V (a) = λ, where λ is the Lagrange multiplier in the previous
question.
0
We obtained V (a) = a + 22. So, we have V (a) = 1, which is the same as
the value of the Lagrange multiplier we obtained in the previous part of the
question.
max x2 + 2y 2 − x subject to x2 + y 2 ≤ 1.
x,y
We have y(2 − λ) = 0 from (2). So, there are two cases: either λ = 2 or
y = 0. Assume that λ = 2. Plugging this into (1), we obttain x = −1/2.
Since λ = 2, we have x2 + 2
√y − 1 = 0 from (5). Plugging x = −1/2 into this
equality, we obtain y = ± 3/2. Therefore, there√are two solutions√that satisfy
the Kuhn-Tucker conditions: (x, y, λ) = (−1/2, 3/2, 2), (−1/2, − 3/2, 2).
Now, assume y = 0. If λ = 0, we have x = 1/2 from (1). So, (x, y, λ) =
(1/2, 0, 0) is a solution candidate satisfying the Kuhn-Tucker conditions. If
λ > 0, we have x = ±1 from (5). Plugging x = 1 into (1), we obtain λ = 1/2.
So, (x, y, λ) = (1, 0, 1/2) is a solution candidate satisfying the Kuhn-Tucker
conditions. Plugging x = −1, we obtain λ = 5/2. So, (x, y, λ) = (−1, 0, 5/2) is
a solution candidate satisfying the Kuhn-Tucker conditions. Note also that the
constraint qualification is satisfied because it can only be violated at (x, y) =
(0, 0).
60
√ √
f (−1, 0) = 2. Thus, both (x, y) = (−1/2, − 3/2), (−1/2, 3/2) are the only
solution candidates.
We can make the value of f as high as possible by choosing y 2 high enough.
This is simply impossible because we have the inequality constraint x2 +y 2 ≤ 1.
Therefore, the constraint must be binding. In this case, we have y 2 = 1 − x2 .
Since y 2 ≥ 0, we must have the condition that −1 ≤ x ≤ 1. Plugging y 2 = 1−x2
into f (x, y), we have the following:
1 2 9
p
2 2 2 2
f (x, y) = f (x, ± 1 − x ) = x +2(1−x )−x = −x −x+2 = − x + + .
2 4
√ √
This implies that the solution to the problem is indeed (x, y) = (−1/2, − 3/2), (−1/2, 3/2).
Another way we can solve this is to use the Hessian matrix of the Lagrangian
function L(x, y, λ∗ = 2). We have L(x, y, 2) = x2 + 2y 2 − x − 2(x2 + y 2 − 1) =
−x2 − x + 2. So, the corresponding Hessian matrix is
−2 0
H= .
0 0
00 00
Since Lxx = −2 < 0, Lyy = 0, and |H| = 0, the Hessian matrix is negative
√ √
semidefinite for all (x, y). This implies that (−1/2, − 3/2), (−1/2, 3/2) is
the solution to the problem.
Question 10.4 (25 points) Consider the following utility maximization problem:
where u(x, y) denotes the utility of the consumer when he consumes a consumption
bundle (x, y). Answer the following questions.
61
The Kuhn-Tucker conditions are
0
Lx = 1 − 16λ1 + λ2 = 0, (1)
0 1
Ly = − λ1 + λ3 = 0, (2)
1+y
λ1 , λ2 , λ3 ≥ 0, (3)
16x + y ≤ 495, (4)
x ≥ 0, (5)
y ≥ 0, (6)
λ1 (16x + y − 495) = 0, (7)
λ2 (−x) = 0, (8)
λ3 (−y) = 0. (9)
We find all (x, y) that satisfy the Kuhn-Tucker conditions by considering the
following four cases.
Case 4: x = 0 and y = 0
62
We have 16x + y < 495 because x = y = 0. So, we have λ1 = 0 from (7).
Plugging λ1 = 0 into (1), we obtain λ2 = −1, which is inconsistent with (3).
Hence, we ignore this case.
We compute the Hessian matrix associated with the Lagrangian L given (λ1 , λ2 , λ3 ) =
(1/16, 0, 0):
00 00 !
L11 L12 0 0
HL (x, y) = 00 00 = 1 .
L21 L22 0 − (1+y)2
00 00
Since L11 = 0, L22 = −1/(1+y)2 < 0, and |HL | = 0, HL is negative semidefinite
for all (x, y). Therefore, the unique solution candidate we found solving the
Kuhn-Tucker condition is indeed the solution to the problem.
3. Estimate by how much utility will increase if income is increased from 495 to
500.
Since the Lagrange multiplier corresponds to the marginal utility increase when
we relax the constraint in one unit. Thus, the utility increase as income is
increase from 495 to 500 is
λ1 × 5 = 5/16.
1. Z ∞
λe−λx dx
0
63
2. Z ∞
xλe−λx dx
0
We compute
Z ∞ Z ∞
2 ∞ 1 ∞ −λx
Z Z
2 −λx
(x − 1/λ) λe dx = x2 λe−λx dx − xλe −λx
dx + e dx
0 λ 0 λ 0
Z0 ∞ i∞
2 1 h
= x2 λe−λx dx − − 2 e−λx
λ λ 0
Z0 ∞
2 1
= x2 λe−λx dx − + 2
0 λ λ
h i∞ 2 Z ∞ 2 1
= −x2 e−λx + xλe−λx dx − + 2
0 λ 0 λ λ
| {z }
=1
1
=
λ2
Question 11.2 Let f (x, y) = x3 − y 3 + 9xy. Answer the following questions.
64
Plugging y = −x2 /3 into (2), we obtain
x4
− + 9x = 0 ⇒ x(x3 − 27) = 0 ⇒ x(x − 3)(x2 + 3x + 9) = 0
3
Since x2 + 3x + 9 = (x + 3/2)2 + 27/4 > 0, we have two solutions: x = 0, 3.
Since y = −x2 /3, we have two stationary points
(x, y) = (0, 0), (3, −3).
In the previous question, we found (x, y) = (3, −3) as a local minimum point
of f (x, y). We compute the associated value of f (3, −3):
f (3, −3) = 27 + 27 − 81 = −27.
Compute
f (0, 4) = −43 = −64 < −27
This implies that (x, y) = (3, −3) is not a global minimum point of f (x, y).
65
Question 11.3 Consider the problem
(x, y, λ) = (1, 1, 1/2), (−1, −1, −1/2), (1, −1, −1/2), and (−1, 1, 1/2)
In sum, we have six candidates so far. We compute the maximum value for each
candidate:
f (1, 1) = f (−1, 1) = 1
f (1, −1) = f (−1, −1) = −1
√ √
f (0, 3) = f (0, − 3) = 0.
This implies that (1, 1) and (−1, 1) are the only two solution candidates.
We check the constraint qualification. Fix (x, y) as an arbitrary feasible point.
We compute the following:
We claim that (4x, 2y) 6= (0, 0). Suppose, on the contrary, that (4x, 2y) = (0, 0).
This implies that x = y = 0. However, in this case, we obtain 2x2 + y 2 = 0 6= 3. So,
(x, y) = (0, 0) is not a feasible point. This is the desired contradiction. Thus, the
constraint qualification is satisfied.
We also confirm that the constrained optimization problem has a solution. Define
D = {(x, y) ∈ R2 |2x2 + y 2 = 3}. Since 2x2 and y 2 are each a continuous function
66
and the sum of two continuous functions is a continuous function, g(x, y) = 2x2 + y 2
is a continuous function. Hence, D is closed. Define B = {(x, y) ∈ R2 |x2 + y 2 ≤ 3}.
Fix (x, y) ∈ D. We compute the following.
x2 + y 2 ≤ 2x2 + y 2 = 3
|{z}
x2 ≥0
2. Show that the solution to the Kuhn-Tucker conditions has both Lagrange mul-
tipliers equal to zero.
In this case, by (3) and (4), both constraints are binding. Hence, (x, y) =
(1/4, 11/4). Plugging this into (2), we obtain
1 11 19
1− − − λ2 = 0 ⇒ λ2 = − ,
4 2 4
which implies λ2 < 0. This contradicts (4). So, this case is invalid.
67
Case 2: λ1 > 0 and λ2 = 0
y = x2 − x − 1.
There are two solutions. x = −1, 3/2. We must have x ≥ 1/4 by (3), x = −1 is
invalid. On the other hand, x = 3/2 ≥ 1/4. Plugging x = 3/2 into y = 2 − x2 ,
we obtain y = −1/4. In this case, x + y = 3/2 − 1/4 = 5/4 < 3. Therefore, we
have the unique solution candidate: (x, y) = (3/2, −1/4).
68
3. Solve the constrained maximization problem.
Assume that the constrained maximization problem has a solution. Then, solve this
constrained optimization problem using the Kuhn-Tucker conditions.
We set up the Lagrangian:
L(x, y, λ1 , λ2 , λ3 ) = xey−x − 2ey − λ1 (−x/2 + y − 1) − λ2 (−x) − λ3 (−y).
The Kuhn-Tucker conditions are:
0
Lx = ey−x − xey−x + λ1 /2 + λ2 = 0, (1)
0
Ly = xey−x − 2e − λ1 + λ3 = 0, (2)
λ1 , λ2 , λ3 ≥ 0, (3)
−x/2 + y − 1 ≤ 0, (4)
x ≥ 0, (5)
y ≥ 0, (6)
λ1 (−x/2 + y − 1) = 0, (7)
λ2 (−x) = 0, (8)
λ3 (−y) = 0. (9)
69
Case 1: x > 0 and y > 0
We obtain λ2 = λ3 = 0 from (8) and (9). Assume that λ1 > 0. In this case, we
have y = 1 + x/2 from (7). Plugging λ2 = λ3 = 0 into (1) and (2), respectively, we
obtain
2xey−x − 2ey−x = xey−x − 2e ⇔ (x − 2)ey−x = −2e (I)
Plugging y = 1 + x/2 into (I), we obtain
(2 − x)e1−x/2 = 2e.
Therefore, we have x = 0 as the solution to the above equality. However, this
contradicts our assumption that x > 0. So, we ignore the case of λ1 > 0. Now, we
assume λ1 = 0. Plugging λ1 = λ2 = 0 into (1), we obtain (1 − x)ey−x = 0. We
thus have x = 1. Furthermore, plugging λ1 = λ3 = 0 and x = 1 into (2), we obtain
ey−1 = 2e. That is, we obtain y = ln 2 + 2. However, we plug x = 1 and y = ln 2 + 2
into the left hand side of (4) so that we obtain
−x/2 + y − 1 = −1/2 + ln 2 + 2 − 1 = ln 2 + 1/2 > 0,
which contradicts (4). We ignore Case 1.
Assume that λ1 > 0. In this case, we have −x/2 + y − 1 = 0 from (7). Plugging
y = 0 into this equality, we obtain x = −2, which contradicts (5). Hence, we ignore
the case of λ1 > 0. Now, assume that λ1 = 0. Since x > 0, we have λ2 = 0 from (8).
Plugging λ1 = λ2 = 0 and y = 0 into (1), we obtain
e−x − xe−x = 0 ⇔ (1 − x)e−x = 0.
Therefore, we obtain x = 1. We also compute
−x/2 + y − 1 = −1/2 − 1 = −3/2 < 0,
which satisfies (4). Plugging x = 1, y = 0, and λ1 = 0 into (2), we obtain
e−1 − 2e + λ3 = 0 ⇔ λ3 = 2e − e−1 > 0,
which satisfies (3). Therefore, (x, y) = (1, 0) is a solution candidate associated with
λ1 = 0, λ2 = 0, and λ3 = 2e − e−1 .
70
which contradicts (3). So, we ignore the case of λ1 > 0. Now, assume λ1 = 0.
Plugging λ1 = λ3 = 0 and x = 0 into (2), we obtain
−2e = 0,
Case 4: x = 0 and y = 0
In this case, we have −x/2 + y − 1 < 0 so that we have λ1 = 0 from (7). Plugging
x = 0, y = 0, and λ1 = 0 into (1), we obtain
1 + λ2 = 0 ⇔ λ2 = −1,
Considering all the four cases, we conclude that there is the only one solution
candidate (x, y) = (1, 0) where only y ≥ 0 constraint is binding.
Define g 1 (x, y) = −x/2 + y − 1 ≤ 0, g 2 (x, y) = −x ≤ 0, and g 3 (x, y) = −y ≤ 0.
We compute the following:
We check the following cases to verify that the constraint qualification holds: Fix
(x, y) as an arbitrary feasible point satisfying all the inequality constraints.
Case 1: g 1 , g 2 , and g 3 are not binding at (x, y)
In this case, the constraint qualification holds automatically.
Case 2: g 1 is binding but g 2 and g 3 are not binding at (x, y)
In this case, we have ∇g 1 (x, y) = (−1/2, 1) 6= (0, 0). So, the constraint qualifica-
tion holds.
Case 3: g 2 is binding but g 1 and g 3 are not binding at (x, y)
In this case, we have ∇g 2 (x, y) = (−1, 0) 6= (0, 0). So, the constraint qualification
holds.
Case 4: g 3 is binding but g 1 and g 2 are not binding at (x, y)
In this case, we have ∇g 3 (x, y) = (0, −1) 6= (0, 0)
Case 5: g 1 and g 2 are binding but g 3 is not binding at (x, y)
In this case, we have ∇g 1 (x, y) = (−1/2, 1) and g 2 (x, y) = (−1, 0), which are
clearly not parallel to each other. Hence, the constraint qualification holds.
71
Case 6: g 2 and g 3 are binding but g 1 is not binding at (x, y)
In this case, we have ∇g 2 (x, y) = (−1, 0) and g 3 (0, −1), which are clearly not
parallel to each other. Hence, the constraint qualification holds.
Case 7: g 1 and g 3 are binding but g 2 is not binding at (x, y)
In this case, we have ∇g 1 (x, y) = (−1/2, 1) and g 3 (x, y) = (0, −1), which are
clearly not parallel to each other. Hence, the constraint qualification holds.
Exhausting all the cases, we conclude that the constraint qualification is satisfied.
Since we assume that it has a solution, we indeed found the solution to the problem,
which is (x, y) = (1, 0).
72