HW9 Solution

5
HW 9 Solution Due: November 29 (Thursday), 2012 1. Find the type of PDE, transform to normal form, and solve. Please show your work in detail. u xx -16u yy =0. Solution: Hyperbolic, wave equation. Characteristic equation β€²2 βˆ’ 16 = ( β€² + 4)( β€² βˆ’ 4) = 0 New variables are v = Ο• = y + 4x, w = ψ = y βˆ’ 4x By the chain rule, = 4 βˆ’ 4 = 16 βˆ’ 16 βˆ’ 16 + 16 And βˆ’16 = βˆ’16 βˆ’ 16 βˆ’ 16 βˆ’ 16 Assuming = , as usual , we have =0 Solvable by two integrations, u= 1 ( + 4) + 2 ( βˆ’ 4) 2. Find the type of PDE, transform to normal form, and solve. Please show your work in detail. u xx -6u xy +9u yy =0. Solution: Parabolic. Characteristic equation β€²2 + 6 β€² + 9 = ( β€² + 3) 2 New variables v = Ο• = x, w = ψ = y + 3x. By the chain rule, = + 3 = + 6 + 9 = + 3 = Substitution into the PDE gives the expected normal form + 6 + 9 βˆ’ 6 βˆ’ 18 + 9 = =0 Solution u= 1 () + 2 ( + 3) where f 1 and f 2 are any twice differentiable functions of the respective variables. 3. Solve the heat transfer equation βˆ‚u βˆ‚t = 2 βˆ‚ 2 u βˆ‚x 2 0≀x≀L, x>0; L=1 Subject to the boundary conditions: u(0, t)=0, and βˆ‚u βˆ‚t | = = βˆ’(1, ), k>0 and the initial condition u(x, 0)=1, 0<x<1.

description

Solutions for Advanced Engineering Mathematics. Involves the solving of differential equations using Frobenius Method and Legendre Polynomials.

Transcript of HW9 Solution

Page 1: HW9 Solution

HW 9 Solution

Due: November 29 (Thursday), 2012

1. Find the type of PDE, transform to normal form, and solve. Please show your work in detail.

uxx-16uyy=0.

Solution: Hyperbolic, wave equation. Characteristic equation

𝑦′2 βˆ’ 16 = (𝑦′ + 4)(𝑦′ βˆ’ 4) = 0

New variables are

v = Ο• = y + 4x, w = ψ = y βˆ’ 4x

By the chain rule,

𝑒π‘₯ = 4𝑒𝑣 βˆ’ 4𝑒𝑀

𝑒π‘₯π‘₯ = 16𝑒𝑣𝑣 βˆ’ 16𝑒𝑣𝑀 βˆ’ 16𝑒𝑀𝑣 + 16𝑒𝑀𝑀

And

βˆ’16𝑒𝑦𝑦 = βˆ’16𝑒𝑣𝑣 βˆ’ 16𝑒𝑣𝑀 βˆ’ 16𝑒𝑀𝑣 βˆ’ 16𝑒𝑀𝑀

Assuming 𝑒𝑣𝑀 = 𝑒𝑀𝑣, as usual , we have

𝑒𝑣𝑀 = 0

Solvable by two integrations,

u = 𝑓1(𝑦 + 4π‘₯) + 𝑓2(𝑦 βˆ’ 4π‘₯)

2. Find the type of PDE, transform to normal form, and solve. Please show your work in detail.

uxx-6uxy+9uyy=0.

Solution: Parabolic. Characteristic equation

𝑦′2 + 6𝑦′ + 9 = (𝑦′ + 3)2

New variables v = Ο• = x, w = ψ = y + 3x. By the chain rule,

𝑒π‘₯ = 𝑒𝑣 + 3𝑒𝑀

𝑒π‘₯π‘₯ = 𝑒𝑣𝑣 + 6𝑒𝑣𝑀 + 9𝑒𝑀𝑀

𝑒π‘₯𝑦 = 𝑒𝑣𝑀 + 3𝑒𝑀𝑀

𝑒𝑦𝑦 = 𝑒𝑀𝑀

Substitution into the PDE gives the expected normal form

𝑒𝑣𝑣 + 6𝑒𝑣𝑀 + 9𝑒𝑀𝑀 βˆ’ 6𝑒𝑣𝑀 βˆ’ 18𝑒𝑀𝑀 + 9𝑒𝑀𝑀 = 𝑒𝑣𝑣 = 0

