kent davidge
- 931
- 56
Suppose I have ##y = x^2##. By inverse, I mean ##x = \pm \sqrt y##. How can I get Mathematica to do that?
The discussion revolves around inverting the function ##y = x^2## using Mathematica. Participants explore the implications of the function not being one-to-one and how that affects the existence of an inverse.
Participants generally agree on the technical aspects of the function not being one-to-one and the implications for finding an inverse. However, there is a lack of consensus on how to interpret the results provided by Mathematica.
The discussion does not resolve the implications of using the inverse in practical applications or the limitations of the function's domain.
Solve[y==x^2,x]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.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?
Solve finds and reports both.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.
Right. I checked with wolframalpha, which is sort of the online version of Mathematica.Dale said:Solve finds and reports both.