I am trying to prove $(ma, mb) =m(a,b)$ where $m$ is a positive integer. Should I start like this :
$$(ma, mb) =d\\ d \mid ma, \quad d \mid mb\\ d \mid max + may\\ d \mid m(ax+by)$$
Then what should I do?
I am trying to prove $(ma, mb) =m(a,b)$ where $m$ is a positive integer. Should I start like this :
$$(ma, mb) =d\\ d \mid ma, \quad d \mid mb\\ d \mid max + may\\ d \mid m(ax+by)$$
Then what should I do?
Let $d$ be the gcd of $a,b$. By Bézout's identiy there exist integers $x,y$ such that $$ ax+by=d. $$ Then $$ (ma)x+(mb)y=md. $$ The above equation shows that if $e$ is a common divisor of $ma$ and $mb$, then $e\mid md$. Show that $md$ divides both $ma$ and $mb$ and you are done.