0

Given is $X$ is coprime to $Z$ and $Y$ is coprime to $Z$ prove $XY$ is coprime to $Z$.

I know you can use Bezout's lemma to say $1=aX+bZ$ and $1=cY+dZ$ but I don't know how to actually do the proof.

Any ideas?

Bart Michels
  • 26,355
Jared
  • 29
  • The prime factorization of $XY$ is the same as that of $X$ times that of $Y$. It is clear that it won't share any factors with $Z$. – AvZ Jan 29 '15 at 17:40
  • 1
    @AvZ that's true but sometimes the result is proved as a preparation to show uniqueness of prime factorization, so this might not be available. – quid Jan 29 '15 at 17:48

2 Answers2

2

aX + bZ = 1 and cY + dZ = 1

=> (aX + bZ)(cY + dZ) = 1

=> (ac)XY + (adX + bcY + bdZ)Z = 1

Therefore etc.

0

Hint: If $XY$ and $Z$ are not coprime, then there's a prime number dividing both $XY$ and $Z$...

Casteels
  • 11,292
  • 4
  • 27
  • 38