Skip to content
Discussion options

You must be logged in to vote

Thanks for the question!

I wrote up my own derivation for differentiation of ODEs here: https://implicit-layers-tutorial.org/implicit_functions/, specifically this subsection.

I like that derivation because it's simple and mechanical: no steps require creative leaps and it doesn't involve importing extraneous machinery (like Lagrange multipliers). Also unlike any other derivation I've seen it allows decomposition of reverse-mode differentiation into linearization, partial evaluation, and transposition; that makes it a natural fit for JAX's autodiff system, though our implementation hasn't yet caught up.

Some other resources:

  1. Sec 2.2 of these notes or Sec 2.1.1 of this tutorial or Sec 2.1…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by agobL
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants