Plus or Minus
Skill: using parity, a quantity that never changes
Problem
Write a plus sign or a minus sign in front of each of the numbers from 1 to 10, then add everything.
For example: +1 − 2 + 3 − 4 + 5 − 6 + 7 − 8 + 9 − 10.
Can the total ever be 0? Give a reason that covers all the possibilities, not just a few tries.
Hints
Hint 1
Try the small version first: 1, 2, and 3. Can you reach 0 there? The answer is yes, so whatever stops you at 1 to 10 is not present in the small case.
Hint 2
Compare two sign choices that differ in exactly one number. How much does the total move?
Hint 3
Flipping a sign changes the total by twice that number, which is always even. So what stays the same about every possible total?
Solution
Start from all plus signs.
1 + 2 + 3 + ... + 10 = 55. Every sign pattern can be reached from this starting total by flipping some of the signs to minus, so describing what a flip does describes every possible total.
See what one flip changes.
Changing +a to −a subtracts a twice: once to remove the plus a and once more to put a on the minus side. The total drops by 2a. Flipping the 4, for example, lowers the total by 8. Every such change is even, because it is twice a whole number.
Keep what never changes.
The starting total 55 is odd. Every flip takes away an even number, and an odd number minus an even number is still odd. No sequence of flips can change the parity of the total, so every one of the 2¹⁰ sign choices gives an odd total.
Rule out zero.
0 is even, so an odd total can never equal 0. This one argument covers all 1024 sign choices. Trying patterns can only show that some of them miss 0; it cannot show that all of them do.
Compare with the small case.
For 1, 2 and 3 the all-plus total is 6, which is even, and 1 + 2 − 3 = 0 works. That is why the small case does not settle the question: there the starting total is even, so parity does not rule 0 out. A pattern that holds for small numbers is a clue, not a proof.
Answer: no, it is impossible.
Why this works
The total's oddness is an invariant: it survives every allowed move. When a task asks whether something is possible, look for a quantity that cannot change. If the target has a different value of that quantity, the task is impossible.
An invariant argument covers every case at once, which is why it is stronger than a search. It also shows the boundary: the same argument works for any list whose all-plus total is odd, and rules nothing out when that total is even.
Try a related problem
Can the same game with the numbers 1 to 9 ever total 0?