Skip to main content

The Vindication of Computer Simulations

  • Chapter
  • First Online:
Book cover Mathematics as a Tool

Part of the book series: Boston Studies in the Philosophy and History of Science ((BSPS,volume 327))

Abstract

The relatively recent increase in prominence of computer simulations in scientific inquiry gives us more reasons than ever before for asserting that mathematics is a wonderful tool. In fact, a practical knowledge (a ‘know-how’) of scientific computation has become essential for scientists working in all disciplines involving mathematics. Despite their incontestable success, it must be emphasized that the numerical methods subtending simulations provide at best approximate solutions and that they can also return very misleading results. Accordingly, epistemological sobriety demands that we clarify the circumstances under which simulations can be relied upon. With this in mind, this paper articulates a general perspective to better understand and compare the strengths and weaknesses of various error-analysis methods.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 129.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.

    For more details on the relation between the unreasonable effectiveness of mathematics and computational issues, see Fillion (2012).

  2. 2.

    Note however that despite the broad use of this terminology in computational mechanics, it remains comparatively rare in the field of numerical analysis.

  3. 3.

    For an excellent discussion of such complications, see Borwein and Crandall (2010). For a more philosophical discussion, see Fillion and Bangu (2015).

  4. 4.

    See also, e.g., Feigl (1950) and Salmon (1991).

  5. 5.

    For a similar claim, see Grcar (2011). For a more extensive explication of the notions introduced below, see Corless and Fillion (2013). Higham (2002) and Deuflhard and Hohmann (2003) are also excellent alternative presentations.

  6. 6.

    For more details on this, see Fillion and Corless (2014).

