SlideShare a Scribd company logo
1 of 20
Download to read offline
Differential Equations
&
Linear Algebra
MATH - 211
Book for the course
Differential Equations & Linear Algebra
Third Edition
by
C. Henry Edwards & David E. Penney
Pearson International Edition
Chapter 2.
Mathematical Models
and
Numerical Methods
2.1. Population Models
• Applications of population equation – separable first-order
differential equation
• Logistic equation
2.2. Equilibrium Solution and Stability
• Equilibrium solution is a constant solution on a differential equation
• Some equilibrium solutions are stable (attractive points) and others
are unstable (repulsive points). E.g. Figures 2.2.4, 2.2.6
2.4. Numerical Approximation: Euler’s Method
• p. 112 to p. 121 Euler’s Method
• Numerical approximation of a solution of First-Order Linear Initial
Value Problem 𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦
𝑦 𝑥0 = 𝑦0
𝑥0, 𝑦0 : initial point
𝑦 𝑛+1 = 𝑦 𝑛 + ℎ𝑓 𝑥 𝑛, 𝑦 𝑛
𝑥 𝑛+1 = 𝑥 𝑛 + ℎ
𝑛 = 0,1,2,3, …
ℎ: step size
Idea behind Euler’s Method
The derivative of y(x) at x0 is:
 
   0 0
0
0
lim
h
y x h y x
y x
h
 
 
An approximation to this is:
for small values of h. 
   0 0
0
y x h y x
y x
h
 
 
Idea behind Euler’s Method
   0 0 0( )y x h y x hy x  
 0hy x
0x
 0y x
 0y x
h
 0y x h error
x1
Idea behind Euler’s Method
1n n ny y hy
 
1 0 0y y hy 
2 1 1y y hy  ny =  nn yxf ,
 1 ,n n n ny y hf x y  
Examples of application
• Example 1 p. 114
• Example 2 p. 116
• Example 3 p. 119
• Additional example
• Sometimes a problem is stiff and exhibits unusual behavior – Euler’s
method might not be best method to use in those cases (see Example
5, p. 120)
• Exercise: Apply Euler’s method to problems 1 to 10, p. 121 and 122.
Do 3 steps.**
𝑑𝑦
𝑑𝑥
= 2𝑥 + 𝑦 with 𝑦 0 = 2
Some characteristics of numerical method
• Global error usually increases (accumulates) as the calculations go on
• A decrease in step size (h) usually reduces the global error
• For Euler’s method, global error is a linear function of step size (h)
Error Euler ~ 𝐶ℎ (C is a constant)
• Hence, if h is divided by 2, then error will asymptotically by divided by 2
• If h is divided by 5, then error will asymptotically by divided by 5
• See Figures 2.4.4, 2.4.5, 2.4.7, 2.4.8
2.5. Modified (Improved) Euler’s Method
• p. 124 to p. 131 Modified Euler’s Method
• Numerical approximation of a solution of First-Order Linear Initial Value
Problem 𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 𝑦 𝑥0 = 𝑦0
𝑥0, 𝑦0 : initial point
𝑥 𝑛+1 = 𝑥 𝑛 + ℎ
𝑛 = 0,1,2,3, …
ℎ: step size
 *
1 ,n n n ny y hf x y  
    *
1 1 1
1
, ,
2
n n n n n ny y h f x y f x y  
 
    
Euler’s Method
2.5. Modified (Improved) Euler’s Method
• First estimate of is calculated by Euler’s Method
 *
1 ,n n n ny y hf x y  
    *
1 1
1
, , average of two slopes
2
n n n nf x y f x y 
𝑦 𝑥 𝑛+1
   * *
