JB Math Club 26-27 · Lecture notes
Summing and multiplying sequences
We want to replace a long calculation by a short idea. Sometimes we can find the exact sum; sometimes a useful upper or lower bound is enough. The main question throughout this lecture is: how should we rewrite the terms so that the structure becomes visible?
Route through the lecture. Polynomial evaluation; telescoping; bounded and unbounded partial sums; geometric sums; odd-number layers in a square; a six-piece model for the sum of squares; first differences of polynomials; telescoping products.
1. Reading a sum through a polynomial
For numbers , the notation means . The letter is a running index; there are terms. We use for an empty sum.
Suppose that the numbers are the coefficients of a polynomial:
We can make every power equal to by choosing . Choosing instead gives alternating signs.
Coefficient sums. For a polynomial with coefficients in increasing order of degree,
For example, the sum of the coefficients of is . Its alternating coefficient sum, starting with the constant term, is . We do not need to expand the polynomial.
Binomial coefficients
Write The coefficient is read as “ choose ”. To obtain when multiplying the factors , choose from exactly factors and from the others. Thus this coefficient counts the -element subsets of an -element set. We will develop this counting interpretation in the next lecture; here it explains the notation. The usual factorial formula is For instance, in comes from the choices , and , so its coefficient is .
Two binomial sums. For integers , For integers ,
Proof. Evaluate at and , respectively. The second identity excludes : the polynomial is then , and the alternating sum is .
Let and be the sums of the coefficients with even and odd indices. For , the identities give and . Hence
2. Telescoping: cancel the middle
Example. For an integer , find
The denominators suggest neighbouring reciprocals. Their difference is exactly one summand: Therefore Every intermediate reciprocal occurs once with a plus sign and once with a minus sign. Only the two boundary terms survive. Such cancellation is called telescoping.
Telescoping identity. For any numbers ,
The useful step is often finding the right , rather than doing the cancellation. Notice also that . Here and below the formula includes if the sum is interpreted as empty.
3. Bounded partial sums
The partial sum of a sequence is . We study the sequence of totals , not just the individual summands .
Bounded above. A sequence is bounded above if there is one constant such that for every . The constant must not depend on .
If , the partial sums are nondecreasing and nonnegative. In this setting an upper bound also makes the sequence bounded in the usual two-sided sense. A sequence may keep increasing and still stay below a fixed ceiling: for example, .
Example. Prove that the following partial sums are bounded above.
For , we have , and so The comparison is useful because the larger terms telescope. For , The first inequality is equality for and strict for . The single constant works for all .
An exact sum is not necessary for this conclusion. In fact, the least upper bound of these partial sums is , but proving this value is beyond this lecture. We have proved the simpler estimate .
4. The harmonic sums have no ceiling
The harmonic sum is Its summands tend to zero. Does that force the partial sums to stay bounded? The answer is no.
Group terms between consecutive powers of two: The block from to contains terms. Each is at least , so every block contributes at least :
Unbounded harmonic sums. For every integer , Consequently, the sequence is unbounded above.
Why this proves unboundedness. Given any proposed ceiling , choose an integer with . Then . Since all summands are positive, every later partial sum is at least this large. The important quantity is the number of blocks, not the size of the last summand.
Each block also contributes at most , since every term in it is at most . Thus This already explains why growth is slow: doubling the number of terms adds between and . It does not yet identify the precise logarithmic constant.
Optional: a sharper estimate using areas
If integrals are familiar, compare rectangles with the decreasing curve . On , the curve lies strictly below the rectangle of height , except at the left endpoint. On for , it lies strictly above the rectangle of height , except at the right endpoint. Summing the areas gives Here denotes the natural logarithm. Therefore The upper inequality is strict when ; it is equality when . This makes the phrase “logarithmic growth” precise: remains between and . The integral argument is optional; the block proof of unboundedness requires no calculus.
5. A geometric sum: shift, then subtract
Example. For an integer and a real number , find
Multiplication by shifts the powers one place: Subtracting cancels every middle power, so . For we may divide by : If , all terms equal , and . The finite formula is valid for negative too. In particular, gives for even and for odd .
For , More generally, for these sums are bounded above by . For , the powers tend to zero, so the partial sums approach ; no infinite-sum formula is needed to establish the finite identity.
6. Odd numbers build a square
Problem. Prove that for every positive integer ,
Start with one cell. A square of side becomes a square of side when we add a row of cells and a column of more cells. The corner belongs to the row. The new L-shaped layer therefore contains cells.
This is a proof by induction. The first square has area . If the first odd numbers fill a square of area , the next odd number supplies exactly the layer that completes the square of area . Thus the first layers fill a square of area .
7. Six staircases give the sum of squares
Problem. One sheet of unit cubes has size , the next , and so on up to . How many cubes are there altogether?
Make one piece. Stack the sheets one cube thick, largest at the bottom, keeping one corner aligned. The staircase contains cubes. Make six identical pieces. The pictures show .
Fit three, then three more. Read the cut through row : five full levels carry three extra gold cells. In row , the gold square is cells wide and cells high, with purple cells underneath each column. Beyond that square, each step lost by purple is filled by teal up to level . Thus the group has full slices and one projection with row lengths . Assemble the other three pieces with the steps on the opposite side.
Check the join. In row of the shared slice, gold fills the first positions and blue fills the remaining . Every row is full. The length of the box is slices, and each slice has cubes. Counting the same box by its six pieces gives
Model and film: Mathematical Etudes, Sum of Squares.
8. First differences of polynomials
Adding a layer to one staircase increases its volume by a square. Can we construct a polynomial whose consecutive values differ by exactly ? Write .
Degree of a first difference. If has degree and leading coefficient , then has degree and leading coefficient . The difference of a constant is zero.
Indeed, . Every lower-degree term of contributes a difference of degree at most , so the leading term survives.
Constructing a difference. To obtain , try . We may set the constant coefficient to zero because taking a difference removes it. Since , and , the three coefficients must satisfy This gives , , and hence . Summing from to leaves . The shift by one explains how the difference polynomial recovers the geometric answer.
Why the construction always works. Suppose has degree and leading coefficient . The first difference of has the same leading term as . Subtract it and repeat with the lower-degree remainder. A constant remainder is , so the process terminates. Adding the polynomials constructed along the way gives and The resulting partial-sum polynomial has degree and leading coefficient . Adding a constant to changes neither the differences nor the sum.
9. Products: cancel factors instead of terms
The notation means . An empty product is .
Telescoping product. If are all nonzero, then
Each intermediate factor appears once in a numerator and once in a denominator. For instance,
Fill the gaps in a product
Worked example. Prove that for every integer ,
Both sides are positive, so it suffices to prove . Write as two copies of . Keep the first copy and increase each factor of the second:
Now insert after , then after , and continue through . Each denominator cancels the next numerator: The inequality is strict because every replacement increases a positive factor. Taking square roots gives