Docsity

Final Exam Solutions for Math 1B, Summer 2009, Exams of Calculus

Partial preview of the text

Download Final Exam Solutions for Math 1B, Summer 2009 and more Exams Calculus in PDF only on Docsity!

Name:

Final Exam SOLUTIONS

Math 1B, Summer 2009

August 14, 2009

Hartglass

Unless otherwise stated, y = y(x) is a function of the

independent variable x.

Problem Score

Total /

1.) (11 points) Find the general solution to the following differential equation:

y

′

y^2 + y

x x^2 +5x+

We use separation of variables to obtain:

y

1 + y

2

dy =

x

x

2

  • 4x + 5

dx =

∫ (^

x + 4

x + 1

.dx

Integration gives

ln(1 + y

2 ) =

ln |x + 4| −

ln |x + 1| + C.

This implies

1 + y

2 = Ae

8 3 ln^ |x+4|e−^

2 3 ln^ |x+1|^ = A

|x + 4|

8 / 3

|x + 1|^2 /^3

thus

y = ±

A

|x + 4|^8 /^3

|x + 1|^2 /^3

3.) a.) (10 points) Use mathematical induction to prove the following equality for n

a nonnegative integer (i.e. n = 0, 1 , 2 , 3 , ...):

∫ (^) π/ 2

0

cos

2 n (x)dx =

π

1 · 3 · 5 · ... · (2n − 1)

2 · 4 · 6 · ... · 2 n

Note that if n = 0, the expression

1 · 3 · 5 · ... · (2n − 1)

2 · 4 · 6 · ... · 2 n

is understood to be 1 (the

empty product).

The base case is n = 0. Plugging in n = 0 gives

∫ (^) π/ 2

0

dx = π/2 so the base case is

satisfied.

We now assume that the result is true for n = k and prove it for n = k+1. Plugging in

n = k+1 gives I =

∫ (^) π/ 2

0

cos

2 k+ (x)dx =

∫ (^) π/ 2

0

cos

2 k+ (x) cos(x)dx. We use integration

by parts. Set u = cos

2 n+ (x), dv = cos(x)dx so du = −(2n + 1) cos

2 n (x) sin(x)dx and

v = sin(x) This yields:

I = cos

2 k+ (x) sin(x)|

π/ 2 0 + (2k^ + 1)

∫ (^) π/ 2

0

cos

2 k (x) sin

2 (x)dx

= (2k + 1)

∫ (^) π/ 2

0

cos

2 k (x)dx − (2k + 1)

∫ (^) π/ 2

0

cos

2 k+ (x)dx.

This means

(2k+2)I = (2k+1)

∫ (^) π/ 2

0

cos

2 k (x)dx = (2k+1)

∫ (^) π/ 2

0

cos

2 n (x)dx =

π

1 · 3 · 5 · ... · (2k − 1)

2 · 4 · 6 · ... · 2 k

by the inductive hypothesis. Dividing gives

I =

2 k + 1

2 k + 2

∫ (^) π/ 2

0

cos

2 n (x)dx =

π

1 · 3 · 5 · ... · (2k − 1) · (2k + 1)

2 · 4 · 6 · ... · 2 n · (2n + 2)

which is what we set out to show. Therefore the result is true for all n.

b.) (5 points) Use the result of part a.) to find a formula for

0

dx

(x

2

n

for n a

positive integer (i.e. n = 1, 2 , 3 , ...). (You do not need to use induction here).

We do a trig. substitution. Set x = 2 tan(θ). Then dx = 2 sec

2 (θ)dθ and as x → ∞,

θ → π/2. From this, we obtain the integral

∫ (^) π/ 2

0

2 sec

2 (x)dx

(4 + 4 tan

2 (x))n^

dx =

∫ (^) π/ 2

0

2 cos

2 n− 2 (x)

4 n^

dx =

∫ (^) π/ 2

0

2 cos

2(n−1) (x)

4 n^

dx

n

π

1 · 3 · 5 · ... · (2n − 3)

2 · 4 · 6 · ... · (2n − 2)

π

n

1 · 3 · 5 · ... · (2n − 3)

2 · 4 · 6 · ... · (2n − 2)

b.)

∑^ ∞

n=

2 + sin(n) √ n^2 + 3n + 4

Note that

2+sin(n) √ n^2 +3n+

1 √ n^2 +3n+

for all n. The series

∞ ∑

n=

n

2

  • 3n + 4

diverges by

