Professional Documents
Culture Documents
Takashi Math Tutorials Ans Key (2021)
Takashi Math Tutorials Ans Key (2021)
Throughout the semester, you are supposed to upload your work (in pdf file)
at “Assignments” at our class website (on eLearn) by 5:00pm on the date specified
below.
• 4 ∈ C: false
• 5 ∈ C: true
• A ⊆ B: false
• D ⊆ C: true
• B = C: true
• A = B: false.
• A ∩ B = {2}
• A ∪ B = {2, 3, 4, 5, 6}
• A\B = {3, 4}
1
• B\A = {5, 6}
• (A ∪ B)\(A ∩ B) = {3, 4, 5, 6}
• A ∪ B ∪ C ∪ D = {2, 3, 4, 5, 6}
• A ∩ B ∩ C = {2}
• A ∩ B ∩ C ∩ D = {∅}
Question 1.2 (20 points) Consider the proposition 2x + 5 ≥ 13. Answer the
following questions.
2x + 5 ≥ 13 ⇔ x ≥ 4.
Question 1.3 (20 points) In each case below, find the slope of the tangent to the
graph of f at the specified point:
2
5. f (x) = x + 1/x, at (x, y) = (−1, −2)
0 0
f (x) = 1 − 1/x2 . So, f (−1) = 0.
6. f (x) = x4 , at (x, y) = (1, 1)
0 0
f (x) = 4x3 . So, f (1) = 4.
Question 1.4 (20 points) Let f (x) = ax2 + bx + c where a, b, c are nonzero
constants. Answer the following questions.
1. Show that
f (x + h) − f (x)
= 2ax + b + ah.
h
f (x + h) − f (x) 1
a(x + h)2 + b(x + h) + c − ax2 − bx − c
=
h h
1
ax2 + 2ahx + ah2 + bx + bh − ax2 − bx
=
h
1
2ahx + ah2 + bh = 2ax + b + ah.
=
h
0
2. Using the previous result, show that f (x) = 2ax + b.
0 f (x + h) − f (x)
f (x) = lim = lim 2ax + b + ah = 2ax + b.
h→0 h h→0
0
3. For what value of x is f (x) = 0?
b
x=− .
2a
Question 1.5 (20 points) Let f (x) = −x3 + 4x2 − x − 6. Examine where f (x)
is nondecreasing and/or nonincreasing.
We compute
√ ! √ !
0 2 2 4− 13 4+ 13
f (x) = −3x + 8x − 1 = −(3x − 8x + 1) = −3 x − x− .
3 3
Therefore,
√ √
0 ≥ 0 if (4 − 13)/3√ ≤ x ≤ (4 + 13)/3
√
f (x)
≤ 0 if x ≥ (4 + 13)/3 or x ≤ (4 − 13)/3.
√ √
This implies f (x) is nondecreasing
√ if (4 − 13)/3
√ ≤ x ≤ (4 + 13)/3 and it is
nonincreasing if x ≥ (4 + 13)/3 or x ≤ (4 − 13)/3.
3
2 Homework 2 (Due Date: Sep 2 (Thu), 2021)
Question 2.1 (4 points) Find the limit below precisely:
x2 + 7x − 8
lim .
x→1 x−1
Since x2 + 7x − 8 = (x − 1)(x + 8), we obtain
x2 + 7x − 8 (x − 1)(x + 8)
lim = lim
x→1 x−1 x→1 x−1
= lim x + 8 = 9.
x→1
Question 2.2 (12 points) Find the derivatives of the following functions, where
a, p, q, and b are constants.
1.
1
y=
(x2 + x + 1)5
0
y = −5(x2 + x + 1)−6 · (2x + 1) = −5(2x + 1)(x2 + x + 1)−6 .
2. r
√
q
y= x+ x+ x
3.
y = xa (px + q)b .
0
y = axa−1 (px + q)b + xa · b(px + q)b−1 · p = xa−1 (px + q)b−1 {a(px + q) + bpx}
= xa−1 (px + q)b−1 [p(a + b)x + aq]
t2
g(t) = .
t−1
00
Find g (2).
4
We first compute the following:
0 2t(t − 1) − t2 · 1 t2 − 2t
g (t) = =
(t − 1)2 (t − 1)2
00 (2t − 2)(t − 1)2 − (t2 − 2t) · 2(t − 1)
g (t) =
(t − 1)4
2(t − 1)2 − 2(t2 − 2t)
=
(t − 1)3
2
=
(t − 1)3
00
Therefore, we obtain g (2) = 2.
√
Question 2.4 (10 points) Let U (x) = x and g(u) = u3 . Then, show that U (x)
is a concave function but f (x) = g(U (x)) is “not” a concave function.
have x ≥ 0 as the relevant domain of the functions, U and
Note that we must √
f . Otherwise, U (x) = x is not well-defined. We first compute the following:
01 −1/2
U (x) = x
2
00 1
U (x) = − x−3/2
4
00
So, as long as x > 0, we have U (x) < 0. Thus, U is a concave function as long as
x > 0. Next we consider f (x) = x3/2 . We compute the following:
0 3 1/2
f (x) = x
2
00 3 −1/2
f (x) = x .
4
00
So, as long as x > 0, we have f (x) > 0. This implies that f is not a concave
function.
Question 2.5 (8 points) Find the first-order derivatives of the following func-
tions.
1. y = ex + x2
0
y = ex + 2x.
2. y = 5ex − 3x3 + 8
0
y = 5ex − 9x2 .
5
3. y = x/ex
0 1 · ex − xex 1−x
y = 2x
=
e ex
4. y = (x + x2 )/(ex + 1).
Question 2.6 (15 points) Find the intervals where the following functions are
nondecreasing:
1. y = x2 /e2x
We compute
0 2x · e2x − x2 · 2e2x −2x(x − 1)
y = 2x 2
= .
(e ) e2x
Therefore, we have
0 ≥ 0 if 0 ≤ x ≤ 1
y
≤ 0 if x ≥ 1 or x ≤ 0
So, y is nondecreasing over [0, 1].
2. y = ex − e3x
We compute
0
y = ex − 3e3x = ex (1 − 3e2x ).
Therefore, we have
0 ≥ 0 if x ≤ −(ln 3)/2
y
≤ 0 if x ≥ −(ln 3)/2
So, y is nondecreasing over (−∞, −(ln 3)/2].
3. y = e2x /(x + 2)
We first note that this function is not well-defined when x = −2. So, we
exclude x = −2 as part of the domain. Next we compute
6
Question 2.7 (8 points) Compute the first and second derivatives of the follow-
ing functions:
1. y = ln x + 3x − 2
0 1
y = +3
x
00 1
y = − 2.
x
2. y = x2 − 2 ln x
0 2
y = 2x −
x
00 2
y = 2+ 2
x
3. y = x3 ln x
0 1
y = 3x2 ln x + x3 · = 3x2 ln x + x2
x
00 1
y = 6x ln x + 3x2 · + 2x = 6x ln x + 5x.
x
4. y = (ln x)/x
1
0 · x − (ln x) · 1
x 1 − ln x
y = 2
=
x2 x2
1
00 − x · x − (1 − ln x) · 2x 2 ln x − 3
y = =
x4 x3
Question 2.8 (12 points) Find the equation for the tangent to the graph of the
following functions:
• Consider the case where (x, y) = (1, 0). At this point, we have the
equation for the tangent to the graph as y − 0 = 1(x − 1), i.e., y = x − 1.
• Consider the case where (x, y) = (1/2, − ln 2). At this point, we have
the equation for the tangent to the graph as y + ln 2 = 2(x − 1/2), i.e.,
y = 2x − (ln 2 + 1).
7
• Consider the case where (x, y) = (e, 1). At this point, we have the
equation for the tangent to the graph as y − 1 = (1/e)(x − e), i.e.,
y = e−1 x.
• Consider the case where (x, y) = (0, 0). At this point, we have the
equation for the tangent to the graph as y − 0 = (x − 0), i.e., y = x.
• Consider the case where (x, y) = (1, e). At this point, we have the
equation for the tangent to the graph as y − e = 2e(x − 1), i.e., y =
2ex − e.
• Consider the case where (x, y) = (−2, −2e−2 ). At this point, we have
the equation for the tangent to the graph as y + 2e−2 = −e−2 (x + 2),
i.e., y = −e−2 x − 4e−2 .
8
¯
1. Obtain an equation that defines Y as a function of exogenous investment I.
Y = f (Y ) + I¯ + X̄ − g(Y ).
dY 0 dY 0 dY
¯ = f (Y ) ¯ + 1 − g (Y ) ¯ .
dI dI dI
We therefore obtain
dY 1
¯ = .
dI 1 − f (Y ) + g 0 (Y )
0
¯
3. Discuss the sign of dY /dI.
Therefore,
00 00 2
d2 Y
f (Y ) − g (Y ) dY
¯ = .
dI 2 1 − f 0 (Y ) + g 0 (Y ) dI¯
9
3 Homework 3 (Due Date: Sep 9 (Thu), 2021)
Question 3.1 (12 points) Find dx/dy of the following functions:
1. y = e−x−5
dx 1 1
= = −x−5
= −ex+5
dy dy/dx −e
2. y = ln(e−x + 3)
dx 1 1 e−x + 3
= = 1 = − = −1 − 3ex .
dy dy/dx e−x +3
· (e−x · −1) e−x
3. xy 3 − x3 y = 2x.
dx x3 − 3xy 2
= 3 .
dy y − 3x2 y − 2
Question 3.2 (9 points) Find the linear approximations to the following func-
tions about x = 0:
1. f (x) = (1 + x)−1
We first compute
0
f (x) = −(1 + x)−2 .
So,
0
f (x) ≈ f (0) + f (0)(x − 0) = 1 − x.
2. f (x) = (1 + x)5
We first compute
0
f (x) = 5(1 + x)4 .
So,
0
f (x) = f (0) + f (0)(x − 0) = 1 + 5x.
10
3. f (x) = (1 − x)1/4
We first compute
0 1 1
f (x) = (1 − x)−3/4 · (−1) = − (1 − x)−3/4 .
4 4
So,
0 1
f (x) = f (0) + f (0)(x − 0) = 1 − x
4
Question 3.3 (9 points) Let f (x) = 10 − 10e−x/2 be defined for all x ∈ R. An-
swer the following questions.
We omit this.
2. Is f continuous at x = 0?
11
Question 3.5 (12 points) Evaluate the following limits:
1.
lim (x2 − 3x + 2)
x→3−
2.
x2 − 3x + 14
lim +
x→−2 x+2
Since we have x2 − 3x + 14 = (x + 2)(x − 5) + 24, we obtain
x2 − 3x + 14 24
lim + = lim + (x − 5) + lim + = −7 + ∞ = ∞.
x→−2 x+2 x→−2 x→−2 x + 2
3. √
3− x + 17
lim
x→−1 x+1
We first obtain √
3− x + 17
lim = −∞
x→−1+ x+1
and second we obtain
√
3− x + 17
lim − = +∞
x→−1 x+1
Since the limit from below do not coincide with that from above, we have no
such a limit in this case.
4.
1 5
lim − 2
x→3 x − 3 (x − x − 6)
We observe
1 5 1 5 x+2−5 x−3 1
− 2 = − = = = .
x − 3 (x − x − 6) x − 3 (x − 3)(x + 2) (x − 3)(x + 2) (x − 3)(x + 2) x+2
So,
1 5 1 1
lim − 2 = lim = .
x→3 x − 3 (x − x − 6) x→3 x + 2 5
Question 3.6 (12 points) Let f1 (x) = x, f2 (x) = x, f3 (x) = x2 , and f4 (x) =
1/x. Compute the following:
12
1. limx→∞ (f1 (x) + f2 (x)) = 2 limx→∞ x = +∞
0 1 3x2 1
f (x) = (1 + x3 )−1/2 · 3x2 = √ .
2 2 1 + x3
0
Since dy = f (x)dx, we obtain
3x2 1
dy = √ dx.
2 1 + x3
Evaluating this at x = 2 and dx = 0.2, we obtain
3 1
dy ≈ · 4 · · 0.2 = 0.4.
2 3
√
x
Question 3.8 (6 points) Prove that f (x) = e − 3 has a unique zero in the
interval (1, 4).
13
We first compute
0 √ 1
f (x) = e · x−1/2
x
2
Since f (·) is differentiable, it is continuous as well. We also check
f (1) = e − 3 < 2.8 − 3 = −0.2 < 0
f (4) = e2 − 3 > 7 − 3 = 4 > 0
Then, by intermediate value theorem, there exists x∗ ∈ (1, 4) such that f (x∗ ) = 0.
0
We also confirm that f (x) > 0 for all x > 0. Hence, f (·) is strictly increasing for
all x > 0. This implies that x∗ must be the unique such point.
1. f (x, y) = 1/(ex+y − 3)
Question 3.10 (9 points) Find all the first-order and second-order derivatives
(including cross derivatives) of the following functions.
1. f (x, y) = x7 − y 7
0
f1 (x, y) = 7x6
0
f2 (x, y) = −7y 6
00
f11 (x, y) = 42x5
00
f22 (x, y) = −42y 5
00 00
f12 (x, y) = f21 (x, y) = 0
2. f (x, y) = x5 ln y
0
f1 (x, y) = 5x4 ln y
0
f2 (x, y) = x5 /y
00
f11 (x, y) = 20x3 ln y
00
f22 (x, y) = −x5 /y 2
00 00
f12 (x, y) = f21 (x, y) = 5x4 /y
14
3. f (x, y) = (x2 − 2y 2 )5 .
0
f1 (x, y) = 10x(x2 − 2y 2 )4
0
f2 (x, y) = −20y(x2 − 2y 2 )4
00
f11 (x, y) = 10(9x2 − 2y 2 )(x2 − 2y 2 )3
00
f22 (x, y) = −20(x2 − 18y 2 )(x2 − 2y 2 )3
00 00
f12 (x, y) = f21 (x, y) = −160xy(x2 − 2y 2 )3
1. z = F (x, y) = x ln y + y ln x; x = t + 1; and y = ln t.
dz ∂F dx ∂F dy y x 1
= + = ln y + ·1+ + ln x ·
dt ∂x dt ∂y dt x y t
ln t 1 t+1
= ln(ln t) + + + ln(t + 1)
t+1 t ln t
Question 4.2 (10 points) Find ∂z/∂t and ∂z/∂s for the following cases:
15
1. z = F (x, y) = x + y 2 , where x = t − s and y = ts.
∂z ∂F ∂x ∂F ∂y
= + = 1 · 1 + 2y · s = 1 + 2ts2
∂t ∂x ∂t ∂y ∂t
∂z ∂F ∂x ∂F ∂y
= + = 1 · (−1) + 2y · t = −1 + 2t2 s.
∂s ∂x ∂s ∂y ∂s
∂z ∂F ∂x ∂F ∂y
= + = 4x · 2t + 9y 2 · 1 = 8t(t2 − s) + 9(t + 2s3 )2
∂t ∂x ∂t ∂y ∂t
∂z ∂F ∂x ∂F ∂y
= + = 4x · (−1) + 9y 2 · 6s2 = −4(t2 − s) + 54s2 (t + 2s3 )2 .
∂s ∂x ∂s ∂y ∂s
Question 4.3 (16 points) Let u = ln(x3 + y 3 + z 3 − 3xyz). Answer the following
questions.
1. Show that
∂u ∂u ∂u
x +y +z = 3.
∂x ∂y ∂z
∂u 1 ∂v 1
= · = (3x2 − 3yz)
∂x v ∂x v
∂u 1 ∂v 1 2
= · = (3y − 3xz)
∂y v ∂y v
∂u 1 ∂v 1
= · = (3z 2 − 3xy).
∂z v ∂z v
∂u ∂u ∂u 1
3x3 − 3xyz + 3y 3 − 3xyz + 3z 3 − 3xyz
x +y +z =
∂x ∂y ∂z v
3 3
x + y 3 + z 3 − 3xyz = 3.
=
v
2. Show that
∂u ∂u ∂u
(x + y + z) + + = 3.
∂x ∂y ∂z
16
We compute the following:
∂u ∂u ∂u 3 3
x + xy 2 + xz 2 − x2 y − xyz − x2 z
x + + =
∂x ∂y ∂z v
∂u ∂u ∂u 3 2
x y + y 3 + yz 2 − xy 2 − y 2 z − xyz
y + + =
∂x ∂y ∂z v
∂u ∂u ∂u 3 2
x z + y 2 z + z 3 − xyz − yz 2 − xz 2
z + + =
∂x ∂y ∂z v
Summing over the above equations, we obtain
∂u ∂u ∂u 3 3
x + y 3 + z 3 − 3xyz = 3.
(x + y + z) + + =
∂x ∂y ∂z v
Question 4.4 (16 points) A curve in the xy-plane is given by the equation 2x2 +
xy + y 2 − 8 = 0. Answer the following questions.
0 00
1. Find y , y and the equation for the tangent at the point (x, y) = (2, 0).
17
2. Which points on the curve have a horizontal tangent?
0
To have a horizontal tangent, we must have y = 0. This implies that 4x+y =
0, i.e., y = −4x. Moreover, we must be on F (x, y) = 0 simultaneously. So,
plugging y = −4x into F (x, y) = 0, we have
√
2x2 − 4x2 + 16x2 − 8 = 0 ⇒ x2 = 4/7 ⇒ x = ±2/ 7.
√ √ √ √
Therefore, the curve has a horizontal tangent at (2/ 7, −8/ 7) and (−2/ 7, 8/ 7).
Question 4.5 (12 points) Suppose that a firm has√a single input L and a single
output Q. The production function is Q = f (L) = L. This firm maximizes its
profit π(L), given that p (output price) and w (wage for a worker)
√ are parameters
given by the market. Then, we have π(L) = pQ − wL = p L − wL. Answer the
following questions.
0
1. Find L∗ such that π (L∗ ) = 0.
0 p p2
π (L) = L−1/2 − w = 0 ⇒ L∗ = .
2 4w2
2. Express L∗ obtained in the previous question as a function p and w, that is,
L∗ (p, w). Find ∂L∗ (p, w)/∂w. Interpret the sign of ∂L∗ (p, w)/∂w.
Question 4.6 (12 points) Let f (x, y) = 3x2 + xy − y 2 . Answer the following
questions.
18
2. Let f (1.02, 1.99) = f (1+0.02, 2−0.01) and use a linear approximation around
(1, 2) to find an approximate numerical value for f (1.02, 1.99). How large is
the approximation error?
So,
0 0
f (1.02, 1.99) ≈ f (1, 2)+f1 (1, 2)·0.02+f2 (1, 2)·(−0.01) = 1+8·0.02−3·(−0.01) = 1.19.
−1 15
3A + 2B − 2C + D =
−6 −13
2 4 −2 4 2 · (−2) + 4 · 1 2 · 4 + 4 · (−2)
AB = =
1 2 1 −2 1 · (−2) + 2 · 1 1 · 4 + 2 · (−2)
0 0
= .
0 0
Clearly, we have
0 0
C(AB) = .
0 0
be two matrices where p, q are constants such that p + q = 1. Answer the following
questions.
19
1. Prove that T S = S.
p3 + p2 q 2p2 q + 2pq 2 pq 2 + q 3
T S = p3 /2 + p2 /2 + p2 q/2 p2 q + pq + pq 2 pq 2 /2 + q 2 /2 + q 3 /2
p3 + p2 q 2p2 q + 2pq 2 pq 2 + q 3
p2 (p + q) 2pq(p + q) q 2 (p + q)
= p2 (p + q + 1)/2 pq(p + q + 1) q 2 (p + q + 1)/2
p2 (p + q) 2pq(p + q) q 2 (p + q)
= S (∵ p + q = 1).
T 3 = T (T 2 ) = T (T /2 + S/2) (∵ T 2 = T /2 + S/2)
= T 2 /2 + (T S)/2 = (T /2 + S/2)/2 + S/2 (∵ T 2 = T /2 + S/2 and T S = S)
= T /4 + 3S/4.
x1 − x2 + x3 = 2
x1 + x2 − x3 = 0
−x1 − x2 − x3 = −6.
20
We reexpress the above system of equations:
1 −1 1 x1 2
Ax = b ⇔ 1 1 −1 x2 = 0 .
−1 −1 −1 x3 −6
1 2 1
= 2 · (−1)1+2 1 −1 + (−6) · (−1)3+2 1 1
1
0 −1 −1 −1 1 −1
−1 −6 −1
= −2(−1 − 1) + 6(−1 − 1) = −8.
1 −1 2
1 = 2 · (−1)1+3 1
1
+ (−6) · (−1)3+3 1 −1
1 0 −1 −1 1 1
−1 −1 −6
= 2(−1 + 1) − 6(1 + 1) = −12.
Question 5.2 (12 points) Prove that each of the following determinants is zero:
1.
1 2 3 1+2 2+4 3+5 3 6 8
2 4 5 = 2 4 5 = 2 4 5 = 0.
3 6 8 3 6 8 3 6 8
2.
1 a b+c
1 b c+a ,
1 c a+b
21
where a, b, c are constants.
1
a b + c 1 a b + c − (a + b + c) 1 a −a
1
b c + a = 1 b c + a − (a + b + c) = 1 b −b
= 0.
1 c a + b 1 c a + b − (a + b + c) 1 c −c
3.
x − y x − y x2 − y 2
1 1 x+y ,
y 1 x
where x, y are constants.
x − y x − y x2 − y 2 x − y x − y (x + y)(x − y)
1 1 x + y = 1 1 x+y
y 1 x y 1 x
1 1 x+y
= (x − y) 1 1 x + y = 0
y 1 x
Question 5.3 (15 points) Calculate the following determinants. Please leave all
the details of the process of derivation for determinants.
1.
1 2 4
1 3 9
1 4 16
1 2 4
= 4 · (−1) 1 3 + 9 · (−1) 1 2 + 16 · (−1) 1 2
1+3
2+3
3+3
1 3 9
1 4 1 4 1 3
1 4 16
= 4(4 − 3) − 9(4 − 2) + 16(3 − 2) = 2.
2.
1 2 3 4
0 −1 0 11
2 −1 0 3
−2 0 −1 3
1 2 3 4
0 −1 11 1 2 4
0 −1 0 11
1+3
+ (−1) · (−1)4+3 0 −1 11
= 3 · (−1) 2 −1 3
2 −1 0 3
−2 0 3 2 −1 3
−2 0 −1 3
0 −1 11 1 2 4
= 3 2 −1 3 + 0 −1 11 ,
−2 0 3 2 −1 3
22
where
0 −1 11
2+1
−1 11 3+1
−1 11
2 −1 3 = 2 · (−1) 0 3 − 2 · (−1) −1 3
−2 0 3
= −2(−3 − 0) − 2(−3 + 11) = −10
1 2 4
1+1 −1 11 3+1 2 4
0 −1 11 = 1 · (−1) + 2 · (−1)
2 −1 3
−1 3 −1 11
3.
2 1 3 3
3 2 1 6
1 3 0 9
2 4 1 12
2 1 3 3
2
3·1 3 3
2 3
3 3
= 1 3
3 2 1 6 3·2 1 6 1 3 6 1 6
= =0
1 3 0 9
3 1 3·3 0 9 3 1 9
0 9
2 4 1 12 2 3·4 1 12 2 12 1 12
You are asked to leave all the details of the process of derivation for A−1 .
We first compute |A|:
3 2 + 3 · (−1)2+3 −2 3
|A| = 6 · (−1)2+1
1 −1 4 1
= −6(−3 − 2) − 3(−2 − 12) = 72.
23
Next we compute each cofactor of A:
1+1
0 3
C11 = (−1) = −3
1 −1
1+2
6 3
C12 = (−1) = 18
4 −1
1+3
6 0
C13 = (−1) =6
4 1
2+1
3 2
C21 = (−1) =5
1 −1
2+2
−2 2
C22 = (−1) = −6
4 −1
2+3
−2 3
C23 = (−1) = 14
4 1
3+1
3 2
C31 = (−1) =9
0 3
3+2
−2 2
C32 = (−1) = 18
6 3
−2 3
C33 = (−1)3+3 = −18
6 0
Thus, we obtain
C11 C21 C31 −3 5 9 −1/24 5/72 1/8
1 1
A−1 = C12 C22 C32 = 18 −6 18 = 1/4 −1/12 1/4
|A| 72
C13 C23 C33 6 14 −18 1/12 7/36 −1/4
1. Show that A3 = I.
√ √ √
1 −1 − 3 −1 − 3 1 −1 3
2
A = √ √ = √
4 3 −1 3 −1 2 − 3 −1
√ √ √ √
1 −1 − 3 −1 3 1 1 + 3 − 3 + 3
3
A = √ √ = √ √ = I.
4 3 −1 − 3 −1 4 − 3+ 3 3+1
24
2. Use the previous result to find A−1 .
25
where a, b, c are constants. Prove that this system has a nontrivial solution if and
only if a3 + b3 + c3 − 3abc = 0.
We re-write the system of equations in matrix form:
a b c x 0
b c a y = 0 .
c a b z 0
By the theorem we covered in the class, we know that the system of equations has
a nontrivial solution if and only if
a b c
b c a = 0.
c a b
Question 5.9 (4 points) Express the vector (4, −11) as a linear combination of
(2, −1) and (1, 4).
4 2 1
=3 −2 .
−11 −1 4
Question 5.10 (10 points) Find the equation for the plane going through the
points (1, 0, 2), (5, 2, 1), and (2, −1, 4).
Let a = (1, 0, 2), b = (5, 2, 1), and c = (2, −1, 4). We compute the following:
a − b = (−4, −2, 1)
b − c = (3, 3, −3)
We know that two vectors a − b and b − c are on the plane. Define p = (1, p2 , p3 )
as a vector that is orthogonal to both a − b and b − c. Then, we obtain p as follows:
p · (a − b) = −4 − 2p2 + p3 = 0
p · (b − c) = 3 + 3p2 − 3p3 = 0.
We therefore obtain p = (1, −3, −2). The equation is given as follows:
p · (x − a) = 0 ⇔ (x1 − 1) − 3(x2 − 0) − 2(x3 − 2) = 0 ⇔ x1 − 3x2 − 2x3 + 3 = 0.
26
6 Homework 6 (No Need for Submission)
Question 6.1 The two equations u2 v − u = x3 + 2y 3 and eux = vy define u and v
as differentiable functions of x and y around the point P = (x, y, u, v) = (0, 1, 2, 1).
Answer the following questions.
g1 (u, v, x, y) = u2 v − u − x3 − 2y 3 = 0
g2 (u, v, x, y) = eux − vy = 0.
27
So, we obtain
−1
∂u/∂x 3 4 0 −8/3
= = ,
∂v/∂x 0 −1 −2 2
where −1
3 4 1 1 4
= .
0 −1 3 0 −3
We start from the matrix representation for the system of equations we de-
rived in the previous question. Setting dx = 0, we simplified the representa-
tion:
2
2uv − 1 u2 du 6y dy
ux =
xe −y dv vdy
2
2
2uv − 1 u ∂u/∂y 6y
⇔ =
xeux −y ∂v/∂y v
So, we obtain
−1
∂u/∂y 3 4 6 10/3
= =
∂v/∂y 0 −1 1 −1
4. If x increases by 0.1 and y decreases by 0.2 from their values at P , what are
the approximate changes in u and v?
28
We want to evaluate ∆u and ∆v at P and in so doing, we set ∆x = 0.1 and
∆y = −0.2. So,
∂u ∂u
∆u|(0,1,2,1) = · (1/10) + · (−1/5)
∂x (0,1,2,1) ∂y (0,1,2,1)
8 1 10 1 14
= − · − · =−
3 10 3 5 15
∂v ∂v
∆v|(0,1,2,1) = · (1/10) + · (−1/5)
∂x (0,1,2,1) ∂y (0,1,2,1)
1 1 2
= 2· +1· = .
10 5 5
for all t > 0 and (x, y) ∈ R2 . Since equation (∗) must hold for all (x, y), we set
(x, y) = (1, 1). In this case, we have
t3 + t2 = 2tk (∗∗)
for all t > 0. Since equation (∗∗) must hold for all t > 0, we set t = 2. Then,
23 + 22 = 2 · 2k ⇔ 2k = 6 ⇔ k = log2 6.
Similarly, since equation (∗∗) must hold for all t > 0, we set t = 4. Then,
√
43 + 42 = 2 · 4k ⇔ 4k = 40 ⇔ 22k = 40 ⇔ 2k = log2 40 ⇔ k = log2 40
√ √
Since 40 > 6, we have log2 40 > log2 6, which is the desired contradiction.
Hence, f (x, y) is not homogeneous of any degree.
(tx)(ty) t2 xy
f (tx, ty) = = = f (x, y).
(tx)2 + (ty)2 t2 (x2 + y 2 )
29
2. Explicitly check Euler theorem holds in this case.
0 y(x2 + y 2 ) − xy · 2x y(y 2 − x2 )
f1 (x, y) = =
(x2 + y 2 )2 (x2 + y 2 )2
2 2
0 x(x + y ) − xy · 2y x(x2 − y 2 )
f2 (x, y) = = 2
(x2 + y 2 )2 (x + y 2 )2
So,
0 0 xy(y 2 − x2 ) xy(x2 − y 2 )
xf1 (x, y) + yf2 (x, y) = + = 0.
(x2 + y 2 )2 (x2 + y 2 )2
0 0
This is equivalent to xf1 (x, y)+yf2 (x, y) = kf (x, y), where k = 0. Therefore,
Euler theorem holds in this case.
y 2 + 2u2 + v 2 − xy = 15
2y 2 + u2 + v 2 + xy = 38.
30
2. Use Cramer’s rule to find ∂x/∂u and ∂y/∂u at P .
31
By Cramer’s rule, we obtain
−2 −7
∂x −2 −17 20 5
= = = −
∂v −7 −96 24
4
(1,4,1,−1)
−4 −17
4
−2
∂y −4 −2 −16 1
= = = .
∂v −7 −96 6
(1,4,1,−1) 4
−4 −17
∂x(u, v) ∂x(u, v)
x(u + du, v + dv) ≈ x(u, v) + du + dv
∂u ∂v
∂y(u, v) ∂y(u, v)
y(u + du, v + dv) ≈ y(u, v) + du + dv
∂u ∂v
Setting u = 1, v = −1, du = −0.1, and dv = −0.1 in the above approximation
forms, we obtain
Question 6.5 We consider the function f (x, y) = y 3 +3x2 y. Answer the following
questions.
32
1. Determine the degree of homogeneity of f .
for all (x, y) ∈ R2 and t > 0. So, the function f is homogenous of degree 3.
2. Find the slope of the tangent line to the level curve f (x, y) = −13 at an
arbitrary point on the curve, and find in particular the equation of the tangent
line at the point (2, −1).
where (x, y) 6= (0, 0). We can easily confirm that f (2, −1) = −13. When
(x, y) = (2, −1), we have
dy 2 · 2 · (−1) 4
=− = .
dx (x,y)=(2,−1) 1+4 5
3. Examine whether the level curve f (x, y) = −13 is convex or concave around
the point (2, −1).
00
We compute y = d2 y/dx2 :
0 0
d2 y
00 (2y + 2xy )(x2 + y 2 ) − 2xy(2x + 2yy )
y = 2 =− .
dx (x2 + y 2 )2
33
4. Show that no point on the level curve f (x, y) = −13 lies above the x-axis.
We have
f (x, y) = y 3 + 3x2 y = −13.
Then, we manipulate the above equation as follows:
y(y 2 + 3x2 ) = −13.
We observe that f (0, 0) = 0 6= −13 so that (x, y) = (0, 0) is not on the
level curve f (x, y) = −13. So, we always have y 2 + 3x2 > 0. This further
implies have y < 0 in order to satisfy y(y 2 + 3x2 ) = −13. This completes the
argument.
Question 6.6 Consider the following maximization problem:
1
max f (x) = − x3 + 2x2 − 2x − 72,
x∈D 3
where D = {x| x ≥ 0} is the constraint set. Then, obtain the solution to this
maximization problem. You are required to obtain this answer analytically without
resorting to any graphical method.
0
We first check the first-order condition f (x) = 0:
0 √ √ √
f (x) = −x2 + 4x − 2 = 0 ⇒ −(x − (2 − 2))(x − (2 + 2)) = 0 ⇒ x = 2 ± 2.
√ √ √ √
Since 1 < 2 < 2, we have 2 − 2 > 0 so that both√ 2 − 2,√2 + 2 belong to the
interior of D. So, the two stationary points x = 2 − 2, 2 + 2 are the candidates
for the solution. We also know the following:
√
< 0 if 0 ≤ x < √
2− 2
= 0 if x = √ 2− 2
√
0
f (x) > 0 if 2 − 2 < √ x < 2 + 2
= 0 if x = 2 + 2
√
< 0 if x > 2 + 2
√ √
This implies that f (2 − 2) < f (2 + 2). Therefore,√if a maximum point of this
problem is an interior point of D, it must be x = 2 + 2. We compute
√ 4 √
f (2 + 2) = (1 + 2) − 72.
3
Since we only consider interior points of D thus far, the only other possible solution
candidate is x = 0. In this case, we have
f (0) = −72.
√ √
Since f (2 + 2) > f (0), x = 2 + 2 is the solution to the maximization problem.
34
Question 6.7 Let
a11 a12 a13
A = a21 a22 a23
a31 a32 a33
be a 3 × 3 matrix where aij is a constant for each i, j = 1, 2, 3. Let |A| denote
the determinant of a matrix A and Aij denote the cofactor corresponding to (i, j)
component of the matrix A. Assume |A| 6= 0. A linear system of 3 equations and
3 unknowns is given as follows:
The left hand side of the above equation is obtained by the determinant of a
matrix which is the same as A except that we replace the first column of A
with its second column:
a12 a12 a13
a22 a22 a23 .
a32 a32 a33
Since this determinant contains two identical columns in it, it is 0. This
completes the argument for this case.
35
Case 2: (j, k) = (1, 3)
The left hand side of the above equation is obtained by the determinant of a
matrix which is the same as A except that we replace the first column of A
with its third column column:
a13 a12 a13
a23 a22 a23 .
a33 a32 a33
The left hand side of the above equation is obtained by the determinant of a
matrix which is the same as A except that we replace the second column of
A with its first column column:
a11 a11 a13
a21 a21 a23 .
a31 a31 a33
The left hand side of the above equation is obtained by the determinant of a
matrix which is the same as A except that we replace the second column of
A with its third column column:
a11 a13 a13
a21 a23 a23 .
a31 a33 a33
36
Since this determinant contains two identical columns in it, it is 0. This
completes the argument for this case.
The left hand side of the above equation is obtained by the determinant of a
matrix which is the same as A except that we replace the third column of A
with its first column column:
a11 a12 a11
a21 a22 a21 .
a31 a32 a31
The left hand side of the above equation is obtained by the determinant of a
matrix which is the same as A except that we replace the third column of A
with its second column column:
a11 a12 a12
a21 a22 a22 .
a31 a32 a32
2. We multiply the first equation in (∗∗) by the cofactor A11 ; multiply the second
equation in (∗∗) by A21 ; and finally multiply the third equation in (∗∗) by
A31 . Then, we add all the equations so obtained. The result is
(a11 A11 + a21 A21 + a31 A31 )c1 + (a12 A11 + a22 A21 + a32 A31 )c2
+ (a13 A11 + a23 A21 + a33 A31 )c3 = b1 A11 + b2 A21 + b3 A31 .
37
Show that c1 = A1 /|A|, where
b1 a12 a13
A1 = b2 a22 a23 .
b3 a32 a33
Case I: c2 = A2 /|A|
We multiply the first equation in (∗∗) by the cofactor A12 ; multiply the second
equation in (∗∗) by A22 ; and finally multiply the third equation in (∗∗) by
A32 . Then, we add all the equations so obtained. The result is
(a11 A12 + a21 A22 + a31 A32 )c1 + (a12 A12 + a22 A22 + a32 A32 )c2
+ (a13 A12 + a23 A22 + a33 A32 )c3 = b1 A12 + b2 A22 + b3 A32 .
We can simplify the above equation into the following:
(a12 A12 + a22 A22 + a32 A32 )c2 = b1 A12 + b2 A22 + b3 A32 ,
because a11 A12 + a21 A22 + a31 A32 = 0 and a31 A12 + a32 A22 + a33 A32 = 0 by
the first question. Thus, we obtain
a11 b1 a13
a21 b2 a23
b1 A12 + b2 A22 + b3 A32 a31 b3 a33 A2
c2 = = = .
a12 A12 + a22 A22 + a32 A32 |A| |A|
38
Case II: c3 = A3 /|A|
We multiply the first equation in (∗∗) by the cofactor A13 ; multiply the second
equation in (∗∗) by A23 ; and finally multiply the third equation in (∗∗) by
A33 . Then, we add all the equations so obtained. The result is
(a11 A13 + a21 A23 + a31 A33 )c1 + (a12 A13 + a22 A23 + a32 A33 )c2
+ (a13 A13 + a23 A23 + a33 A33 )c3 = b1 A13 + b2 A23 + b3 A33 .
(a13 A13 + a23 A23 + a33 A33 )c3 = b1 A13 + b2 A23 + b3 A33 ,
because a11 A13 + a21 A23 + a31 A33 = 0 and a12 A13 + a22 A23 + a32 A33 = 0 by
the first question. Thus, we obtain
a11 a12 b1
a21 a22 b2
b1 A13 + b2 A23 + b3 A33 a31 a32 b3 A3
c3 = = = .
a13 A13 + a23 A23 + a33 A33 |A| |A|
Question 6.8 Let a and b be positive constants and α be a constant such that
0 < α < 1. Let f (x) = ln(αax + (1 − α)bx ). Answer the following questions.
0
1. Using the notion of limits, provide the precise definition of f (x).
HINT: Use the following relation: X = eln X where X = (αah + (1 − α)bh )1/h .
39
We execute the following series of computation:
1 1
lim ln αah + (1 − α)bh h = lim ln αah + (1 − α)bh
h→0 h→0 h
1
ln αah + (1 − α)bh − ln 1 (∵ ln 1 = 0)
= lim
h→0 h
1
ln αah + (1 − α)bh − ln αa0 + (1 − α)b0
= lim
h→0 h
0
= f (0)
= α ln a + (1 − α) ln b
= ln aα b(1−α) .
Since X = eln X , we obtain
1
1 limh→0 ln {αah +(1−α)bh } h
lim αah + (1 − α)b h h
= e
h→0
0
= ef (0)
α (1−α) )
= eln(a b = aα b(1−α) .
Question 6.9 Find local maximum/minimum points for the following functions:
1. y = (x + 2)e−x
40
00
At x = 1, we have y |x=1 = 1 > 0. Therefore, x = 1 is a local minimum
point.
3. y = x3 e−x .
So, x = 0 and x = 3 are the stationary points. We next compute the second
derivative of y:
00
y = 2xe−x (3 − x) − x2 e−x (3 − x) − x2 e−x = x(x2 − 6x + 6)e−x .
00
At x = 3, we have y |x=3 = −9e−3 < 0. So, x = 3 is a local maximum point.
00
However, at x = 0, we have y |x=0 = 0. So, in the domain of x such that
x > 0, x = 0 is considered a local minimum point. On the other hand, in the
domain of x such that x < 0, x = 0 is considered a local maximum point.
Therefore, x = 0 is neither a local maximum nor minimum point.
Question 6.10 Find the values of x that maximizes/minimize the following func-
tions:
1. f (x) = ex + e−2x
We first compute
< 0 if x < ln 2/3
0
f (x) = ex − 2e−2x −2x 3x
= e (e − 2) = 0 if x = ln 2/3
> 0 if x > ln 2/3
because e−2x > 0 for any x ∈ R. So, x = ln 2/3 is the minimum point of f .
We compute
> 0 if x < (2a + 4b)/6
0
f (x) = −2(x − a) − 4(x − b) = −(6x − 2a − 4b) = 0 if x = (2a + 4b)/6
< 0 if x > (2a + 4b)/6
41
3. f (x) = ln x − 5x, where x > 0.
We compute
1 > 0 if 0 < x < 1/5
0
f (x) = − 5 = 0 if x = 1/5
x
< 0 if x > 1/5
Question 6.11 Find the maximum and minimum of each function over the indi-
cated interval.
First, f (x) is well-defined over [1/2, 2]. Second, [1/2, 2] is a closed, bounded
interval of the real line and f (x) is differentiable over (0, ∞), which implies
it is continuous over [1/2, 2]. By the extreme-value theorem, there always
exist the maximum and minimum value of f over [1/2, 2]. We first find the
stationary points of f :
0 2x · x − (x2 + 1) · 1 x2 − 1 (x + 1)(x − 1)
f (x) = = = = 0.
x2 x2 x2
So, x = −1, 1 are the stationary points but x = −1 is excluded from the
domain [1/2, 2]. We then have f (1) = 2. Note that f (1/2) = 5/2 and
f (2) = 5/2. So, the maximum of f is 5/2 and the minimum of f is 2.
42
Question 6.12 Consider a firm that produces a single commodity to maximize its
profit. The total revenue generated in a certain period by producing and selling
Q units is R(Q) = 10Q − Q2 /1000 dollars for Q ∈ [0, 10000], whereas C(Q) =
5000 + 2Q for Q ≥ 0 denotes the associated total dollar cost. Find the value of Q
that maximizes profit.
We first define the profit function π(Q) of the firm:
Q2
π(Q) = R(Q) − C(Q) = 10Q − − 2Q − 5000.
1000
Since [0, 10000] is a closed, bounded interval of the real line and π(Q) is a continuous
function (because it is differentiable), by the extreme-value theorem, there always
exist the maximum and minimum values of π(Q) over [0, 10000]. Second, we find
the stationary points of π:
0 Q
π (Q) = 10 − − 2 = 0 ⇔ Q = 4000
500
We then compute π(4000) = 10, 000. We also compute π(0) = −5000 and π(10000) =
−25000. Therefore, Q = 4000 is the profit maximizing quantitity.
Question 6.13 Find local maximum/minimum points and inflection points for the
following functions.
00 − x2 · x3 − 3x2 · (1 − 2 ln x) 1
f (x) = 6
= − 4 (5 − 6 ln x).
x x
Therefore, x = e5/6 is an inflection point of f . Moreover, we can check
00 1/2 1 1 2
f (e ) = − 2 5 − 6 · = − 2 < 0.
e 2 e
43
2. f (x) = e2x − 2ex
Question 6.14 Let f (x) = x2 /(x2 + 2). Answer the following questions.
0
1. Compute f (x) and determine where f (x) is increasing/decreasing.
2 2
2x(x + 2) − x · 2x 4x > 0 if x > 0
0
f (x) = = = 0 if x = 0
(x2 + 2)2 (x2 + 2)2
< 0 if x < 0
44
2. Find possible inflection points.
00
We compute f (x):
We re-express Q(x1 , x2 ):
It is easy to see that Q(x1 , x2 ) ≤ 0 for any (x1 , x2 ) and it never be the case
that Q(x1 , x2 ) = 0 unless (x1 , x2 ) = (0, 0). Therefore, Q(x1 , x2 ) is negative
definite.
We re-express Q(x1 , x2 ):
x2 2 99 2
Q(x1 , x2 ) = 4 x1 + + x2
4 4
It is easy to see that Q(x1 , x2 ) ≥ 0 for any (x1 , x2 ). Moreover, it never be
the case that Q(x1 , x2 ) = 0 unless (x1 , x2 ) = (0, 0). Therefore, Q(x1 , x2 ) is
positive definite.
45
Question 7.2 (10 points) Investigate the definiteness of the following symmetric
matrices.
1.
2 3
A=
3 7
a11 = 2 > 0
|A| = 2 · 7 − 3 · 3 = 14 − 9 = 5 > 0,
where
a11 a12 2 3
A= = .
a21 a22 3 7
So, A is positive definite.
2.
2 4
B=
4 7
b11 = 2 > 0
|B| = 2 · 7 − 4 · 4 = −2 < 0,
where
b11 b12 2 4
B= =
b21 b22 4 7
So, B is indefinite.
Question 7.3 (12 points) Annual profits for a firm are given by
where x is the amount spend on research, and y is the amount spent on advertising.
Answer the following questions.
46
3. Find the only possible values of x and y that can maximize profits, and the
corresponding profit.
Question 7.4 (12 points) A firm produces two different kinds, A and B, of a
commodity. The daily cost of producing x units of A and y units of B is
Suppose that the firm sells all its output at a price per unit of $24 for A and
$12 for B. In what follows, you can assume that there is a solution to the profit
maximization problem. Answer the following questions.
Solving the above system of equations, we obtain (x, y) = (40, 24) as the
unique stationary point. Second, we compute the profit achieved by (x, y) =
(40, 24):
Third, we consider the maximized profit the firm can achieve when x = 0 or
y = 0, each of which corresponds to the boundary points.
Case 1: x = 0
47
Case 2: y = 0
2. The firm is required to produce exactly 54 units per day of the two kinds
combined. What is the optimal production plan now?
This clearly shows that (x, y) = (34, 20) maximizes its profit, given the con-
straint that x + y = 54.
Question 7.5 (12 points) Consider the function f defined for all (x, y) by f (x, y) =
5 − x2 + 6x − 2y 2 + 8y. Answer the following questions.
48
2. Find the only stationary point and classify it by using the second-derivative
test.
0 0
The stationary point can be computed by solving f1 (x, y) = 0 and f2 (x, y) =
0. So, (x, y) = (3, 2) is the unique stationary point of f . Next, we form the
associated Hessian matrix:
−2 0
H(x, y) = .
0 −4
This means that H(x, y) is negative definite for all (x, y). Therefore, the
stationary point (x, y) = (3, 2) is a local maximum point of f .
Question 7.6 (12 points) Consider a firm that sells a product in two isolated
geographical areas. If it wants to, it can charge different prices in the two different
areas because what is sold in one area cannot easily be resold in the other. Suppose
that this monopolist faces two inverse demand functions P1 (Q1 ) = 200 − 2Q1 and
P2 (Q2 ) = 180 − 4Q2 , and the cost function is C(Q1 , Q2 ) = 20(Q1 + Q2 ). Answer
the following questions.
1. How much should be sold in two markets to maximize total profit? What
are the corresponding prices?
This clearly shows that (Q1 , Q2 ) = (45, 20) maximizes its total profit. The
maximized profit is 5650.
49
Plugging Q1 = 10 + 2Q2 into π(Q1 , Q2 ), we have
So, (Q1 , Q2 ) = (140/3, 55/3) maximizes its total profit, given the constraint
that P1 = P2 . Besides, the lost payoff is
Question 7.7 (16 points) Find the maximum and minimum points for the fol-
lowing problems.
D = (x, y) ∈ R2 | 0 ≤ x ≤ 4 and 0 ≤ y ≤ 4 .
x2 + y 2 ≤ 42 + 42 = 32 < 36
D1 = {(x, y) ∈ R2 | x ≥ 0}
D2 = {(x, y) ∈ R2 | x ≤ 4}
D3 = {(x, y) ∈ R2 | y ≥ 0}
D4 = {(x, y) ∈ R2 | y ≤ 4}
50
continuous. Therefore, by the extreme-value theorem, there exist both a
maximum point and a minimum point of f over D.
We compute the stationary points of f as the points satisfying the following
system of equations:
0
f1 (x, y) = 3x2 − 9y = 0
0
f2 (x, y) = 3y 2 − 9x = 0
So, we have x = 0, 3. Since y = x2 /3, we obtain (x, y) = (0, 0), (3, 3) as the
stationary points of f . We then compute
f (0, 0) = 27
f (3, 3) = 27 + 27 − 81 + 27 = 0.
f (x, 0) = x3 + 27,
which achieves the maximum value of 91 when x = 4 and the minimum value
of 27 when x = 0.
Suppose y = 4. Then, we have
51
Suppose x = 4. Here the role of x and y is symmetric. Therefore, we also
obtain √ √
f (4, 2 3) = 91 − 48 3 > 7.
In sum, (0, 4) and (4, 0) achieves the maximum value of 91 and (3, 3) achieves
the minimum value of 0.
2. f (x, y) = x2 + 2y 2 − x subject to x2 + y 2 ≤ 1.
52
1. Express the firm’s profit as a function π of (K, L, T ).
2. Find the values of K, L, and T , as functions of the four prices, that maximizes
the firm’s profit. Here we assume that a maximum exists.
To maximize the firm’s profit, we must satisfy the following first-order con-
ditions:
3
0 2 −1/3 ∗ 2p
πK = pK −r =0⇔K =
3 3r
0 1 −1/2 ∗
p 2
πL = pL −w =0⇔L =
2 2w
3/2
0 1 −2/3 p
πT = pT − q = 0 ⇔ T∗ = .
3 3q
3. Let Q∗ denote the optimal number of units produced and K ∗ the optimal
capital stock. Show that ∂Q∗ /∂r = −∂K ∗ /∂p.
We first compute Q∗ :
2 1/2
∗ ∗ 2/3 ∗ 1/2 ∗ 1/3 2p p p
Q = (K ) + (L ) + (T ) = + +
3r 2w 3q
53
1. Use Lagrangian method to find the unique solution candidate.
This clearly shows that f (24 − 3y, y) is maximized at (x, y) = (12, 4). There-
fore, the Lagrangian method indeed allows us to obtain the right solution.
Question 8.2 (25 points) Consider the following minimization problem with an
equality constraint:
min 2 x2 + y 2 subject to x + 2y = a,
(x,y)∈R
54
2. Show that the Lagrangian method leads to the same solution you obtained
in the previous question.
55
1. Solve the problem by transforming it into an unconstrained optmization prob-
lem with one variable.
56
1. Define the bordered Hessian matrix of this problem.
3. Is each stationary point you obtained using the Lagrangian method in Ques-
tion 8.2 a local maximum or minimum point?
Since |H̄| < 0, we conclude that the unique stationary point we obtained in
Question 8.2 is a local minimum point.
57
1. Show that the domain D is compact.
Define
D1 = {(x, y) ∈ R2 | x2 + y 2 ≤ 1},
D2 = {(x, y) ∈ R2 | x ≥ 0}.
2. Define the set of all interior points of D (we simply call it the interior of D)
and the set of all boundary points of D (we simply call it the boundary of
D).
So, we have two stationary points (x, y) = (0, 0), (2/3, 0). We next consider
the second-order derivatives of f :
00
fxx (x, y) = 6x − 2
00 00
fxy (x, y) = fyx (x, y) = 0
00
fyy (x, y) = −2.
58
Then, we have the Hessian matrix H(x, y):
6x − 2 0
H(x, y) = .
0 −2
At (x, y) = (0, 0), we have
−2 0
H(0, 0) =
0 −2
Now, we can check that h11 (0, 0) = −2 < 0 and |H(0, 0)| = 4 > 0. Thus,
H(0, 0) is negative definite so that (0, 0) is a local maximum point. At
(x, y) = (2/3, 0), we have
2 0
H(2/3, 0) =
0 −2
Here we have |H2 (2/3, 0)| = −4 < 0. This implies that H(3/2, 0) is indefinite
so that (3/2, 0) is a saddle point.
4. Find the global extreme points of f in D.
Therefore, the only possible candidates for the extreme points are (x, y) =
(0, 0), (0, 1), (0, −1), (1, 0). We check the following:
f (0, 0) = 3
f (0, 1) = f (0, −1) = 2
f (1, 0) = 3
Hence, (0, 0) and (1, 0) are the global maximum points in D and (0, 1) and
(0, −1) are the global minimum points.
59
Question 9.2 (20 points) Let f (x, y) = 24x − x2 + 16y − 2y 2 and g(x, y) =
x2 + 2y 2 . Consider the problem
max f (x, y) subject to g(x, y) = 44.
(x,y)∈R2
60
2. What is the approximate change in the optimal value of f (x, y) if 44 is
changed into 45?
Question 9.3 (15 points) Each week an individual consumes quantities x and y
of two goods, and works for l hours. These three quantities are chosen to maximize
the utility function
U (x, y, l) = α ln x + β ln y + (1 − α − β) ln(L − l),
which is defined for 0 ≤ l < L and for x, y > 0. Here α and β are positive
parameters satisfying α + β < 1. The individual faces the budget constraint px +
qy = wl, where p is the unit price of good x; q is the unit price of good y; and w is
the wage per hour. Define γ = (α + β)/(1 − α − β). Find the individual’s demands
x∗ , y ∗ , and labour supply l∗ as functions of p, q, and w. Assume that the solution
to this constrained optimization problem exists.
We set up the Lagrangian:
L(x, y, l, λ) = α ln x + β ln y + (1 − α − β) ln(L − l) − λ(px + qy − wl).
The FOCs are:
0 α
Lx = − λp = 0
x
0 β
Ly = − λq = 0
y
0 1−α−β
Ll = − + λw = 0
L−l
0
Lλ = px + qy − wl = 0
From the first two conditions, we have
βp
y= x.
αq
From the first condition, we have
α
λ= .
px
From the third condition, we have
1−α−β
l =L−
λw
61
Plugging λ = α/(px) into the above equation, we obtain
(1 − α − β)px
l =L−
αw
So far, we express y and l in terms of functions of x. So, plugging these expressions
into the fourth condition, we have
βp (1 − α − β)px
px + q x = wL − .
αq α
Solving the above equation, we have
αwL
x =
p
βwL
y =
q
l = (α + β)L.
This implies that for any feasible point (x, y, l) satisfying px + qy = wl, we have
∇g(x, y, l) 6= (0, 0, 0). Thus, the constraint qualification holds. Furthermore, since
the solution to the given constrained optimization problem is assumed to exist,
the unique stationary point we found is indeed the solution to the constrained
maximization problem. That is, the solutions are:
αwL
x∗ (p, q, w) =
p
βwL
y ∗ (p, q, w) =
q
∗
l (p, q, w) = (α + β)L.
62
The necessary conditions for this problem are summarized as:
0
(1) Lx = 1 − 2λx = 0
0
(2) Ly = 2 − 2λy = 0
0 1
(3) Lz = + aλ = 0
1+z
(4) x2 + y 2 − az = 0.
From (4), we have x2 + y 2 = 0. This implies that (x, y) = (0, 0). In this
case, the objective function becomes f (x, y, z) = ln(1 + z). Since f is strictly
increasing, f cannot achieve the maximum.
3. Show that this problem has no solution when a = 1.
In the previous questions, we can exclude the case of a = 0 for which there
is no solution to the problem. From (3), we have λ = −1/a(1 + z) 6= 0. This
is equivalent to z = −(1 + λa)/(λa). From (1) and (2), we have x = 1/(2λ)
and y = 1/λ. Plugging (x, y, z) = (1/(2λ), 1/λ, −(1 + λa)/(λa)) into (4), we
obtain
1 1 1 + λa
2
+ 2 +a = 0 ⇔ 4aλ2 + 4λ + 5 = 0.
4λ λ λa
In order for this equation to have real roots, we must have 4 − 20a ≥ 0, which
implies that a ≤ 1/5. Indeed, this explains why we have no solution when
a = 1. Let g(x, y, z) = x2 + y 2 − az. Define
63
This means that the constraint qualification is satisfied as long as a 6= 0.
Therefore, the relevant range of values of a is {a ∈ R| a < 0 or 0 < a ≤ 1/5}.
Question 9.5 (15 points) Consider the following constrained maximization prob-
lem:
max −x2 − y 2 subject to 3y − x ≥ 10
x,y
Lx = −2x − λ = 0
Ly = −2y + 3λ = 0
λ ≥ 0; x − 3y + 10 ≤ 0; λ[x − 3y + 10] = 0.
From the first two conditions above, we obtain x = −λ/2 and y = 3λ/2. We divide
our argument into the following two cases.
Case 1: λ > 0
From the complementary slackness condition, we must have x − 3y + 10 = 0.
Plugging x = −λ/2 and y = 3λ/2 into this, we have λ = 2. Therefore, (x, y, λ) =
(−1, 3, 2) is a solution candidate.
Case 2: λ = 0
In this case, we have x = y = 0. In this case, however, we have x−3y +10 = 10,
which contradicts the inequality constraint x − 3y + 10 ≤ 0. Thus, we ignore this
case.
We compute the second-order derivatives of the Lagrangian:
00
Lxx = −2
00
Lyy = −2
00 00
Lxy = Lyx = 0.
64
We compute the following objects of H.
h11 = −2 < 0
|H| = 4 > 0.
1. Formally define D as the set of all points (x, y) satisfying all the inequality
constraints given.
D1 = (x, y) ∈ R2 | y ≥ −x + 4
D2 = (x, y) ∈ R2 | x ≥ −1
D3 = (x, y) ∈ R2 | y ≥ 1 .
65
Case 1: λ2 > 0 and λ3 > 0
From (4), we have x = −1. Plugging x = −1 and λ3 = 0 into (1) and (2),
we obtain
0
(1 ) 1 − e−1 − ey−1 + λ1 + λ2 = 0
0
(2 ) 1 − ey−1 + λ1 = 0
0 0
From (1 ) and (2 ), we obtain λ2 = e−1 and λ1 = ey−1 − 1. If λ1 > 0, by (3),
we must have y = 5. So, (x, y, λ1 , λ2 , λ3 ) = (−1, 5, e4 − 1, e−1 , 0) is a solution
candidate. If λ1 = 0, we must have y = 1. In this case, however, we have
x + y = −1 + 1 = 0, which contradicts the inequality x + y ≥ 4 in (3). So,
we ignore the case for λ1 = 0.
Case 3: λ2 = 0 and λ3 > 0
Case 4: λ2 = 0 and λ3 = 0
66
3. Find the solution to this constrained maximization problem.
Therefore, the Hessian matrix H(x, y) is negative definite. This implies that
the Lagrangian function is concave. So, we conclude that (x, y, λ1 , λ2 , λ3 ) =
(−1, 5, e4 − 1, e−1 , 0) is the solution to the problem.
Question 10.2 (25 points) Consider the following maximization problem with
inequality constraints:
D1 = (x, y) ∈ R2 | x2 + y 2 ≤ 1
D2 = (x, y) ∈ R2 | y ≥ −x .
67
The Kuhn-Tucker conditions are
0
(1) Lx = 1 − 2λ1 x + λ2 = 0
0
(2) Ly = a − 2λ1 y + λ2 = 0
(3) λ1 ≥ 0; x2 + y 2 ≤ 1; λ1 (x2 + y 2 − 1) = 0
(4) λ2 ≥ 0; x + y ≥ 0; λ2 (−x − y) = 0.
3. Find the solution candidates satisfying the Kuhn-Tucker conditions for all
possible values of the constant a.
First we exhaust all the possible solution candidates by solving the necessary
conditions derived in the previous question.
68
In order for λ1 to be well-defined, we must have x = 6 y and a 6= 1. So,
plugging λ1 = (1 − a)/2(x − y)) into (1), we obtain y = ax.
From (3), we have x2 + y 2 = 1. So, plugging y = ax into x2 + y 2 = 1, we have
1
x 2 + a2 x 2 = 1 ⇒ x = ± √ .
1 + a2
Then, there are two possible solutions (x, y):
1 a
(x, y) = √ ,√
1 + a2 1 + a2
1 a
(x, y) = −√ , −√
1 + a2 1 + a2
√ √
Plugging (x, y) = (1/ 1 + a2 , a/ 1 + a2 ) into the expression for λ1 , we ob-
tain √
1 + a2
λ1 = > 0,
2
which is consistent with our hypothesis. We also need to satisfy x + y ≥ 0
from (4). So, we √ √ that√a ≥ −1. Therefore, when a ≥ −1,
need to assume
(x, y, λ1 , λ2 ) = (1/ 1 + a , a/ 1 + a2 , 1 + a2 /2, 0) is a solution candidate.
2
√ √
Plugging (x, y) = (−1/ 1 + a2 , −a/ 1 + a2 ) into the expression for λ1 , we
obtain √
1 + a2
λ1 = − < 0,
2
which contradicts our hypothesis that λ1 > 0. So, we ignore this as a solution.
Case 3: λ1 = 0 and λ2 > 0
These equations are consistent with each other only when a = 1. However,
in this case, we have λ2 = −1, which contradicts our hypothesis that λ2 > 0.
So, we ignore this case.
Case 4: λ1 = 0 and λ2 = 0
69
In sum, we have the unique solution candidate which depend on the value of
a: √ √
√(1/ 2, −1/√ 2) if a < −1
(x, y) = 2 2
(1/ 1 + a , a/ 1 + a ) if 1 > a ≥ −1 or a > 1
x2 + y 2 ≤ 1.
70
Thus, we obtain (x, y) ∈ B. So, we have D1 ⊆ B so that D1 is bounded.
This implies that D is a compact set. By the extreme-value theorem, the
constrained optimization problem has a solution.
Question 10.3 (25 points) Consider the following problem:
max f (x, y) = x2 + 2y subject to x2 + y 2 ≤ m, y ≥ 0,
(x,y)∈R2
2. Solve this constrained maximization problem “for each possible value of m.”
Case 1: x2 + y 2 = m and y = 0
71
Case 3: x2 + y 2 < m and y = 0
When
√ 0 < m < 1, we have√the only√ one candidate for the solution: (x, y) =
(0, m). In this case, f (0, √ m) = 2√ m. When√m ≥ 1, we have three
√ candi-
√ f ( m − 1, 1) = f√
dates for the solution: f (0, m) = 2 m and (− m − 1, 1) =
m − 1 + 2 = m + 1. Note that m + 1 ≥ 2 m if and only if ( m − 1)2 ≥ 0,
which is obviously satisfied.
√
Consider the case where 0 < m < 1. In this case, we have λ1 = 1/ m and
λ2 = 0. So, the corresponding Lagrangian function is given as
y2
2 1 2 2 1 5
L(x, y) = x +2y− √ (x +y −5)−0·(−y) = 1 − √ x2 − √ +2y+ √ .
m m m m
We derive the Hessian matrix H of the Lagrangian function:
!
1 − √1m
h11 (x, y) h12 (x, y) 0
H(x, y) = =
h21 (x, y) h22 (x, y) 0 − √1m
√
Since 0 < m < 1, we have 1 − 1/ m < 0, which implies that |h11 (x, y)| < 0
and |H(x, y)|
√ > 0. Therefore, the Lagrangian function is concave so that
(x, y) = (0, m) is the solution to the problem when 0 < m < 1.
72
1. Write down the Kuhn-Tucker Conditions for this problem.
Case 1: x2 + y = 2 and y = 1
Consider the case where (x, y) = (−1, 1). Plugging (x, y) = (−1, 1) into (1)
and (2), we obtain λ1 = 1/2 and λ2 = 3/2. Thus, (x, y) = (−1, 1) is a
candidate for the solution.
73
Case 4: x2 + y < 2 and y > 1
From (3) and (4), we have λ1 = λ2 = 0. Plugging this into (2), we have
x = 0. Plugging x = 0 and λ1 = 0 into (1), we have y = 0, which contradicts
the hypothesis that y > 1. So, we ignore this case.
In sum, we have three candidates for the solution: (x, y) = (1, 1), (−1, 1),
and (−1/2, 1). At these values, we have
f (1, 1) = 2
f (−1, 1) = 0
f (−1/2, 1) = −1/4.
Clearly, ∇g 1 (x, y) = (2x, 1) 6= (0, 0). So, the constraint qualification holds in
this case.
Clearly, ∇g 2 (x, y) = (0, −1) 6= (0, 0). So, the constraint qualification holds
in this case.
Suppose, on the contrary, that there exist α 6= 0 and a feasible point (x, y)
such that ∇g 1 (x, y) = αg 2 (x, y). This implies
2x 0
= .
1 −α
This is clearly impossible. So, ∇g 1 (x, y) and ∇g 2 (x, y) are not parallel to
each other so that the constraint qualification holds in this case.
74
Finally, we will establish the existence of solutions to the constrained opti-
mization problem. Define
D1 = {(x, y) ∈ R2 | g 1 (x, y) ≤ 2}
D2 = {(x, y) ∈ R2 | g 2 (x, y) ≤ 1}.
We are now able to define D = D1 ∩ D2 as the set of feasible points for this
constrained optimization problem. Since x2 + y is the sum of polynomials
and −y is a linear function of y, D1 and D2 are closed. In addition, D is
closed, as the intersection of two closed sets is closed. We shall claim that
D is bounded. Define B = {(x, y) ∈ R2 | x2 + y 2 ≤ 5}. Fix (x, y) ∈ D
arbitrarily. Since (x, y) ∈ D, we satisfy x2 + y ≤ 2, which further implies
that x2 ≤ 2 − y. Taking into account that x2 ≥ 0, we thus have y ≤ 2. We
check the following:
x2 + y 2 = x2 + y + y 2 − y ≤ 2 + y 2 − y ≤ 1 + y 2 ≤ 5.
|{z} |{z} |{z}
x2 +y≤2 y≥1 y≤2
1. Z
1 1
x2 ln xdx = x3 ln x − x3 + C
3 9
d 1 1 1
(RHS) = x2 ln x + x3 · − x2 = x2 ln x,
dx 3 x 3
where RHS denotes the right hand side of the above equation.
2. Z √
2
1 √ 2 1 √
2
x + 1dx = x x + 1 + ln x + x + 1 + C
2 2
75
!
1 2 −1/2
d 1 2 1 1 1 + (x + 1) · 2x
(RHS) = (x + 1)1/2 + x(x2 + 1)−1/2 · 2x + 2
√
dx 2 4 2 x + x2 + 1
1 1 + x(x2 + 1)−1/2
1 2 −1/2
2 2
= (x + 1) x +1+x +
2 2 x + (x2 + 1)1/2
1 (1 + x(x2 + 1)−1/2 )(x − (x2 + 1)1/2 )
1 2 −1/2 2
= (x + 1) (2x + 1) +
2 2 (x + (x2 + 1)1/2 )(x − (x2 + 1)1/2 )
1 2 1
(x + 1)−1/2 (2x2 + 1) + (x2 + 1)1/2 − x2 (x2 + 1)−1/2
=
2 2
1 2 −1/2
= (x + 1) (2x + 1 + (x2 + 1) − x2 ) = (x2 + 1)1/2 .
2
2
1. Z 1
xdx.
0
1 1
x2
Z
1
xdx = = .
0 2 0 2
2. Z 2
(2x + x2 )dx
1
2 2 2 2 2 x3 2
Z Z Z
2 2 16
(2x+x )dx = 2xdx+ x dx = x 1 + = (4−1)+(8/3−1/3) = .
1 1 1 3 1 3
3. Z 3
1 2 1 3
x − x dx
−2 2 3
Z 3
1 2 1 3 1 3 3 1 4 3 1 1 5
x − x dx = x −2 − x −2 = (27+8)− (81−16) = .
−2 2 3 6 12 6 12 12
0
Question 11.3 (8 points) Find the function f (x) if f (x) = ax2 + bx, where a, b
are constants and f (x) satisfies the following all three equations:
0
1. f (1) = 6
00
2. f (1) = 18
R2
3. 0 f (x)dx = 18.
76
First, we have the following expression for f (x):
a b
f (x) = x3 + x2 + c,
3 2
0 00
where c is a constant. Second, since f (x) = ax2 +bx, it follows that f (x) = 2ax+b.
The first two conditions gives us the following equations:
0
f (1) = a + b = 6
00
f (1) = 2a + b = 18.
Hence, we obtain a = 12 and b = −6. Plugging these values into the expression
for f (x), we obtain
f (x) = 4x3 − 3x2 + c.
The last condition gives us the following:
Z 2
2
f (x)dx = x4 − x3 + cx 0 = (16 − 8 + 2c) − 0 = 18.
0
d xρ xρ
(RHS) = xρ ln x + − = xρ ln x.
dx ρ+1 ρ+1
Question 11.5 (12 points) Calculate the following integrals:
1. √
4
e x
Z
√ √ dx
1 x(1 + e x )
√
Set u = x. Then, we have du = x−1/2 /2dx, which implies dx = 2udu.
Note also that x = 1 corresponds to u = 1 and x = 4 corresponds to u = 2.
Therefore,
Z 4 √ Z 2
e x eu
√ √ dx =
u
· 2udu
1 x(1 + e x ) 1 u(1 + e )
Z 2
eu
= 2 u
du
1 1+e
= 2 [ln(1 + eu )]21 = 2 ln(1 + e2 ) − 2 ln(1 + e).
77
2. Z 1/3
1
dx
0 ex +1
−x
(Hint: substitute t = e )
Set t = e−x . Then, we have dt = −e−x dx, which implies dx = −dt/t. Note
that x = 0 corresponds to t = 1 and x = 1/3 corresponds to t = e−1/3 .
Therefore,
Z 1/3 Z e−1/3
1 1 1
x
dx = 1 · − dt
0 e +1 1 t
+1 t
Z 1
1
= dt = [ln(1 + t)]1e−1/3 = ln 2 − ln(1 + e−1/3 ).
e−1/3 1 + t
3. Z 41
1
√ √ dx
8.5 2x − 1 − 4 2x − 1
4
(Hint: substitute z = 2x − 1)
Set z 4 = 2x − 1. Then, we have 4z 3 dz = 2dx, which implies dx = 2z 3 dz.
Note that x = 8.5 corresponds to z = 2 and x = 41 corresponds to z = 3.
Therefore,
Z 41 Z 3
1 2z 3
√ √ dx = 2
dz
8.5 2x − 1 − 4 2x − 1 2 z −z
Z 3 2
z
= 2 dz
2 z −1
Z 3 Z 3 Z 3
1
= 2 zdz + 1dz + dz
2 2 2 z −1
5
= 2 + 1 + ln 2 = 7 + 2 ln 2.
2
Question 11.6 (15 points) In statistics, the normal (or Gaussian) density func-
tion with mean µ and variance σ 2 is defined by
(x − µ)2
1
f (x) = √ exp −
σ 2π 2σ 2
in the interval (−∞, ∞). Prove the following results.
1. Z +∞
f (x)dx = 1
−∞
78
√ √
Set
√ u = (x − µ)/ 2σ. Then, we have du = dx/( 2σ), which implies dx =
σ 2du. Note that x = −∞ corresponds to u = −∞ and x = ∞ corresponds
to u = ∞. Therefore,
Z +∞ Z ∞
1 2 √
f (x)dx = √ e−u · σ 2du
−∞ σ 2π
Z−∞
∞
1 2
= √ e−u du = 1.
−∞ π
2. Z +∞
xf (x)dx = µ
−∞
√ √
If u = (x − µ)/ 2σ, x = µ + 2σu. Therefore,
Z +∞
1
Z ∞ √ 2
xf (x)dx = √ (µ + 2σu)e−u du
−∞ π −∞
µ
Z ∞
−u2
√ Z ∞ −u2
= √ e du + 2σ ue du = µ.
π −∞ −∞
3. Z +∞
(x − µ)2 f (x)dx = σ 2 .
−∞
√ √
If u = (x − µ)/ 2σ, then x − µ = 2σu, which implies (x − µ)2 = 2σ 2 u2 .
Therefore,
Z +∞
2
Z ∞
2 2 1 −u2
√ 2σ 2 ∞ 2 −u2
Z
(x − µ) f (x)dx = 2σ u √ e σ 2du = √ u e du
−∞ −∞ σ 2π π −∞
79
You√should take into account the following hint: use the substitution u = (x −
µ)/ 2σ together with the following results (without proof):
Z +∞
2 √
e−x dx = π
−∞
Z +∞
2
xe−cx dx = 0
−∞
where c is a constant.
Question 11.7 (12 points) An amount $1,000 earns interest at 5% per year.
Answer the following questions.
1. What will this amount have grown to after ten years when interest is com-
pounded monthly?
1000(1 + 0.05/12)120 ≈ 1647
2. What will this amount have grown to after ten years when interest is com-
pounded continuously?
3. What will this amount have grown to after 50 years when interest is com-
pounded monthly?
1000(1 + 0.05/12)600 ≈ 12119
4. What will this amount have grown to after 50 years when interest is com-
pounded continuously?
Question 11.8 (12 points) Consider a tree that is planted at time t = 0, and
let P (t) be its current market value at time t, where P (t) = (t + 5)2 for all t ≥ 0.
Assume that the interest rate is 5% per year, and assume continuous compounding.
Answer the following questions.
1. Let f (t) denote the present value of the tree at time t. What is f (t)?
2. At what time t∗ should this tree be cut down in order to maximize its present
value?
80
0
We compute f (t):
0
f (t) = 2(t + 5)e−0.05t − 0.05(t + 5)2 e−0.05t
> 0 if t ∈ [0, 35)
= 0.05(t + 5)(35 − t)e−0.05t = 0 if t = 35
< 0 if t > 35
Therefore, t∗ = 35.
Question 11.9 (15 points) Examine the convergence of the following geometric
series, and find their sums when they exist:
1.
1 1 1
+ 2 + 3 + ···
p p p
The generic k-th term of the sequence is denoted ak = (1/p)k . When |p| > 1,
we have
lim ak = 0.
k→∞
2.
√ 1
x+ x + 1 + √ + ···
x
The generic k-th term of the sequence is denoted
k−1
1
ak = x √ .
x
√
When x > 1, i.e., x > 1, we obtain limk→∞ ak = 0. When x > 1, we also
obtain ∞ √
X x x x
ak = =√ .
k=1
1 − √1x x−1
81
3. ∞
X
x2n
n=1
First, we observe
∞
X
x2n = x2 + x4 + x6 + x8 + · · ·
n=1
The generic k-th term of the sequence is denoted ak = x2 (x2 )k−1 . When
x2 < 1, i.e., −1 < x < 1, we obtain
∞
X x2
ak = .
k=1
1 − x2
1. Find the solution candidate for this problem using the Lagrangian method.
L(x, y, z, λ1 , λ2 ) = xy + yz + zx − λ1 (x + y + 2z − 3) − λ2 (x + 3y − 1).
(4) x + y + 2z = 3,
(5) x + 3y = 1.
82
From (5), we have
0
(5 ) x = 1 − 3y.
From (3), we have
0 x+y
(3 ) λ1 = .
2
0
Plugging (5 ) into (∗), we have
1 − 4y
λ2 = . (∗∗)
2
0 0
Plugging (5 ) into (3 ), we obtain
00 1 − 2y
(3 ) λ1 = .
2
0
Plugging (5 ) into (4), we obtain
0
(4 ) z = 1 + y.
0 00 0
Finally, plugging (5 ), (∗∗), (3 ), and (4 ) into (1), we have
1 − 2y 1 − 4y
y + (1 + y) − − = 0 ⇒ y = 0.
2 2
0 00 0
Plugging y = 0 into (5 ), (∗∗), (3 ), and (4 ), respectively, we have (x, y, z, λ1 , λ2 ) =
(1, 0, 1, 1/2, 1/2). This is the unique solution candidate we obtained via the
Lagrangian method.
2. Check whether or not the solution candidate you identified in the previous
part of the question is indeed a solution to the constrained optimization
problem. Justify your answer.
0 0
Plugging (5 ) and (4 ) into the objective function, we obtain
x = 1 − 3y = 1
z = 1 + y = 1.
83
Question 12.2 Consider the following optimization (both maximization and min-
imization) problem with an equality constraint:
(3) 4x2 + 2y 2 = 4.
This case is invalid because (3) does not hold at (0, 0).
Case 2: x = 0 and y 6= 0
From (2), we have λ = 1/2. Plugging λ = 1/2 into (1), we must have x = 0.
So, this is consistent with our assumption. Plugging x = 0 into (3), we have
√
2y 2 = 4 ⇒ y 2 = 2 ⇒ y = ± 2.
√ √
Hence, we have two solution candidates: (x, y, λ) = (0, 2, 1/2), (0, − 2, 1/2).
Case 3: x 6= 0 and y = 0
From (1), we have λ = 1/4. Plugging λ = 1/4 into (2), we must have y = 0.
So, this is consistent with our assumption. Plugging y = 0 into (3), we obtain
4x2 = 4 ⇒ x = ±1.
Hence, we have two solution candidates: (x, y, λ) = (1, 0, 1/4), (−1, 0, 1/4).
Case 4: x 6= 0 and y 6= 0
84
2. Find all local maximum points and local minimum points for this constrained
optimization problem.
Hence,
√
0 0 4 2
√ √
0 −2
= 4 2(−1) √
1+3
|B̄(0, 2, 1/2)| = √0 −2 0 4 2 0 = 64 > 0.
4 2 0 0
√
Thus, (x, y) = (0, 2) is a local maximum point.
√
Case 2: (x, y, λ) = (0, − 2, 1/2)
85
Hence,
√
√
0 0 −4 2 √
0
√ −2
|B̄(0, − 2, 1/2)| = 0√ −2 0 = −4 2(−1)1+3 = 64 > 0.
−4 2 0 −4 2 0
0
√
Thus, (x, y) = (0, 2) is a local maximum point.
Hence,
0 8 0
= 8(−1) 8 0
1+2
|B̄(1, 0, 1/4)| = 8 0 0 0 1
= −64 < 0.
0 0 1
Hence,
0 −8 0
−8 0
|B̄(−1, 0, 1/4)| = −8 0 0 = (−8) · (−1)1+2 = −64 < 0.
0 0 1
0 1
3. Find the global maximum point(s) and global minimum point(s) for this
constrained optimization problem.
Case I: λ = 1/2
86
We define the Hessian matrix associated with the Lagrangian:
00 00
h11 h12 L11 (x, y, 1/2) L12 (x, y, 1/2)
H(x, y, λ = 1/2) = = 00 00
h21 h22 L21 (x, y, 1/2) L22 (x, y, 1/2)
−2 0
= .
0 0
Since h11 = −2 ≤ 0, h22 = 0 ≤ 0, and |H(x, y, 1/2)| = 0 for all √ (x, y),
H(x,√y, 1/2) is negative semidefinite for all (x, y). Therefore, (0, 2) and
(0, − 2) are the global maximum points.
Since h11 = 0 ≥ 0, h22 = 1 ≤ 0, and |H(x, y, 1/4)| = 0 for all (x, y),
H(x, y, 1/2) is positive semidefinite for all (x, y). Therefore, (1, 0) and (−1, 0)
are the global minimum points.
1. Solve this constrained maximization problem for all values of the constant a.
87
We investigate the K-T conditions by considering the following four cases.
1 + λ3 = 0 ⇒ λ3 = −1,
which contradicts the hypothesis that λ3 > 0. So, this case is invalid.
a + λ2 = 0 ⇒ λ2 = −a.
Since we assume that λ2 > 0, we must have a < 0. Thus, for any a < 0, we
have √ √
(x, y, λ1 , λ2 , λ3 ) = (0, 6/3, 6/12, −a, 0)
as the solution candidate.
Case 3: λ2 = 0 and λ3 > 0
1 + λ3 = 0 ⇒ λ3 = −1,
which contradicts the hypothesis that λ3 > 0. So, this case is invalid.
Case 4: λ2 = 0 and λ3 = 0
88
Plugging λ2 = 0 into (1), we have
a
a − 2λ1 x = 0 ⇒ λ1 x = .
2
Since λ1 > 0 and x ≥ 0 from (4), we must have a ≥ 0. We consider the
following subcases:
Case 4-1: a = 0
Since we know that λ1 > 0, we must have x = 0. Then, taking√ into account
x = 0 and y > 0, we know that x2 +3y 2 = 2 implies y = 6/3. Plugging
that √
y = 6/3 into λ1 y = 1/6, we have
√ √
6 1 6
λ1 = ⇒ λ1 = .
3 6 12
Hence, for a = 0, we have
√ √
(x, y, λ1 , λ2 , λ3 ) = (0, 6/3, 6/12, 0, 0)
89
So, for any a > 0, we have
p !
6a 2 6(3a2 + 1)
(x, y, λ1 , λ2 , λ3 ) = p ,p , , 0, 0
6(3a2 + 1) 6(3a2 + 1) 12
Case A: a ≥ 0
where p
6(3a2 + 1)
λ∗1 = .
12
We compute the following:
00
Lxx = −2λ∗1
00
Lyy = −6λ∗1
00 00
Lxy = Lyx = 0.
Case B: a < 0
90
We recall the Lagrangian:
L(x, y, λ∗∗ ∗∗ 2 2
1 , 0, 0) = ax + y − λ1 (x + 3y − 2),
where
λ∗∗
1 = −a.
Thus, for any value of a, the associated Hessian matrix is negative definite
for all (x, y). Hence, the solution candidate we found is a solution to the
constrained optimization problem.
2. Let (x∗ (a), y ∗ (a)) be the solution to the constrained maximization problem
for each value of a. Then, obtain the expression for f ∗ (a) = f (x∗ (a), y ∗ (a)).
91
Question 12.4 Compute the following:
1. Z 2
(x − 1)4 (2 − x)dx
1
We set
f (x) = 2 − x,
1
g(x) = (x − 1)5 .
5
Then, by integration by parts,
Z 2 Z 2 Z 2
4 0 2 0
(x − 1) (2 − x)dx = f (x)g (x)dx = [f (x)g(x)]1 − f (x)g(x)dx
1 1 1
2 Z 2
1 1
= (x − 1)5 (2 − x) − (−1) (x − 1)5 dx
5 1 1 5
1 2 1
(x − 1)6 1 = .
=
30 30
2.
1 √
Z
1 − xdx
0
1
1 √ 1
Z Z
1/2 2 3/2 2
1 − xdx = (1 − x) dx = − (1 − x) = .
0 0 3 0 3
3. Z 1
(3x + 1)5/2 dx
0
Set
u = 3x + 1.
Then, we have du/dx = 3; x = 0 corresponds to u = 1; and x = 1 corresponds
to u = 4. By integration by substitution, we have
Z 1 4
1 4 5/2
Z
5/2 1 2 7/2
(3x + 1) dx = u du = u
0 3 1 3 7 1
2 7/2 2 7 2
= (4 − 1) = (2 − 1) = (128 − 1)
21 21 21
254
= .
21
92
4. Z 1
x2 ex dx
0
Set
f (x) = x2
g(x) = ex .
Set
h(x) = x,
k(x) = ex .
Thus, Z 1
x2 ex dx = e − 2.
0
5. Z 3
x2 ln xdx
1
Set
f (x) = ln x
x3
g(x) = .
3
93
Then, by integration by parts, we have
Z 3 Z 3 Z 3
2 0 3 0
x ln xdx = f (x)g (x)dx = [f (x)g(x)]1 − f (x)g(x)dx
1 1 1
3 3 Z 3
x 1
= ln x − x2 dx
3 1 3 1
1 3 3 1
= 9 ln 3 − x 1 = 9 ln 3 − (33 − 1)
9 9
26
= 9 ln 3 − .
9
Question 12.5 Consider a tree that is planted at time t = 0, and let P (t) be its
current market value at time t, where P (t) is twice-continuously differentiable such
that P (t) > 0 for all t ≥ 0. Assume that the interest rate is 100r% per year, and
assume continuous compounding. Answer the following questions.
1. Let f (t) be the present discounted value of the tree at time t. Find the
expression for f (t).
f (t) = P (t)e−rt .
2. Find the condition under which f (·) is concave. In the rest of the question,
we assume that f (·) is concave.
0
We first compute f (t):
0 0 0
f (t) = P (t)e−rt − rP (t)e−rt = e−rt (P (t) − rP (t)).
00
We next compute f (t):
00 0 00 0
f (t) = −re−rt (P (t) − rP (t)) + e−rt (P (t) − rP (t)
h 0 00 0
i
= e−rt −rP (t) + r2 P (t) + P (t) − rP (t)
h 00 0
i
−rt 2
= e P (t) − 2rP (t) + r P (t) .
00
Since f (·) is concave if and only if f (t) ≤ 0 for any t ≥ 0, the condition for
the concavity of f (·) is reduced to
00 0
P (t) − 2rP (t) + r2 P (t) ≤ 0
for any t ≥ 0.
94
3. At what time t∗ should this tree be cut down in order to maximize its present
discounted value? You can assume that t∗ > 0.
95