Docsity

Math 334 Assignment 6 Solutions: Power Series and Differential Equations, Exercises of Mathematics

Toggle sidebar
bg1
Math 334
Assignment 6 โ€” Solutions
1. Determine the interval of convergence of the following power series:
(a)
โˆž
X
n=0
2โˆ’n
n+ 1(xโˆ’1)n; (b)
โˆž
X
n=0
n2
2n(x+ 2)n.
Solution
(a) We have
lim
nโ†’โˆž ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
an
an+1 ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
= lim
nโ†’โˆž ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
2โˆ’n
n+ 1 ยทn+ 2
2โˆ’(n+1) ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
= lim
nโ†’โˆž ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
2
1ยท1 + 2
n
1 + 1
n๎˜Œ๎˜Œ๎˜Œ๎˜Œ
= 2.
Therefore the radius of convergence is R= 2 and the series converges at least for |xโˆ’1|<2
i.e. โˆ’1< x < 3. Check the end points: at x=โˆ’1 we have
โˆž
X
n=0
2โˆ’n
n+ 1(โˆ’2)n=
โˆž
X
n=0
(โˆ’1)n
n+ 1 ,
which converges by the alternating series test; at x= 3 we have
โˆž
X
n=0
2โˆ’n
n+ 1(2)n=
โˆž
X
n=0
1
n+ 1,
which diverges since it is the harmonic series. Hence the interval of convergence is [โˆ’1,3) .
(b) We have
lim
nโ†’โˆž ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
an
an+1 ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
= lim
nโ†’โˆž ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
n2
2nยท2n+1
(n+ 1)2๎˜Œ๎˜Œ๎˜Œ๎˜Œ
= lim
nโ†’โˆž ๎˜Œ๎˜Œ๎˜Œ๎˜Œ
2
(1 + 1
n)2๎˜Œ๎˜Œ๎˜Œ๎˜Œ
= 2.
Therefore the radius of convergence is R= 2 and the series converges at least for |x+ 2|<2
i.e. โˆ’4< x < 0. Check the end points: at x=โˆ’4 we have
โˆž
X
n=0
n2
2n(โˆ’2)n=
โˆž
X
n=0
(โˆ’1)nn2,
which clearly diverges; at x= 0 we have
โˆž
X
n=0
n2
2n(2)n=
โˆž
X
n=0
n2,
which also diverges. Hence the interval of convergence is (โˆ’4,0) .
2. Find all the singular points of the given differential equations.
(a) (x2โˆ’2)yโ€ฒโ€ฒ + 2yโ€ฒ+ ( sin x)y= 0.
(b) yโ€ฒโ€ฒ + (ln x)yโ€ฒ+ (tan x)y= 0.
Solution
1
pf3
pf4
pf5

Partial preview of the text

Download Math 334 Assignment 6 Solutions: Power Series and Differential Equations and more Exercises Mathematics in PDF only on Docsity!

Math 334

Assignment 6 โ€” Solutions

  1. Determine the interval of convergence of the following power series:

(a)

โˆž โˆ‘

n=

โˆ’n

n + 1

(x โˆ’ 1)

n ; (b)

โˆž โˆ‘

n=

n

2

n

(x + 2)

n .

Solution

(a) We have

lim nโ†’โˆž

an

an+

= lim nโ†’โˆž

โˆ’n

n + 1

n + 2

โˆ’(n+1)

= lim nโ†’โˆž

2 n

1 +

1 n

Therefore the radius of convergence is R = 2 and the series converges at least for |x โˆ’ 1 | < 2

i.e. โˆ’ 1 < x < 3. Check the end points: at x = โˆ’1 we have

โˆž โˆ‘

n=

โˆ’n

n + 1

n

โˆž โˆ‘

n=

n

n + 1

which converges by the alternating series test; at x = 3 we have

โˆ‘^ โˆž

n=

โˆ’n

n + 1

n

