Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If $$\frac{f(x_1)}{f(x_2)} = \log\left(\frac{x_1}{x_2}\right),$$

what is $f(x)$? I mean the simplest form of $f(x)$, and what math technique you use to solve this problem? Thanks.

share|cite|improve this question

For any value of $x$, if $f(x)\neq 0$, then we have that $$1=\frac{f(x)}{f(x)}=\log\left(\frac{x}{x}\right)=\log(1)=0,$$ which is impossible. Therefore, anywhere such a function is even defined, it will have to be 0.

share|cite|improve this answer
Thank you Zev. Actually I found this relation in an algorithm performance data. The x represents the input scale. The f(x) represents the running time. Then I want know if there is a mathematical relation between them. Any suggestion? – Kai Mar 1 '13 at 4:40
My argument above demonstrates that $f(x)$ would have to be 0 anywhere it even makes sense to talk about it. Perhaps you copied down the expression incorrectly? – Zev Chonoles Mar 1 '13 at 4:46

I think Kai meant it for specific numbers $x_1$ and $x_2$.

In that case there may be such function $f(x)$ which would have the desired form. It would just mean that there is an intersection of function $g(x_1,x_2)=\frac{f(x_1)}{f(x_2)}$ with $h(x_1,x_2)=\log\frac{x_1}{x_2}$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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