I would like to prove or disprove the following statement:
If $a$ and $b$ are both irrational, then $a^b$ must be irrational.
I disproved the statement by giving a counter-example. It follows:
Let $a = \sqrt{10}$ and $b = \log(4)$. In this case, both $a$,$b$ $∉$ $\mathbb {Q}$. So $a^b = (\sqrt{10})$$^{(\log(4))}=2\in\mathbb {Q}$. Therefore, the statement is false.
Am I answering this in a right way? Please help!
If you are using $\log $ as the base 10 logarithm, then your computations are fine. A more immediate example would come to mind though:
$$a = e, b = \ln{2},\\ a^b = e^{\ln{2}} = 2, 2\in \Bbb{Q} $$
Where $e $ is Neper's number, the base of the natural logarithm, or whatever you want to call it.