Read the objects and logical claim in Sum of first integers
Identify the set, index, graph, counting object, or proposition first. Then separate what is assumed from what is being counted or proved. Rebuild missing background in the discrete math subject guide, then use discrete math practice to retrieve the relationship without being told its name.
State the finite, integer, or logical conditions
It only counts consecutive whole numbers starting at 1. To add 20 through 50, take the sum to 50 and subtract the sum to 19: 1275 − 190 = 1085. Feeding 31 terms into the formula directly would give 496, which counts the wrong numbers entirely.
Test Sum of first integers on a small case
List or draw a small instance before relying on the general notation:
Extend the small case to the general structure
- Name the unknown, and the unit the answer has to come out in.
- Match the symbols to your values. $n$ is a nonnegative integer.
- Check the conditions before substituting. For an empty sum at $n=0$, the result is $0$.
- Substitute, keep exact values to the last line, then test the sign, size, and unit against a rough estimate - The check that catches most discrete math slips.
Check boundaries, overlap, and base cases
After using Sum of first integers, repeat the calculation with units attached and test the result against a boundary case or a quick numerical estimate.
A counting or logic mistake to catch
What goes wrong: Students reach for n(n − 1)/2 instead, mixing this up with the handshake count.
Why it fails: That formula stops one short. For n = 100 it gives 4950, which is the total up to 99, so the answer is short by exactly the last term.
Repair: Test the formula on n = 3, where you can add 1 + 2 + 3 = 6 in your head. Only n(n + 1)/2 returns 6, and it correctly gives 100(101)/2 = 5050 for the first hundred.
Questions about Sum of first integers
Does the pairing still work when n is odd?
Yes. With n = 5 the pairs are 1 + 5 and 2 + 4, each making 6, and the leftover 3 is exactly half of 6. The formula gives 5(6)/2 = 15, which matches counting by hand.
How do I add all the even numbers up to 100?
Factor out the 2: 2 + 4 + ... + 100 is 2(1 + 2 + ... + 50), which is 2 times 1275, or 2550. The same trick works for any multiples of a fixed number.
Can the answer ever come out as a fraction?
No. Of any two numbers in a row, one is even, so n(n + 1) is always even and the division by 2 comes out clean. A fractional answer means an arithmetic slip.
Is this the same as the number of edges in a complete graph?
They are closely related but shifted by one. The complete graph on n vertices has n(n − 1)/2 edges, which equals the sum of the first n − 1 whole numbers.
Change one input, predict whether the output should rise, fall, or stay fixed, and only then recalculate.