# Why doesn't L'Hôpital's rule work here?

Why doesn't L'Hôpital's rule work here? $$\lim_{x\to0}\frac{x^2}{x^2-x}$$ By L'Hôpital's rule I have $1$ while the limit is $0$....

-
By l'hipital you get 2x/(2x-1) -> 0.. Why do you say it goes to 1? –  Ant Jun 20 at 8:39
@user147985 It goes to zero only ... try again –  Debashish Jun 20 at 8:44
It does work. One of the hypothesis is that the limit you're computing is undetermined if taken naively. But after you apply L'Hôpital once, you can already get the limit naively, it's not $\frac 00$ anymore, you can'use the theorem again. So $\lim \limits_{x\to 0}\left(\dfrac{x^2}{x^2-x}\right)=\lim \limits_{x\to 0}\left(\dfrac{2x}{2x-1}\right)=\lim \limits_{x\to 0}\left(\dfrac{2}{2}\right)=1$ is wrong. –  Git Gud Jun 20 at 8:45
@ Git Gud Thank you very much! –  user147985 Jun 20 at 8:47
You can also cancel out a factor of $x$ from the numerator and denominator to remove the discontinuity at 0. –  Hao Ye Jun 20 at 9:32

$$\lim_{x\rightarrow 0} \frac{2x}{2x-1} = \frac{\lim_{x\rightarrow 0}2x}{\lim_{x\rightarrow 0}2x-1} = \frac{0}{-1} = 0 \ne 1$$
You can't use L'Hôpital the second time, since this rule demands both numerator and denominator converges to $0$ or diverges to infinity. Instead, evaluate seperatedly the limit for the numerator and denominator (arithmetic of limits) as I demonstrated above.
You can't use L'Hôpital's rule the second time (the denominator isn't $0$). –  AnnieOK Jun 20 at 8:48
{"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": 1, "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, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "http://math.stackexchange.com/questions/840479/why-doesnt-lh%c3%b4pitals-rule-work-here", "fetch_time": 1406253530000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2014-23/segments/1405997892648.47/warc/CC-MAIN-20140722025812-00121-ip-10-33-131-23.ec2.internal.warc.gz", "warc_record_offset": 239933577, "warc_record_length": 16194, "token_count": 513, "char_count": 1459, "score": 3.96875, "int_score": 4, "crawl": "CC-MAIN-2014-23", "snapshot_type": "latest", "language": "en", "language_score": 0.8596100211143494, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00058-of-00064.parquet"}