References

  • Allison, D. B., Paultre, F., Maggio, C., Mezzitis, N., & Pi-Sunyer, F. X. (1995). The use of areas under curves in diabetes research. Diabetes Care, 18(2), 245–250.

    Google Scholar 

  • Batterman, R. W. (2002a). Asymptotics and the role of minimal models. British Journal for the Philosophy of Science, 53, 21–38.

    Google Scholar 

  • Batterman, R. W. (2002b). The devil in the details: Asymptotic reasoning in explanation, reduction, and emergence. Oxford: Oxford University Press.

    Google Scholar 

  • Batterman, R. W. (2009). Idealization and modeling. Synthese, 169(3), 427–446.

    Article  Google Scholar 

  • Bender, C., & Orszag, S. (1978). Advanced mathematical methods for scientists and engineers: Asymptotic methods and perturbation theory (Vol. 1). New York: Springer.

    Google Scholar 

  • Borwein, J., & Crandall, R. (2010). Closed forms: what they are and why we care. Notices of the American Mathematical Society, 60, 50–65.

    Article  Google Scholar 

  • Corless, R. M., & Fillion, N. (2013). A graduate introduction to numerical methods, from the viewpoint of backward error analysis (868pp.). New York: Springer.

    Book  Google Scholar 

  • Deuflhard, P., & Hohmann, A. (2003). Numerical analysis in modern scientific computing: An introduction (Vol. 43). New York: Springer.

    Google Scholar 

  • Feigl, H. (1950). De principiis non disputandum…? In Inquiries and provocations (pp. 237–268). Dordrecht: Springer. 1981.

    Book  Google Scholar 

  • Fillion, N. (2012). The reasonable effectiveness of mathematics in the natural sciences. PhD thesis, London: The University of Western Ontario.

    Google Scholar 

  • Fillion, N., & Bangu, S. (2015). Numerical methods, complexity, and epistemic hierarchies. Philosophy of Science, 82, 941–955.

    Article  Google Scholar 

  • Fillion, N., & Corless, R. M. (2014). On the epistemological analysis of modeling and computational error in the mathematical sciences. Synthese, 191, 1451–1467.

    Article  Google Scholar 

  • Galileo (1687). De motu. In I. Drabkin (Ed.), On motion and on mechanics. Madison: University of Wisconsin Press. 1960.

    Google Scholar 

  • Grcar, J. (2011). John von Neumann’s analysis of Gaussian elimination and the origins of modern numerical analysis. SIAM Review, 53(4), 607–682.

    Article  Google Scholar 

  • Hacking, I. (1992). The self-vindication of the laboratory sciences. In A. Pickering (Ed.), Science as practice and culture. Chicago: University of Chicago Press.

    Google Scholar 

  • Hamming, R. (1980). The unreasonable effectiveness of mathematics. The American Mathematical Monthly, 87(2), 81–90.

    Article  Google Scholar 

  • Higham, N. J. (2002). Accuracy and stability of numerical algorithms (2nd ed.). Philadelphia: SIAM.

    Book  Google Scholar 

  • Humphreys, P. (2004). Extending ourselves: Computational science, empiricism, and scientific method. New York: Oxford University Press.

    Book  Google Scholar 

  • Kadanoff, L. P. (2004). Excellence in computer simulation. Computing in Science & Engineering, 6(2), 57–67.

    Google Scholar 

  • Oberkampf, W., Trucano, T., & Hirsch, C. (2004). Verification, validation, and predictive capability in computational engineering and physics. Applied Mechanics Review, 57(5), 345–384.

    Article  Google Scholar 

  • Reichenbach (1949). The theory of probability: An inquiry into the logical and mathematical foundations of the calculus of probability. Berkeley: University of California Press Berkeley.

    Google Scholar 

  • Salmon, W. C. (1991). Hans Reichenbach’s vindication of induction. Erkenntnis, 35(1–3), 99–122.

    Google Scholar 

  • Tai, M. M. (1994). A mathematical model for the determination of total area under glucose tolerance and other metabolic curves. Diabetes Care, 17(2), 152–154.

    Article  CAS  Google Scholar 

  • Tal, E. (2011). How accurate is the standard second? Philosophy of Science, 78(5), 1082–1096.

    Article  Google Scholar 

  • Truesdell, C. (1980). Statistical mechanics and continuum mechanics. In An idiot’s fugitive essays on science (pp. 72–79). New York: Springer.

    Google Scholar 

  • Wilkinson, J. H. (1963). Rounding errors in algebraic processes (Prentice-Hall series in automatic computation). Englewood Cliffs: Prentice-Hall.

    Google Scholar 

  • Wilson, M. (2006). Wandering significance: An essay on conceptual behaviour. Oxford: Oxford University Press.

    Book  Google Scholar 

  • Winsberg, E. (2010). Science in the age of computer simulation. Chicago: University of Chicago Press.

    Book  Google Scholar 

  • Wolever, T. M., Jenkins, D. J., Jenkins, A. L., & Josse, R. G. (1991). The glycemic index: Methodology and clinical implications. The American Journal of Clinical Nutrition, 54(5), 846–854.

    CAS  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nicolas Fillion .

Editor information

Editors and Affiliations

Appendix: An Example of a Comparative Asymptotic Analysis of the Error of Computational Methods

Appendix: An Example of a Comparative Asymptotic Analysis of the Error of Computational Methods

The following appendix exemplifies how numerical analysts quantify the error resulting from computational methods by means of asymptotic analyses. Let us return to the two methods of numerical integration discussed by Tai. To find the error in the midpoint approximation M, we take the Taylor expansion about the midpoint of the interval [−h∕2, h∕2], which is 0 (note that for convenience we make the standard change of variable a = −h∕2 and b = h∕2):

$$\displaystyle\begin{array}{rcl} I =\int _{ -h/2}^{h/2}f(x)dx& =& \int _{ -h/2}^{h/2}\sum _{ n=0}^{\infty }\frac{f^{(n)}(0)} {n!} x^{n}dx =\sum _{ n=0}^{\infty }\frac{f^{(n)}(0)} {n!} \int _{-h/2}^{h/2}x^{n}dx {}\\ & =& hf(0) +\sum _{ n=1}^{\infty }\frac{f^{(n)}(0)} {n!} \int _{-h/2}^{h/2}x^{n}dx {}\\ \end{array}$$

