Solutions For Calculus Midterm
1. (a)
f (x) = x 3x
f (x) = 3x(x)0− x(3x)0
(3x)2 = 3x− x3xln 3
32x = 1− x ln 3 3x (b)
f0(x) = 2(ln x)(ln x)0 = 2 ln x x (c)
f0(x) = ln(3x4 + 5)(ex2)0− ex2[ln(3x4+ 5)]0
[ln(3x4+ 5)]2 = 2xex2ln(3x4+ 5)− 12x3x43+5ex2 [ln(3x4+ 5)]2 2. (a) Applying L’Hospital’s rule twice we have,
xlim→∞
(ln x)2
x2 = lim
x→∞
2·x1ln x
2x = lim
x→∞
ln x
x2 = lim
x→∞
1 x
2x = 0 (b) If ex2sin(1
x) converges as x→ 0, then any subsequences of ex2sin(1
x) will converge to the limit as x→ 0. In other words, if there are two subsequences of ex2sin(1
x) converge to different limits as x → 0, then it concludes that the limit of ex2sin(1
x) does not exist. Consider two subsequences {e(nπ1 )2sin(nπ)} and {e(π2+2nπ1 )2sin(π
2 + 2nπ)}, then we have that the limit of ex2sin(1
x) does not exist since {e(nπ1 )2sin(nπ)} converges to 0 while {e(π2+2nπ1 )2sin(π
2 + 2nπ)} converges to 1.
x π1 2π1 3π1 4π1 → 0
1
x π 2π 3π 4π ...
sin(1x) 0 0 0 0 ...
e2sin(1x) 0 0 0 0 ...
x π2 5π2 9π2 13π2 → 0
1 x
π 2
5π 2
9π 2
13π
2 ...
sin(1x) 1 1 1 1 ...
e2sin(1x) e(π2)2 e(5π2 )2 e(9π2 )2 e(13π2 )2 → 1 (c) Applying L’Hospital’s rule we have,
xlim→∞x(e1x − 1) = lim
x→∞
e1x − 1
1 x
= lim
x→∞
−x12e1x
−x12 = lim
x→∞e1x = 1
3. (a) Let
y = √
5− x2 y2 = 5− x2 x2 = 5− y2
x = √
5− y2
∴ f−1(y) = √
5− y2, 5− y2 ≥ 0 (b)
d
dyf−1(y) = 1
2(5− y2)−1/2(5− y2)0 = −2y 2√
5− y2 = √−y 5− y2 (c)
f0(x) = 1
2(5− x2)−1/2(5− x2)0 = √−x 5− x2 d
dxf−1(y) = 1
−(f−1(y))
√5−(f−1(y))2
= −1
−√
5−y2 q
5−(√
5−y2)2
= √−y 5− y2
4. (a) We differentiate both sides of the equation ax2+ by2 = 1 with respect to x.
We need to remember that y is a function of x.
d
dx(ax2+ by2) = d dx(1) d
dx(ax2) + d
dx(by2) = d
dx(1) (the derivative of a sum is the sum of the derivatives) 2ax + 2bydy
dx = 0 (the power rule and the chain rule ) We find that dy
dx =−2ax
2by =−ax by
Differentiateing both sides of this equation with respect to x, we have d
dx[dy
dx] = d dx[−ax
by] d2y
dx2 = −aby + abxdydx (by)2 Substituting −axby for dydx, we obtain
d2y
dx2 = −aby + abx(−axby)
(by)2 = −aby −a2yx2
(by)2 = −aby2− a2x2
b2y3 = −a(by2+ ax2)
b2y3 =− a b2y3 since ax2 + by2 = 1
(b) We have the largest curvature when y = 0. That is, (x, y) = (±a, 0)
5. (a) If f is continuous on the closed interval [a, b] and differentiable on the open interval (a, b), then there exists at least one number c ∈ (a, b) such that f (b)b−f(a)−a = f0(c).
a c c b
)) ( , (a f a
)) ( , (b f b
(b) f is continuous on [−π, π] since sin x and −x are both continuous on [−π, π].
f is differentiable on (−π, π) since sin x and −x are both differentiable on (−π, π).
Then there exists at least one number c ∈ (a, b) such that f0(c) = f (−π)−f(π)π−(−π) = (π−π)−π−(−π) =
−1, thanks to the M.V.T.
Solving f0(c) = cos c− 1 = −1 for c ∈ (−π, π), we find c = ±π/2.
6. (a)
f (x) =
{ x2− 9, if −4 ≤ x ≤ −3 or 3 ≤ x ≤ 5;
9− x2, if −3 < x < 3.
f0(x) =
{ 2x, if −4 ≤ x ≤ −3 or 3 ≤ x ≤ 5;
−2x, if −3 < x < 3.
f00(x) =
{ 2, if −4 ≤ x ≤ −3 or 3 ≤ x ≤ 5;
−2, if −3 < x < 3.
i. f is increasing on [−3, 0] ∪ [3, 5]; f is decreasing on [−4, −3] ∪ [0, 3];
f is concave up on [−4, −3] ∪ [3, 5]; f is concave down on [−3, 3];
ii. We find that f0(0) = 0 and f00(0) =−2 < 0.
Hence, f (x) has a local maximum at x = 0, namely (0, 9).
iii. As the second derivative is not equal to zero for any x, we do not have any inflection points. And f (x) does not have any asymptotes.
iv.
−4 −3 −2 −1 0 1 2 3 4 5
0 2 4 6 8 10 12 14 16
(b)
f0(x) = −xe−x22 , x∈ R
f00(x) = (−1)e−x22 + (−x)(−x)e−x22
= e−x22 (x2− 1), x ∈ R
i. f is increasing on (−∞, 0); f is decreasing on (0, +∞); f is concave up on (−∞, −1)∪
(1, +∞); f is concave down on (−1, 1); f0(x) = 0 for x = 0, and f00(x) = 0 for x =±1.
ii. We find that f0(0) = 0 and f00(0) < 0.
Hence, f (x) has a local maximum at x = 0, namely (0, 1).
iii. f00(x) = 0 for x = ±1. There are two inflection points, one at x = −1, namely (−1, e−1/2), and the other at x = 1, namely (1, e−1/2). Moreover, limx→−∞f (x) = 0 and limx→+∞f (x) = 0. This shows that y = 0 is a horizontal asymptote.
iv.
-4 -3 -2 -1 0 1 2 3 4
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
7. By the definition of g(x), g(x) is continuous for x 6= 2, limx→2−g(x) = |4c| + 1, and limx→2+g(x) = 4− 2c. Therefore,
g is continuous at x = 2
⇔ lim
x→2−g(x) = lim
x→2+g(x) = g(2)
⇔ |4c| + 1 = 4 − 2c
⇔ c = 1/2, −3/2
8. (a) The slop of the straight line connected by two points (0,1/4) and (90,1) is 1− 1/4
90− 0 = 1 120 The difference equation will be
Nt
Nt+1 − 1/4 = 1
120(Nt− 0) Nt
Nt+1 = Nt+ 30 120
Solve
N = 120N
N + 30 N2− 90N = 0 N (N − 90) = 0
N = 0, 90
Then we find all fixed point 0, 90. To determine stability of an equilibrium, will return to the equilibrium. we will start at a value that is different from the equilibrium and check whether the solution The figure following shows that the fixed point 90 is attractive. Moreover, the trivial fixed point 0 is unstable.
Nt 30 60 80 87.28 89.3 89.82 89.95 Nt+1 60 80 87.28 89.3 89.82 89.95 89.99
0 10 20 30 40 50 60 70 80 90
0 10 20 30 40 50 60 70 80 90
Nt Nt+1