



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Math 132 Midterm Examination 2 Solutions – March 26, 2012
6 multiple choice, 4 long answer. 100 points.
Part I was multiple choice. Only the correct answers are listed here.
(f) 3/
(e) 2/
(g) (^1713 , 1913 )
∫ (^) e 1
x dx with n = 20 will be closest to:
(k) 1 (Since (^) x^1 ≤ 1 on [1, e], and then the error bound of 1 ·(e−1) 5 204 is quite small.)
(d) 2 /π
(f) ln 3/ 45.
Part II was long answer.
(a) (8 points) Solve the differential equation y′^ = x+xy subject to the initial condition y(0) = 5.
Separating the equation, we have y′ 1 + y = x
hence ∫ (^1) 1 + y
dy =
∫ x dx
ln ||1 + y| = x^2 2
1 + y = Aex (^2) / 2
y = Aex (^2) / 2 − 1. The initial condition y(0) = 5 = Ae^0 − 1 gives that A = 6, so
y = 6ex (^2) / 2 − 1.
(b) (8 points) At time t = 0, there is 1000 liters of water in a tank, with 80 kg of salt dissolved in it. Distilled water flows into the tank at 10 L/min, and water flows out of the tank at the same rate. The tank is continually stirred, and the salt is kept mixed evenly through the tank. Set up a differential equation (you needn’t solve it) for the mass of salt in the tank at time t. (Your answer should be of the form y′^ = .)
Inflow of salt = 0, outflow of salt = (amount of salt in tank/1000) · 10 , so if y = amount of salt in tank, then
y′^ = − y · 10 1000
The initial condition is y(0) = 80.
Finding the bound: Using the error bound for Simpson’s rule, and letting M be as found in Approach 1 or Approach 2, we want M · (4 − (−1))^5 180 n^4
so that n ≥ 4
√ 103 · M · 55 180
Writing that you take n to be the least even integer greater than this value (plugging in M to be 195, or 3, or whatever bound you found) gets full credit. Finding an integer value for n (optional): We can factor and round up to find an n that “works”. We showed that it suffices to take
n ≥ 4
√ 103 · M · 55 180
√ 23 · 58 · M 22 · 32 · 5
√ 2 · 57 · M 32
If we followed approach 1, then it is convenient to notice that 195 ≤ 200 (as 200 has a very nice factorization).
4
√ 2 · 57 · M 32
√ 2 · 57 · 195 32
√ 2 · 57 · 200 32
√ 24 · 510 32
and we see that n = 50 suffices. (Similarly for approach 2.)
(a) (6 points) Find an upper bound for
∣∣ ∣ 2 e−(x+1)^2 + 12 sin(x + 1)^2
∣∣ ∣ on the interval [− 3 , 3].
Using the triangle inequality, ∣∣ ∣ 2 e−(x+1) 2
∣∣ ∣ ≤
∣∣ ∣ 2 e−(x+1) 2 ∣∣ ∣ +
∣∣ ∣12 sin(x + 1)^2
∣∣ ∣ = 2 |e−(x+1) 2 | + 12| sin(x + 1)^2 | ≤ 2 · 1 + 12 · 1 = 14.
(b) (7 points) Evaluate
∫ x^2 cos x dx.
We apply integration by parts 2 times. First, take u 1 = x^2 and dv 1 = cos x dx, so that du 1 = 2x dx and v 1 = sin x. We get ∫ x^2 · cos x dx = x^2 · sin x −
∫ 2 x · sin x dx.
Then take u 2 = 2x and dv 2 = sin x dx, so that du 2 = 2 dx and v 2 = − cos x. We get the integral to be
= x^2 sin x + 2x cos x −
∫ 2 cos x dx = x^2 sin x + 2x cos x − 2 sin x + C.
(c) (6 points) Evaluate
∫ (^1) 0
x 1 + x^2 dx.
We substitute u = 1 + x^2 , so that du = 2x dx, and the integral becomes ∫ (^1) 0
x 1 + x^2 dx =
∫ (^2) 1
u
du 2
[ ln |u| 2
] 2
1
ln 2 2
(d) (6 points) Evaluate
∫ (^1) − 1 x tan−^1 x dx.
We apply integration by parts with u = tan−^1 x and dv = x dx, so that du = 1 1+x^2 dx^ and^ v^ =^
x^2
[ tan−^1 x · x^2 2
] 1
− 1
∫ (^1) − 1
x^2 2
1 + x^2 dx.
We notice that 12 x 2 1+x^2 =^
1 2
( 1 − (^) 1+^1 x 2
) , hence the integral is
[ tan−^1 x · x^2 2
] 1
− 1
∫ (^1) − 1
1 + x^2 − 1 dx =
[ tan−^1 x · x^2 2
tan−^1 x − x 2
] 1
( (^) π 4
π 4
) −
(( − π 4
) ·
π 4
π 2
(a) (11 points) Find the volume of the solid formed by rotating the given region around the y-axis.
Solution 1: (easier) We use cylindrical shells:
V = 2π ·
∫ (^2) 0 x · ex^ dx = 2π [xex]^20 − 2 π
∫ (^2) 0 ex^ = 2π [xex^ − ex]^20 = 2π(e^2 + 1).
Solution 2: (harder, sketched only) We use discs. The shape is between x = ln y and x = 2 for 1 ≤ y ≤ e^2 , and between x = 0 and x = 2 for 0 ≤ y ≤ 1. Thus, we get V = π
∫ (^1) 0
22 dy + π
∫ (^) e 2 1
(ln y)^2 dy.
The integral of (ln y)^2 may be computed by two applications of integration by parts.