Polska wersja

Numerical Differential Equations


winter semester 2014-15

Time: Tuesday lecture 1415-1545 room 1780 and classes/lab 16-1730 room 1780 or computer lab 3044 (temporarily suspended) (MIMUW bdg., Banacha 2 - entrance - Pasteura Street)
Oral exam - Jan 31, 2014 - 930am-1130am room 5010 - at other date/time - by appointment.
I plan to be available from 1pm to around 5-6pm on Tue Feb 3rd and on Wednesday from around 10-11am to 4-5pm in my office room 5010 in MIMUW bldg.
IMPORTANT - please register to this course in USOS (computer system of University of Warsaw) - if 7 students are formally registered, then we will have classes (otherwise there will be only lecture)
Link to labs
Evaluation: an oral exam.

Syllabus

Numerical methods for
  1. ordinary differential equations (ODEs)
  2. elliptic partial differential equations (PDEs)
  3. evolutionary PDEs (parabolic and hyperbolic of first order)
the following classes of methods are going to be discussed
  1. one-step and linear multi-step schemes for initial ODEs problems
  2. finite difference method
  3. finite element method
There may be a few computer labs (instead of standard "blackboard" classes)

The course is elementary - it is required to know the basics of liner algebra, mathematical analysis and theory of ODEs.

It is not necessary to have any knowledge from PDEs theory all necessary facts will be given during our course

There are lecture notes for this course in Polish.
Evaluation will be based on an oral exam.


Lecture notes

(In Polish) Leszek Marcinkowski, Numeryczne równania różniczkowe, 2010.
Published on-line: WWW page (there is a link to pdf file with the lecture notes).
Pdf file with the newest version of the notes.
Please, send me an e-mail with comments if you find any errors, typos etc,

References

Text books

  1. Deuflhard, Peter, Bornemann, Folkmar, Scientific Computing with Ordinary Differential Equations, Series: Texts in Applied Mathematics, Vol. 42, Springer-Verlag, New York, 2002. (theory of ODEs, ODE schemes, Boundary Value Problems in 1D) One can download a pdf file from MIMUW computers (valid Dec 2014): Springer link
  2. David F. Griffiths, Desmond J. Higham, Numerical Methods for Ordinary Differential Equations, Springer-Verlag, 1st Edition, London, 2010. An elementary textbook on ODE schemes. One can download a pdf file from MIMUW computers (valid Dec 2014): Springer link
  3. Claes Johnson, Numerical solution of partial differential equations by the finite element method, Cambridge University Press, Cambridge, 1987.
  4. Randall J. LeVeque, Finite difference methods for ordinary and partial differential equations, Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA, 2007, Steady-state and time-dependent problems. (numerical schemes for ODES, finite difference methods for elliptic and parabolic PDEs)
  5. Alfio Quarteroni, Riccardo Sacco, and Fausto Saleri, Numerical mathematics, Texts in Applied Mathematics, vol. 37, Springer-Verlag, New York, 2000. (numerical schemes for ODEs and some PDES - hyperbolic nad parabolic) One can download a pdf file from MIMUW computers (valid Dec 2014): Springer Link
  6. John C. Strikwerda, Finite difference schemes and partial differential equations, second ed., Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA, 2004. (FD schemes for PDEs - all types)

Monographs or advanced text books

  1. Dietrich Braess, Finite elements, third ed., Cambridge University Press, Cambridge, 2007, Theory, fast solvers, and applications in elasticity theory, Translated from the German by Larry L. Schumaker. (advanced text book)
  2. Susanne C. Brenner and L. Ridgway Scott, The mathematical theory of finite element methods, third ed., Texts in Applied Mathematics, vol. 15, Springer, New York, 2008.
  3. J. C. Butcher, Numerical methods for ordinary differential equations, second ed., John Wiley and Sons Ltd., Chichester, 2008.
  4. P. G. Ciarlet and J.-L. Lions (eds.), Handbook of numerical analysis. Vol. II, Handbook of Numerical Analysis, II, North-Holland, Amsterdam, 1991, Finite element methods. Part 1.
  5. Philippe G. Ciarlet, The finite element method for elliptic problems, Classics in Applied Mathematics, vol. 40, Society for Industrial and Applied Mathematics (SIAM), Philadelphia, PA, 2002, Reprint of the 1978 original [North-Holland, Amsterdam].
  6. E. Hairer, S. P. Norsett, and G. Wanner, Solving ordinary differential equations. I, second ed., Springer Series in Computational Mathematics, vol. 8, Springer-Verlag, Berlin, 1993, Nonstiff problems.
  7. E. Hairer and G. Wanner, Solving ordinary differential equations. II, second ed., Springer Series in Computational Mathematics, vol. 14, Springer-Verlag, Berlin, 1996, Stiff and differential-algebraic problems.
  8. Alfio Quarteroni and Alberto Valli, Numerical approximation of partial differential equations, Springer Series in Computational Mathematics, vol. 23, Springer-Verlag, Berlin, 1994. (FD schemes and FE for PDEs) One can download a pdf file from MIMUW computers (valid Dec 2014): Springer Link

