Polska wersja

Numerical Differential Equations


winter semester 2015-16

Time: Tuesday lecture 1415-1545 room 1780 and classes/lab 1605-1735 room 1780 or computer lab 3044 (MIMUW bdg., Banacha 2 - entrance - Pasteura Street)
Posponed date of the oral exam: Monday Feb 8th, 2016 - 10am-1pm (or longer if needed) , room 5010 - at other date/time - by appointment.
I will available also on Thursday, Feb 11, 2016 - from 1015am to around 12pm. and Tuesday, February 16, 2016 - from 1030am to around 1230pm.
oficial date Friday, Feb 19 - I will try to shift it to Feb 18, 2016 10am-1pm. If anyone can come ONLY on Friday, Feb 18, 2016 - please let me know by e-mail as soon as possible.

Exam questions

  1. One step schemes. Examples and convergence theory
  2. Multistep schemes . Examples including Adams schemes. Convergence theory.
  3. Stiffness. Definition. Examples of ODEs. Idea of adaptive step control.
  4. Finite difference method for elliptic equation in 1D and 2D. 1D Example: - u''+u=f u(a)=u(b)=0 and detailed convergence analysis of this problem in a discrete maximum norm
  5. Finite difference method for elliptic equations. 2D Example: -Laplacian u=f , u=0 on boundary. Abstract convergence anaylisi: the order of local truncation error and stability. Discrete convergence - definition and Lax theorem.
  6. Idea of Finite Element Method. Analysis of convergence of linear finite element in 1D for -u''=f, u(a)=u(b)=0.
  7. Elements of abstract FEM theory: Lax Milgram theorem. Cea Lemma. Application to 2d elliptic boundary problem with homogeneous Dirichlet boundary element.
  8. FEM and different boundary conditions for 2nd order elliptic boundary problem: Dirichelt, Neumann, Robin, mixed. (it is not discussed in Lect Notes. I discussed it during a lecture but I will not ask this question unless somebody choose it)
  9. Elements of abstract FEM theory: continuous FEM spaces, affine families of FEM spaces, shape regularity etc
  10. Schemes for parabolic differential equations: FDM and FEM in 1/2D (as in lecture notes or as was presented in the lecture)
  11. Mixed formulation of elliptic 2nd order problem and its mixed FEM discretization. Stokes problem in a mixed formulation. (it is not discussed in Lect Notes. I will present it during the last lecture but I will not ask this question unless somebody choose it)

Link to lab (Oct 13,20 2015, Nov 3, 17 2015, Dec 15,22 2015, Jan 19,26 2016)
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


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
testHeun.m - tests for Heun scheme (explicit Runge-Kutta scheme of order 2)
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?)
linshoot15.m -m-file with a function linshoot15() solving the linear boundary value ODE problem: -y''+p(x)y+q(x)y=f(x); y(a)=alpha y(b)=beta 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
fdmsolve15.m function solving -u''+c(t)u=f(t) with Dirichlet bnd cond : u(a)=alpha u(b)=beta by FDM method (order two)
testfdm1D15.m function testing the order of convergence of -u''=sin(t) with Dirichlet bnd cond : u(a)=alpha u(b)=beta (solution u=sin(t)) by FDM method (order two) and the order of local truncation error. There are also tests of order of convergence for inexact Dirichlet bnd (i.e. x_N<>b and we set in FDM scheme discrete bnd u_N=u_h(x_N)=u(b), Collatz approximation, tests of FDM for left Neumann bnd u'(b)=beta with backward difference or increased order (assuming that -u''(b)=f(b)) etc
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.
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)
test2dlapFDM15.m - octave script testing order of convergence of FDM for -Laplacian u=f on a 2D unit square; u=0 on boundary; with uniform mesh (5 point stencil) in max discrete norm; for u solution = sin(x_1)*sin(x_2) + p1, (then f=2*u; u=p1 linear poly on boundary)
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
My home page
Last update: Feb 15, 2016