Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6063
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Simple question about inverse of a function |
| Date | 2011-10-31 11:51 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j8m23t$rnk$1@smc.vnet.net> (permalink) |
| References | <201110300922.EAA15359@smc.vnet.net> |
f[t_] := (1 - t)^theta
InverseFunction[f][x] // Quiet
1 - x^(1/theta)
Plot3D[InverseFunction[f][x], {x, 0, 1}, {theta, 0, 5}] // Quiet
Bob Hanlon
On Sun, Oct 30, 2011 at 5:22 AM, Mikael <mikaen.anderson.1969@gmail.com> wrote:
> I have a simple question on how to calculate the inverse of a a function. This is the function I define:
>
> f[t_] := (1 - t)^theta
>
> To calculate the inverse I write:
>
> Assuming[t >= 0 && t <= 1 && theta >= 1 && theta < Infinity, { InverseFunction[f[t]]}]
>
> but the answer I get is
>
> {InverseFunction[(1 - t)^theta]}.
>
> Now I know I can do this:
>
> In[11]:= Solve[f[g[x]]==x,g[x]]
> Out[11]= {{g[x]->1-x^(1/theta)}}
>
> but I wonder what is the correct way of specifying assumptions on t and theta to make the InverseFunction work. Thanks.
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Simple question about inverse of a function Bob Hanlon <hanlonr357@gmail.com> - 2011-10-31 11:51 +0000
csiph-web