1 1 1 1, slope at ,n n n nf x y x y   
Examples of application
• Example 2 p. 128
• Example 3 p. 130
• Additional example
• Exercise: Apply Modified Euler’s method to problems 1 to 10, p. 132.
Do no more than 3 steps.**
𝑑𝑦
𝑑𝑥
= 2𝑥 + 𝑦 with 𝑦 0 = 2
Some characteristics of numerical method
• Global error usually increases (accumulates) as the calculations go on
• A decrease in step size (h) usually reduces the global error
• For Modified Euler’s method, global error is a quadratic function of step
size (h)
Error Modified Euler ~ (C is a constant)
• Hence, if h is divided by 2, then error will asymptotically by divided by 4
• If h is divided by 5, then error will asymptotically by divided by 25
• See Figures 2.5.3, 2.5.4, 2.5.5, 2.5.6
𝐶ℎ2
2.6. Runge – Kutta 4th Order Method (RK4)
• p. 135 to p. 141 RK4
• Numerical approximation of a solution of First-Order Linear Initial Value Problem
𝑑𝑦
𝑑𝑥
= 𝑓 𝑥, 𝑦 𝑦 𝑥0 = 𝑦0
𝑥0, 𝑦0 : initial point
𝑥 𝑛+1 = 𝑥 𝑛 + ℎ
𝑛 = 0,1,2,3, …
ℎ: step size
 1 1 2 3 4
1
2 2
6
n ny y h k k k k
 
      
 1 ,n nk f x y
2 1,
2 2
n n
h h
k f x y k
 
   
 
3 2,
2 2
n n
h h
k f x y k
 
   
 
 4 3,n nk f x h y hk  
Examples of application
• Example 1 p. 137
• Example 2 p. 138
• Example 3 p. 140
• Additional example 𝑑𝑦
𝑑𝑥
= 2𝑥 + 𝑦 with 𝑦 0 = 2
Some characteristics of numerical method
• Global error usually increases (accumulates) as the calculations go on
• A decrease in step size (h) usually reduces the global error
• For RK4 method, global error as a function of step size (h) is
Error RK4 ~ (C is a constant)
• Hence, if h is divided by 2, then error will asymptotically by divided by 16
• If h is divided by 5, then error will asymptotically by divided by 625
• See Figures 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.6.6
𝐶ℎ4
Comparison of numerical methods
• If the same initial value problem is solved by Euler’s method, Modified
Euler’s method and RK4 (a common step size h is used for all methods), the
results provided by RK4 would be the most accurate.
• Moreover, the results obtained by Modified Euler’s method would be more
accurate than those calculated by Euler’s method .
• By dividing a common step size h by 2, the error of
Euler’s method would be divided by 2
Modified Euler’s method would be divided by 4
RK4 would be divided by 16
That is all
for
Chapter 2

More Related Content

What's hot

Summary statistics (1)
Summary statistics (1)Summary statistics (1)
Summary statistics (1)Godwin Okley
 
Gauss Jordan Method
Gauss Jordan MethodGauss Jordan Method
Gauss Jordan MethodZunAib Ali
 
Linear equations in two variables- By- Pragyan
Linear equations in two variables- By- PragyanLinear equations in two variables- By- Pragyan
Linear equations in two variables- By- PragyanPragyan Poudyal
 
Definition Vector space
Definition Vector spaceDefinition Vector space
Definition Vector spaceROHAN GAIKWAD
 
Introductory maths analysis chapter 06 official
Introductory maths analysis   chapter 06 officialIntroductory maths analysis   chapter 06 official
Introductory maths analysis chapter 06 officialEvert Sandye Taasiringan
 
Vector space introduction
Vector space introductionVector space introduction
Vector space introductionROHAN GAIKWAD
 
Hypothesis testing part iii for difference of means
Hypothesis testing part iii for difference of meansHypothesis testing part iii for difference of means
Hypothesis testing part iii for difference of meansNadeem Uddin
 
C2 st lecture 12 the chi squared-test handout
C2 st lecture 12   the chi squared-test handoutC2 st lecture 12   the chi squared-test handout
C2 st lecture 12 the chi squared-test handoutfatima d
 
Hypothesis testing part i
Hypothesis testing part iHypothesis testing part i
Hypothesis testing part iNadeem Uddin
 
Linear equations in 2 variables
Linear equations in 2 variables Linear equations in 2 variables
Linear equations in 2 variables Bhavyam Arora
 
Lesson 6: Factoring Polynomials
Lesson 6: Factoring PolynomialsLesson 6: Factoring Polynomials
Lesson 6: Factoring PolynomialsKevin Johnson
 
C2 st lecture 13 revision for test b handout
C2 st lecture 13   revision for test b handoutC2 st lecture 13   revision for test b handout
C2 st lecture 13 revision for test b handoutfatima d
 
