I want to return a different function for any given parameter in order to later calculate a value of the inverse of that function given the parameter as an indeterminate.

That is, I want, for each $d$, to return $f(d)$ that gives me something of this form: $(f(d))(a)=g(d,a)$, to later formally calculate $(f(d))^{-1}(y)=a$.

What I tried is


Where 'g' is a function defined earlier. But calling


doesn't work, which is what I actually need. Any help would be appreciated.

  • $\begingroup$ Have you already looked at the three-argument form of InverseFunction[]? $\endgroup$ Feb 7, 2021 at 16:02
  • $\begingroup$ @J. M. I did look at it, but I haven't tried it, since I know that my function is not injective when the other parameter $d$ is not given, so I assume it won't work. $\endgroup$
    – NL1992
    Feb 7, 2021 at 17:05


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.