I attempting to solve an equation for x so that I may then switch x & y to get the inverse function. This is the code I have for solving for x:
f[x_] := -3 + (x^3)/1367 + (x^5)/2734
mySolution = Solve[f[x] == y, x]
When I execute this code, Mathematica outputs:
{{x -> Root[-8202 - 2734 y + 2 #1^3 + #1^5 &, 1]}, {x -> Root[-8202 - 2734 y + 2 #1^3 + #1^5 &, 2]}, {x -> Root[-8202 - 2734 y + 2 #1^3 + #1^5 &, 3]}, {x -> Root[-8202 - 2734 y + 2 #1^3 + #1^5 &, 4]}, {x -> Root[-8202 - 2734 y + 2 #1^3 + #1^5 &, 5]}}
Could someone help me understand why this is the output when solving the function for x? I don't see how I could switch x & y with the output Mathematica has given me.
-8202 - 2734 y + 2 #1^3 + #1^5 &represents so called pure functions and you can find posts discussing related aspects. – Artes Sep 16 '15 at 23:22Solve[(3 - Cos[4x])(Sin[x] - Cos[x]) == 2, x, InverseFunctions -> True]yields slightly different form of solutions then in previous versions, nevertheless both are equivalent. – Artes Sep 17 '15 at 07:38