# How to invert this function?

I need to invert this function:

$$y=\frac{\ln(x)}{\ln(x-1)}+1$$

-

Just out of curiosity: where did you come across this problem? – Thomas Nov 12 '12 at 16:42

## 3 Answers

In general, $\dfrac{\ln a}{\ln b}\ne \ln(a-b)$.

Remarks: $1.$ The false simplification was probably motivated by $\ln\left(\frac{a}{b}\right)=\ln a-\ln b$, which is true for positive $a$ and $b$.

$2.$ (added) If $x\ne 1$, then the equation can be manipulated to $y\ln(x-1)=\ln x+\ln(x-1)$. We recognize $y\ln(x-1)$ as the logarithm of $(x-1)^y$. So we can rewrite our equation as $(x-1)^y=x(x-1)$, which, since $x\ne 1$, can be simplified to $(x-1)^{y-1}=x$. It is likely that the solution can be written in terms of the Lambert $W$-function. A solution in terms of elementary functions seems highly unlikely.

-

yes, exactly. Thank you. – TomDavies92 Nov 12 '12 at 16:20

Yes, this is wrong, because you can use the property of ln, only when $ln \left ( \frac{a}{b} \right )=ln(a) - ln(b)$ Try to use the inverse of ln, we know from lections that it is the exponential function e.

-

This function is a really interesting one, I think. I've been looking at a similar one for a while: $y=\frac{\ln (x+1)}{\ln x}$. In fact, I think that my function is just yours but slid up one unit on both axes. I'm fairly sure that the inverses of your function can't be expressed with a finite number of elementary functions, or even a finite number of a wide variety of functions like the Lambert W function or the error function. I wasn't aware of your question, but I asked about my version of the function, and it got a bit more attention than this did. Maybe you can get something out of the answers that I got.

-

It is trivial to show that your function is the same as the OPs under the translation $x \mapsto x+1$, $y\mapsto y-1$. Of course, terms and conditions apply at points of discontinuity, etc. – Arkamis Dec 21 '12 at 19:13
{"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": 18, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "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": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9552655816078186, "perplexity_flag": "head"}