Linear equation in two variables
Linear equation in two variablesLinear equation in two variables
Linear equation in two variablesAbhaya Gupta
 
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTPEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTONE Virtual Services
 
LINEAR DIFFERENTIAL EQUATION AND BERNOULLIS EQUATIONS
LINEAR DIFFERENTIAL EQUATION AND BERNOULLIS EQUATIONSLINEAR DIFFERENTIAL EQUATION AND BERNOULLIS EQUATIONS
LINEAR DIFFERENTIAL EQUATION AND BERNOULLIS EQUATIONSParthivpal17
 

What's hot (20)

Summary statistics (1)
Summary statistics (1)Summary statistics (1)
Summary statistics (1)
 
Gauss Jordan Method
Gauss Jordan MethodGauss Jordan Method
Gauss Jordan Method
 
Linear equations in two variables- By- Pragyan
Linear equations in two variables- By- PragyanLinear equations in two variables- By- Pragyan
Linear equations in two variables- By- Pragyan
 
The derivatives module03
The derivatives module03The derivatives module03
The derivatives module03
 
Co-factor matrix..
Co-factor matrix..Co-factor matrix..
Co-factor matrix..
 
Definition Vector space
Definition Vector spaceDefinition Vector space
Definition Vector space
 
Basic calculus (i)
Basic calculus (i)Basic calculus (i)
Basic calculus (i)
 
The siegel-tukey-test-for-equal-variability
The siegel-tukey-test-for-equal-variabilityThe siegel-tukey-test-for-equal-variability
The siegel-tukey-test-for-equal-variability
 
Introductory maths analysis chapter 06 official
Introductory maths analysis   chapter 06 officialIntroductory maths analysis   chapter 06 official
Introductory maths analysis chapter 06 official
 
Vector space introduction
Vector space introductionVector space introduction
Vector space introduction
 
Hypothesis testing part iii for difference of means
Hypothesis testing part iii for difference of meansHypothesis testing part iii for difference of means
Hypothesis testing part iii for difference of means
 
C2 st lecture 12 the chi squared-test handout
C2 st lecture 12   the chi squared-test handoutC2 st lecture 12   the chi squared-test handout
C2 st lecture 12 the chi squared-test handout
 
Hypothesis testing part i
Hypothesis testing part iHypothesis testing part i
Hypothesis testing part i
 
Linear equations in 2 variables
Linear equations in 2 variables Linear equations in 2 variables
Linear equations in 2 variables
 
Lesson 6: Factoring Polynomials
Lesson 6: Factoring PolynomialsLesson 6: Factoring Polynomials
Lesson 6: Factoring Polynomials
 
C2 st lecture 13 revision for test b handout
C2 st lecture 13   revision for test b handoutC2 st lecture 13   revision for test b handout
C2 st lecture 13 revision for test b handout
 
Course pack unit 5
Course pack unit 5Course pack unit 5
Course pack unit 5
 
Linear equation in two variables
Linear equation in two variablesLinear equation in two variables
Linear equation in two variables
 
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENTPEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
PEARSON PRODUCT MOMENT CORRELATION COEFFICIENT
 
LINEAR DIFFERENTIAL EQUATION AND BERNOULLIS EQUATIONS
LINEAR DIFFERENTIAL EQUATION AND BERNOULLIS EQUATIONSLINEAR DIFFERENTIAL EQUATION AND BERNOULLIS EQUATIONS
LINEAR DIFFERENTIAL EQUATION AND BERNOULLIS EQUATIONS
 

Similar to Chapter 2: Mathematical Models & Numerical Models/Slides

