Docsity

Advanced Engineering Mathematics - Test B Solutions | MATH 401, Exams of Mathematics

Toggle sidebar
bg1
Math. 401 (Fulling) 31 October 2003
Test B – Solutions
1. (40 pts.) Solve by singular perturbation theory (for 0 <1)
d2y
dx2−dy
dx +xy =0 (0<x<1),
y(0) = 1,y(1) = 0.
(Find outer, inner, and composite approximations to lowest order.)
Because the first-order and second-order terms have opposite signs, we expect the boundary layer to
be at the right end.
Outer solution: To zeroth order we must have −y0+xy =0,or
dy
y=xdx ⇒ln y=1
2x2+c⇒y=Cex2/2.
Impose the left-end boundary condition: 1 = y(0) = C.Thus
y
o=e
x
2
/2
.
Inner solution: Let z=x−1
, so that x=1+z and zis negative inside the interval. Then
d
dx =1
d
dz , so the ODE transforms (after multiplication by )to
d
2
y
dz2−dy
dz +(+
2
z)y=0.
So to zeroth order we must have (y0)0−y0=0,soy
0=Aez, hence
y=Aez+B=Ae(x−1)/ +B.
Impose the right-end boundary condition: 0 = y(1) = A+B,soB=−A.Thus
y
i=A
e
(x−1)/ −1.
Composite solution: Let η=√z =x−1
√. Study the limit →0+with ηfixed (and negative).
yo=e(1+√η)
2/2→e
1/2.
y
i=A
e
η/√−1→−A.
Therefore, A=−√, Construct the uniform, composite solution by adding the two nonuniform
solutions and subtracting their common limit, √:
y∼yo+yi−√e
=ex2/2+√e1−e
(x−1)
−√e
=ex2/2−√ee
(x−1)
.
pf3
pf4

Partial preview of the text

Download Advanced Engineering Mathematics - Test B Solutions | MATH 401 and more Exams Mathematics in PDF only on Docsity!

Math. 401 (Fulling) 31 October 2003

Test B – Solutions

1. (40 pts.) Solve by singular perturbation theory (for 0 <   1)

d^2 y

dx^2

dy

dx

+ xy = 0 (0 < x < 1),

y(0) = 1, y(1) = 0.

(Find outer, inner, and composite approximations to lowest order.)

Because the first-order and second-order terms have opposite signs, we expect the boundary layer to be at the right end. Outer solution: To zeroth order we must have −y′^ + xy = 0, or

dy y

= x dx ⇒ ln y =

x 2

  • c ⇒ y = Ce x^2 / 2 .

Impose the left-end boundary condition: 1 = y(0) = C. Thus

yo = e x^2 / 2 .

Inner solution: Let z =

x − 1 

, so that x = 1 + z and z is negative inside the interval. Then d dx =^

1 

d dz , so the ODE transforms (after multiplication by^ ) to

d^2 y dz^2

dy dz

  • ( + ^2 z)y = 0.

So to zeroth order we must have (y′)′^ − y′^ = 0, so y′^ = Aez^ , hence

y = Aez^ + B = Ae(x−1)/^ + B.

Impose the right-end boundary condition: 0 = y(1) = A + B, so B = −A. Thus

yi = A

[

e(x−1)/^ − 1

]

Composite solution: Let η =

 z =

x − 1 √ 

. Study the limit  → 0 +^ with η fixed (and negative).

yo = e(1+

√  η)^2 / (^2) → e 1 / (^2).

yi =^ A

[

eη/

√

 − 1 ]^ → −A.

Therefore, A = −

, Construct the uniform, composite solution by adding the two nonuniform solutions and subtracting their common limit,

y ∼ yo + yi −

e

= e x^2 / 2

e

[

1 − e

(x−1) 

]

e

= ex

(^2) / 2 −

e e

(x−1)  (^).

Check: y(0) = 1 −

e e−^1 /^ ∼ 1 , y(1) = e^1 /^2 −

e = 0.

y′^ = xex

(^2) / 2 −

e 

e(x−1)/, y′′^ = (1 + x^2 )ex

(^2) / 2 −

e ^2

e(x−1)/,

so

y ′′ − y ′

  • xy = (1 + x 2 )e x^2 / 2 −

e 

e (x−1)/ − xe x^2 / 2

e 

e (x−1)/

  • xe x^2 / 2 − x

e e (x−1)/

= (1 + x^2 )ex

(^2) / 2 − x

e e(x−1)/

after cancellations. We observe that the leading terms of both the exponential and the nonexponential type have cancelled, which is exactly what should be expected from the zeroth-order approximation.

2. (40 pts.)

(a) Solve

∂u

∂t

∂^2 u

∂x^2

(0 < x < 1 , 0 < t < ∞),

u(t, 0) = 0, u(t, 1) = 2, u(0, x) = f (x).

(It is not necessary to rederive “well known” facts about Fourier series; just use them,

making sure that your reasoning is clear.)

Since there is a nonhomogeneous boundary condition, we need to write

u = v + w, (1)

where v is a steady-state solution and w satisfies homogeneous boundary conditions. Steady-state solution: Let v(t, x) = V (x) where

∂^2 V

∂x^2

∂V

∂t

= 0, V (0) = 0, V (1) = 2.

We have V (x) = Ax + B and 0 = B, 2 = A + B, hence

v(t, x) = 2x. (2)

Separation of variables: The rest of the solution must satisfy

∂w ∂t

∂^2 w ∂x^2

, w(t, 0) = 0, w(t, 1) = 0, w(0, x) = g(x),

where g(x) ≡ f (x) − 2 x. (3)

Look first for separated solutions, wsep = X(x)T (t). Then XT ′^ = X′′T , or

T ′

T

X′′

X

= −λ.

(b) Now suppose that K is a (real-valued, differentiable) function of x. Use the WKB

approximation to argue that the eigenvalues are approximately the numbers λn that

satisfy ∫

π

0

λn − K(x) dx = nπ (n = 0, 1 ,.. .).

The basic WKB approximation for this type of equation is

y ∼

4

λ − K(x)

exp

[

±i

λ − K(x) dx

]

From the boundary condition X(0) = 0 it is clear that the relevant solution is (arbitrary constant times) 1 4

λ − K(x)

sin

[∫ x

0

λ − K(˜x) dx˜

]

and then the other condition, X(π) = 0, yields

sin

[∫ π

0

λ − K(˜x) dx˜

]

or ∫ π

0

λ − K(x) dx = nπ.

Once λ − K(x) is positive for all x, the left-hand side will be an increasing function of λ, so there should be exactly one solution, λ = λn , for each^ n, at least if^ n^ is sufficiently large (see (d)).

(c) Check the consistency of the results of (a) and (b).

If K is constant, we can evaluate the integral to get

nπ = π

λn − K,

which is equivalent to the result of (a). Also, the WKB formula for X is exact in this case.

(d) Would you expect (b) to give good approximations to the eigenvalues for all n? Just

small n? Just large n? Or what?

Given that K is differentiable, the approximation should certainly be valid for all large n. At small n things might go wrong. First, λ − K(x) needs to be large compared to its derivatives in order for the WKB approximation to X(x) to be accurate. Moreover, for the really small eigenvalues we might get into the regime where λ − K(x) is not even positive, so the WKB formula for X doesn’t apply at all, and also the argument that there is a unique solution for λn breaks down. (Later, however, we will see from the Sturm–Liouville theory (counting the nodes) that the eigenvalue approximated by our λn (for any large n) really is the nth eigenvalue — not number n + 2 or something like that.)