xy=(a^2+b^2)*(c^2+d^2)
=a^2*c^2 + a^2*d^2 + b^2*c^2 + b^2*d^2
=(ac)^2 + (ad)^2 + (bc)^2 + (bd)^2
=(ac)^2 + (ad)^2 + (bc)^2 + (bd)^2+2abcd-2abcd
=[(ac)^2+2*ac*bd+(bd)^2]+[ (ad)^2 -2*ad*bc+ (bc)^2]
=(ac+bd)^2+(ad-bc)^2
因为abcd是整数,所以ac+bd、ad-bc都是整数.
xy=(a^2+b^2)*(c^2+d^2)
=a^2*c^2 + a^2*d^2 + b^2*c^2 + b^2*d^2
=(ac)^2 + (ad)^2 + (bc)^2 + (bd)^2
=(ac)^2 + (ad)^2 + (bc)^2 + (bd)^2+2abcd-2abcd
=[(ac)^2+2*ac*bd+(bd)^2]+[ (ad)^2 -2*ad*bc+ (bc)^2]
=(ac+bd)^2+(ad-bc)^2
因为abcd是整数,所以ac+bd、ad-bc都是整数.