I'm wondering how to solve this limit:
$$\lim_{x \to 0^+} \frac{\tan^3((1+x^{\frac 23})^\frac13-1)+\ln(1+\sin^2(x))}{\arctan^2(3x)+5^{x^4}-1}(\sqrt{\frac{1+x+x^2}{x^2}}-\frac 1x)$$
With my actual notions that are:
-Special limits
-A limit of a sum/product/quotient of functions is the sum/product/quotient of limits of those functions if the functions converge(and also if the denominator function doesn't converge to 0 in the case of quotient)
-Basic notions like $+\infty\cdot a=+\infty, a>0$ etc
-Comparison theorem
-Algebric manipulations
Often my teacher does this "trick":
"If we have to calculate: $\lim_\limits{x \to x_0} s(x)c(x)$. Where $s$ is a simple function that we know to be convergent to a non-zero value and $c$ is a complicated functions whom limit is unknown. We can write this: $$ \lim_\limits{x \to x_0} s(x)c(x)=\lim_\limits{x \to x_0} s(x)\lim_\limits{x \to x_0} c(x)$$ If we discover then that: $$\lim_\limits{x \to x_0} c(x)\in \mathbb{R}$$ Then our previous passage is justified. If we discover that: $$\lim_\limits{x \to x_0} c(x)\in \pm \infty$$ Then our previous passage is not justified formally, but it doesn't affect the limit(it's a kind of notation abuse). If we discover that: $$\not\exists \lim_\limits{x \to x_0} c(x)$$ Then our passage is not justified and it may have affected the limit result"
I kinda understood why this works(it's a kind of retrospective justificatin) but i was wondering if there a was a more formal way to describe this, because when i try to do limits I always try to justify all the steps I do and to be formal. However let's go back to the initial limit and to my attempt:
$$\lim_{x \to 0^+} \frac{\tan^3((1+x^{\frac 23})^\frac13-1)+\ln(1+\sin^2(x))}{\arctan^2(3x)+5^{x^4}-1}(\sqrt{\frac{1+x+x^2}{x^2}}-\frac 1x)$$
Let's try to calculate first:
$$\lim_{x \to 0^+} \sqrt{\frac{1+x+x^2}{x^2}}-\frac 1x=\lim_{x \to 0^+} \frac{\sqrt{1+x+x^2}-1}{x}=\lim_{x \to 0^+} \frac{\sqrt{1+x+x^2}-1}{x+x^2}(x+1)$$ Now i use a known special limit: $$\lim_{x \to 0^+} \frac{x+1}{2}=\frac 12$$ Now let's use the trick of my teacher and let's hope that the remaining limit exists otherwise we are at the starting point(this is also why sometimes i'm a bit unsure doing this it feels like a bet): $$\frac 12\lim_{x \to 0^+} \frac{\tan^3((1+x^{\frac 23})^\frac13-1)+\ln(1+\sin^2(x))}{\arctan^2(3x)+5^{x^4}-1}$$
And now i'm stuck because I see many useful special limits that i could apply but it always come to a $$0 \cdot \infty$$ form where i can't apply the "trick". Sometimes I feel i'm overcomplicating everything by being too formal but I really want to understand why I can apply something and I don't want to make it become an automatism before i totally understood it.