Presentation is loading. Please wait.

Presentation is loading. Please wait.

MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.

Similar presentations


Presentation on theme: "MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems."— Presentation transcript:

1 MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.

2 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 finite- dimensional approximation Differential equation is replaced by algebraic equation whose solution approximates that of given differential equation

3 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 first- order equations

4 Higher-order ODEs

5 Example: Newton’s second law u 1 = solution y of the original equation of 2 nd order u 2 = velocity y’ Can solve this by methods for 1 st order equations

6 ODEs

7 Initial value problems

8

9 Example

10 Example (cont.)

11 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

12 Example: stable solutions

13 Example: asymptotically stable solutions

14 Example: stability of solutions

15 Example: linear systems of ODEs

16 Stability of solutions

17

18 Numerical solution of ODEs

19 Numerical solution to ODEs

20 Euler’s method

21 Example

22 Example (cont.)

23

24

25 Numerical errors in ODE solution

26 Global and local error

27 Global vs. local error

28

29

30 Order of accuracy. Stability

31 Determining stability/accuracy

32 Example: Euler’s method

33 Example (cont.)

34

35

36

37 Stability in ODE, in general

38 Step size selection

39

40 Implicit methods

41 Implicit methods, cont.

42 Backward Euler method

43 Implicit methods

44 Backward Euler method

45

46 Unconditionally stable methods

47 Trapezoid method

48

49 Implicit methods

50 Stiff differential equations

51 Stiff ODEs

52

53 Example

54 Example, cont.

55 Example (cont.)

56

57

58

59 Numerical methods for ODEs

60 Taylor series methods

61

62 Runge-Kutta methods

63

64

65

66 Extrapolation methods

67 Multistep methods

68

69

70 Example of multistep methods

71 Example (cont.)

72 Multistep Adams methods

73 Properties of multistep methods

74

75 Multivalue methods

76

77 Example

78 Example (cont.)

79

80

81 Multivalue methods, cont.

82 Variable-order/Variable-step methods


Download ppt "MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems."

Similar presentations


Ads by Google