# Math Help - [SOLVED] Show that r|b

1. ## [SOLVED] Show that r|b

if r belongs integer and r is a non zerosolution of x^2+ax+b=0 (where a,b belongs to integers), prove that r|b.

2. Originally Posted by Deepu
if r belongs integer and r is a non zerosolution of x^2+ax+b=0 (where a,b belongs to integers), prove that r|b.
We are told that $r^2 + ar + b = 0$

$\Rightarrow r^2 + ar = -b$

$\Rightarrow r(r + a) = -b$

Now what can you say?

Spoiler:
Since $r,a \in \mathbb{Z}$, we have that $(r + a) \in \mathbb{Z}$, so that $r$ divides the left side of the equation. But this means it must also divide the right side. Hence, $r|b$

3. Originally Posted by Jhevon
We are told that $r^2 + ar + b = 0$

$\Rightarrow r^2 + ar = -b$

$\Rightarrow r(r + a) = -b$

Now what can you say?

Spoiler:
Since $r,a \in \mathbb{Z}$, we have that $(r + a) \in \mathbb{Z}$, so that $r$ divides the left side of the equation. But this means it must also divide the right side. Hence, $r|b$
Thank you..

4. Originally Posted by Deepu
Thank you..
the conclusion follows even more immediately if you recall that $m|n \Longleftrightarrow n = mk \text{ for some }k \in \mathbb{Z}$