โˆž โˆ‘

n=

n + 1

which diverges since it is the harmonic series. Hence the interval of convergence is [โˆ’ 1 , 3).

(b) We have

lim nโ†’โˆž

an

an+

= lim nโ†’โˆž

n 2

n

n+

(n + 1) 2

= lim nโ†’โˆž

1 n

)^2

Therefore the radius of convergence is R = 2 and the series converges at least for |x + 2| < 2

i.e. โˆ’ 4 < x < 0. Check the end points: at x = โˆ’4 we have

โˆž โˆ‘

n=

n

2

2 n^

n

โˆž โˆ‘

n=

n n

2 ,

which clearly diverges; at x = 0 we have

โˆž โˆ‘

n=

n

2

n

n

โˆž โˆ‘

n=

n

2 ,

which also diverges. Hence the interval of convergence is (โˆ’ 4 , 0).

  1. Find all the singular points of the given differential equations.

(a) (x 2 โˆ’ 2)y โ€ฒโ€ฒ

  • 2y โ€ฒ
  • (sin x)y = 0.

(b) y โ€ฒโ€ฒ

  • (ln x)y โ€ฒ
  • (tan x)y = 0.

Solution

(a) The equation in standard form is y

โ€ฒโ€ฒ

x 2 โˆ’ 2

y

โ€ฒ

sin x

x 2 โˆ’ 2

y = 0. The coefficients P (x) =

x 2 โˆ’ 2

and Q(x) =

sin x

x 2 โˆ’ 2

are analytic except at x = ยฑ

  1. Hence, the only singular points of the

differential equation are located at x = ยฑ

(b) The equation in standard form is y

โ€ฒโ€ฒ

  • (ln x)y

โ€ฒ

  • (tan x)y = 0. The coefficients P (x) = ln x is ana-

lytic except for x 6 0, while the coefficient Q(x) = tan x is analytic except at x =

2 n + 1

ฯ€, n =

