The following problem comes from Vol. 1 in Goursat's Cours d'analyse mathematique. The reader is asked to show that, given two integer polynomials $P,Q$ $$ \sqrt{1-P^2}=Q\,\sqrt{1-x^2} \implies \frac{\mathrm{d}P}{\sqrt{1-P^2}}=\frac{n\,\mathrm{d}x}{\sqrt{1-x^2}},\quad n\in\mathbb{N}. $$ As a hint, Goursat notes that $1-P^2=Q^2(1-x^2)$ implies that $Q$ is prime to $P$. I tried to prove this by contradiction: assume there is a nonconstant factor $f$ such that $Qf=P$. Then $$ \begin{align} 1-Q^2f^2&=Q^2-Q^2x^2\\ 1&=Q^2(1-x^2+f^2). \end{align} $$ In order that the right-hand side be independent of $x$, and for $Q$ to be an integer polynomial, one must choose $f=x$, from which it follows that $Q=1$ and $P=x$. But $\mbox{gcd}(1,x)=1$, contrary to assumption. Hence $P$ and $Q$ must be relatively prime.
Is this proof on the right track?