Ask Your Question

paulkoer's profile - activity

2013-09-10 06:21:37 -0600 received badge  Taxonomist
2012-11-12 12:28:33 -0600 received badge  Famous Question (source)
2012-01-16 01:43:38 -0600 received badge  Notable Question (source)
2011-08-29 16:30:26 -0600 received badge  Popular Question (source)
2011-04-11 13:45:35 -0600 received badge  Good Question (source)
2011-04-11 10:27:39 -0600 commented answer Can sage compute the inverse of a function?

Benjamin, thanks for this hint, very useful!

2011-04-11 10:26:07 -0600 received badge  Supporter (source)
2011-04-11 10:26:06 -0600 received badge  Scholar (source)
2011-04-11 10:26:06 -0600 marked best answer Can sage compute the inverse of a function?

Here is a stupid method:

var('x,y')
f(x) = log(x)
g(x) = solve(x == f(y), y)[0].rhs()
print g

Here is a compilation from several scattered sources:

2011-04-11 10:26:05 -0600 commented answer Can sage compute the inverse of a function?

Thank you Kelvin! Your 'solve' method works for me. As for the Mathematica method, by using Sage I hope to avoid having to pay for a Mathematica license.

2011-04-11 08:37:38 -0600 received badge  Nice Question (source)
2011-04-11 08:02:37 -0600 received badge  Student (source)
2011-04-11 06:41:14 -0600 asked a question Can sage compute the inverse of a function?

Hello Sage community,

is it possible to compute the inverse of a function in one variable with sage? So say I have

f(x) = log(x)

and I want to compute

f.inverse()

Thank you Paul