Professional Documents
Culture Documents
T HE E ULER M ETHOD
P.V. Johnson
School of Mathematics
Semester 1 2008
Review Initial Value Problems Euler’s Method Summary
O UTLINE
1 R EVIEW
3 E ULER ’ S M ETHOD
Method
Errors
4 S UMMARY
Review Initial Value Problems Euler’s Method Summary
O UTLINE
1 R EVIEW
3 E ULER ’ S M ETHOD
Method
Errors
4 S UMMARY
Review Initial Value Problems Euler’s Method Summary
O UTLINE
1 R EVIEW
3 E ULER ’ S M ETHOD
Method
Errors
4 S UMMARY
Review Initial Value Problems Euler’s Method Summary
O UTLINE
1 R EVIEW
3 E ULER ’ S M ETHOD
Method
Errors
4 S UMMARY
Review Initial Value Problems Euler’s Method Summary
E RRORS
E RRORS
E ULER ’ S M ETHOD
O UTLINE
1 R EVIEW
3 E ULER ’ S M ETHOD
Method
Errors
4 S UMMARY
Review Initial Value Problems Euler’s Method Summary
dy
= f (x, y ), a≤x ≤b
dx
subject to an initial condition
y (a) = α
Review Initial Value Problems Euler’s Method Summary
dy
= f (x, y ), a≤x ≤b
dx
subject to an initial condition
y (a) = α
Review Initial Value Problems Euler’s Method Summary
E XAMPLES
E XAMPLES
dY
= F (x, Y ), a ≤ x ≤ b,
dx
where
O UTLINE
1 R EVIEW
3 E ULER ’ S M ETHOD
Method
Errors
4 S UMMARY
Review Initial Value Problems Euler’s Method Summary
D EFINITION :
An initial value problem is said to be well-posed if:
A unique solution, y (x), to the problem exists;
The associated perturbed problem has a unique solution
and is sufficiently close to the original solution
D EFINITION :
An initial value problem is said to be well-posed if:
A unique solution, y (x), to the problem exists;
The associated perturbed problem has a unique solution
and is sufficiently close to the original solution
D EFINITION :
An initial value problem is said to be well-posed if:
A unique solution, y (x), to the problem exists;
The associated perturbed problem has a unique solution
and is sufficiently close to the original solution
T HE L IPSCHITZ C ONDITION
D EFINITION :
A function is said to satisfy the Lipschitz condition in the
variable y on a set D ⊂ R2 if a constant L > 0 exists such that:
P ERTURBED P ROBLEM
T HE P ERTURBED P ROBLEM
Let δ(x) be a pertubation to the problem so that δ(x) < ǫ for any
ǫ > 0, then
dz
= f (x, z) + δ(x), a ≤ x ≤ b, z(a) = α + ǫ0
dx
and the solution z(x) exists with
T HE T HEORY
T HEOREM
Suppose D = {(x, y )|a ≤ x ≤ b and − ∞ < y < ∞}. If f is
continuous and satisfies a Lipschitz condition in the variable y
on the set D, then the initial-value problem
dy
= f (x, y ), a ≤ x ≤ b, y (a) = α
dx
is well-posed.
Review Initial Value Problems Euler’s Method Summary
O UTLINE
1 R EVIEW
3 E ULER ’ S M ETHOD
Method
Errors
4 S UMMARY
Review Initial Value Problems Euler’s Method Summary
x0 x1 x2 ... xi ... xn
Review Initial Value Problems Euler’s Method Summary
1
y (xi+1 ) = y (xi ) + y ′ (xi )h + y ′′ (ξ)
2
where xi ≤ ξ ≤ xi+1 .
Review Initial Value Problems Euler’s Method Summary
1
y (xi+1 ) = y (xi ) + f (xi , y (xi ))h + y ′′ (ξ)
2
where xi ≤ ξ ≤ xi+1 .
T HE E ULER M ETHOD
O UTLINE
1 R EVIEW
3 E ULER ’ S M ETHOD
Method
Errors
4 S UMMARY
Review Initial Value Problems Euler’s Method Summary
T RUNCATION E RRORS
T RUNCATION E RRORS
T RUNCATION E RRORS
h ′′
τi+1 (h) = y (ξi ),
2
and if y ′′ is bounded by the constant M on the interval
[a, b] then
h
|τi+1 (h)| ≤ M.
2
Hence the truncation error is O(h).
A method with truncation error O(hp ) is called an order p
method
Review Initial Value Problems Euler’s Method Summary
T RUNCATION E RRORS
h ′′
τi+1 (h) = y (ξi ),
2
and if y ′′ is bounded by the constant M on the interval
[a, b] then
h
|τi+1 (h)| ≤ M.
2
Hence the truncation error is O(h).
A method with truncation error O(hp ) is called an order p
method
Review Initial Value Problems Euler’s Method Summary
T RUNCATION E RRORS
h ′′
τi+1 (h) = y (ξi ),
2
and if y ′′ is bounded by the constant M on the interval
[a, b] then
h
|τi+1 (h)| ≤ M.
2
Hence the truncation error is O(h).
A method with truncation error O(hp ) is called an order p
method
Review Initial Value Problems Euler’s Method Summary
S UMMARY