I have a function denoted as: $f(x) = \frac{x}{1+e^\frac{1}{x}}$
I want to prove the line: $g(x)= \frac{x}{2} - \frac{1}{4}$
Is asymptotic (slant asymptote) to the above function when approaching positive infinity.
I have tried substitution variables with various expressions and various other things but I keep hitting a dead end with indeterministic limits like $\frac{0}{0}$ or $0 * \infty$.
Can some body please help with the proof, perhaps shedding some light on his approach ?
Let $y=ax+b$ be a slant asyptote. Then $a=\lim_{x\to\infty}{f(x)\over x}=\lim_{x\to\infty}{1\over 1+e^{1\over x}}={1\over 2}$ Also, $b=\lim_{x\to\infty}f(x)-ax$. So $b=\lim_{x\to\infty}\frac{x}{1+e^\frac{1}{x}}-{x\over 2}=\lim_{x\to\infty}{2x-x(1+e^\frac{1}{x})\over 2 (1+e^\frac{1}{x})}=\lim_{x\to\infty}{2x-x-xe^\frac{1}{x}\over 2 (1+e^\frac{1}{x})}=\lim_{x\to\infty}{x(1-e^\frac{1}{x})\over 2 (1+e^\frac{1}{x})}=\lim_{x\to\infty}{1-e^\frac{1}{x}\over 2 (1+e^\frac{1}{x})\times{1\over x}}=-{1\over 4}$
The limit is $-{1\over 4}$ because $\lim_{t\to 0}{1-e^t\over t}=-1$.(Here $t={1\over x}$)