SlideShare a Scribd company logo
Numerical solution of ordinary and
partial dierential Equations
Module 23: Analysis of
nite dierence
methods
Dr.rer.nat. Narni Nageswara Rao
£
August 2011
1 Convergence of dierence schemes
We are now establishing the convergence of the dierence scheme for the
numerical solution of the boundary value problem
 yHH + f(t; y) = 0; a  t  b (1)
y(a) = 
1; y(b) = 
2
Consider the second order dierence scheme for (1) given by
 yj 1 + 2yj  yj+1 + h2
fj = 0; j = 1; 2; ¡¡¡ ; N (2)
The boundary conditions become
y0 = 
1; yN+1 = 
2 (3)
The exact solution y(t) of (1) satis
es
 y(tj 1) + 2y(tj)  y(tj+1) + h2
f(t; y(tj)) + Tj = 0 (4)
Where Tj is the truncation error. Substracting (4) from (2) and applying
the mean value theorem, and substituting j = yj   y(tj), we get the error
equation
 j 1 + 2j  j+1 + h2
fyjj  Tj = 0; j = 1; 2; ¡¡¡ ; N (5)
£nnrao maths@yahoo.co.in
1
where Tj =
h4
12
y(4)
(j); tj 1  j  tj+1
In matrix notation, we write (5) as
ME = T (6)
where M = J + Q; E = [1; 2; ¡¡¡ ; N ]T
, T = [T1; T2; ¡¡¡ ; TN ]T
J =
2
6664
2  1 0
 1 2  1
...
0  1 2
3
7775
and
Q = h2
2
6664
fy1 0
fy2
...
0 fyN
3
7775
From (6), we can observe that the convergence of the dierence scheme de-
pends on the properties of the matrix M. we noe show that the matrix
M = J +Q is an irreducible, monotone matrix such that M ! J and Q ! 0.
Irreducible: A tridiagonal matrix A = ai;j, where aij = 0 for ji  jj  1
is irreducible if and only if ai;i 1 T= 0; i = 1; 2; ¡¡¡ ; N and ai;i+1 T= 0; i =
1; 2; ¡¡¡ ; N  1.
Diagonally dominant: A matrix A = ai;j is diagonally dominant if
jai;ij !
nX
j=1;iT=j
jai;jj; i = 1; 2; ¡¡¡ ; N
A matrix A = aij is said to be irreducibly diagonal dominant, if it is irre-
ducible and diagonally dominant with inequality being satis
ed for atleast
one i.
Theorem 1.1. A matrix A is monotone if Az ! 0 implies z ! 0.
The following are some properties of monotone matrices.
(i) A monotone matrix A is non singular.
(ii) A matrix A is monotone if and only if A
 1
! 0.
2
Theorem 1.2. If a matrix A is irreducibly diagonal dominant and has non
positive o-diagonal elements, then A is monotone.
For example, the matrix J(see(6)) is tridiagonal, irreducibly diagonally dom-
inant and has non positive o diagonal elements. Therefore, J is a monotone
matrix.
Theorem 1.3. If matrices A and B are monotone and B A, then B
 1
!
A
 1
.
Now, consider equation (6).
Since fyj  0, j = 1; 2; ¡¡¡ ; N we have Q ! 0 and hence
M = J + Q ! J
Also, J is monotone. Now Q is diagonal matrix with positive diagonal en-
tries. Hence M = J + Q is also irreducibly diagonal dominant and have non
positive o-diagonal elements. Therefore, M is monotone and M ! J and
form Theorem 1.3 we have 0  M
 1 J
 1:
From (6), we have
E = M
 1
T
kEk kM
 1
kkTk kJ
 1
kkTk (7)
In order to
nd this bound, we determine J
 1
= ji;j explicitly. On multiplying
the rows of J by the jth
column of J
 1
