Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4941

Re: Inverse of function

From Simon <simonjtyler@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Inverse of function
Date 2011-09-14 09:20 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j4prkq$fn5$1@smc.vnet.net> (permalink)
References <j4neqn$54e$1@smc.vnet.net>

Show all headers | View raw


Exactly what code did you use to get the inverse function?

In[1]:= f[x_] := x^2

In[2]:= InverseFunction[f][y]

During evaluation of In[9]:= InverseFunction::ifun: Inverse functions are being used. Values may be lost for multivalued inverses. >>

Out[2]= -Sqrt[y]

Of course, Solve, Reduce and WolframAlpha are a bit smarter than that

In[3]:= Solve[f[x] == y, x]
Out[3]= {{x -> -Sqrt[y]}, {x -> Sqrt[y]}}


In[4]:= WolframAlpha["inverse of f(x) = x^2", {{"Result", 1}, "Plaintext"}]
Out[4]= "f^(-1)(x) = \[PlusMinus]sqrt(x)"

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Inverse of function Berthold Hamburger <b-hamburger@artinso.com> - 2011-09-13 11:29 +0000
  Re: Inverse of function Simon <simonjtyler@gmail.com> - 2011-09-14 09:20 +0000
    Re: Inverse of function Berthold Hamburger <b-hamburger@artinso.com> - 2011-09-16 09:53 +0000
  Re: Inverse of function "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-09-14 09:24 +0000

csiph-web