4

Let $f(x)=x+\frac1{x}$ prove that

$|f(x)-f(1)| \le (1+\frac1{x})|x-1|$ for $x>0$

I've tried to get it from the left hand side

$|f(x)-f(1)|=|x+ \frac1{x}-2|=|\frac{x^2-2x+1}{x}|=|\frac{x-1}{x}||x-1|$

However, I can't see how to proceed from here to get $(1+\frac1{x})$ on the right hand side as well as to make that inequality appear.

  • 2
    Try $$|f(x)-f(1)|=|x-1+1/x-1|\leq|x-1|+|1/x-1|$$, it's the triangle inequality. – L. Milla Jan 18 '24 at 17:02
  • 1
    The absolute-value signs seem to be annoying, have you tried squaring? – SchellerSchatten Jan 18 '24 at 17:11
  • 1
    @CyclotomicField $|1 - \frac 1x | \leq 1 + \frac1x$ is probably what you had in mind. – mathcounterexamples.net Jan 18 '24 at 17:14
  • Well we need to compare $|\frac {x-1}x|$ so $x-1$. $|\frac {x-1}x| = |1 -\frac 1x|$. If $\frac 1x < 1$ we have $|1-\frac 1x|=1-\frac 1x < 1+\frac 1x$ when $0< \frac 1x$. So this holds if $0 < \frac 1x < 1$ or in other words when $x > 1$. We can do something similar for $0 < x < 1$ and for $x=1$ the result is obvious. – fleablood Jan 18 '24 at 17:38

1 Answers1

1

Use triangle inequality: $|\frac{x-1}{x}||x-1|=|1-\frac{1}{x}||x-1| \le (1+|\frac{1}{x}|)|x-1|=[x>0]=(1+\frac{1}{x})|x-1|$

Vasili
  • 10,690