Note that, when n is odd, h∕2 h∕2 x n dx vanishes to 0 (by symmetry about the point 0). Thus,

$$\displaystyle\begin{array}{rcl} I& =& hf(0) + \frac{f^{(2)}(0)h^{3}} {24} + \frac{f^{(4)}(0)h^{5}} {1920} + O(h^{7}) {}\\ \end{array}$$

Now, for this interval, the midpoint approximant M is hf(0). Thus, the error E h (M) resulting from the midpoint rule on an interval of width h is

$$\displaystyle{E_{h}^{(M)} = I - M =\sum _{ \begin{array}{c}n=2\\ \exists k\in \mathbb{Z}.2k=n\end{array}}^{\infty }\frac{f^{(n)}(0)h^{n+1}} {(n + 1)!2^{n}} }$$

Taking the first two terms of E h (M), we have

$$\displaystyle{E_{h}^{(M)} = \frac{f^{(2)}(0)h^{3}} {24} + \frac{f^{(4)}(0)h^{5}} {1920} + O(h^{7}).}$$

Now, we will find the trapezoidal error, E h (T) = IT, by expressing T as a combination of Taylor series. Let us first find the Taylor series about x = 0 (the midpoint) for f(−h∕2) and f(h∕2):

$$\displaystyle\begin{array}{rcl} f(-\frac{h} {2})& =& \sum _{n=0}^{\infty }\frac{f^{(n)}(0)} {n!} (-\frac{h} {2})^{n} =\sum _{ n=0}^{\infty }\frac{f^{(n)}(0)(-1)^{n}h^{n}} {n!2^{n}} {}\\ & =& f(0) -\frac{1} {2}f^{(1)}(0)h + \frac{1} {8}f^{(2)}(0)h^{2} - \frac{1} {48}f^{(3)}(0)h^{3} + \cdots {}\\ f(\frac{h} {2})& =& \sum _{n=0}^{\infty }\frac{f^{(n)}(0)} {n!} (\frac{h} {2})^{n} =\sum _{ n=0}^{\infty }\frac{f^{(n)}(0)h^{n}} {n!2^{n}} {}\\ & =& f(0) + \frac{1} {2}f^{(1)}(0)h + \frac{1} {8}f^{(2)}(0)h^{2} + \frac{1} {48}f^{(3)}(0)h^{3} + \cdots {}\\ \end{array}$$

Because of the alternating sign in \(f(-\frac{h} {2} )\), we find that the odd powers of n vanish when we calculate T:

$$\displaystyle\begin{array}{rcl} T& =& \frac{h} {2}\bigg(f(-\frac{h} {2}) + f(\frac{h} {2})\bigg) = h\bigg(\sum _{\begin{array}{c}n=0 \\ \exists k\in \mathbb{Z}.2k=n\end{array}}^{\infty }\frac{f^{(n)}(0)h^{n}} {n!2^{n}} \bigg) {}\\ & =& hf^{(0)}(0) + \frac{1} {8}f^{(2)}(0)h^{3} + \frac{1} {384}f^{(4)}(0)h^{5} + \cdots {}\\ \end{array}$$

As a result,

$$\displaystyle\begin{array}{rcl} E_{h}^{(T)} = I - T = -\frac{f^{(2)}(0)h^{3}} {12} -\frac{f^{(4)}(0)h^{5}} {480} - O(h^{7}).& & {}\\ \end{array}$$

So, both rules are accurate to order O(h 3), but the coefficient of the dominant term for the error of the midpoint rule is smaller than that of the trapezoidal rule by a factor of 2.

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this chapter

Cite this chapter

Fillion, N. (2017). The Vindication of Computer Simulations. In: Lenhard, J., Carrier, M. (eds) Mathematics as a Tool. Boston Studies in the Philosophy and History of Science, vol 327. Springer, Cham. https://doi.org/10.1007/978-3-319-54469-4_8

Download citation

Publish with us

Policies and ethics