, we have the following equations.
(i) : 2ji;j  j2;j = 0
(ii) :  ji 1;j + 2ji;j  ji+1;j = 0 i = 2; 3; ¡¡¡ ; j  1
(iii) :  jj 1;j + 2jj;j  jj+1;j = 1
(iv) :  ji 1;j + 2ji;j  ji+1;j = 0; i = j + 1; j + 2; ¡¡¡ ; N  1
(v) :  jN 1;j + 2jN;j = 0 (8)
The solution of ((8).ii) using ((8).i), is given by
ji;j = c2i; i = 1; 2; 3; ¡¡¡ ; j  1 (9)
where c2 is independent of i, but may depend on j. Similarly, the solution of
((8).iv), using ((8).v), is given by
jij = c1

1   i
N + 1

; i = j + 1; j + 2; ¡¡¡ ; N  1 (10)
3

More Related Content

What's hot

Ma2002 1.19 rm
Ma2002 1.19 rmMa2002 1.19 rm
Ma2002 1.19 rm
Ramakrishna Paduchuri
 
2nd order ode applications
2nd order ode applications2nd order ode applications
2nd order ode applications
Muhammad Zulfazli
 
honey jose presentation
honey jose presentationhoney jose presentation
honey jose presentationHoney jose
 
Higher Differential Equation
Higher Differential EquationHigher Differential Equation
Higher Differential Equation
gtuautonomous
 
11.generalized and subset integrated autoregressive moving average bilinear t...
11.generalized and subset integrated autoregressive moving average bilinear t...11.generalized and subset integrated autoregressive moving average bilinear t...
11.generalized and subset integrated autoregressive moving average bilinear t...
Alexander Decker
 
Application of Differential Equation
Application of Differential EquationApplication of Differential Equation
Application of Differential Equation
Tanzila Islam
 
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
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
JUGAL BORAH
 
Fall 2008 midterm
Fall 2008 midtermFall 2008 midterm
Fall 2008 midtermChang Broot
 
Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model
irjes
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
 
Limites et-continuite-cours-1-2 (1)
Limites et-continuite-cours-1-2 (1)Limites et-continuite-cours-1-2 (1)
Limites et-continuite-cours-1-2 (1)
haitam4
 
An1 derivat.ro fizica-2_quantum physics 2 2010 2011_24125
An1 derivat.ro fizica-2_quantum physics 2 2010 2011_24125An1 derivat.ro fizica-2_quantum physics 2 2010 2011_24125
An1 derivat.ro fizica-2_quantum physics 2 2010 2011_24125
Robin Cruise Jr.
 
Dyadics
DyadicsDyadics
Dyadics
Solo Hermelin
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
Hazrul156
 
Term project
Term projectTerm project
Term project
Mark Brandao
 
OrthogonalFunctionsPaper
OrthogonalFunctionsPaperOrthogonalFunctionsPaper
OrthogonalFunctionsPaperTyler Otto
 
Differential equations and its applications
Differential equations and its applicationsDifferential equations and its applications
Differential equations and its applications
Dr.Jagadish Tawade
 
Nonlinear perturbed difference equations
Nonlinear perturbed difference equationsNonlinear perturbed difference equations
Nonlinear perturbed difference equations
Tahia ZERIZER
 

What's hot (20)

Ma2002 1.19 rm
Ma2002 1.19 rmMa2002 1.19 rm
Ma2002 1.19 rm
 
2nd order ode applications
2nd order ode applications2nd order ode applications
2nd order ode applications
 
honey jose presentation
honey jose presentationhoney jose presentation
honey jose presentation
 
Higher Differential Equation
Higher Differential EquationHigher Differential Equation
Higher Differential Equation
 
thesis
thesisthesis
thesis
 
11.generalized and subset integrated autoregressive moving average bilinear t...
11.generalized and subset integrated autoregressive moving average bilinear t...11.generalized and subset integrated autoregressive moving average bilinear t...
11.generalized and subset integrated autoregressive moving average bilinear t...
 
