How can I write the functional inverse of a function in maple to be used in calculations?
e.g.,
diff(f^(-1)(x),x) = 1/f'(f^(-1)(x))
when I use f^-1(x) or f^(-1)(x) I get the multiplicative inverse rather than the compositional inverse.
I would like the general form for arbitrary or specified functions. If f is not defined above it should return the general form. I'd like to be able to compute symbolic deratives for functions containing inverses without having to specify a specific function.
You can get (some) support for this using the
@@operator, also known at the "repeated function composition operator". See its help page, eg on-line here.It turns out that the
diffandDcommands know a bit of how to deal with it.You may find the
lprintcommand useful, to see the underlying 1D plaintext code structure of a result which pretty-prints in Maple's so-called 2D Math or 2D Output.