Solution

u = 𝑓1(π‘₯) + 𝑓2(𝑦 + 3π‘₯)

where f1 and f2 are any twice differentiable functions of the respective variables.

3. Solve the heat transfer equation

βˆ‚u

βˆ‚t= 𝑐2

βˆ‚2u

βˆ‚x2

0≀x≀L, x>0; L=1

Subject to the boundary conditions: u(0, t)=0, and βˆ‚u

βˆ‚t|π‘₯=𝐿 = βˆ’π‘˜π‘’(1, 𝑑), k>0 and the

initial condition u(x, 0)=1, 0<x<1.

Page 2: HW9 Solution

Solution:

Assuming u(x, t)=X(x) T(t) and –λ as the separation constant, we find the separated

ODEs and boundary conditions to be, respectively,

Xβ€²β€² + Ξ»X = 0 (1)

Tβ€² + 𝑐2πœ†π‘‡ = 0 (2)

X(0) = 0 and Xβ€²(1) = βˆ’kX(1) (3)

Equation (1) along with the homogeneous boundary conditions (3) comprise the regular

Sturm-Liouville problem:

Xβ€²β€² + Ξ»X = 0, X(0) = 0, Xβ€²(1) + kX(1) = 0 (4)

Except for the presence of the symbol k, the BVP in (4) is essentially the problem solved

in Example 2 of Section 12. 5. As in that example, (4) possesses nontrivial solutions only

in the case Ξ»=Ξ±2>0, Ξ±>0. The general solution of the DE in (4) is X(x)=c1 cos Ξ±x+c2 sin Ξ±x.

The first boundary condition in (4) immediately gives c1=0. Applying the second

boundary condition in (4) to X(x)=c2 sinΞ±x yields

Ξ± cos 𝛼 + π‘˜π‘ π‘–π‘›π›Ό = 0 π‘œπ‘Ÿ tan 𝛼 = βˆ’π›Ό

π‘˜ (5)

Because the graphs of y=tan x and y=-x/k, k>0, have an infinite number of points of

intersection for x>0, the last equation in (5) has an infinite number of roots. Of course,

these roots depend on the value of k. If the consecutive positive roots are denoted Ξ±n,

n=1, 2, 3, … , then the eigenvalues of the problem are Ξ»n=Ξ±n2, and the corresponding

eigenfunctions are X(x)=c2 sin Ξ±nx, n=1, 2, 3, … , The solution of the first-order DE (2) is

T(t) = 𝑐3π‘’βˆ’π‘2𝛼𝑛2 𝑑 and so

𝑒𝑛 = 𝑋𝑇 = π΄π‘›π‘’βˆ’π‘2𝛼𝑛2 𝑑 sin 𝛼𝑛π‘₯ π‘Žπ‘›π‘‘ 𝑒(π‘₯, 𝑑) = βˆ‘ π΄π‘›π‘’βˆ’π‘2𝛼𝑛

2 𝑑 sin 𝛼𝑛π‘₯

∞

𝑛=1

Now at t=0, u(x, 0)=1, 0<x<1, so that,

1 = βˆ‘ 𝐴𝑛 sin 𝛼𝑛π‘₯βˆžπ‘›=1 (6)

The series in (6) is not a Fourier sine series; rather, it is an expansion of u(x, 0)=1 in terms

of the orthogonal functions arising from the Sturm-Liouville problem (4). It follows that

the set of eigenfunctions {sin Ξ±nx}, n=1, 2, 3, … , where the α’s are defined by tan Ξ±=-Ξ±/k

is orthogonal with respect to the weight function p(x)=1 on the interval [0, 1]. With

f(x)=1 and Ο†n(x)=sin Ξ±nx, it follows from (8) of Section 12.1, that the coefficients An are (6)

are

𝐴𝑛 =∫ sin 𝛼𝑛π‘₯

1

0𝑑π‘₯

∫ sin2 𝛼𝑛π‘₯1

0𝑑π‘₯

(7)

Evaluate the square norm of each of the eigenfunctions we use a trigonometric identity:

∫ sin2 𝛼𝑛π‘₯1

0𝑑π‘₯ =

1

2∫ (1 βˆ’ cos 2𝛼𝑛π‘₯

1

0)𝑑π‘₯ =

1

2(1 βˆ’

1

2𝛼𝑛sin 2𝛼𝑛) (8)

With the aid of the double angle formula sin 2Ξ±n =2sin in the form Ξ±n cos Ξ±n and the first

equation in (5) in the form Ξ±ncosΞ±n=-k sinΞ±n, we can simplify (8) to

∫ sin2 𝛼𝑛π‘₯1

0

𝑑π‘₯ =1

2π‘˜(π‘˜ + cos2 𝛼𝑛)

Also

Page 3: HW9 Solution

∫ sin 𝛼𝑛π‘₯1

0

𝑑π‘₯ = βˆ’1

𝛼𝑛cos 𝛼𝑛π‘₯ |0

1 =1

𝛼𝑛(1 βˆ’ cos 𝛼𝑛)

Consequently (7) becomes

𝐴𝑛 =2π‘˜(1 βˆ’ cos 𝛼𝑛)

𝛼𝑛(π‘˜ + cos2 𝛼𝑛)

Finally , a solution of the boundary-value problem is

𝑒(π‘₯, 𝑑 ) = 2π‘˜ βˆ‘1 βˆ’ cos 𝛼𝑛

𝛼𝑛(π‘˜ + cos2 𝛼𝑛)π‘’βˆ’π‘2𝛼𝑛

2 𝑑 sin 𝛼𝑛π‘₯

∞

𝑛=1

4. For a steady-state heat flow problem in the rectangular sheet of size L*M to which Laplace’s

equation applies. Suppose that the upper horizontal edge is kept at 100oC, while the other

three edge are kept at 0 oC. Please solve Laplace’s equation to find the temperature

distribution function.

Solution: We may write these boundary conditions for T(x, y) as follows:

T(0, y) = T(L, y) = 0, 0 < y < M

T(x, 0) = 0, T(x, M) = 100, 0 < x < L

Since we are seeking the steady-state solution, time is not a factor in this problem, and

therefore no initial condition makes sense.

Setting T(x, y)= X(x)Y(y), we find that (6) becomes

Xβ€²β€²Y + XYβ€²β€² = 0

Which may be written in separated form as

Xβ€²β€²

X= βˆ’

Yβ€²β€²

Y

The left-hand side is constant for fixed x and arbitrary y. Hence Y’’/Y must be constant.

Letting k be this constant, we obtain the pair of ordinary differential equations

Xβ€²β€² βˆ’ π‘˜π‘‹ = 0

Yβ€²β€² + π‘˜π‘Œ = 0

From the first boundary condition we have

X(0)Y(y) = X(L)Y(y) = 0

And Y(y)β‰ 0 (since otherwise T(x, y)≑0, contradicting the second boundary condition), so that

X(0)=X(L)=0. Thus again we have the situation encountered in Section 12. 7, and the

eigenvalues are all negative. Setting k=-r2, we find that rL must be a multiple of Ο€ in order

that we have a nonzero solution of the boundary value problem for X. Hence r=nΟ€/L, and the

functions

𝑋𝑛(π‘₯) = 𝐴 sinπ‘›πœ‹π‘₯

𝐿, 𝑛 = 1, 2, 3, …,

are the eigenfunctions of the problem. Setting k=-(nΟ€/L)2 in Y’’+kY=0 yields the general

solution

π‘Œπ‘›(𝑦) = 𝐡1π‘’π‘›πœ‹π‘¦/𝐿 + 𝐡2π‘’βˆ’π‘›πœ‹π‘¦/𝐿

The second boundary condition implies that Y(0)=0, thus B1=-B2, and we can rewrite Yn as

π‘Œπ‘›(𝑦) = 𝐡 sinhπ‘›πœ‹π‘¦

𝐿

Page 4: HW9 Solution

As in Section 12.7, to enlarge the class of possible solutions, we consider and infinite sum of

products of Xn(x) and Yn(y):

T(π‘₯, 𝑦) = βˆ‘ 𝑐𝑛 sinπ‘›πœ‹π‘₯

𝐿sinh

π‘›πœ‹π‘¦

𝐿

∞

𝑛=1

Evaluating at any point (x, M), we obtain by the second boundary condition,

100 = βˆ‘(𝑐𝑛 sinhπ‘›πœ‹π‘€

𝐿) sin

π‘›πœ‹π‘₯

𝐿

∞

𝑛=1

, 0 < x < L

Which again is a Fourier sine series, requiring that we extend the boundary condition T(x, M)

to the interval -L≀x≀L as an odd pricewise continuous periodic function of period 2L with a