Application of Differential Equation
Application of Differential EquationApplication of Differential Equation
Application of Differential Equation
 
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
 
Ordinary differential equation
Ordinary differential equationOrdinary differential equation
Ordinary differential equation
 
Fall 2008 midterm
Fall 2008 midtermFall 2008 midterm
Fall 2008 midterm
 
Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model Flip bifurcation and chaos control in discrete-time Prey-predator model
Flip bifurcation and chaos control in discrete-time Prey-predator model
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Limites et-continuite-cours-1-2 (1)
Limites et-continuite-cours-1-2 (1)Limites et-continuite-cours-1-2 (1)
Limites et-continuite-cours-1-2 (1)
 
An1 derivat.ro fizica-2_quantum physics 2 2010 2011_24125
An1 derivat.ro fizica-2_quantum physics 2 2010 2011_24125An1 derivat.ro fizica-2_quantum physics 2 2010 2011_24125
An1 derivat.ro fizica-2_quantum physics 2 2010 2011_24125
 
Dyadics
DyadicsDyadics
Dyadics
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
 
Term project
Term projectTerm project
Term project
 
OrthogonalFunctionsPaper
OrthogonalFunctionsPaperOrthogonalFunctionsPaper
OrthogonalFunctionsPaper
 
Differential equations and its applications
Differential equations and its applicationsDifferential equations and its applications
Differential equations and its applications
 
Nonlinear perturbed difference equations
Nonlinear perturbed difference equationsNonlinear perturbed difference equations
Nonlinear perturbed difference equations
 

Viewers also liked

M 1.4 ap1
M 1.4 ap1M 1.4 ap1
Ma2002 1.12 rm
Ma2002 1.12 rmMa2002 1.12 rm
Ma2002 1.12 rm
Ramakrishna Paduchuri
 
Ma2002 1.16 rm
Ma2002 1.16 rmMa2002 1.16 rm
Ma2002 1.16 rm
Ramakrishna Paduchuri
 
Ma2002 1.18 rm
Ma2002 1.18 rmMa2002 1.18 rm
Ma2002 1.18 rm
Ramakrishna Paduchuri
 
Ma2002 1.21 rm
Ma2002 1.21 rmMa2002 1.21 rm
Ma2002 1.21 rm
Ramakrishna Paduchuri
 

Viewers also liked (14)

M 1.3 ap1
M 1.3 ap1M 1.3 ap1
M 1.3 ap1
 
Ma2002 1.10 rm
Ma2002 1.10 rmMa2002 1.10 rm
Ma2002 1.10 rm
 
M 1.4 ap1
M 1.4 ap1M 1.4 ap1
M 1.4 ap1
 
Ma2002 1.13 rm
Ma2002 1.13 rmMa2002 1.13 rm
Ma2002 1.13 rm
 
Ma2002 1.20 rm
Ma2002 1.20 rmMa2002 1.20 rm
Ma2002 1.20 rm
 
Ma2002 1.12 rm
Ma2002 1.12 rmMa2002 1.12 rm
Ma2002 1.12 rm
 
Ma2002 1.14 rm
Ma2002 1.14 rmMa2002 1.14 rm
Ma2002 1.14 rm
 
Ma2002 1.6 rm
Ma2002 1.6 rmMa2002 1.6 rm
Ma2002 1.6 rm
 
Ma2002 1.16 rm
Ma2002 1.16 rmMa2002 1.16 rm
Ma2002 1.16 rm
 
Ma2002 1.18 rm
Ma2002 1.18 rmMa2002 1.18 rm
Ma2002 1.18 rm
 
M 1.4 rm
M 1.4 rmM 1.4 rm
M 1.4 rm
 
M 1.5 rm
M 1.5 rmM 1.5 rm
M 1.5 rm
 
Ma2002 1.22 rm
Ma2002 1.22 rmMa2002 1.22 rm
Ma2002 1.22 rm
 
