In a Complex Analysis course I'm asked to show that the rational root theorem is true, stated as follows.
Show that the following holds true: Let the real rational number $p/q$ (where $p$ and $q$ have no common factor except $\pm 1$ be a solution of $$a_n z^n + a_{n-1}z^{n-1} + \ldots + a_1 z + a_0 = 0, \quad a_j \in \mathbb{Z}.$$ Then $q$ must be a factor of $a_n$ and $p$ must be a factor of $a_0$.
Now, for $n=1$, I can show $p = a_0\frac{-a_1}{q}$ and $q = a_1\frac{-a_0}{p}$.
For $n = 2$, we have $p = \frac{q}{2a_2}(-a_1 \pm \sqrt{a_1^2-4a_2a_0}) =^{?} a_0 (\ldots).$
I suppose we need to somehow use that $a_j \in \mathbb Z$ and $p,q \in \mathbb Z$.
Furthermore, the exercise asks me to show, rather than to prove. But still, can someone point me in the right direction?