Answer Key To HW Up To #4 Math For Econ Fall2024
Answer Key To HW Up To #4 Math For Econ Fall2024
You are supposed to upload your work (in pdf file) under “Assignments”
on our class website (on eLearn) by 17:00 on the date specified below. You
only need to submit your answer to the odd numbered questions. For example,
in HW#1, we have Questions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, and 1.7. You are
only required to answer Questions 1.1, 1.3, 1.5, and 1.7. Of course, you are
strongly encouraged to answer “all” of the questions (including even-numbered
questions), as they are the good proxies for the types of questions you will have
in the midterm and final exams.
2. (x = 2 and y = 5) ⇒ x + y = 7.
3. (x − 1)(x − 2)(x − 3) = 0 ⇒ x = 1.
1
4. x2 + y 2 = 0 ⇒ x = 0 or y = 0.
5. (x = 0 and y = 0) ⇒ x2 + y 2 = 0.
6. xy = xz ⇒ y = z.
Question 1.2 Determine which of the following formulas are true. If any
formula is false, find a counter-example to demonstrate this.
1. A ⊆ B ⇔ A ∪ B = B.
It is true.
2. A ⊆ B ⇔ A ∩ B = A.
It is true.
3. A ∩ B = A ∩ C ⇒ B = C.
4. A ∪ B = A ∪ C ⇒ B = C.
5. A = B ⇔ (x ∈ A ⇔ x ∈ B).
Question 1.3 (25 points) Let f (x) = x/(1+x2 ). Answer the following ques-
tions.
2
√ √
1. Compute f (−1/10), f (0), f (1/ 2), f ( π), and f (2).
−1/10 10
f (−1/10) = =−
1 + 1/100 101
f (0) = 0
√ √
√ 1/ 2 2
f (1/ 2) = =
1 + 1/2 3
√
√ π
f ( π) =
1+π
2 2
f (2) = 2
= .
1+2 5
2. Show that f (−x) = −f (x) for all x and that f (1/x) = f (x) for x ̸= 0.
−x x
f (−x) = 2
=− = −f (x)
1 + (−x) 1 + x2
1/x x
f (1/x) = 2
= 2 = f (x).
1 + 1/x x +1
f (x + h) − f (x)
= 6x + 2 + 3h,
h
′
and use this result to find f (x).
′ f (x + h) − f (x)
f (x) = lim = 6x + 2.
h→0 h
′ ′ ′
2. Find the value of f (0), f (−2), and f (3).
′
f (0) = 2
′
f (−2) = −10
′
f (3) = 20.
3
Question 1.5 (20 points) A firm’s profit function is π(q) = 24q − q 2 − 5,
where q denotes the quantity of the good supplied. Find the marginal profit,
′
i.e., π (q), and the value of q which maximizes profits.
′
π (q) = 24 − 2q.
Therefore, we have
> 0 if 0 < q < 12
′
π (q) = 0 if q = 12
< 0 if q > 12.
This implies that π(q) is increasing over [0, 12) and decreasing over (12, ∞).
Thus, the profit is maximized at q = 12.
1. x6 .
′
(x6 ) = 6x5 .
2. 3x11 .
′
(3x11 ) = 33x10 .
3. x50 .
′
(x50 ) = 50x49 .
4. −4x−7 .
′
(−4x−7 ) = 28x−8 .
x12
5. 12
.
′
x12
= x11 .
12
−2
6. x2
.
′
−2 ′
= (−2x−2 ) = 4x−3 .
x2
3
7. 3 x.
√
′
3 ′
√ = (3x−1/3 ) = −x−4/3 .
3
x
−2
8. √ .
x x
′
−2 ′
√ = (−2x−3/2 ) = 3x−5/2 .
x x
4
Question 1.7 (25 points) Differentiate the following functions.
√
1. f (x) = 8x4 + 2 x.
′
f (x) = 32x3 + x−1/2 .
√
2. f (x) = x−1 (x2 + 1) x.
′ √ √ 1
f (x) = −x−2 (x2 + 1) x + x−1 (2x) x + x−1 (x2 + 1) x−1/2
2
1 3 1
= x−3/2 −x2 − 1 + 2x2 + (x2 + 1) = x1/2 − x−3/2 .
2 2 2
3. f (x) = √1 .
x3
′ ′ 3
f (x) = (x−3/2 ) = − x−5/2 .
2
√
x−2
4. f (x) = √
x+1
.
1 −1/2 1/2
′
2
x (x + 1) − (x1/2 − 2) 12 x−1/2 3
f (x) = √ 2
= √ √ .
( x + 1) 2 x( x + 1)2
x2 +x+1
5. f (x) = x2 −x+1
.
1. y = 5u4 , where u = 1 + x2 .
dy du
dy/dx = · = 20u3 · (2x) = 40x(1 + x2 )3 .
du dx
2. y = u − u6 , where u = 1 + 1/x.
( 5 )
dy du 1 1 1
dy/dx = · = (1 − 6u5 ) · − 2 = − 2 1 − 6 1 +
du dx x x x
5
Question 2.2 Compute the following limits.
1
2. limy→−3 y+8
.
1 1 1
= = = .
(limy→−3 y) + 8 −3 + 8 5
x3 −2x−1
3. limx→0 x5 −x2 −1
.
x3 +3x2 −2x
4. limx→0 x
.
(x+h)3 −x3
5. limh→0 h
, where h ̸= 0.
x3 + 3x2 h + 3xh2 + h3 − x3
= lim = lim (3x2 + 3xh + h2 ) = 3x2 .
h→0 h h→0
Question 2.3 (20 points) Compute the second derivatives of the following:
1. y = x5 − 3x4 + 2
′
y = 5x4 − 12x3
′′
y = 20x3 − 36x2 .
√
2. y = x.
′ 1 −1/2
y = x
2
′′ 1
y = − x−3/2 .
4
6
3. y = (1 + x2 )10 .
′
y = 10(1 + x2 )9 · 2x = 20x(1 + x2 )9
′′
y = 20(1 + x2 )9 + 20x · 9(1 + x2 )8 · 2x = 20(1 + x2 )9 + 360x2 (1 + x2 )8
= 20(1 + x2 )8 (1 + 19x2 ).
√
4. y = 1 + x2 .
′ 1
y = (1 + x2 )−1/2 · 2x = x(1 + x2 )−1/2
2
′′ −1
y = (1 + x2 )−1/2 + x · (1 + x2 )−3/2 · 2x = (1 + x2 )−1/2 − x2 (1 + x2 )−3/2
2
= (1 + x2 )−3/2 (1 + x2 − x2 ) = (1 + x2 )−3/2 .
Question 2.4 Find the first and second derivatives of the following:
1. y = e−3x
′
y = e−3x · (−3) = −3e−3x
′′
y = −3e−3x · (−3) = 9e−3x
3
2. y = 2ex
′ 3 3
y = 2ex · 3x2 = 6x2 ex
′′ 3 3 3
y = 12xex + 6x2 ex · 3x2 = 6xex (3x3 + 2)
3. y = e1/x
−e1/x
′ −1
y = e 1/x
· = −x−2 e1/x
=
x2 x2
′′ −3 1/x −2 1/x −1
y = 2x e − x e · = 2x−3 e1/x + x−4 e1/x
x2
= x−4 (2x + 1)e1/x
2 −3x+1
4. y = 5e2x
′ 2 −3x+1 2 −3x+1
y = 5e2x · (4x − 3) = 5(4x − 3)e2x
′′ 2 −3x+1 2 −3x+1 2 −3x+1
y = 20e2x + 5(4x − 3)e2x · (4x − 3) = 5e2x (4 + (4x − 3)2 )
2 −3x+1
= 5(16x2 − 24x + 13)e2x .
Question 2.5 (20 points) Determine the domains of the following functions:
7
1. y = ln(x + 1)
2. y = ln 3x−1
1−x
3. y = ln |x|
Question 2.6 Find the intervals where the following functions are nondecreas-
ing:
1. y = (ln x)2 − 4
2. y = ln(ex + e−x )
Observe that ex and e−x are always positive for any x ∈ R. We compute
′
y:
x −x −x 2x > 0 if x > 0
′ e −e e (e − 1)
y = x = = 0 if x = 0
e + e−x ex + e−x
< 0 if x < 0
Thus, the desired interval is [0, ∞).
3. y = x − 23 ln(x2 + 2)
8
Since x2 + 2 > 0 for any x ∈ R, the given function is always well-defined.
′
We compute y :
2 > 0 if x > 2 or x < 1
′ 3 2x x + 2 − 3x (x − 1)(x − 2)
y = 1− 2 = = = 0 if x = 2 or x = 1
2x +2 x2 + 2 x2 + 2
< 0 if 1 < x < 2
1. From the three equations above, derive the equation Y = f ((1 − β)Y −
α) + I.
Y = f (Y − (α + βY )) + I = f ((1 − β)Y − α) + I.
Question 2.8 The function f is defined over all x ∈ [−2, 2] by the formula
1 √
f (x) = x3 4 − x2 .
3
Answer the following questions.
9
1. Find the intervals where f non-decreases, and the intervals where f non-
increases.
′ ′
while f (2) and f (−2) are undefined.
2. Sketch the graph of f .
√ √
We note
√ the √ following: f (−2) = f (2) = f (0) = 0 and f ( 3) = 3 and
f (− 3) = − 3.
√
3. Explain why f has an inverse g on [0, 3].
√ √
Since f (·) is strictly increasing over (− 3, √3), it is a one-to-one func-
tion. Thus, f has an inverse function on [0, 3].
′ √ √
4. Find g 31 3 . (Hint: f (1) = 13 3).
√ √
We know that f (·) has an inverse function on [0, 3] and 1 ∈ [0, 3]. So,
by the inverse function theorem, we obtain
√
1√
′ 1 3 3
g 3 = ′ = .
3 f (1) 8
Question 2.9 (20 points) Let f (x) = (1 + x)m , where m is any real number.
Answer the following questions.
10
for any x close to 0. We obtain the desired expression after we acknowl-
′
edge that f (0) = 1 and f (0) = m.
2. Use the formula above, find approximations to the following numbers:
√
3 1 1/3
(a) 1.1 = 1 + 10
(0.98)25 = (1 − 0.02)25 .
Question 2.10 For what value of a is the following function continuous for
all x?
ax − 1 if x ≤ 1
f (x) =
3x2 + 1 if x > 1
11
It is easy to see that f (·) is a continuous function at any point other than
x = 1. This is because we know that ax − 1 and 3x2 + 1 are continuous
functions. If we want to make f (·) continuous at x = 1, we must have the
following condition:
lim− f (x) = lim+ f (x).
x→1 x→1
a − 1 = 4.
1. limx→0+ (x2 + 3x − 4)
x+|x|
2. limx→0− x
12
Question 3.2 Evaluate the following limits. You are required to be clear about
the whole process of how you come to your evaluation for each limit.
1.
x−4
lim
x→∞ x2 + 1
1 4
x−4 1 − 0·1
lim 2 = lim x x
2
= = 0.
x→∞ x + 1 x→∞ 1 + 1/x 1
2. r
2 + 5x
lim
x→−∞ x−1
s
0+5 √
r r
2 + 5x 2/x + 5
lim = lim = = 5.
x→−∞ x−1 x→−∞ 1 − 1/x 1
3.
(ax + b)2
lim ,
x→∞ (a − x)(b − x)
2
(ax + b)2 a2 x2 + 2abx + b2 a2 + 2ab + xb 2 a2 + 0 + 0
lim = lim = lim ab a+bx
= = a2 .
x→∞ (a − x)(b − x) x→∞ ab − (a + b)x + x2 x→∞ 2 − +1 0−0+1
x x
Question 3.3 (20 points) Find the (global) maximum or minimum points
for the following functions.
1.
8
f (x) =
+43x2
f achieves the maximum of f at x = 0.
2.
f (x) = 5(x + 2)4 − 3
Due to the perfect square form of f above, we conclude that x = −2 is
the minimum point of f .
3.
1
f (x) =
1 + x4
for x ∈ [−1, 1]
13
4.
−2
f (x) =
2 + x2
f achieves the minimum at x = 0.
5. √
f (x) = 2 − 1−x
f is well-defined when x ≤ 1. Then, f achieves the maximum at x = 1.
6.
2
f (x) = 100 − e−x
f achieves the minimum at x = 0.
Question 3.4 Find possible extreme (i.e., local maximum or minimum) points
for f (x) = x3 ln x, for x ∈ (0, ∞).
′
First, we compute f (x):
′ 1
f (x) = 3x2 ln x + x3 · = x2 (3 ln x + 1)
x
′′
Since x > 0, the only stationary point is x = e−1/3 . Second, we compute f (x):
1 > 0 if x > e−5/6
′′ 2
f (x) = 2x(3 ln x + 1) + x · 3 = x(6 ln x + 5) = 0 if x = e−5/6
x
< 0 if x < e−5/6 .
Question 3.5 (20 points) Answer the following questions regarding a single
firm’s behavior.
√
1. A firm produces Q = 2 L units of a commodity when L units of labor
are employed. If the price obtained per unit is $160, and the price per
unit of labor is $40, what value of L maximizes profits π(L)?
14
2. A firm produces Q = f (L) units of a commodity when L units of labor are
′ ′′
employed. Assume that f (L) > 0 and f (L) < 0. If the price obtained
per unit is 1 and price per unit of labor is w, what is the first-order
condition for maximizing profits at L = L∗ ?
15
3. Show that the range of f is (−∞, ∞).
lim f (x) = ∞
x→1−
lim f (x) = −∞
x→−1+
1 1+x
y = ln
2 1−x
1+x
⇔ 2y = ln
1−x
1+x
⇔ e2y =
1−x
2y
e −1
⇔ x = 2y .
e +1
Therefore, we obtain
e2y − 1
g(y) = 2y
e +1
as the inverse function of f .
′
6. Find g 12 ln 2 .
Thus,
′ 1 4·2 8
g ln 2 = 2
= .
2 (2 + 1) 9
16
Question 3.7 (20 points) Consider the monopolist who faces the inverse de-
mand function P (Q) = a − Q. Assume that k is the cost of producing one unit
of output and 0 < k < a. Answer the following questions.
1. Find the profit maximizing output Q∗ and the associated monopoly profit
π(Q∗ ).
a−k a−k
dπ(Q∗ )/dk = · (−1) = − < 0 (because a > k)
2 2
3. The government argues that the monopoly produces too little. It wants
to induce the monopolist to produce Q̂ = a − k units by granting a
subsidy s per unit of output. Calculate the subsidy s required to reach
the target.
Omitted.
17
2. Find the maximum and minimum of f (x) over [0, 8].
Question 3.9 (20 points) Consider the function f defined for all x ∈ R by
f (x) = x3 − 12x. Find the stationary points of f , and classify them by using
both the first- and second-order conditions.
′
We first complete f (x):
′
f (x) = 3x2 − 12 = 3(x2 − 4) = 3(x + 2)(x − 2).
′′
So, x = 2, −2 are the stationary points of f . Next, we compute f (x):
′′
f (x) = 6x.
′′
Since f (−2) = −12 < 0, x = −2 is a local maximum point. And since
′′
f (2) = 12, x = 2 is a local minimum point.
18
We claim that f achieves neither maximum nor minimum. Suppose by
way of contradiction that there is the maximum point x∗ ∈ (−1, 1).
Define δ = 1 − x∗ > 0 and x∗∗ = x∗ + δ/2. By construction, x∗∗ ∈
(−1, 1). Then, f (x∗∗ ) = x∗ + δ/2 > x∗ = f (x∗ ). This is a contradiction.
Next, suppose on the contrary that there is the minimum point x∗ ∈
(−1, 1). Define ε = x∗ + 1 and x∗∗ = x∗ − ε/2. By construction, x∗∗ ∈
(−1, 1). Then, we have that f (x∗∗ ) = x∗∗ − ε/2 < x∗ = f (x∗ ). This is a
contradiction. This completes the argument.
19
Therefore, f is convex over (−1, ∞) and there are no inflection points.
3.
f (x) = xex
We compute the following:
′
f (x) = ex + xex = (x + 1)ex
> 0 if x > −2
′′ x x x
f (x) = e + (x + 1)e = (x + 2)e < 0 if x < −2
= 0 if x = −2
20
Therefore,
√ √
> 0 if x ∈ (0, (−1√ + 5)/2)) or x < √ −(1 + 5)/2
′′
f (x) < 0 if x > (−1 + 5)/2, √ x ∈ (−1 − √5)/2, −1), or x ∈ (−1, 0)
= 0 if x = 0, −(1 + 5)/2, or (−1 + 5)/2
√
Hence,
√ x = 0 and (−1 + 5)/2 are inflection points. Note that −(1 +
5)/2 < −1 so that this point is outside of the domain.
4. Check f (x) as x → (−1)+ and sketch the graph on the interval (−1, 2].
Define
1 1
g(x) = −x + x2 − x3 .
2 6
Then,
1 1 5
lim g(x) = 1 + + = .
x→(−1) + 2 6 3
Then, we can define f (x) = ln(x + 1) + g(x). Since limx→(−1)+ ln(x + 1) =
−∞ and −∞ + 5/3 = −∞, we conclude that limx→(−1)+ f (x) = −∞.
Question 4.3 (15 points) Let
0 1 −1 1 −1 5
A= and B = .
2 3 7 0 1 9
Evaluate A + B, A − B, and 5A − 3B.
1 0 4
A+B =
2 4 16
−1 2 −6
A−B =
2 2 −2
0 5 −5 3 −3 15 −3 8 −20
5A − 3B = − =
10 15 35 0 3 27 10 12 8
Question 4.4 Compute the products AB and BA, if possible, when A and B
are given as follows:
1.
0 −2 −1 4
A= and B =
3 1 1 5
−2 −10
AB =
−2 17
12 6
BA =
15 3
21
2.
2 −2
8 3 −2
A= and B = 4 3
1 0 4
1 −5
26 3
AB =
6 −22
14 6 −12
BA = 35 12 4
3 3 −22
3.
3 1
−1 0
A= and B = −1 1
2 4
0 2
AB is not well-defined.
−1 4
BA = 3 4
4 8
4.
0
A = −2 and B = 0 −2 3
4
0 0 0
AB = 0 4 −6
0 −8 12
BA = 16.
is idempotent.
22
2 −2 −4 2 −2 −4 4 + 2 − 4 −4 − 6 + 8 −8 − 8 + 12
−1 3 4 −1 3 4 = −2 − 3 + 4 2 + 9 − 8 4 + 12 − 12
1 −2 −3 1 −2 −3 2 + 2 − 3 −2 − 6 + 6 −4 − 8 + 9
2 −2 −4
= −1 3 4
1 −2 −3
Question 4.6 Consider the general 2 × 2 matrix
a b
A= .
c d
Answer the following questions.
1. Prove that A2 = (a + d)A − (ad − bc)I2 .
2
2 a b a b a + bc ab + bd
A = =
c d c d ac + cd bc + d2
(a + d)a (a + d)b ad − bc 0
(a + d)A − (ad − bc)I2 = −
(a + d)c (a + d)d 0 ad − bc
2
a + bc ab + bd
=
ac + cd bc + d2
From the previous result, one sufficient condition for this is to satisfy
a + d = 0, ad − bc = 0, and A ̸= 0. From a + d = 0, we have d = −a.
Plugging d = −a into ad − bc = 0, we obtain
−a2 − bc = 0.
We can satisfy this equality by setting a = 1, b = 1, and c = −1. So, the
desired matrix is
1 1
.
−1 −1
Question 4.7 (15 points) An n × n matrix P is said to be orthogonal if
P T P = In . Answer the following questions.
√
1. For λ = ±1/ 2, show that the matrix
λ 0 λ
P = λ 0 −λ
0 1 0
23
is orthogonal.
λ λ 0 λ 0 λ
′
P P = 0 0 1 λ 0 −λ
λ −λ 0 0 1 0
2
2λ 0 0
= 0 1 0 .
0 0 2λ2
√
So, what we want is λ2 = 1/2, which is equivalent to λ = ±1/ 2.
Question 4.8 Use Cramer’s rule to solve the following system of equations.
1.
x1 − x2 = 0
x1 + 3x2 + 2x3 = 0
x1 + 2x2 + x3 = 0
24
By Cramer’s rule, we obtain
0 −1 0
0 3 2
0 2 1 0
x1 = = =0
1 −1 0 −2
1 3 2
1 2 1
1 0 0
1 0 2
1 0 1 0
x2 = = =0
1 −1 0 −2
1 3 2
1 2 1
1 −1 0
1 3 0
1 2 0 0
x3 = = = 0.
1 −1 0 −2
1 3 2
1 2 1
2.
x + 3y − 2z = 1
3x − 2y + 5z = 14
2x − 5y + 3z = 1
25
By Cramer’s rule, we obtain
1 3 −2
14 −2 5
1 −5 3 44
x = = =1
1 3 −2 44
3 −2 5
2 −5 3
1 1 −2
3 14 5
2 1 3 88
y = = =2
1 3 −2 44
3 −2 5
2 −5 3
1 3 1
3 −2 14
2 −5 1 132
z = = =3
1 3 −2 44
3 −2 5
2 −5 3
−2 −1 t 0
|At | = 1 · (−1)1+1 − 2 · (−1)2+1 = 2t2 − 2t + 1.
1 t 1 t
26
3. Show that for a certain value of t, one has A3t = I3 .
1 − 2t −t −t
A2t = 2 3 − 2t 2−t
−2 −2 + t −1 + t2
1 t 0 1 − 2t −t −t
A3t = −2 −2 −1 2 3 − 2t 2−t
0 1 t −2 −2 + t −1 + t2
1 2t − 2t2 t − t2
= 4t − 4 5t − 4 −3 + 4t − t2
2 − 2t 3 − 4t + t2 2 − 2t + t2
1.
3 0 1
A = 1 0 −1
2 0 5
Since the second column consists of zeros, |A| = 0.
2.
1 2 3 4
0 −1 2 4
B=
0 0 3 −1
−3 −6 −9 −12
Since (−3, −6, −9, −12) = −3(1, 2, 3, 4), the first row and the fourth
columns are identical in B. This implies that |B| = 0.
3.
a1 − x a2 a3 a4
0 −x 0 0
C= ,
0 1 −x 0
0 0 1 −x
where a1 , a2 , a3 , a4 and x are real numbers.
−x 0 0
1+1 −x 0
|C| = (a1 − x) · (−1) 1 −x 0 = (a1 − x) · (−x) · (−1)1+1
1 −x
0 1 −x
= −(a1 − x)x3 = x4 − a1 x3 .
27
Question 4.11 (15 points) For what values of x is the inner product of
(x, x − 1, 3) and (x, x, 3x) equal to 0?
(x, x − 1, 3) · (x, x, 3x) = x2 + x(x − 1) + 9x = 2x2 + 8x = 2x(x + 4) = 0.
So, x = 0 or x = −4 are the appropriate values.
Question 4.12 Let a = (1, 2, 1) and b = (−3, 0, −2). Answer the following
questions.
(1) x1 − 3x2 = −3
(2) 2x1 = 6
(3) x1 − 2x2 = 1.
28