Example 2 Given positive integers satisfy the equation
Prove: and are both perfect squares.
Example 2 Given positive integers satisfy the equation
Prove: and are both perfect squares.
Proof: From the condition, we know
The left side of the above equation is greater than zero, and on the right side, is greater than zero, so is greater than zero.
From (1), to prove that and are both perfect squares, it is only necessary to prove
Let , then from (1) we know , so . Furthermore, combining , we know , hence . Since , it follows that , thus .
The proposition is proved.