maths.free › Discrete Math & Logic › Proof by induction
Proof by induction
Base case, inductive step, strong induction, and the well-ordering principle.
To prove P(n) for all n: prove P(1), then prove P(n) ⇒ P(n + 1). Strong induction assumes all earlier cases. Picture it: the staircase of dominoes. Think it: induction is equivalent to the well-ordering of ℕ — every non-empty set of naturals has a least element.
ຕົວຢ່າງທີ່ໄດ້ເຮັດ: sum of k for k = 1 to n
ຂັ້ນຕອນຕໍ່ຂັ້ນຕອນ
- \sum_{k=1}^{n} k
Write the sum out.
- 1 + 2 + 3 + 4 + \cdots
The first few terms.
- = \frac{n \left(n + 1\right)}{2}
Closed form (a standard summation formula, provable by induction).
ເປີດເຜີຍຄຳຕອບ
Symbols used here
Add a_k for k = 1 up to n.
Chance of A; chance of A given that B happened.
Inequalities that allow equality; < and > exclude it.
n × (n−1) × … × 1; the number of orderings of n things. 0! = 1.
Number of k-element subsets of n things: n!/(k!(n−k)!).
x belongs to A; every element of A is in B.
In either; in both; in A but not B.
The set with no elements; the number of elements of A.
Quantifiers: every x; at least one x.
Logical connectives.
Marks the point where the statement has been established.
n divides a − b; a and b have the same remainder.
Grows no faster than n² (up to a constant), for large n.
What is left after dividing a by n.
How to: Proof by induction
- State P(n) precisely.
- Base case: verify P(1) (or P(0)).
- Inductive step: assume P(k), derive P(k + 1), citing the assumption exactly once at least.
- Conclude by the principle of induction.
Questions people ask
What makes mathematics "discrete"?
It deals with separate, countable objects — integers, graphs, statements — rather than continuous quantities. No limits, no infinitesimals; instead induction, counting and logic.
How does a proof by induction work?
Show the statement for the first case, then show that whenever it holds for n it holds for n + 1. Like dominoes: the first falls, and each knocks over the next.
ພະຍາຍາມເອງ
ເພີ່ມເຕີມໃນ Discrete Math & Logic
Truth tablesSums and inductionAlgorithms and growth of functions