the limit comparison test with

∑^ ∞

n=

n

so by the comparison test, it follows that the

given series diverges.

c.)

∑^ ∞

n=

n n arctan(1/n

5 / 2 )

We know lim n→∞

arctan(1/n

5 / 2 )

(1/n^5 /^2 )

= 1 so it follows that lim n→∞

n arctan(1/n

5 / 2 )

(1/n^3 /^2 )

= 1. There-

fore this series is absolutely convergent by the limit comparison test with

∑^ ∞

n=

n

3 / 2

5.) (15 points, 3 points each) Determine if the following statements about sequences

and series are sometimes true, always true, or never true. If your answer is always

or never you do not need to justify your statement but if your answer is sometimes,

you must provide one example where the statement holds and one example where the

statement does not hold. You do not have to justify that your examples do/do not

work.

a.) If

N ∑

n=

an ≥ −80 for all N and an ≤ 0 for all n then

∞ ∑

n=

an is convergent.

This is always true. It follows from the monotone sequence theorem.

b.) If

∑^ ∞

n=

an convergent with an > 0 for all n, then

∑^ ∞

n=

sin(a

3 / 2 n )

an

is convergent.

This is sometimes true. An example in the affirmative is an =

n^4

and a counterex-

ample is an =

1 n^2

6.) (10 points) Find the interval of convergence and the radius of convergence of the

following power series.

∞ ∑

n=

(3x − 9)

2 n

n

n

We use the ratio test. We see that

∣ ∣ ∣ ∣

an+

an

(3x − 9)

2 n+

12 n+

n + 1

n

n

(3x − 9)

2 n

(3x − 9)

2

n

n

(3x − 9)

2

as n → ∞. This means that we need

(3x − 9)

2

< 1 or −

12 < 3 x − 9 <

  1. This

gives −

12 / 3 < x − 3 <

12 /3 so that R =

12 /3. Plugging in x − 3 = −

results in the series

∞ ∑

n=

2 n

12 n

n

∞ ∑

n=

n

which diverges. Similarly, we obtain the

divergent series

n=

√^1 n

by plugging in x − 3 =

12 /3. This means that the interval

of convergence is (3 −

7.) (12 points, 6 points each) Find the Maclaurin series for the following functions.

Please put your answer in

notation.

a.) f (x) =

∫ (^) x

0

t sin(t

4 )dt

We integrate term by term.

f (x) =

∫ (^) x

0

t

∑^ ∞

n=

(t

4 )

2 n+ (−1)

n

(2n + 1)!

∑^ ∞

n=

∫ (^) x

0

n t

8 n+

(2n + 1)!

dt

∞ ∑

n=

n x

8 n+

(8n + 6)(2n + 1)!

b.) g(x) = e

x cos(x)

(Hint: Use the exponential form of cos(x) and multiply the two functions. This will

give you two power series which are not hard to find. Your answer is allowed to

include complex numbers.)

Following the hint,

g(x) = e

x ·

e

ix

  • e

−ix

(e

(1+i)x

  • e

(1−i)x ) =

∞ ∑

n=

(1 + i)

n x

n

n!

∞ ∑

n=

(1 − i)

n x

n

n!

∞ ∑

n=

((1 + i)

n

  • (1 − i)

n )x

n

n!

8B.) (10 points) Solve the differential equation y

′′

  • xy

′

  • y = 0 subject to the initial

conditions y(0) = 3 and y

′ (0) = 0. Your answer may include power series if you wish.

We assume that y =

∞ ∑

n=

cnx

n so that xy

′

∞ ∑

n=

ncnx

n and y

′′

∞ ∑

n=

(n)(n−1)cnx

n− 2

∑^ ∞

n=

(n + 2)(n + 1)cn+2x

n

. Plugging in the differential equation gives:

∞ ∑

n=

cnx

n

∞ ∑

n=

ncnx

n

∞ ∑

n=

(n+2)(n+1)cn+2x

n

∞ ∑

n=

((n+1)cn+(n+1)(n+2)cn+2)x

n = 0.

This gives the relation cn+2 =

n cn

n + 2

. Solving this relation gives c 2 k =

k

2 · 4 · ... · 2 k

k c 0

(2k)!!

and similarly, c 2 k+1 =

k c 1

(2k + 1)!!

. By the initial conditions, c 0 = 3 and c 1 = 0

so we get the solution

y = 3

∑^ ∞

n=

k

(2k)!!

x

2 k