piecewise continuous derivative. The function

f(x) = {100, 0 < π‘₯ < 𝐿,

βˆ’100, βˆ’πΏ < π‘₯ < 0

with f(x+2L+=f(x) satisfies these conditions. Hence cn sinh(nΟ€M/L) must equal the nth Fourier

(sine) coefficient of f(x):

𝑐𝑛 sinhπ‘›πœ‹π‘€

𝐿=

1

𝐿∫ 𝑓(π‘₯) sin

π‘›πœ‹π‘₯

𝐿

𝐿

βˆ’πΏ

𝑑π‘₯ =200

𝐿∫ sin

π‘›πœ‹π‘₯

𝐿

𝐿

0

𝑑π‘₯ =200

π‘›πœ‹(1 βˆ’ cos π‘›πœ‹)

=200

π‘›πœ‹[1 βˆ’ (βˆ’1)𝑛]

Hence c2k=0, while

𝑐2π‘˜+1 =400

πœ‹(2π‘˜ + 1) sinh[(2π‘˜ + 1)πœ‹π‘€/𝐿]

And the solution is given by

T(π‘₯, 𝑦) =400

πœ‹βˆ‘

sin(2𝑛 βˆ’ 1)πœ‹π‘₯

𝐿 sinh(2𝑛 βˆ’ 1)πœ‹π‘¦

𝐿(2𝑛 βˆ’ 1) sinh[(2𝑛 βˆ’ 1)πœ‹π‘€/𝐿]

∞

𝑛=1

5. A rectangular metal plate 0≀x≀π, 0≀y≀2, in which the steady state temperature

distribution u(x, y) is required subject to the temperature on the side y=0 being

u(x, 0)=10, and the temperature on the other three sides being maintained at u=0. Find

the temperature distribution across the metal plate.

𝑒𝑑 = 𝑐2(𝑒π‘₯π‘₯ + 𝑒𝑦𝑦) = 0

Solution:

Let u(x, y)=X(y)Y(y)

So

Xβ€²β€²

X= βˆ’

Yβ€²β€²

Y= π‘˜ = βˆ’πœ†2

𝑋′′ + πœ†2𝑋 = 0, Yβ€²β€² βˆ’ πœ†2π‘Œ = 0

General solution of X(x):

X(x) = 𝐴 cos πœ†π‘₯ + 𝐡 sin πœ†π‘₯

B. C.: X(0)=0, so A=0, X(x)=B sin Ξ»x

Page 5: HW9 Solution

X(Ο€)=0, since Bβ‰ 0, Ξ»n=n, for n=1, 2, …,

So X𝑛(x) = 𝐡 sin 𝑛π‘₯ for n=1, 2, …,

π‘Œπ‘›(𝑦) = 𝐢 cosh 𝑛𝑦 + 𝐷 sinh 𝑛𝑦

B. C.: u(x, 2)=0, y(2)=0

So π‘Œπ‘›(𝑦) = 𝐢 cosh 2𝑛 + 𝐷 sinh 2𝑛 = 0

Setting D=1, and C=βˆ’ sinh(2𝑛)/ cosh(2𝑛)

π‘Œπ‘›(𝑦) =𝐢

cosh 2𝑛(sinh 𝑛𝑦 cosh 2𝑛 βˆ’ cosh 𝑛𝑦 sinh 2𝑦) =

𝐢

cosh 2𝑛sinh 𝑛(𝑦 βˆ’ 2)

𝑒𝑛(π‘₯, 𝑦) = 𝑋𝑛(π‘₯)π‘Œπ‘›(𝑦) = 𝐢𝑛 sin 𝑛π‘₯ sinh 𝑛(𝑦 βˆ’ 2)

u(π‘₯, 𝑦) = βˆ‘ 𝐢𝑛 sin 𝑛π‘₯ sinh 𝑛(𝑦 βˆ’ 2)

∞

𝑛=1

B. C.: u(x, 0)=10, so y(0)=10

10 = βˆ‘ 𝐢𝑛 sin 𝑛π‘₯ sinh(βˆ’2𝑛)

∞

𝑛=1

𝐢𝑛 = βˆ’2

πœ‹ sinh 2π‘›βˆ« 10 sin 𝑛π‘₯

πœ‹

0

𝑑π‘₯ =20

π‘›πœ‹ sinh 2𝑛(1 βˆ’ cos π‘›πœ‹)