03.03.2014 Views

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1<strong>0.1</strong>. ELEMENTARY METHODS 129<br />

It turns out there is a simple test for stability. If f x > δ for some positive δ, then the ODE<br />

is instable; if f x < −δ for a positive δ, the equation is stable. Some ODEs fall through this test,<br />

however.<br />

We can prove this without too much pain. Define x(t, s) to be the solution to<br />

for t ≥ a.<br />

Then instability means that<br />

{ dx(t)<br />

dt<br />

= f (t, x(t)) ,<br />

x(a) = s,<br />

∣ lim<br />

∂ ∣∣∣<br />

∣∂s x(t, s) = ∞.<br />

t→∞<br />

Think about this in terms of the curves for our simple example x ′ = x.<br />

If we take the derivative of the ODE we get<br />

∂<br />

x(t, s) = f(t, x(t, s)),<br />

∂t<br />

∂ ∂<br />

∂s ∂t x(t, s) = ∂ f(t, x(t, s)),<br />

∂s i.e.,<br />

∂ ∂<br />

∂s ∂t x(t, s) = f t(t, x(t)) ∂t<br />

∂s + f ∂x(t, s)<br />

x(t, x(t, s)) .<br />

∂s<br />

By the independence of t, s the first part of the RHS is zero, so<br />

∂ ∂<br />

∂s ∂t x(t, s) = f ∂x(t, s)<br />

x(t, x(t, s)) .<br />

∂s<br />

We use continuity of x to switch the orders of differentiation:<br />

∂ ∂<br />

∂t ∂s x(t, s) = f x(t, x(t, s)) ∂ x(t, s).<br />

∂s<br />

Defining u(t) = ∂ ∂s x(t, s), and q(t) = f x(t, x(t, s)), we have<br />

The solution is u(t) = ce Q(t) , where<br />

∂<br />

u(t) = q(t)u(t).<br />

∂t<br />

Q(t) =<br />

∫ t<br />

a<br />

q(r) dr.<br />

If q(r) = f x (r, x(r, s)) ≥ δ > 0, then lim Q(t) = ∞, and so lim u(t) = ∞. But note that u(t) =<br />

∂<br />

∂sx(t, s), and thus we have instability.<br />

Similarly if q(r) ≤ −δ < 0, then lim Q(t) = −∞, and so lim u(t) = 0, giving stability.<br />

1<strong>0.1</strong>.7 Backwards Euler’s Method<br />

Euler’s Method is the most basic numerical technique for solving ODEs. However, it may suffer<br />

from instability, which may make the method inappropriate or impractical. However, it can be<br />

recast into a method which may have superior stability at the cost of limited applicability.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!