Skip to main content

Finite Differences for Differential and Partial Differential Equations

  • Chapter
  • First Online:
Exercises in Computational Mathematics with MATLAB

Part of the book series: Problem Books in Mathematics ((PBM))

  • 7512 Accesses

Abstract

Finite differences are used to approximate derivatives of a function f, in order to solve differential and partial differential equations. In this way the continuous problem can be replaced by a discrete one. In the first section we consider finite differences that lead to approximations of first and second derivatives. We consider the univariate case in Exercise 13.1 , and the bivariate Laplacian in Exercise 13.2.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 39.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Use Taylor expansions with remainder.

  2. 2.

    Consider row i of \(\boldsymbol{A}_{h}\boldsymbol{v}\) where \(v_{i}:=\min _{j=1,\ldots,n}v_{j}\) to show that v i  ≥ 0.

  3. 3.

    Use the results of Exercise  2.8.

  4. 4.

    Use meshgrid .

  5. 5.

    Use while.

  6. 6.

    Use Theorem  2.1 that gives properties of \(\left (\boldsymbol{I} + \frac{\varDelta t} {h^{2}} \boldsymbol{A}\right )\).

  7. 7.

    Use (13.1), (13.2) and (13.4) for u at (x, t) and (x, t +Δ t).

  8. 8.

    Use meshgrid, surf, contour .

References

  1. J. Bastien, Introduction à l’analyse numérique: Applications sous MATLAB, Dunod, 2003.

    Google Scholar 

  2. A. Biran, M. Breiner, MATLAB6 for Engineers, Prentice Hall, 2002, 3th ed.

    Google Scholar 

  3. A. Björck, Numerical Methods for Least Squares Problems, SIAM, 1996.

    Google Scholar 

  4. K. Chen, P. Giblin, A. Irving, Mathematical Explorations with MATLAB, Cambrige Univ. Press, 1999.

    Google Scholar 

  5. E. Cohen, R. F. Riesenfeld, G. Elber, Geometric Modeling with Splines: An Introduction, A.K. Peters, Ltd., 2001.

    Google Scholar 

  6. J. Cooper, MATLAB Companion for Multivariable Calculus (a), Academic Press, 2001.

    Google Scholar 

  7. M. Crouzeix, A. Mignot, Analyse numérique des équations différentielles, Masson, 1989.

    Google Scholar 

  8. C. de Boor, A Practical Guide to Splines, Springer-Verlag, 2001, Rev. Ed.

    Google Scholar 

  9. P. Deuflhard, A. Hohmann, Numerical Analysis in Modern Scientific Computing, An Introduction, Springer-Verlag, 2003, 2nd ed.

    Google Scholar 

  10. A. Fortin, Analyse numérique pour ingénieurs, Ed. de l’Ecole Polytechnique de Montréal, 1995.

    Google Scholar 

  11. W. Gander, J. Hřebíček, Solving Problems in Scientific Computing using MAPPLE and MATLAB, Springer-Verlag, 2004, 4th ed.

    Google Scholar 

  12. S. Godounov, V. Riabenki, Schémas aux différences, MIR, 1977.

    Google Scholar 

  13. G.H. Golub, C.F. Van Loan, Matrix Computations, The Johns Hopkins Univ. Press, 1996, 3rd Ed.

    Google Scholar 

  14. A. Greenbaum, Iterative mMethods for Solving Linear Systems, SIAM, 1997.

    Google Scholar 

  15. F. Gustafsson, N. Bergman, MATLAB for Engineers Explained, Springer-Verlag, 2003.

    Google Scholar 

  16. D.J. Higham, N. Higham, MATLAB Guide, SIAM, 2005, 2nd Ed.

    Google Scholar 

  17. A. Kharab, R. B. Guenther, Introduction to Numerical Methods (a): a MATLAB Approach, Chapman and Hall, 2002.

    Google Scholar 

  18. P. Lascaux and R. Théodor, Analyse numérique matricielle appliquée à l’art de l’ingénieur, vol 1 and 2, Dunod, 2004.

    Google Scholar 

  19. A.J. Laub, Matrix Analysis for Scientists and Engineers, SIAM, 2005.

    Google Scholar 

  20. P. Linz, R. Wang, Exploring Numerical Methods: An Introduction to Scientific Computing using MATLAB, Jones and Barlett Pub., 2003.

    Google Scholar 

  21. D. Marsh, Applied Geometry for Computer Graphics and CAD, Springer-Verlag, 1999.

    Google Scholar 

  22. C. B. Moler, Numerical Computing with MATLAB, SIAM, 2004.

    Google Scholar 

  23. G.M. Phillips, Interpolation and Approximation by Polynomials, CMS Books in Mathematics, Springer-Verlag 2003.

    Google Scholar 

  24. A. Quarteroni, R. Sacco, F. Saleri Numerical Mathematics, Springer-Verlag, 2000.

    Google Scholar 

  25. A. Quarteroni, R. Sacco, F. Saleri Scientific Computing with MATLAB, Springer-Verlag, 2003.

    Google Scholar 

  26. D. Salomon, Curves and Surfaces for Computer Graphics, Springer-Verlag, 2006.

    Google Scholar 

  27. M. Schatzman, Numerical Analysis: A Mathematical Introduction, Oxford Univ. Press, 2002.

    Google Scholar 

  28. B.J. Schroers, Ordinary Differential Equations: a Practical Guide, Cambridge Univ. Press, 2011.

    Google Scholar 

  29. E. Süli, D. Mayers, An introduction to Numerical Analysis, Cambridge Univ. Press, 2003.

    Google Scholar 

  30. L.N. Trefethen & D. Bau III, Numerical Linear Algebra, SIAM, 1997.

    Google Scholar 

  31. C.F. Van Loan, K.-Y. Daysy Fan, Insight Through Computing, SIAM, 2010.

    Google Scholar 

  32. H. B. Wilson, L. H. Turcotte, D. Halpern, Advanced Mathematics and Mechanics Applications using MATLAB, Chapman and Hall, 2003, 3rd ed.

    Google Scholar 

  33. K. Yosida, Functional Analysis, Springer-Verlag, 1980, 6–th ed.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Lyche, T., Merrien, JL. (2014). Finite Differences for Differential and Partial Differential Equations. In: Exercises in Computational Mathematics with MATLAB. Problem Books in Mathematics. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-43511-3_13

Download citation

Publish with us

Policies and ethics