Ma2002 1.21 rm
Ma2002 1.21 rmMa2002 1.21 rm
Ma2002 1.21 rm
 

Similar to Ma2002 1.23 rm

Ols
OlsOls
Momentum sudut total
Momentum sudut totalMomentum sudut total
Momentum sudut total
Zulaeha Izoel Pamungkas
 
Imc2016 day2-solutions
Imc2016 day2-solutionsImc2016 day2-solutions
Imc2016 day2-solutions
Christos Loizos
 
International journal of engineering and mathematical modelling vol2 no1_2015_1
International journal of engineering and mathematical modelling vol2 no1_2015_1International journal of engineering and mathematical modelling vol2 no1_2015_1
International journal of engineering and mathematical modelling vol2 no1_2015_1
IJEMM
 
2003 Ames.Models
2003 Ames.Models2003 Ames.Models
2003 Ames.Models
pinchung
 
Advanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdfAdvanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdf
Whitney Anderson
 
BIOL 364 - assignment 3
BIOL 364 - assignment 3BIOL 364 - assignment 3
BIOL 364 - assignment 3Nanjun Li
 
Ichimura 1993: Semiparametric Least Squares (non-technical)
Ichimura 1993: Semiparametric Least Squares (non-technical)Ichimura 1993: Semiparametric Least Squares (non-technical)
Ichimura 1993: Semiparametric Least Squares (non-technical)
The University of Texas at Austin
 
3 2--_2_first-order_differential_equati
3  2--_2_first-order_differential_equati3  2--_2_first-order_differential_equati
3 2--_2_first-order_differential_equati
IsidroMateus
 

Similar to Ma2002 1.23 rm (20)

Ch03 2
Ch03 2Ch03 2
Ch03 2
 
Ch02 5
Ch02 5Ch02 5
Ch02 5
 
Ols
OlsOls
Ols
 
Ch03 1
Ch03 1Ch03 1
Ch03 1
 
Momentum sudut total
Momentum sudut totalMomentum sudut total
Momentum sudut total
 
Imc2016 day2-solutions
Imc2016 day2-solutionsImc2016 day2-solutions
Imc2016 day2-solutions
 
International journal of engineering and mathematical modelling vol2 no1_2015_1
International journal of engineering and mathematical modelling vol2 no1_2015_1International journal of engineering and mathematical modelling vol2 no1_2015_1
International journal of engineering and mathematical modelling vol2 no1_2015_1
 
Sol75
Sol75Sol75
Sol75
 
Sol75
Sol75Sol75
Sol75
 
2003 Ames.Models
2003 Ames.Models2003 Ames.Models
2003 Ames.Models
 
Ch03 3
Ch03 3Ch03 3
Ch03 3
 
Advanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdfAdvanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdf
 
05_AJMS_332_21.pdf
05_AJMS_332_21.pdf05_AJMS_332_21.pdf
05_AJMS_332_21.pdf
 
BIOL 364 - assignment 3
BIOL 364 - assignment 3BIOL 364 - assignment 3
BIOL 364 - assignment 3
 
Ch[1].2
Ch[1].2Ch[1].2
Ch[1].2
 
03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf
 
03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf03_AJMS_166_18_RA.pdf
03_AJMS_166_18_RA.pdf
 
Ma2002 1.7 rm
Ma2002 1.7 rmMa2002 1.7 rm
Ma2002 1.7 rm
 
Ichimura 1993: Semiparametric Least Squares (non-technical)
Ichimura 1993: Semiparametric Least Squares (non-technical)Ichimura 1993: Semiparametric Least Squares (non-technical)
Ichimura 1993: Semiparametric Least Squares (non-technical)
 
3 2--_2_first-order_differential_equati
3  2--_2_first-order_differential_equati3  2--_2_first-order_differential_equati
3 2--_2_first-order_differential_equati
 

More from Ramakrishna Paduchuri

