0

Does the following formula $$\lim f(x)^{g(x)}=(\lim f(x))^{\lim g(x)}$$

always hold?

If not, why?

And what about $\lim f(x)\cdot g(x)$? Is that the same as $\lim f(x)\cdot \lim g(x)$?

user
  • 154,566

1 Answers1

4

I would say: limit yourself to the case $f(x)>0$ and define $$f(x)^{g(x)} = \exp\big(g(x)\log f(x)\big).$$ Then you reduce to cases involving continuity of the product and the function $e^x$.

GEdgar
  • 111,679
  • This is perfect. – John Hughes Oct 22 '18 at 12:33
  • That method is fine and the best one to evaluate $\lim f(x)^{g(x)}$ but in that case it seems to me that the OP is asking a slightly different thing that is when can we apply $\lim f(x)^{g(x)}=(\lim f(x))^{\lim g(x)}$ which, as you also noticed commenting my answer, can include cases with $f(x)\le 0$. – user Oct 22 '18 at 12:36
  • +1 This is way to go because the symbol $a^b$ is most easily handled by writing it as $\exp(b\log a) $ and the problem thus shifts to the limit of $g(x) \log f(x) $. – Paramanand Singh Oct 23 '18 at 04:01