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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
M. Berz, C. Bischof, G. Corliss, and A. Griewank (Eds.). Computational Differentiation: Techniques, Applications, and Tools, SIAM, Philadelphia, 1996.
D. Bestle and P. Eberhard. Analyzing and Optimizing Multibody Systems. Mechanics of Structures and Machines, 20 (1): 67–92, 1992.
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.
C. Bischof and M. Haghighat. On Hierarchial Differentiation In [1], pp. 83–94.
J.C. Butcher. The Numerical Analysis of Ordinary Differential Equations (Runge-Kutta and General Linear Methods). John Wiley and Sons, New York, 1987.
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.
P. Eberhard. Zur Mehrkriterienoptimierung von Mehrkörpersytemen. Reihe 11, No. 227. VDI-Verlag, Düsseldorf, 1996.
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.
P. Eberhard and C. Bischof. Automatic Differentiation of Numerical Integration Algorithms (to appear).
A. Griewank On automatic differentiation. In Mathematical Programming: Recent Developments and Applications,pp. 83–108, Amsterdam, 1989. Kluwer Academic Publishers.
E. Kreuzer and G. Leister. Programmsystem NE WE UL 92, AN-32. University, Institute B of Mechanics, Stuttgart, 1991.
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.
W.O. Schiehlen (Ed.). Advanced Multibody System Dynamics. Kluwer Academic Publishers, Dortrecht, 1993.
L.F. Shampine. Numerical Solution of Ordinary Differential Equations. Chapman & Hall, New York, 1994.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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