# MATH 685/CSI 700 Lecture Notes

MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10.

Ordinary differential equations. Initial value problems.

Differential equations

Differential equations involve derivatives of unknown solution function

Ordinary differential equation (ODE): all derivatives are with

respect to single independent variable, often representing time

Solution of differential equation is function in infinite-dimensional space of functions

Numerical solution of differential equations is based on finitedimensional approximation

Differential equation is replaced by algebraic equation whose solution approximates that of given differential equation

Order of ODE

Order of ODE is determined by highest-order derivative of solution function appearing in ODE

ODE with higher-order derivatives can be transformed into equivalent first-order system

We will discuss numerical solution methods only for

first-order ODEs

Most ODE software is designed to solve only firstorder equations

Higher-order ODEs Example:

Newtons second law u1 = solution y of the original

equation of 2nd order u2 = velocity y Can solve this by methods for 1st order equations

ODEs

Initial value problems Initial value problems

Example

Example (cont.) Stability of solutions

Solution of ODE is Stable if solutions resulting from perturbations of initial value remain close to original solution

Asymptotically stable if solutions resulting from

perturbations converge back to original solution

Unstable if solutions resulting from perturbations diverge away from original solution without bound

Example: stable solutions

Example: asymptotically stable solutions

Example: stability of solutions Example:

linear systems of ODEs Stability of solutions

Stability of solutions

Numerical solution of ODEs Numerical solution to ODEs

Eulers method

Example Example (cont.)

Example (cont.)

Example (cont.) Numerical errors in ODE

solution Global and local error

Global vs. local error

Global vs. local error Global vs. local error

Order of accuracy. Stability

Determining stability/accuracy Example: Eulers method

Example (cont.)

Example (cont.) Example (cont.)

Example (cont.)

Stability in ODE, in general Step size selection

Step size selection

Implicit methods Implicit methods, cont.

Backward Euler method

Implicit methods Backward Euler method

Backward Euler method

Unconditionally stable methods

Trapezoid method Trapezoid method

Implicit methods

Stiff differential equations Stiff ODEs

Stiff ODEs

Example Example, cont.

Example (cont.)

Example (cont.) Example (cont.)

Numerical methods for ODEs

Taylor series methods Taylor series methods

Runge-Kutta methods

Runge-Kutta methods Runge-Kutta methods

Runge-Kutta methods

Extrapolation methods Multistep methods

Multistep methods

Multistep methods Example of multistep methods

Example (cont.)

Multistep Adams methods Properties of multistep

methods Properties of multistep

methods Multivalue methods

Multivalue methods

Example Example (cont.)

Example (cont.)

Example (cont.) Multivalue methods, cont.

Variable-order/Variable-step methods

## Recently Viewed Presentations

• Wasting 'efficiency': Sisyphus and the policy analyst Nigel Jollands, PhD Principal Ecological Economist Who is Sisyphus? My presentation I will demonstrate: Cult of efficiency Efficiency, multi-dimensional concept Allocative efficiency dominance An ecological economic framework The cult of efficiency The efficiency...
• The Reel Who was St.Patrick? Callum McGregor Poem by Bobbie Carr The Light Jig St. Patrick used the Shamrock to represent the Holy Trinity God the Father God the Son God the Holy Spirit Hornpipe Gold at the end of...
• Dipper Doodle Bar /Fruit Orange Juice. Cinnamon Chex/Educational Snacks/Fruit . HOT Turkey, Cheddar Cheese, and Omelet Gordita/Fruit. Blueberry Burst Whole Grain Bagel/Cream Cheese/Fruit. Pineapple Juice. Pancakes w/ Syrup/Fruit. Mini Apple Cinnamon Muffin & String Cheese/Fruit.
• Therefore, under current standards the exercise of an intellectual property right as such was not restrained by competition law. [1] Report (1998) of the Working Group on the interaction between trade and competition policy to the General Council, Wt/Wgtcp/2, 8...
• Program The Sukuk issuance, comprising a 5-year Green tranche and a 10-year tranche, is the 9th USD Sukuk issuance by the RoI and the 7th issuance by PPSI-III under the Program. The transaction is in line with the Republic's ongoing...
• EASTER SUNDAY OF THE RESURRECTION OF THE LORD APRIL 5, 2015 "Faith in the resurrection of Jesus says that there is a future for every human being; the
• Engage in slow, gradual preseason conditioning. Build up slowly while training-paced progressions. Use adequate rest/recovery between repetitions. Especially important during "gassers" and intense station drills. Do not urge to perform all out exertion for longer than 2-3 minutes without a...
• Journey to a New Discipline. Statistical Engineering. WHAT IS STATISTICAL ENGINEERING? The study of systematic integration of statistical concepts, methods, and tools, often with other relevant disciplines, to solve important problems sustainably.