1 , 2 ,.... Hence, the singular points of the differential equation are (โˆ’โˆž, 0] โˆช {

ฯ€

3 ฯ€

5 ฯ€

  1. Consider the following differential equations:

(a) xy

โ€ฒ = y; (b) x

2 y

โ€ฒ = y.

For each equation find a power series solution of the form

n= anx n , and then solve the equation

directly. Explain any discrepancies that arise.

Solution

(a) If y(x) =

n= anx

n , then y

โ€ฒ (x) =

n= nanx

nโˆ’ 1

. Plug into the differential equation to get

x

โˆž โˆ‘

n=

nanx

nโˆ’ 1

โˆž โˆ‘

n=

anx

n =โ‡’ โˆ’a 0 +

โˆž โˆ‘

n=

(n โˆ’ 1)anx

n = 0.

Setting the coefficient of every power of x to zero gives

โˆ’a 0 = 0 n = 0

(n โˆ’ 1)an = 0 n = 1, 2 ,...

a 0 = a 2 = a 3 = ยท ยท ยท = 0

a 1 is arbitrary

=โ‡’ y(x) = a 1 x.

Solve the equation exactly:

dy

y

dx

x

=โ‡’ y = cx. The series solution agrees with the exact

solution.

(b) If y(x) =

โˆž n= anx

n , then y

โ€ฒ (x) =

โˆž n= nanx

nโˆ’ 1

. Plug into the differential equation to get

x

2

โˆž โˆ‘

n=

nanx

nโˆ’ 1

โˆž โˆ‘

n=

anx

n =โ‡’ โˆ’a 0 โˆ’ a 1 x +

โˆž โˆ‘

n=

[(n โˆ’ 1)anโˆ’ 1 โˆ’ an]x

n = 0.

Setting the coefficient of every power of x to zero gives

โˆ’a 0 = 0 n = 0

โˆ’a 1 = 0 n = 1

(n โˆ’ 1)an = 0 n = 2, 3 ,...

=โ‡’ a 0 = a 1 = a 2 = a 3 = ยท ยท ยท = 0 =โ‡’ y(x) โ‰ก 0.

Solve the equation exactly:

dy

y

dx

x 2

=โ‡’ y = ce โˆ’ 1 /x

. There is a discrepancy between the

exact solution and the series solution. This is not surprising since the exact solution is not analytic

at x = 0 and hence does not have a Taylor series about x = 0.

  1. Find the series solution, up to terms of order x

5 , for the differential equation

y

โ€ฒโ€ฒ

  • y

โ€ฒ โˆ’ xy = 0,

subject to the initial conditions: (a) y(0) = 1, y

โ€ฒ (0) = 0; (b) y(0) = 0, y

โ€ฒ (0) = 1.

Solution

If y(x) =

โˆž n= anx

n , then y

โ€ฒ (x) =

โˆž n= nanx

nโˆ’ 1 and y

โ€ฒโ€ฒ (x) =

โˆž n= n(n โˆ’ 1)anx

nโˆ’ 2

. Plug into the

differential equation to get

โˆž โˆ‘

n=

n(n โˆ’ 1)anx

nโˆ’ 2

โˆž โˆ‘

n=

nanx

nโˆ’ 1 โˆ’ x

โˆž โˆ‘

n=

anx

n = 0

โˆž โˆ‘

n=

(n + 2)(n + 1)an+2x

n

โˆž โˆ‘

n=

(n + 1)an+1x

n โˆ’

โˆž โˆ‘

n=

anโˆ’ 1 x

n = 0

2 a 2 + a 1 +

โˆž โˆ‘

n=

{(n + 2)(n + 1)an+2 + (n + 1)an+1 โˆ’ anโˆ’ 1 }x

n = 0.

Setting the coefficient of every power of x to zero gives

2 a 2 + a 1 = 0

(n + 2)(n + 1)an+2 + (n + 1)an+1 โˆ’ anโˆ’ 1 = 0

a 2 = โˆ’

a 1

an+2 =

anโˆ’ 1 โˆ’ (n + 1)an+

(n + 2)(n + 1)

Therefore we get

a 3 =

(a 0 + a 1 ), a 4 = โˆ’

(a 0 โˆ’ a 1 ), a 5 =

(a 0 โˆ’ 4 a 1 ).

The solution is

y(x) =

โˆž โˆ‘

n=

anx

n = a 0 + a 1 x โˆ’

a 1 x

2

(a 0 + a 1 )x

3 โˆ’

(a 0 โˆ’ a 1 )x

4

(a 0 โˆ’ 4 a 1 )x

5

  • ยท ยท ยท

= a 0

[

x

3

x

4

x

5

]

  • a 1

[

x โˆ’

x

2

x

3

x

4

x

5

]

Clearly y(0) = a 0 and y

โ€ฒ (0) = a 1.

(a) y(0) = 1, y

โ€ฒ (0) = 0 =โ‡’ a 0 = 1, a 1 = 0 =โ‡’ y(x) = 1 +

x

3

x

4

x

5

(b) y(0) = 0, y

โ€ฒ (0) = 1 =โ‡’ a 0 = 0, a 1 = 1 =โ‡’ y(x) = x โˆ’

x 2

x 3

x 4

x 5

  1. For each of the following equations find a minimum value for the radius of convergence of a power

series solution about x 0.

(a) (x + 1)y

โ€ฒโ€ฒ โˆ’ 3 xy

โ€ฒ

  • 2y = 0, x 0 = 1;

(b) (x 2

  • 1)y โ€ฒโ€ฒ โˆ’ 3 y = 0, x 0 = 1;

(c) y

โ€ฒโ€ฒ โˆ’ (tan x)y

โ€ฒ

  • y = 0, x 0 = 0.

Solution

(a) Write the equation in standard form y

โ€ฒโ€ฒ โˆ’

3 x

x + 1

y

โ€ฒ

x + 1

y = 0. Then P (x) =

โˆ’ 3 x

x + 1

is singular

at x = โˆ’1 and Q(x) =

x + 1

is also singular at x = โˆ’1. If R is the radius of convergence of a

series solution, then R > |x 0 โˆ’ (โˆ’1)| = 2.

(b) Write the equation in standard form y โ€ฒโ€ฒ โˆ’

x 2

  • 1

y = 0. Then P (x) = 0 is not singular anywhere

but Q(x) =

x 2

  • 1

is singular at x = ยฑi. Let R 1 = |x 0 โˆ’ (โˆ’i)| =

2 and R 2 = |x 0 โˆ’ (+i)| =

If R is the radius of convergence of a series solution, then R > min{R 1 , R 2 } =

(c) Write the equation in standard form y

โ€ฒโ€ฒ โˆ’ (tan x)y

โ€ฒ

  • y = 0. Then P (x) = tan x is singular at

x = (2n + 1)ฯ€/ 2 , n = 0, ยฑ 1 , ยฑ 2 ,... but Q(x) = 1 is never singular.

Let Rn = |x 0 โˆ’ (2n + 1)ฯ€/ 2 | = | 2 n + 1|(ฯ€/2). If R is the radius of convergence of a series solution,

then R > min{Rn, n = 0, ยฑ 1 , ยฑ 2 ,... } = ฯ€/2.

  1. For each of the following equations find at least the first four nonzero terms in a power series expansion

of the general solution about x 0.

(a) (x 2 โˆ’ 2 x)y โ€ฒโ€ฒ

  • 2y = 0, x 0 = 1;

(b) x 2 y โ€ฒโ€ฒ โˆ’ y โ€ฒ

  • y = 0, x 0 = 2.

Solution

(a) We have P (x) = 0 and Q(x) =

x 2 โˆ’ 2 x

. Evaluating at x 0 = 1 we get P (1) = 0 and Q(1) = โˆ’2, so

we conclude that x 0 = 1 is an ordinary point of the differential equation. We rewrite the equation

as [(x โˆ’ 1)

2 โˆ’ 1]y

โ€ฒโ€ฒ

  • 2y = 0 and look for a solution of the form y(x) =

โˆž n= an(x โˆ’ 1)

n

. Plug

the series into the equation to get

โˆž โˆ‘

n=

n(n โˆ’ 1)an(x โˆ’ 1)

n โˆ’

โˆž โˆ‘

n=

n(n โˆ’ 1)an(x โˆ’ 1)

nโˆ’ 2

โˆž โˆ‘

n=

2 an(x โˆ’ 1)

n = 0.

Upon re-arrangement we get

โˆ’ 2 a 2 + 2a 0 + (โˆ’ 6 a 3 + 2a 1 )(x โˆ’ 1) +

โˆž โˆ‘

n=

{[n(n โˆ’ 1) + 2]an โˆ’ (n + 2)(n + 1)an+2}(x โˆ’ 1)

n = 0

Setting the powers of x โˆ’ 1 to zero yields

a 2 = a 0 , a 3 =

a 1 , an+2 =

n(n โˆ’ 1) + 2

(n + 2)(n + 1)

an, n = 2, 3 ,....

Therefore the solution is

y(x) = a 0 + a 1 (x โˆ’ 1) + a 2 (x โˆ’ 1)

2

  • a 3 (x โˆ’ 1)

3

  • ยท ยท ยท

= a 0 + a 1 (x โˆ’ 1) + a 0 (x โˆ’ 1)

2

a 1 (x โˆ’ 1)

3

  • ยท ยท ยท

= a 0 [1 + (x โˆ’ 1)

2

  • ยท ยท ยท ] + a 1 [(x โˆ’ 1) +

(x โˆ’ 1)

3

  • ยท ยท ยท ]