3. We can consider the following four cases: (1)
and ,
(2)
and y < 0
(3) x < 0 and ,
and (4) x < 0 and y < 0.
(1)
and :
In this case
,
,
and
.
Hence
.
Hence
.
(2)
and y < 0: In this case
,
,
and
.
If
,
then
.
Then
.
Hence
.
If x + y > 0, then
.
Hence
.
Hence
.
(3) x < 0 and :
This is the same as (2) if x and y are switched.
(4) x < 0 and y < 0: In this case
,
,
and
.
Hence
.
Hence
.
4. Let us denote the larger pail by L and the smaller one by S.
(1) Fill L and pour the contents of L into S (7 in L).
(2) Empty S and pour L into S (7 in S).
(3) Fill L and pour L into S (14 in L).
(4) Empty S and pour L into S (5 in L).
(5) Empty S and pour L into S (5 in S).
(6) Fill L and pour L into S (12 in L).
(7) Empty S and pour L into S (3 in L).
(8) Empty S and pour L into S (3 in S).
(9) Fill L and pour L into S (10 in L).
(10) Empty S and pour L into S (1 in L).
5. Suppose that the sum of odd squares is a square.
Then
m2 + n2 = k2, where m2 and n2 are odd.
Hence m and n are also odd, and k2 hence k are even.
Thus
m = 2m1 + 1,
n = 2n1 + 1, and
k = 2k1.
Hence
m2 + n2 =
4m12 + 4n12 + 4m1 + 4n1 + 2
=
4k12.
Dividing the both sides by 2,
2(m12 + n12 + m1 + n1) + 1 =
2k12.
But LHS is odd while RHS is even, which is a contradiction.
Hence the sum of odd squares can not be a square.
6. If any one ai is removed, then the sum of the rest is even.
Hence if any one of ais is even, then the total sum is even, and if any one of ais
is odd, then the total sum is odd. Hence if the total sum is odd, then every ai is odd,
and if the total sum is even, then every ai is even. Hence ais are either all
odd or all even.