0
$\begingroup$

Following function is given.

y[x_]:=2*x

Now I need to reshape this function so that I get x dependent of y. So I should get a function like this:

x[y_]:=y/2

How can I use Mathematic to do this reshaping?

$\endgroup$
2
$\begingroup$
f[x_] := 2*x

Use InverseFunction

InverseFunction[f][y]

(*  y/2  *)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.