M 1.5 p1.s
M 1.5 p1.sM 1.5 p1.s
Ma2002 1.17 rm
Ma2002 1.17 rmMa2002 1.17 rm
Ma2002 1.17 rm
Ramakrishna Paduchuri
 
Ma2002 1.9 rm
Ma2002 1.9 rmMa2002 1.9 rm
Ma2002 1.9 rm
Ramakrishna Paduchuri
 

More from Ramakrishna Paduchuri (12)

M 1.5 p4.s
M 1.5 p4.sM 1.5 p4.s
M 1.5 p4.s
 
M 1.5 p4.q
M 1.5 p4.qM 1.5 p4.q
M 1.5 p4.q
 
M 1.5 p3.s
M 1.5 p3.sM 1.5 p3.s
M 1.5 p3.s
 
M 1.5 p3.q
M 1.5 p3.qM 1.5 p3.q
M 1.5 p3.q
 
M 1.5 p2.s
M 1.5 p2.sM 1.5 p2.s
M 1.5 p2.s
 
M 1.5 p2.q
M 1.5 p2.qM 1.5 p2.q
M 1.5 p2.q
 
M 1.5 p1.s
M 1.5 p1.sM 1.5 p1.s
M 1.5 p1.s
 
M 1.5 p1.q
M 1.5 p1.qM 1.5 p1.q
M 1.5 p1.q
 
M 1.3 rm
M 1.3 rmM 1.3 rm
M 1.3 rm
 
M 1.1 rm
M 1.1 rmM 1.1 rm
M 1.1 rm
 
Ma2002 1.17 rm
Ma2002 1.17 rmMa2002 1.17 rm
Ma2002 1.17 rm
 
Ma2002 1.9 rm
Ma2002 1.9 rmMa2002 1.9 rm
Ma2002 1.9 rm
 

Recently uploaded

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 

Recently uploaded (20)

2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 

