# Inverse function

What probably could be the inverse of following function?

y = (x^(1/t)-a^(1/t))*(x^(1/t)-c*b^(1/t))/(x^(1/t)-a^(1/t))*(x^(1/t)-c*b^(1/t))+
(x^(1/t)-   b^(1/t))*x^(1/t)-c*a^(1/t)


a,b,c & t are the parameters. Any help is going to be highly appreciated.

-
Please, refer to the help section in order to improve the fomatting of your future answers/questions. –  Sektor Aug 11 '13 at 18:00

You can use Solve on an equation (== instead of =). It is essentially a quadratic equation, so there are two solutions. Either there is no inverse or there are two, depending whether you restrict the domain appropriately.

eqn = y == (x^(1/t) - a^(1/t))*(x^(1/t) - c*b^(1/t))/(x^(1/t) - a^(1/t))*(x^(1/t) -
c*b^(1/t)) + (x^(1/t) - b^(1/t))*x^(1/t) - c*a^(1/t);
soln = Solve[eqn, x]

(* {{x -> 4^-t (-b^((1/t)) (-1 - 2 c) -
Sqrt[b^(2/t) + 8 a^(1/t) c + 4 b^(2/t) c - 4 b^(2/t) c^2 + 8 y])^t},
{x -> 4^-t (-b^((1/t)) (-1 - 2 c) +
Sqrt[b^(2/t) + 8 a^(1/t) c + 4 b^(2/t) c - 4 b^(2/t) c^2 + 8 y])^t}} *)


Check both solutions:

eqn /. soln // PowerExpand // Expand
(* {True, True} *)

-
Really grateful :) –  Arshad Aug 11 '13 at 18:33

Inverse of a function is calculated using InverseFunction. So converting your equation to some function,

g[a_] = (x^(1/t) -
a^(1/t))*(x^(1/t) - c*b^(1/t))/(x^(1/t) - a^(1/t))*(x^(1/t) -
c*b^(1/t)) + (x^(1/t) - b^(1/t))*x^(1/t) - c*a^(1/t)

gft = InverseFunction[g]


Now checking it,

gft[4]


gives ($\left(\frac{c^2 b^{2/t}-2 c b^{1/t} x^{1/t}-b^{1/t} x^{1/t}+2 x^{2/t}-4}{c}\right)^t$) which is probably the inverse function of your function. Repeat this with simple equation (say x^2), you shall get result as -Sqrt[2] for 4 as inverse.

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.6233709454536438, "perplexity": 8790.8955364957}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2014-41/segments/1410657136494.66/warc/CC-MAIN-20140914011216-00203-ip-10-234-18-248.ec2.internal.warc.gz"}