# Irrational numbers to irrational powers being rational?

So some of you may be familiar with the proof that some irrational numbers to irrational powers are rational, that is: if $$A = \sqrt2^\sqrt{2}$$ then it follows that $$A^\sqrt{2} = 2$$. So, I've found a fun brain teaser, so to speak, for people (probably everyone on here) who like this type of math problem.

Given an irrational number $$q$$, find the set of all irrational numbers $$p$$ such that: $$q^p$$ is rational.

The solution that I found is the set of all $$p = log_q(x):x\in Q$$ where Q is the field of rational numbers. The example I gave at first does satisfy this. As you can see, this problem will be more fun for the presenter than the solver since it's such an annoyingly simple solution, which is why I wanted to ask if there is an example that falls outside of the solution set that I gave for some bizarre reason, and would I need a more rigorous proof that no solution can fall outside the set? I mean all I really did was set $$q^p = x$$, say x was rational, and solver for p in terms of q.

• Your proposed solution pretty much says "the set of solutions is the set of solutions". It isn't humanly (I think) more comprehensible to find $\log_q(x)$ than the initial problem. – Git Gud Mar 22 '15 at 2:07
• Given that we don't even know if $e^e$ is rational, I think anybody trying to solve your problem in general is going to have a sad time. – William Stagner Mar 22 '15 at 2:33
• – punctured dusk Aug 17 '15 at 14:59
• You should mention $q \ne 1$ – harshit54 Jan 3 at 9:58