Ma2002 1.23 rm

  • 1. Numerical solution of ordinary and partial dierential Equations Module 23: Analysis of
  • 2. nite dierence methods Dr.rer.nat. Narni Nageswara Rao £ August 2011 1 Convergence of dierence schemes We are now establishing the convergence of the dierence scheme for the numerical solution of the boundary value problem  yHH + f(t; y) = 0; a t b (1) y(a) = 1; y(b) = 2 Consider the second order dierence scheme for (1) given by  yj 1 + 2yj  yj+1 + h2 fj = 0; j = 1; 2; ¡¡¡ ; N (2) The boundary conditions become y0 = 1; yN+1 = 2 (3) The exact solution y(t) of (1) satis
  • 3. es  y(tj 1) + 2y(tj)  y(tj+1) + h2 f(t; y(tj)) + Tj = 0 (4) Where Tj is the truncation error. Substracting (4) from (2) and applying the mean value theorem, and substituting j = yj   y(tj), we get the error equation  j 1 + 2j  j+1 + h2 fyjj  Tj = 0; j = 1; 2; ¡¡¡ ; N (5) £nnrao maths@yahoo.co.in 1
  • 4. where Tj = h4 12 y(4) (j); tj 1 j tj+1 In matrix notation, we write (5) as ME = T (6) where M = J + Q; E = [1; 2; ¡¡¡ ; N ]T , T = [T1; T2; ¡¡¡ ; TN ]T J = 2 6664 2  1 0  1 2  1 ... 0  1 2 3 7775 and Q = h2 2 6664 fy1 0 fy2 ... 0 fyN 3 7775 From (6), we can observe that the convergence of the dierence scheme de- pends on the properties of the matrix M. we noe show that the matrix M = J +Q is an irreducible, monotone matrix such that M ! J and Q ! 0. Irreducible: A tridiagonal matrix A = ai;j, where aij = 0 for ji  jj 1 is irreducible if and only if ai;i 1 T= 0; i = 1; 2; ¡¡¡ ; N and ai;i+1 T= 0; i = 1; 2; ¡¡¡ ; N  1. Diagonally dominant: A matrix A = ai;j is diagonally dominant if jai;ij ! nX j=1;iT=j jai;jj; i = 1; 2; ¡¡¡ ; N A matrix A = aij is said to be irreducibly diagonal dominant, if it is irre- ducible and diagonally dominant with inequality being satis
  • 5. ed for atleast one i. Theorem 1.1. A matrix A is monotone if Az ! 0 implies z ! 0. The following are some properties of monotone matrices. (i) A monotone matrix A is non singular. (ii) A matrix A is monotone if and only if A  1 ! 0. 2
  • 6. Theorem 1.2. If a matrix A is irreducibly diagonal dominant and has non positive o-diagonal elements, then A is monotone. For example, the matrix J(see(6)) is tridiagonal, irreducibly diagonally dom- inant and has non positive o diagonal elements. Therefore, J is a monotone matrix. Theorem 1.3. If matrices A and B are monotone and B A, then B  1 ! A  1 . Now, consider equation (6). Since fyj 0, j = 1; 2; ¡¡¡ ; N we have Q ! 0 and hence M = J + Q ! J Also, J is monotone. Now Q is diagonal matrix with positive diagonal en- tries. Hence M = J + Q is also irreducibly diagonal dominant and have non positive o-diagonal elements. Therefore, M is monotone and M ! J and form Theorem 1.3 we have 0 M  1 J  1: From (6), we have E = M  1 T kEk kM  1 kkTk kJ  1 kkTk (7) In order to
  • 7. nd this bound, we determine J  1 = ji;j explicitly. On multiplying the rows of J by the jth column of J  1 , we have the following equations. (i) : 2ji;j  j2;j = 0 (ii) :  ji 1;j + 2ji;j  ji+1;j = 0 i = 2; 3; ¡¡¡ ; j  1 (iii) :  jj 1;j + 2jj;j  jj+1;j = 1 (iv) :  ji 1;j + 2ji;j  ji+1;j = 0; i = j + 1; j + 2; ¡¡¡ ; N  1 (v) :  jN 1;j + 2jN;j = 0 (8) The solution of ((8).ii) using ((8).i), is given by ji;j = c2i; i = 1; 2; 3; ¡¡¡ ; j  1 (9) where c2 is independent of i, but may depend on j. Similarly, the solution of ((8).iv), using ((8).v), is given by jij = c1 1   i N + 1 ; i = j + 1; j + 2; ¡¡¡ ; N  1 (10) 3
  • 8. The constant c1 depends only on j. on equating the expression for ji;j ob- tained from (9) and (10) for i = j we get c2j = c1 1   i N + 1 (11) Also, on substituting the values of ji;j; i = j  1; j + 1 obtained from (9) and (10) in ((8).iii), we have c2 + c1 N + 1 = 1 (12) Finally, from (11) and (12), we get c1 = j; c2 = N  j + 1 N + 1 (13) on substituting the values of c1 and c2, we have ji;j = ( i(N j+1) (N+1) ; i j j(N i+1) (N+1) ; i ! j (14) From (14), we see that J  1 is symmetric. The row sum of J  1 is gives as NX j=1 ji;j = i(N  i + 1) 2 = (ti  a)(b  ti) 2h2 Hence, we obtain kJ  1 k = max 1 i N NX j=1 jji;jj (b  a)2 8h2 The equation (7) becomes kEk (b  a)2 8h2 kTk Substituting, kTk h4M4 12 , we obtaine kEk 1 96 (b  a)2 h2 M4 = y(h2 ) (15) where M4 = maxjP[a;b] jy(4) (j)j: From the equation (15), it follows that the method is of second order and kEk 3 0 or yj 3 y(tj) as h 3 0. This establishes the convergence of the second order method. 4
  • 10. nite dierence schemes We now examine the stability of
  • 11. nite dierence formulations. We take a simple second order dierential equation with a signi
  • 12. cant
  • 13. rst derivative. yHH + kyH = 0 (16) where k is a constant such that jkj 1. Three dierent approximations for (16) in which the
  • 14. rst derivative is replaced by central, backward and forward dierences respectively are (i) yj+1  2yj + yj 1 h2 + k(yj+1  yj 1) 2h = 0 (ii) yj+1  2yj + yj 1 h2 + k(yj  yj 1) h = 0 (iii) yj+1  2yj + yj 1 h2 + k(yj+1  yj) h = 0 (17) The analytical solution of (16) is given by y(t) = A1 + B1e kt where A1 and B1 are arbitrary constants to be determined with the help of boundary conditions. The characteristic equation corresponding to the dierence equation ((17).i) is 1 h2 (2  2 + 1) + k 2h (2  1) = 0 2(  1)2 + kh(2  1) = 0 (  1)[2(  1) + kh( + 1)] = 0 (  1)[(2 + hk)  (2  h)] = 0 giving = 1, 2 hk 2+hk ) Solution of ((17).i) is yj = A1 + B1 2  hk 2 + hk j = A1 + B1 1   kh 2 1 + kh 2 #j 5
  • 15. If the behaviour of the exponential term is analysed, it is seen that it displays the correct monotonic behaviour for k 0 and k 0 if the condition h 2 jkj is satis
  • 16. ed. This is the condition for the stability of the dierence equation ((17).i). For very large k, 2 hk 2+hk 3  1 and due to the presence of the term ( 1)j , the solution (error) oscillates. Therefore, the stability condition will make this central dierence scheme computationally infeasible. Consider, the dierence equation ((17).ii). The characteristic equation corresponding to it is (  1)2 + kh(  1) = 0 (  1)[  (1  hk)] = 0 ) = 1; 2 = 1  hk ) yj = A1 + B1(1  hk)j Analysis of the exponential term gives that if k 0, then we require that jkhj 1 A h 1 k for stability. If k 0, then there is no condition on h and the dierence scheme ((17).ii) is unconditionally stable. If k becomes very large and positive, then (1   hk) 3  I and due to the prescence of the term ( 1)j , the solution(error) oscillates. Therefore, a backward dierence scheme becomes infeasible for large positive k. Now consider the forward dierence scheme ((17).iii). The characteristic equation is (  1)2 + kh(2  ) = 0 (  1)[(1 + hk)  1] = 0 ) 1 = 1; 2 = 1 1 + hk ) yj = A1 + B1 1 1 + kh j Again if k 0, then h  1 k is the condition for stability. If k 0, then there is no condition on h and proper behaviour is guar- anteed for all h. Thus, if k becomes bery large and negative then a forward dierence scheme is infeasible. 6
  • 17. Hence, for stability it is necessary that dierent dierence approximations for the
  • 18. rst order term must be used depending on the sign of k. we may use the approximation yH(tj) = yj yj 1 h ; if k 0 yj+1 yj h ; if k 0 The one-sided dierence scheme is unconditionally stable and it is always on the upstream or upwind side of tj. However, it suers from the disadvan- tage that it is only
  • 19. rst-order accurate. 3 Appendix We recall the concept of a norm of a vector, kxk. The negative quantity kxk is a measure of the size or length of a vector satisfying. (i) kxk 0, for x T= 0 and k0k = 0 (ii) kcxk = jcjkxk, for any arbitrary complex number c. (iii) kx + yk kxk+ kyk (18) We shall in most cases use the maximum norm kxk = max 1 i n jxij At this point we must also recall the concept of a matrix norm. In addition to the properties analogous to (18) the matrix norm must be consistent with the vector norm that we are using for any vector x and matrix A. kAxk kAkkxk It is easy to verify that the norm kAk = max 1 i n nX j=1 jai;jj is consistent with max norm kxk. 7