[Math] Proof help involving perfect squares

elementary-number-theoryproof-writing

I'm self-studying abstract algebra (using the free book found on this website: http://abstract.pugetsound.edu/), and am having difficulty solving Problem 19 of Chapter 2's end-of-chapter questions. I have quoted it below:

Let $x,y \in \mathbb{N}$ be relatively prime. If $x\cdot y$ is a perfect square, prove that $x$ and $y$ must both be perfect squares.

The answer/hint in the back of the book is "Use the fundamental theorem of arithmetic."

What I've done:

To me, this fact is obvious. However, I don't know how to represent this in mathematical terms/symbols. In words, I would say:

  1. To be a perfect square, the number in question must have a prime factorization consisting only of primes raised to even powers.
  2. Suppose $x$ is not a perfect square (that is, some prime factor (we will call $p$) of $x$ is not raised to an even power).
  3. To make $x\cdot y$ a perfect square, $p$ must also exist as a prime factor of $y$. This is a contradiction, as $x$ and $y$ are coprime. The same reasoning applies if $y$ is assumed as not a perfect square.

My question:

First, I'd like to know if this is a valid proof. (To me, it appears solid, but there may be something I'm overlooking.)

Second, I'd like to know if there is a more "mathematical" way of representing this proof. (Symbols, etc. that I should use.)

Best Answer

Your math is fine, although you might want to mention that you are invoking the fundamental theorem of arithmetic when you factor $x$, $y$, and $xy$ (uniquely) into primes.

Here's a general tip on proof-writing: I seldom come across a proof where I think "this would be clearer if the author used more symbols." Making your proof look more "mathy" is not something you need (or want) to strive for. On the other hand, it's important to write proofs in clear, correct English, with proper punctuation. You've done a good job of this.

It's not necessary to enumerate your steps. As you start writing longer proofs, you will find it tedious to do so. As long as your proof is organized neatly into correct sentences (and paragraphs, if the proof is longer), there's no need to number them.