This isn't for a class, I was just wondering if I would be able to work out a proof for something like this myself for fun, and wanted to verify that my methods are correct. Basically, what I'm trying to prove, in terms of music theory is: Prove that it is impossible to stack a number of pure 5ths in just intonation, and to end up with a perfectly tuned octave, or multiple of octaves. Or more formally...
Let $ (\frac{3}{2})^m = (\frac{1}{2})^n $, where n and m are positive integers. Show that there exists no positive integers m and n such that the equation is true.
Assume the equation is true:
$ (\frac{3}{2})^m = (\frac{1}{2})^n $
$ (\frac{3}{2})^m = \frac{1}{2^n} $
$ (\frac{3}{2})^m = 2^{-n} $
$ \log{_2}[(\frac{3}{2})^m] = -n $
$ n = -\log{_2}[(\frac{3}{2})^m] $
$ n = -m\log{_2}[\frac{3}{2}] $
$ n \not\in Z^{+} $
$ \therefore $ by contradiction, there exists no n, m $\in Z^{+}$ such that $ (\frac{3}{2})^m = (\frac{1}{2})^n $.
Just for reference, showing a more elegant proof of the same thing would also be appreciated (maybe from using other proven theorems in mathematics).
First of all, as Micah wrote in a comment, you should be looking at $(\frac32)^m=2^n$. Your version, with $(\frac12)^n$ on the right side, would amount to trying to go down a whole number ($n$) of octaves by going up a whole number of major fifths. Of course, that's impossible, just because of the discrepancy between down and up. That discrepancy shows up as the sign difference in your final equation where $m$ and $n$ can't both be positive because $-\log_2(\frac32)$ is negative.
So, if the contradiction at the end of your proof is just because of the sign issue, then it stems from the down-vs.-up issue, and all you've really proved is that going down by octaves will never match going up by major fifths.
On the other hand, if the contradiction you had in mind is based on $\log_2(\frac32)$ being irrational, then I have to agree with Micah that this irrationality, though true, needs a proof, which would be essentially the proof given by kike0001.