Applications Of MATLAB Ordinary Differential Equations (ODE
Applications Of MATLAB  Ordinary Differential Equations (ODEApplications Of MATLAB  Ordinary Differential Equations (ODE
Applications Of MATLAB Ordinary Differential Equations (ODEJustin Knight
 
Numerical Analysis and Its application to Boundary Value Problems
Numerical Analysis and Its application to Boundary Value ProblemsNumerical Analysis and Its application to Boundary Value Problems
Numerical Analysis and Its application to Boundary Value ProblemsGobinda Debnath
 
PRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the nextPRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the nextseidnegash1
 
Optimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimizationOptimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimizationSantiagoGarridoBulln
 
Numerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTNumerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTPanchal Anand
 
Perturbation methods last
Perturbation methods lastPerturbation methods last
Perturbation methods lastSabir Ahmed
 
Calculus Review Session Brian Prest Duke University Nicholas School of the En...
Calculus Review Session Brian Prest Duke University Nicholas School of the En...Calculus Review Session Brian Prest Duke University Nicholas School of the En...
Calculus Review Session Brian Prest Duke University Nicholas School of the En...rofiho9697
 
Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...
Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...
Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...Telenor
 
numericalmethods.pdf
numericalmethods.pdfnumericalmethods.pdf
numericalmethods.pdfShailChettri
 
Alg II 3-3 Systems of Inequalities
Alg II 3-3 Systems of InequalitiesAlg II 3-3 Systems of Inequalities
Alg II 3-3 Systems of Inequalitiesjtentinger
 
Alg II Unit 3-3-systemsinequalities
Alg II Unit 3-3-systemsinequalitiesAlg II Unit 3-3-systemsinequalities
Alg II Unit 3-3-systemsinequalitiesjtentinger
 
Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5Stats Statswork
 
Chapter 1 Errors and Approximations.ppt
Chapter 1 Errors  and Approximations.pptChapter 1 Errors  and Approximations.ppt
Chapter 1 Errors and Approximations.pptEyob Adugnaw
 
Chap7 2 Ecc Intro
Chap7 2 Ecc IntroChap7 2 Ecc Intro
Chap7 2 Ecc IntroEdora Aziz
 

Similar to Chapter 2: Mathematical Models & Numerical Models/Slides (20)

Unit vi
Unit viUnit vi
Unit vi
 
Applications Of MATLAB Ordinary Differential Equations (ODE
Applications Of MATLAB  Ordinary Differential Equations (ODEApplications Of MATLAB  Ordinary Differential Equations (ODE
Applications Of MATLAB Ordinary Differential Equations (ODE
 
Numerical Analysis and Its application to Boundary Value Problems
Numerical Analysis and Its application to Boundary Value ProblemsNumerical Analysis and Its application to Boundary Value Problems
Numerical Analysis and Its application to Boundary Value Problems
 
PRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the nextPRESENT.pptx this paper will help the next
PRESENT.pptx this paper will help the next
 
Es272 ch7
Es272 ch7Es272 ch7
Es272 ch7
 
Optimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimizationOptimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimization
 
Numerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPTNumerical solution of ordinary differential equations GTU CVNM PPT
Numerical solution of ordinary differential equations GTU CVNM PPT
 
Perturbation methods last
Perturbation methods lastPerturbation methods last
Perturbation methods last
 
Calculus Review Session Brian Prest Duke University Nicholas School of the En...
Calculus Review Session Brian Prest Duke University Nicholas School of the En...Calculus Review Session Brian Prest Duke University Nicholas School of the En...
Calculus Review Session Brian Prest Duke University Nicholas School of the En...
 
Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...
Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...
Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...
 
numericalmethods.pdf
numericalmethods.pdfnumericalmethods.pdf
numericalmethods.pdf
 
Computational Dynamics edited
Computational Dynamics editedComputational Dynamics edited
Computational Dynamics edited
 
Alg II 3-3 Systems of Inequalities
Alg II 3-3 Systems of InequalitiesAlg II 3-3 Systems of Inequalities
Alg II 3-3 Systems of Inequalities
 
Alg II Unit 3-3-systemsinequalities
Alg II Unit 3-3-systemsinequalitiesAlg II Unit 3-3-systemsinequalities
Alg II Unit 3-3-systemsinequalities
 
Calculus
CalculusCalculus
Calculus
 
Term project
Term projectTerm project
Term project
 
Matlab lab.pdf
Matlab lab.pdfMatlab lab.pdf
Matlab lab.pdf
 
Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5Design of Engineering Experiments Part 5
Design of Engineering Experiments Part 5
 
Chapter 1 Errors and Approximations.ppt
Chapter 1 Errors  and Approximations.pptChapter 1 Errors  and Approximations.ppt
Chapter 1 Errors and Approximations.ppt
 
Chap7 2 Ecc Intro
Chap7 2 Ecc IntroChap7 2 Ecc Intro
Chap7 2 Ecc Intro
 

More from Chaimae Baroudi

Chapter 4: Vector Spaces - Part 5/Slides By Pearson
Chapter 4: Vector Spaces - Part 5/Slides By PearsonChapter 4: Vector Spaces - Part 5/Slides By Pearson
Chapter 4: Vector Spaces - Part 5/Slides By PearsonChaimae Baroudi
 
Chapter 4: Vector Spaces - Part 4/Slides By Pearson
Chapter 4: Vector Spaces - Part 4/Slides By PearsonChapter 4: Vector Spaces - Part 4/Slides By Pearson
Chapter 4: Vector Spaces - Part 4/Slides By PearsonChaimae Baroudi
 
Chapter 4: Vector Spaces - Part 3/Slides By Pearson
Chapter 4: Vector Spaces - Part 3/Slides By PearsonChapter 4: Vector Spaces - Part 3/Slides By Pearson
Chapter 4: Vector Spaces - Part 3/Slides By PearsonChaimae Baroudi
 
Chapter 4: Vector Spaces - Part 2/Slides By Pearson
Chapter 4: Vector Spaces - Part 2/Slides By PearsonChapter 4: Vector Spaces - Part 2/Slides By Pearson
Chapter 4: Vector Spaces - Part 2/Slides By PearsonChaimae Baroudi
 
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By PearsonChapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By PearsonChaimae Baroudi
 
Chapter 3: Linear Systems and Matrices - Part 3/Slides
Chapter 3: Linear Systems and Matrices - Part 3/SlidesChapter 3: Linear Systems and Matrices - Part 3/Slides
Chapter 3: Linear Systems and Matrices - Part 3/SlidesChaimae Baroudi
 
Chapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/SlidesChapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/SlidesChaimae Baroudi
 
Chapter 3: Linear Systems and Matrices - Part 1/Slides
Chapter 3: Linear Systems and Matrices - Part 1/SlidesChapter 3: Linear Systems and Matrices - Part 1/Slides
Chapter 3: Linear Systems and Matrices - Part 1/SlidesChaimae Baroudi
 
Chapter 1: First-Order Ordinary Differential Equations/Slides
Chapter 1: First-Order Ordinary Differential Equations/Slides Chapter 1: First-Order Ordinary Differential Equations/Slides
Chapter 1: First-Order Ordinary Differential Equations/Slides Chaimae Baroudi
 
Linear Algebra and Differential Equations by Pearson - Chapter 4
Linear Algebra and Differential Equations by Pearson - Chapter 4Linear Algebra and Differential Equations by Pearson - Chapter 4
Linear Algebra and Differential Equations by Pearson - Chapter 4Chaimae Baroudi
 
Linear Algebra and Differential Equations by Pearson - Chapter 3
Linear Algebra and Differential Equations by Pearson - Chapter 3Linear Algebra and Differential Equations by Pearson - Chapter 3
Linear Algebra and Differential Equations by Pearson - Chapter 3Chaimae Baroudi
 
Linear Algebra and Differential Equations by Pearson - Chapter 1
Linear Algebra and Differential Equations by Pearson - Chapter 1Linear Algebra and Differential Equations by Pearson - Chapter 1
Linear Algebra and Differential Equations by Pearson - Chapter 1Chaimae Baroudi
 

More from Chaimae Baroudi (12)

Chapter 4: Vector Spaces - Part 5/Slides By Pearson
Chapter 4: Vector Spaces - Part 5/Slides By PearsonChapter 4: Vector Spaces - Part 5/Slides By Pearson
Chapter 4: Vector Spaces - Part 5/Slides By Pearson
 
Chapter 4: Vector Spaces - Part 4/Slides By Pearson
Chapter 4: Vector Spaces - Part 4/Slides By PearsonChapter 4: Vector Spaces - Part 4/Slides By Pearson
Chapter 4: Vector Spaces - Part 4/Slides By Pearson
 
Chapter 4: Vector Spaces - Part 3/Slides By Pearson
Chapter 4: Vector Spaces - Part 3/Slides By PearsonChapter 4: Vector Spaces - Part 3/Slides By Pearson
Chapter 4: Vector Spaces - Part 3/Slides By Pearson
 
Chapter 4: Vector Spaces - Part 2/Slides By Pearson
Chapter 4: Vector Spaces - Part 2/Slides By PearsonChapter 4: Vector Spaces - Part 2/Slides By Pearson
Chapter 4: Vector Spaces - Part 2/Slides By Pearson
 
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By PearsonChapter 4: Vector Spaces - Part 1/Slides By Pearson
Chapter 4: Vector Spaces - Part 1/Slides By Pearson
 
Chapter 3: Linear Systems and Matrices - Part 3/Slides
Chapter 3: Linear Systems and Matrices - Part 3/SlidesChapter 3: Linear Systems and Matrices - Part 3/Slides
Chapter 3: Linear Systems and Matrices - Part 3/Slides
 
Chapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/SlidesChapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/Slides
 
Chapter 3: Linear Systems and Matrices - Part 1/Slides
Chapter 3: Linear Systems and Matrices - Part 1/SlidesChapter 3: Linear Systems and Matrices - Part 1/Slides
Chapter 3: Linear Systems and Matrices - Part 1/Slides
 
Chapter 1: First-Order Ordinary Differential Equations/Slides
Chapter 1: First-Order Ordinary Differential Equations/Slides Chapter 1: First-Order Ordinary Differential Equations/Slides
Chapter 1: First-Order Ordinary Differential Equations/Slides
 
Linear Algebra and Differential Equations by Pearson - Chapter 4
Linear Algebra and Differential Equations by Pearson - Chapter 4Linear Algebra and Differential Equations by Pearson - Chapter 4
Linear Algebra and Differential Equations by Pearson - Chapter 4
 
Linear Algebra and Differential Equations by Pearson - Chapter 3
Linear Algebra and Differential Equations by Pearson - Chapter 3Linear Algebra and Differential Equations by Pearson - Chapter 3
Linear Algebra and Differential Equations by Pearson - Chapter 3
 
Linear Algebra and Differential Equations by Pearson - Chapter 1
Linear Algebra and Differential Equations by Pearson - Chapter 1Linear Algebra and Differential Equations by Pearson - Chapter 1
Linear Algebra and Differential Equations by Pearson - Chapter 1
 

Recently uploaded

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Recently uploaded (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

Chapter 2: Mathematical Models & Numerical Models/Slides

  • 2. Book for the course Differential Equations & Linear Algebra Third Edition by C. Henry Edwards & David E. Penney Pearson International Edition
  • 4. 2.1. Population Models • Applications of population equation – separable first-order differential equation • Logistic equation
  • 5. 2.2. Equilibrium Solution and Stability • Equilibrium solution is a constant solution on a differential equation • Some equilibrium solutions are stable (attractive points) and others are unstable (repulsive points). E.g. Figures 2.2.4, 2.2.6
  • 6. 2.4. Numerical Approximation: Euler’s Method • p. 112 to p. 121 Euler’s Method • Numerical approximation of a solution of First-Order Linear Initial Value Problem 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 𝑦 𝑥0 = 𝑦0 𝑥0, 𝑦0 : initial point 𝑦 𝑛+1 = 𝑦 𝑛 + ℎ𝑓 𝑥 𝑛, 𝑦 𝑛 𝑥 𝑛+1 = 𝑥 𝑛 + ℎ 𝑛 = 0,1,2,3, … ℎ: step size
  • 7. Idea behind Euler’s Method The derivative of y(x) at x0 is:      0 0 0 0 lim h y x h y x y x h     An approximation to this is: for small values of h.     0 0 0 y x h y x y x h    
  • 8. Idea behind Euler’s Method    0 0 0( )y x h y x hy x    0hy x 0x  0y x  0y x h  0y x h error x1
  • 9. Idea behind Euler’s Method 1n n ny y hy   1 0 0y y hy  2 1 1y y hy  ny =  nn yxf ,  1 ,n n n ny y hf x y  
  • 10. Examples of application • Example 1 p. 114 • Example 2 p. 116 • Example 3 p. 119 • Additional example • Sometimes a problem is stiff and exhibits unusual behavior – Euler’s method might not be best method to use in those cases (see Example 5, p. 120) • Exercise: Apply Euler’s method to problems 1 to 10, p. 121 and 122. Do 3 steps.** 𝑑𝑦 𝑑𝑥 = 2𝑥 + 𝑦 with 𝑦 0 = 2
  • 11. Some characteristics of numerical method • Global error usually increases (accumulates) as the calculations go on • A decrease in step size (h) usually reduces the global error • For Euler’s method, global error is a linear function of step size (h) Error Euler ~ 𝐶ℎ (C is a constant) • Hence, if h is divided by 2, then error will asymptotically by divided by 2 • If h is divided by 5, then error will asymptotically by divided by 5 • See Figures 2.4.4, 2.4.5, 2.4.7, 2.4.8
  • 12. 2.5. Modified (Improved) Euler’s Method • p. 124 to p. 131 Modified Euler’s Method • Numerical approximation of a solution of First-Order Linear Initial Value Problem 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 𝑦 𝑥0 = 𝑦0 𝑥0, 𝑦0 : initial point 𝑥 𝑛+1 = 𝑥 𝑛 + ℎ 𝑛 = 0,1,2,3, … ℎ: step size  * 1 ,n n n ny y hf x y       * 1 1 1 1 , , 2 n n n n n ny y h f x y f x y          Euler’s Method
  • 13. 2.5. Modified (Improved) Euler’s Method • First estimate of is calculated by Euler’s Method  * 1 ,n n n ny y hf x y       * 1 1 1 , , average of two slopes 2 n n n nf x y f x y  𝑦 𝑥 𝑛+1    * * 1 1 1 1, slope at ,n n n nf x y x y   
  • 14. Examples of application • Example 2 p. 128 • Example 3 p. 130 • Additional example • Exercise: Apply Modified Euler’s method to problems 1 to 10, p. 132. Do no more than 3 steps.** 𝑑𝑦 𝑑𝑥 = 2𝑥 + 𝑦 with 𝑦 0 = 2
  • 15. Some characteristics of numerical method • Global error usually increases (accumulates) as the calculations go on • A decrease in step size (h) usually reduces the global error • For Modified Euler’s method, global error is a quadratic function of step size (h) Error Modified Euler ~ (C is a constant) • Hence, if h is divided by 2, then error will asymptotically by divided by 4 • If h is divided by 5, then error will asymptotically by divided by 25 • See Figures 2.5.3, 2.5.4, 2.5.5, 2.5.6 𝐶ℎ2
  • 16. 2.6. Runge – Kutta 4th Order Method (RK4) • p. 135 to p. 141 RK4 • Numerical approximation of a solution of First-Order Linear Initial Value Problem 𝑑𝑦 𝑑𝑥 = 𝑓 𝑥, 𝑦 𝑦 𝑥0 = 𝑦0 𝑥0, 𝑦0 : initial point 𝑥 𝑛+1 = 𝑥 𝑛 + ℎ 𝑛 = 0,1,2,3, … ℎ: step size  1 1 2 3 4 1 2 2 6 n ny y h k k k k           1 ,n nk f x y 2 1, 2 2 n n h h k f x y k         3 2, 2 2 n n h h k f x y k          4 3,n nk f x h y hk  
  • 17. Examples of application • Example 1 p. 137 • Example 2 p. 138 • Example 3 p. 140 • Additional example 𝑑𝑦 𝑑𝑥 = 2𝑥 + 𝑦 with 𝑦 0 = 2
  • 18. Some characteristics of numerical method • Global error usually increases (accumulates) as the calculations go on • A decrease in step size (h) usually reduces the global error • For RK4 method, global error as a function of step size (h) is Error RK4 ~ (C is a constant) • Hence, if h is divided by 2, then error will asymptotically by divided by 16 • If h is divided by 5, then error will asymptotically by divided by 625 • See Figures 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.6.6 𝐶ℎ4
  • 19. Comparison of numerical methods • If the same initial value problem is solved by Euler’s method, Modified Euler’s method and RK4 (a common step size h is used for all methods), the results provided by RK4 would be the most accurate. • Moreover, the results obtained by Modified Euler’s method would be more accurate than those calculated by Euler’s method . • By dividing a common step size h by 2, the error of Euler’s method would be divided by 2 Modified Euler’s method would be divided by 4 RK4 would be divided by 16