Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica- Inverse Functions

  1. Aug 15, 2009 #1
    I'm trying to find the inverse of a function, for instance: f(x)=(2x+1)/(x-1) using Mathematica but it doesn't produce any answers.

    This is my input:

    > f(x)=(2x+1)/(x-1)

    > InverseFunction[f]

    The output is always something like:


    So, does anyone know what the problem is?

  2. jcsd
  3. Aug 15, 2009 #2


    Staff: Mentor

    InverseFunction only evaluates for built-in functions like trig functions. I think you want:
    Solve[y == (2 x + 1)/(x - 1), x]
  4. Aug 16, 2009 #3
    Oh I see... Thank you! :smile:
  5. May 10, 2010 #4
    Thank you very much roam, you've helped me to solve a big problem.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook