Induction, Sums and the Binomial Theorem
In questa pagina 4
Prerequisites: Logic and Proof TechniquesPropositions, connectives, predicates and quantifiers with the rules for negating them, and the three basic proof techniques (direct, contrapositive, contradiction).Logic and Proof Techniques →, Sets and Set OperationsWays of describing a set, subsets and equality, the power set, finite and infinite sets, union, intersection, difference, complement, De Morgan laws and the Cartesian product.Sets and Set Operations →.
The principle of induction
Many statements concern all natural numbers, e.g. "for every , ". Checking never ends and proves nothing (it might fail for a huge ). Induction proves all cases with finitely many steps.
The domino idea. Infinitely many dominoes numbered all fall if (1) the first falls, and (2) whenever one falls, the next falls. "Domino falls" = "the statement holds for "; (1) is the base step, (2) the inductive step.
Theorem (principle of induction). Let and a predicate on naturals. "" is true iff
- is true;
- for every .
How to write a proof.
- Base step: substitute and check.
- Inductive step: fix . Assume (the inductive hypothesis: not circular, we only say "if it held, then ..."). Write the thesis and prove it, using the inductive hypothesis somewhere (if you never use it, something is wrong).
- Conclusion: by the principle of induction, holds for all .
Proof of the theorem. "" is easy: if holds for all , then holds and is an implication between true statements. "" by contradiction: assume 1 and 2 and suppose "" false. Then there is with false. since is true, so . Also is false: otherwise 2 would give true. Repeating, is false, and so on; after the finitely many steps we reach false, contradicting 1.
It rests on two properties of : every has a successor , every has a predecessor .
Example. For every : .
- Base (): left side , right side .
- Step. Hypothesis: . Thesis: . The first terms equal by hypothesis, so
Induction also lets us define by recursion, e.g. , . If the claim is only for , start the base step at .
Mistakes: forgetting the base step ("" has a working-looking inductive step but is false for every ); proving only the base step; using the thesis to prove the thesis; never using the inductive hypothesis; wrong substitution of (watch parentheses); a step that fails for the first value.
Summation notation
A sum is just shorthand: is the index (a dummy variable: , , give the same sum), and are the first and last values (inclusive), the general term. To compute, write it out: ; ; . The number of terms from to is . Careful: is "one over ", not .
Change of index (shift). Put (say), recompute the limits, rewrite the term. (, ). To start from , with : Reflection (sum backwards), with : E.g. .
Properties.
- Linearity: and . It does not hold for products: (with : versus ). Example: .
- Additivity: for , (the second piece restarts at ).
- Terms appearing with and in a difference cancel: .
Notable sums.
- Constant: ; e.g. .
- Gauss: (for : ). Idea: write the sum twice, forwards and backwards; each column adds to , there are columns, so . Rigorous proof by induction as above.
- Geometric: for , Example , : . For use the convention (the sum is , as the formula says); for the formula cannot be used but the sum is .
Proof. By linearity and a shift : . Detach the first term of the first sum () and the last of the second (); the sums from to cancel, leaving . Divide by .
Factorial and binomial coefficients
Definition. for , and (convention making the formulas work). Recursively .
, . Careful: differs from (for : versus ). For : ( factors, the last one is ); e.g. . Simplify as , not .
Counting strings.
- Permutations of elements (ordered, no repetition, all used): . ( choices for the first slot, for the next, ... ; the choices multiply.) has .
- Dispositions of elements taken at a time (ordered, no repetition): . E.g. podiums among athletes.
- Combinations (unordered: a subset of elements): each combination corresponds to dispositions, hence
is the number of -element subsets of an -element set. E.g. . Special values: , , .
Symmetry: (choosing what to take is choosing what to leave; or from the formula, ). Compute with the smaller .
Stifel's formula (): . Combinatorial proof: fix one element . The -subsets containing are (choose the other among ); those not containing it are ; the two groups are disjoint. Algebraic proof: common denominator , using and : Example: .
Pascal's (Tartaglia's) triangle: by Stifel each entry is the sum of the two above it; edges are ; each row is symmetric.
| row | |
|---|---|
| 0 | 1 |
| 1 | 1 1 |
| 2 | 1 2 1 |
| 3 | 1 3 3 1 |
| 4 | 1 4 6 4 1 |
| 5 | 1 5 10 10 5 1 |
| 6 | 1 6 15 20 15 6 1 |
The sum of row is : the total number of subsets of an -element set (this ties with the power set in Sets and Set OperationsWays of describing a set, subsets and equality, the power set, finite and infinite sets, union, intersection, difference, complement, De Morgan laws and the Cartesian product.Sets and Set Operations →).
Newton's binomial theorem
Theorem. For (with , or with the convention ) and :
The sum has terms; in the -th term has exponent , has exponent (the exponents always add up to ). It generalizes and . Examples: ; (coefficients from row of the triangle). Check with : .
Why the coefficients are (idea): expanding ( factors), each term picks or from each factor; arises when is chosen in exactly factors, which can be done in ways. The rigorous proof is by induction using Stifel's formula.
With a minus sign: replace by ; odd powers of change sign: .
Consequences.
- : .
- , : (dropped terms are ): a case of Bernoulli's inequality, valid more generally for and proved by induction.
Mistakes: (false for : ); miscounting the terms (); forgetting signs in ; ; confusing dispositions (order matters) with combinations; in sums, changing the formula but not the limits, counting terms instead of , using the geometric formula with , pulling out of a sum something that depends on the index.
Versione ripasso
Induction. holds iff (1) true (base) and (2) for all (inductive step: assume , the inductive hypothesis, and prove using it). Proof of sufficiency by contradiction: a first false would force false.
- Example: . Base : . Step: .
- Mistakes: no base step; using the thesis instead of the hypothesis; never using the hypothesis.
Sums. , with terms, dummy index.
- Shift : . Reflection : . Always recompute the limits.
- Linearity (not for products); additivity .
- ; ; for , (proof: telescopes to ); for it is ; .
Factorial. , , ( factors), .
- Permutations ; dispositions ; combinations = number of -subsets.
- , , .
- Stifel: (subsets with or without a fixed element). Pascal's triangle: rows ; ; ; ; ; ; row sum .
Binomial theorem. : terms, exponents add to .
- . .
- : . : (Bernoulli).
- Mistake: .