I'm working through Rudin's "Principles of Mathematical Analysis" on my own, so I don't want the full answer. I'm only looking for a hint on this problem.
The problem states that $b > 1$ and $m, n, p, q$ are integers, $n > 0$, $q > 0$, and $r = m/n = p/q$ and asks me to prove that $$ (b^m)^{1/n} = (b^p)^{1/q} $$
"hence it makes sense to define $b^r = (b^m)^{1/n}$" (to quote the book).
Previously in the chapter I proved the theorem that for every $x>0, x \in \mathbb{R}$ and $n>0, n \in \mathbb{Z}$, there is one and only one real $y$ such that $y^n = x$. However, the book hasn't established that $(x^s)^t = x^{st}$ yet, so I don't believe I can use that (which would make the solution trivial anyway).
My first thought was to try something like this, in which I start by simply reversing that theorem a few times like this:
\begin{align} (b^m)^{1/n} &= y\\ b^m &= y^n \\ b &= (y^n)^{1/m} \end{align}
but I don't see where that gets me. Plus, this doesn't seem to be the right path because I'm not given that $m > 0$, so the exponent in the last step may not even be defined. I can't use the fact that $b^r = (b^m)^{1/n}$ at this stage because that would be proving something using what I'm trying to prove.
This problem is the first step in the exercise in Rudin that walks me through proving the product rule for rational, and later real, exponents, which is detailed really nicely in this answer.
Am I just missing the first step, or am I on the wrong track to begin with?
Second attempt
I think I've figured it out now, thanks to the hints. First, I need to prove that $(x^s)^t = x^{st}$ where $x \in \mathbb{R}, s,t \in \mathbb{z}$, and $t > 0$. Using the hint of induction, I first proved that this is true for $t = 1$, which is trivial, since $(x^s)^1 = x^s = x^{s \cdot 1}$.
Now, I assume that this is true for $t = k$, i.e. $(x^s)^k = x^{sk}$, and prove that it's true for $t = k + 1$.
\begin{align} (x^s)^t &= (x^s)^{k+1} \\ &= (x^s)^k (x^s) \\ &= (x^{sk}) x^s \\ &= x^{sk+s} \\ &= x^{s(k+1)} \\ &= x^{st} \end{align}
With that proved, I can move on to the next part of the proof.
Let $\alpha$ and $\beta$ be reals such that
$$ \alpha^n=b^m \qquad \beta^q=b^p $$
We know these are unique by the theorem proved earlier in Rudin. Therefore:
\begin{align} \alpha^n &= b^m \\ (\alpha^n)^q &= (b^m)^q \\ \alpha^{nq} &= b^{mq} \end{align}
and I can prove the same way that
$$ \beta^{nq} = b^{np} = b^{mq} $$
Applying the uniqueness of real roots theorem again means that $\alpha = \beta$. So,
\begin{align} \alpha^n &= b^m \\ \alpha &= (b^m)^{1/n} \end{align}
and
\begin{align} \beta^q &= b^p \\ \alpha^q &= b^p \\ \alpha &= (b^p)^{1/q} \end{align}
Therefore $(b^m)^{1/n} = (b^p)^{1/q}$.
Is that all correct?