Skip to main content

Some Aspects of Algorithmic Differentiation of Ordinary Differential Equations

  • Conference paper
Stochastic Programming Methods and Technical Applications

Part of the book series: Lecture Notes in Economics and Mathematical Systems ((LNE,volume 458))

  • 553 Accesses

Summary

Many problems in mechanics may be described by ordinary differential equations (ODE) and can be solved numerically by a variety of reliable numerical algorithms. For optimization or sensitivity analysis often the derivatives of final values of an initial value problem with respect to certain system parameters have to be computed. This paper discusses some subtle issues in the application of Algorithmic (or Automatic) Differentiation (AD) techniques to the differentiation of numerical integration algorithms. Since AD tools are not aware of the overall algorithm underlying a particular program, and apply the chain rule of differential calculus at the elementary operation level, we investigate how the derivatives computed by AD tools relate to the mathematically desired derivatives in the presence of numerical artifacts such as stepsize control in the integrator. As it turns out, the computation of the final time step is of critical importance. This work illustrates that AD tools compute the derivatives of the program employed to arrive at a solution, not just the derivatives of the solution that one would have arrived at with strictly mathematical means, and that, while the two may be different, highlevel algorithmic insight allows for the reconciliation of these discrepancies.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. M. Berz, C. Bischof, G. Corliss, and A. Griewank (Eds.). Computational Differentiation: Techniques, Applications, and Tools, SIAM, Philadelphia, 1996.

    Google Scholar 

  2. D. Bestle and P. Eberhard. Analyzing and Optimizing Multibody Systems. Mechanics of Structures and Machines, 20 (1): 67–92, 1992.

    Article  Google Scholar 

  3. C. Bischof, A. Carle, P. Khademi, and A. Mauer. ADIFOR 2.0: Automatic differentiation of Fortran 77 programs, IEEE Computational Science &4 Engineering, 3 (3): 18–32, 1996.

    Article  Google Scholar 

  4. C. Bischof and M. Haghighat. On Hierarchial Differentiation In [1], pp. 83–94.

    Google Scholar 

  5. J.C. Butcher. The Numerical Analysis of Ordinary Differential Equations (Runge-Kutta and General Linear Methods). John Wiley and Sons, New York, 1987.

    Google Scholar 

  6. B.W. Char, K.O. Geddes, G.H. Gonnet, M. Monagan, and B.M. Watt. First Leaves, A Tutorial Introduction to Maple. Watcom Publications, Waterloo, 1989.

    Google Scholar 

  7. P. Eberhard. Zur Mehrkriterienoptimierung von Mehrkörpersytemen. Reihe 11, No. 227. VDI-Verlag, Düsseldorf, 1996.

    Google Scholar 

  8. P. Eberhard. Adjoint Variable Method for Sensitivity Analysis of Multibody Systems Interpreted as a Continuous, Hybrid Form of Automatic Differentiation In [1], pp. 319–328.

    Google Scholar 

  9. P. Eberhard and C. Bischof. Automatic Differentiation of Numerical Integration Algorithms (to appear).

    Google Scholar 

  10. A. Griewank On automatic differentiation. In Mathematical Programming: Recent Developments and Applications,pp. 83–108, Amsterdam, 1989. Kluwer Academic Publishers.

    Google Scholar 

  11. E. Kreuzer and G. Leister. Programmsystem NE WE UL 92, AN-32. University, Institute B of Mechanics, Stuttgart, 1991.

    Google Scholar 

  12. W.H. Press, S.A. Teukolsky, W.T. Vetterling, and B.P. Flannery. Numerical Recipes in Fortran: The Art of Scientific Computing. Cambridge University Press, 2nd edition, 1992.

    Google Scholar 

  13. W.O. Schiehlen (Ed.). Advanced Multibody System Dynamics. Kluwer Academic Publishers, Dortrecht, 1993.

    Google Scholar 

  14. L.F. Shampine. Numerical Solution of Ordinary Differential Equations. Chapman & Hall, New York, 1994.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Eberhard, P., Bischof, C. (1998). Some Aspects of Algorithmic Differentiation of Ordinary Differential Equations. In: Marti, K., Kall, P. (eds) Stochastic Programming Methods and Technical Applications. Lecture Notes in Economics and Mathematical Systems, vol 458. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-45767-8_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-45767-8_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-63924-4

  • Online ISBN: 978-3-642-45767-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics