How do I invert a function in Mathematica?

  • Topic: Mathematica 
  • Thread starter kent davidge
  • Start date
  • Tags Tags
    Function
4 replies · 3K views · last reply
kent davidge
Messages
931
Reaction score
56
Suppose I have ##y = x^2##. By inverse, I mean ##x = \pm \sqrt y##. How can I get Mathematica to do that?
 
kent davidge said:
Suppose I have ##y = x^2##. By inverse, I mean ##x = \pm \sqrt y##. How can I get Mathematica to do that?
Technically speaking, ##y = x^2## doesn't have an inverse that is itself a function. For a function f to have an inverse, f must be one-to-one. Your example function fails this test because for each number x in the domain that maps to ##x^2##, -x also maps to the same value.
 
  • Like
Likes   Reactions: kent davidge
Mark44 said:
Technically speaking, ##y = x^2## doesn't have an inverse that is itself a function. For a function f to have an inverse, f must be one-to-one. Your example function fails this test because for each number x in the domain that maps to ##x^2##, -x also maps to the same value.
Solve finds and reports both.