l'Hôpital vs Other Methods
Consider the first example using repeated l'Hôpital:
$$\lim_{x \rightarrow 0} \frac{x^4}{x^4+x^2} = \lim_{x \rightarrow 0} \frac{\frac{d}{dx}(x^4)}{\frac{d}{dx}(x^4+x^2)} = \lim_{x \rightarrow 0} \frac{4x^3}{4x^3+2x} = ... = \lim_{x \rightarrow 0}\frac{\frac{d}{dx}(24x)}{\frac{d}{dx}(24x)} = \frac{24}{24}=1 $$
Consider the following example using a different method:
$$ \lim_{x \rightarrow 0} \frac{x^4}{x^4+x^2} = \lim_{x \rightarrow 0}\frac{\frac{x^4}{x^4}}{\frac{x^4}{x^4}+\frac{x^2}{x^4}} = \lim_{x \rightarrow 0} \frac {1}{1 +\frac{1}{x^2}} = \frac {1}{1+\infty} = \frac{1}{\infty}=0 $$
The graph here clearly tells me the limit should be $0$, but why does l'Hôpital fail?
Solution 1:
$$\lim_{x \rightarrow 0} \frac{x^4}{x^4+x^2} = \lim_{x \rightarrow 0} \frac{\frac{d}{dx}(x^4)}{\frac{d}{dx}(x^4+x^2)} = \lim_{x \rightarrow 0} \frac{4x^3}{4x^3+2x} = \lim_{x\to0} \frac{12x^2}{12x^2+2} = \frac{0}{0+2} = 0$$
There. You can't apply l'Hospital there because the denominator doesn't go to $0$.
Solution 2:
You haven't checked whether L'Hopital could be applied each time.
Solution 3:
After doing derivative one more time you get $12x^2 +2 $ which is not $0$ when $x$ goes to $0$.