Let a be a rational number that can be written as sum of squares of three rational numbers. Prove that $a^m$ can also can be written as sum of squares of three rational numbers for any positive integer $m$.
I tried to solve using Mathematical Induction Let a be a rational number that can be written as sum of squares of three rational numbers i.e. $$a=\left( p_1 / q_1\right)^2+\left( p_2 / q_2\right)^2+ \left( p_3 / q_3\right)^2\\$$ We prove $a^m$ is rational for every positive integer$\\$ For $n=1$, it is true. $\\$ Let it be true for $n=k$ i.e. $$a^m=\left( r_1 / s_1\right)^2+\left( r_2 / s_2\right)^2+ \left( r_3 / s_3\right)^2\\$$ Consider $$a^{m+1}=a^m *a$$ $$=(\left( p_1 / q_1\right)^2+\left( p_2 / q_2\right)^2+ \left( p_3 / q_3\right)^2) (\left( r_1 / s_1\right)^2+\left( r_2 / s_2\right)^2+ \left( r_3 / s_3\right)^2)\\$$
I am not sure how to proceed next to show that $a^{m+1}$ can be written as sum of squares of three numbers. Thanks in advance for any kind help.
A rational number $p/q$ is sum of three rational squares if and only if $pq$ is not of the form $2^{2a}(8b−1)$. Thus, by hypothesis, your number $a=p/q$ is such that $pq$ is not of the form $2^{2a}(8b−1)$. Now, What can you say about the powers $(pq)^m$?
– math Jan 07 '17 at 17:35