I want to find out the value of this expression.
$\lim_{x\to\infty}(\frac{1}{2}\ln^2(x)+x\ln\pi)-\lim_{x\to0}(\frac{1}{2}\ln^2(x)+x\ln\pi)$
By plugging in the values, I get $\infty-\infty$. According to wolframalpha, the value is undefined.
By just seeing that it's $\infty-\infty$, can we then conclude that it's undefined? Won't L'hospitale or other tricks work here? How to really know whether it's undefined?
EDIT:
Thanks for all the answers. Actually I was trying to find whether the $\int_{0}^\infty\frac{\ln(x\pi^x)dx}{x}$ converges or not. And after integrating I got the above-mentioned results. So I was lost there.
EDIT2: Sorry for messing this question up. I asked another question concerning the integral here:Improper Integration $\int_{0}^\infty\frac{\ln(x\pi^x)\,dx}{x}$ converges or not.
Thanks alot.
We have that
$$\lim_{x\to\infty} \frac{1}{2}\ln^2(x)+x\ln\pi =\infty$$
$$\lim_{x\to 0} \frac{1}{2}\ln^2(x)+x\ln\pi =\infty$$
then we can't evaluate
$$\lim_{x\to\infty} \frac{1}{2}\ln^2(x)+x\ln\pi-\lim_{x\to\infty} \frac{1}{2}\ln^2(x)+x\ln\pi$$
since $\infty$ is not a finite number but it is just used as a symbol to express the fact that the two expression are larger than any fixed number.
Otherwise for finite limit we have
$$\lim_{x\to a} f(x) =L_1 \land \lim_{x\to b} g(x) =L_2 \implies \lim_{x\to a} f(x) \pm \lim_{x\to b} g(x) =L_1 \pm L_2$$
What we can evaluate is
$$\lim_{x\to\infty}\left[ \left(\frac{1}{2}\ln^2(x)+x\ln\pi\right) - \left(\frac{1}{2}\ln^2(1/x)+(1/x)\ln\pi\right)\right]$$