I tried to solve this limit $$\lim_{x\to 1} \left(\frac{x}{x-1}-\frac{1}{\ln x}\right)$$ and, without thinking, I thought the result was 1. But, using wolfram to verify, I noticed that the limit is $1/2$.
How can I solve it without Hopital/series/integration, just with known limits (link in comments) /squeeze/basic therem?
I don't have a clue about what I can do, because known limits can't be used ($\ln x = x-1$) without considering the "error" that we don't exactly know!
Set $x=e^{y}$, then $y\to 0$ implies $x\to1$. So $$ \frac{x}{x-1}-\frac1{\ln(x)}=\frac1{1-e^{y}}-\frac1y $$ Using the power series of the exponential, $e^{-y}=1-y+\frac12y^2+O(y^3)$, one can transform to $$ =\frac1{y\bigl(1-\frac12y+O(y^2)\bigr)}-\frac1y=\frac{(1+\frac12y+O(y^2))-1}y=\frac12+O(y) $$