LAB

link to Octave (one can download linux or windows version of octave)
octave-forge - octave extension

octave manual in html

Labs


Octave scripts with solution of some problems from our labs

nrr14-15-scripts.tgz - all scripts in a gzipped tar file (in linux unpack using command: tar zxvf nrr14-15-scripts.tgz; in windows one has to install an external program e.g. 7zip etc)
nrr14-15-scripts.zip - all scripts in a gzipped zip archive file (in linux unpack using command: unzip nrr14-15-scripts.zip; in windows just click in the icon)
nrrbasic.m - a simple octave script with basic operations like matrices multiplications etc
exEuler.m - explicit Euler scheme (in many dimensions)
testexEul.m - basic tests of explicit Euler scheme (in 1D and 2 D)
OrderExEuler.m - tests of local truncation error order of explicite Euler scheme
midpoint.m - implementation of midpoint scheme
testmidpoint.m - tests of midpoint scheme - order of convergence and instability for large T for dx/dt=-x, x(0)=1.
taylor.m - explicit Taylor scheme (in many dimensions)
testtaylor.m - basic tests of Taylor scheme (in 2 D)
testAB2start.m - tests starting value (x^h_1) for explicit Adams-Bashforth scheme (of order 2)
testAdamsBo2.m - tests for explicit Adams-Bashforth scheme (of order 2) like for midpoint - i.e. error order etc
testshoot.m -shooting method for linear boundary value ODE problem: -y''+c(x)y=0; y(0)=1 y(b)=1 (b=1 - shooting works fine, b=20 - shooting doees not work at all - why?)
linshooting.m -m-file with a function linshooting() solving the linear boundary value ODE problem: -y''+d(x)y+c(x)y=f(x); y(a)=ya y(b)=yb using shooting method
shooting.m -m-file with a function shooting() solving the boundary value ODE problem: y''=F(x,y,y'); y(a)=ya y(b)=yb using shooting method
FDsolver.m function solving -u''+cu=f with Dirichlet bnd cond : u(a)=alpha u(b)=beta by FDM method (order two)
testFD.m tests of FDM method for solving -u''+cu=f with Dirichlet bnd cond : u(a)=alpha u(b)=beta -prob 1 u''=u u(0)=u(b)=1 b=1,4,8,16 etc plots of graphs; problem 2: order of FDM with 3 points stencil for -u''=sin(x) u(0)=0 u(b)=sin(b); prob 3 - same as prob 2 but with u_h(b)=solution(b+h/2) - order 1.
testFD.m tests of FDM for -u''+cu=f with Dirichlet bc : u(a)=alpha u(b)=beta
FDmixlft.m m-file with a function solving -u''+cu=f with mixed bc : u'(a)=alpha u(b)=beta (FDM - of local truncation error of order one)
FDsolver2d.m -m-file with a function solving -Laplacian u = f in (a,b)^2 u=g on bnd using FDM
testFDM2d.m - tests of order of convergence in L2 and max discrete norms for -Laplacian u=f na [0,1]^2 ; u=g on bndl - 5-points stencil - uniform mesh with the known solution u = sin(pi*x_1)*sin(pi*x_2), (then f=2*(pi)^2*u; u=0 on bnd)
FEM1Dsolver.m - a function with a linear 1D FEM solver for -au''+bu'+cu=f with Dirichlet or Robin bc - na siatce dowolnej
testMESDbc.m - a m-file with a function testing 1D linear FEM with Dirichelt bc
testMESor.m - a script with few calls to testMESDbc() (in m-file testMESDbc.m -which should be downloaded) - a few tests of linear 1D FEM order by the halving step method.
My home page
Last update: January 29, 2015