Calculus Midterm Exam II
December 14, 2005 You must show all your work to obtain any credits.1. (10 points) On the curve x = sin2y, evaluate dy/dx and d2y/dx2at the point¡1 2,π/4¢
.
Solution: Differentiating twice both sides with respect to x, we get 1 = 2 sin y cos ydy
dx, and 0 = 2 sin y cos yd2y
dx2+ 2(cos2y − sin2y)(dy
dx)2. Evaluating at¡1 2,π/4¢
, we get dy
dx= 1, and d2y dx2 = 0.
2. Let f (x) =
x sin(1
x), x 6= 0
0, x = 0.
(a) (5 points) Show that f is continuous at 0.
Solution: Since 0 ≤ |x sin(1
x)| ≤ |x|, and limx→0|x| = 0, we have limx→0f (x) = 0 = f (0), and f is continuous at 0.
(b) (5 points) Show that f is not differentiable at 0.
Solution: Since limx→0 f (x) − f (0)
x − 0 = limx→0sin(1
x), and limn→∞sin( 1
1/nπ) = 0 while limn→∞sin( 1
1/(π/2 + 2nπ)) = 1, limx→0sin(
1
x) does not exist. Therefore, f is not differen- tiable at 0.
3. (10 points) Use the Mean Value Theorem to show that sin x ≤ x for any x > 0.
Solution: Mean Value Theorem implies that sin x − sin 0 = cos c(x − 0) where c is a number satis- fying 0 < c < x. Therefore, we have sin x = x cos c ≤ |x|| cos c| ≤ |x| = x.
4. (10 points) Let f (x) = 1
2cos x for x ∈ [0,π/2]. Use the Intermediate Value Theorem to show that there exists a c ∈ (0,π/2) such that f (c) = c. [Such number c is called a fixed point of f .]
Solution: Consider the function g(x) = f (x) − x. Since g(0) = 1
2 > 0, and g(π/2) = −π/2 < 0, the Intermediate Value Theorem implies that there is a number c ∈ (0,π/2) such that g(c) = 0, i.e.
f (c) = c.
5. (5 points) Is it true that d dx
hZ x
a
f (t)dt i
= Z x
a
d
dt[ f (t)]dt? Explain your answer.
Calculus Midterm Exam II
December 14, 2005Solution: Since d dx
hZ x
a
f (t)dt i
= f (x), while Z x
a
d
dt[ f (t)]dt = f (x) − f (a), and f (a) may not be zero, d
dx hZ x
a
f (t)dt i
, in general, is not equal to Z x
a
d
dt[ f (t)]dt.
6. (a) (5 points) Find d dx
£Z x2+1
cos x
f (t)dt¤
Solution: d dx
£Z x2+1
cos x
f (t)dt¤
= 2x f (x2+ 1) + sin x f (cos x).
(b) (5 points) Let f be a continuous function and set F(x) =R0xx f (t)dt. Find F0(x).
Solution: F0(x) = x f (x) +R0xf (t)dt.
7. Assume that f and g are continuous, that a < b, and thatRabf (x)dx >Rabg(x)dx.
(a) (5 points) Show that Lg(P) < Uf(P) for all partitions P of [a, b].
Solution: Since Uf(P) >Rabf (x)dx >Rabg(x)dx > Lg(P) for all partitions P of [a, b], we have Uf(P) > Lg(P).
(b) (5 points) Is it true that Lg(P) < Lf(P) for all partitions P of [a, b]? Explain your answer.
[Hint: Consider f (x) = x for x ∈ [−1, 2], g(x) = 0 for x ∈ [−1, 2], and note that Z 2
−1f (x)dx >
Z 2
−1g(x)dx. ]
Solution: Choose P = {−1, 2}, then Lf(P) = (−1) · 3 = −3 and Lg(P) = 0. Therefore, in general, the claim is not true.
(c) (5 points) Is it true that Ug(P) < Uf(P) for all partitions P of [a, b]? Explain your answer.
[Hint: Consider f (x) = (
2x, if x ∈ [0, 1]
2, if x ∈ [1, 3/2], g(x) =
4, if x ∈ [0, 1/4]
−16x + 8, if x ∈ [1/4, 1/2]
0, if x ∈ [1/2, 3/2]
,
and note thatR03/2f (x)dx >R03/2g(x)dx. ]
Solution: Choose P = {0, 3/2}, then Uf(P) = (2) · 3/2 = 3 and Ug(P) = 4 · 3/2 = 6. There- fore, in general, the claim is not true.
8. (10 points) Calculate the indefinite integral Z
(x − 1)20x2dx.
Page 2
Calculus Midterm Exam II
December 14, 2005Solution: Setting u = x − 1, we get x = u + 1, and dx = du. Thus Z
(x − 1)20x2dx = Z
u20(u + 1)2du =
Z ¡
u22+ 2u21+ u20¢
du = u23/23 + u22/11 + u21/21 +C = (x − 1)23/23 + (x − 1)22/11 + (x − 1)21/21 +C
9. (10 points) Determine the centroid of the region bounded between the curves y = x2, y = 0, x = 1, x = 2.
Solution: The centroid ( ¯x, ¯y) can be found by ¯x = R2
1x · x2dx R2
1x2dx and ¯y = R2
1
x2 2 · x2dx R2
1x2dx . Therefore, ( ¯x, ¯y) = (45/28, 93/70)
10. (10 points) The region between the graph of y = sin x and the x−axis, 0 ≤ x ≤π, is revolved about the line y = 1. Find the volume of the solid that is generated.
Solution: The volume V =R0ππ£1 − (1 − sin x)2¤
dx =π2−π¡x + 2 cos x +x
2−sin 2x 4
¢|π0 = 4π− π2/2.
Page 3