title: How do I get the inverse of a function?
body: <p>If I have some function <code>y[x_]:=ax+b</code> (just an example), how do I obtain <code>x[y_]:=(y-b)/a</code> in Mathematica? I've tried <code>InverseFunction</code>,<code>Collect</code> and they don't work.</p>