Papers
Topics
Authors
Recent
Search
2000 character limit reached

Higher-Order Automatic Differentiation Using Symbolic Differential Algebra: Bridging the Gap between Algorithmic and Symbolic Differentiation

Published 1 Jun 2025 in physics.comp-ph and physics.acc-ph | (2506.00796v1)

Abstract: In scientific computation, it is often necessary to calculate higher-order derivatives of a function. Currently, two primary methods for higher-order automatic differentiation exist: symbolic differentiation and algorithmic automatic differentiation (AD). Differential Algebra (DA) is a mathematical technique widely used in beam dynamics analysis and simulations of particle accelerators, and it also functions as an algorithmic automatic differentiation method. DA automatically computes the Taylor expansion of a function at a specific point up to a predetermined order and the derivatives can be easily extracted from the coefficients of the expansion. We have developed a Symbolic Differential Algebra (SDA) package that integrates algorithmic differentiation with symbolic computation to produce explicit expressions for higher-order derivatives using the computational techniques of algorithmic differentiation. Our code has been validated against existing DA and AD libraries. Moreover, we demonstrate that SDA not only facilitates the simplification of explicit expressions but also significantly accelerates the calculation of higher-order derivatives, compared to directly using AD.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Authors (1)

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.