Skip to content

Commit 2e5e347

Browse files
authored
[Edit] Edits to proof-by-strong-induction.md (#3237)
* Edits to proofs.md and proof-by-strong-induction.md * make proofs.md in line with main branch * Updated logic of strong induction * Edit description and look over inductive step * Update proof-by-strong-induction.md * Update content/discrete-math/concepts/proofs/terms/proof-by-strong-induction/proof-by-strong-induction.md Co-authored-by: Daksha Deep <[email protected]> * Update proof-by-strong-induction.md * prettier formating ---------
1 parent 4811d7c commit 2e5e347

File tree

2 files changed

+134
-195
lines changed

2 files changed

+134
-195
lines changed
Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Title: 'Proof by Strong Induction'
3-
Description: 'An induction technique that proves a statement by providing multiple base cases, assuming the statement is true for all integers from the largest base case to some even larger integer k, and then proving the statement is true for k+1 using that assumption.'
3+
Description: 'Proves a universal generalization using the hypothesis that all previous elements in a series have the same property.'
44
Subjects:
55
- 'Computer Science'
66
- 'Discrete Math'
@@ -14,43 +14,59 @@ CatalogContent:
1414
- 'paths/computer-science'
1515
---
1616

17-
**Proof by Strong Induction** is an induction technique that proves a statement by providing multiple base cases, assuming the statement is true for all integers from the largest base case to some even larger integer `k`, and then proving the statement is true for `k+1` using that assumption.
17+
**Proof by strong induction** is a mathematical technique for proving universal generalizations. It differs from ordinary mathematical induction (also known as weak mathematical induction) with respect to the inductive step.
18+
19+
In a weak mathematical induction, the inductive step involves showing that if some element _n_ has a property, then the successor element _n + 1_ must also have that property. In a strong mathematical induction, the inductive step involves showing that if all elements up to and including _n_ have some property, then _n + 1_ has that property as well.
1820

1921
## Steps for Strong Induction
2022

21-
1. _Base Cases_: Identify multiple smallest possible cases for which the statement is true.
22-
2. _Induction Hypothesis_: Suppose that the statement is true for some integer `k`, then the statement must be true for `k+1`.
23-
3. _Proof_: Prove that the induction hypothesis is true for `k+1`.
23+
1. _Base Step_: Prove that the first element or elements in the series have some property.
24+
2. _Inductive Step_: Prove that if _n_ and all elements before n have the relevant property, then _n + 1_ has that property.
2425

2526
## Example
2627

27-
Statement: `2(x-1) - (x-2) = x for x >= 2`
28-
29-
Base Cases:
28+
The following proposition will be proven by strong induction:
3029

3130
```plaintext
32-
At x = 2 , 2(2 - 1) - (2 - 2) = 2(1) - (0) = 2 + 0 = 2 and x = 2. Thus, the statement is true at x = 2.
33-
34-
At x = 3, 2(3 - 1) - (3 - 2) = 2(2) - (1) = 4 - 1 = 3 and x = 3. Thus, the statement is true at x = 3.
31+
For all x such that x ≥ 2, 2(x-1) - (x-2) = x.
3532
```
3633

37-
Induction Hypothesis:
34+
Base Step:
35+
36+
The first element is where _x = 2_. Therefore, it must be shown that _2(x - 1) - (x - 2) = x_, where _x = 2_:
3837

3938
```plaintext
40-
Suppose at x = k, 2(k-1) - (k-2) = k
41-
Then at x = k+1, prove that 2((k+1)-1) - ((k+1)-2) = k+1
39+
2(2 - 1) - (2 - 2) = 2(1) - (0) = 2 - 0 = 2
40+
Both sides are equal to 2. Thus, the statement is true at x = 2.
4241
```
4342

44-
Proof:
43+
Inductive Step:
44+
45+
In the inductive step, it must be shown that if, for any value _x_ between _2_ and _k_ (inclusive), _2(x - 1) - (x - 2) = x_, then at _x = k + 1, 2(x - 1) - (x - 2) = x_.
46+
47+
This conditional will be proven by assuming the antecendent (this assumption is called the inductive hypothesis) and showing the consequent:
4548

4649
```plaintext
47-
2((k+1)-1) - ((k+1)-2) = 2(k+1-1) - (k+1-2)
48-
= 2(k-1+1) - (k-2+1)
49-
= 2(k-1) + 2(1) - (k-2) -(+1)
50-
= 2(k-1) - (k-2) + 2 - 1
51-
= 2(k-1) - (k-2) + 1
52-
= k + 1 [Substituting from x = k, which states that 2(k-1) - (k-2) = k]
53-
2((k+1)-1) - ((k+1)-2) = k+1
54-
55-
Thus, the statement is true at x = k+1.
50+
Inductive Hypothesis: Suppose that for all x such that 2 ≤ x ≤ k, 2(x - 1) - (x - 2) = x.
51+
To be proven: 2((k + 1) - 1) - ((k + 1) - 2) = k + 1.
52+
53+
First, we will rearrange the left-hand of the expression above:
54+
2((k + 1) - 1) - ((k + 1) - 2) = 2(k + 1 - 1) - (k + 1 - 2) [removing extra parentheses]
55+
= 2(k - 1 + 1) - (k - 2 + 1) [rearranging within parentheses]
56+
= 2(k - 1) + 2 - (k - 2 + 1) [factoring 2 into the left parenthesis]
57+
= 2(k - 1) + 2 - (k - 2) - 1 [rearranging the right parenthesis]
58+
= 2(k - 1) - (k - 2) + 1 [adding numerical terms]
59+
60+
Now, by the Inductive Hypothesis, 2(k - 1) - (k - 2) = k. We therefore substitute 'k' for '2(k-1) - (k-2)' in the rearranged expression above:
61+
2((k + 1) - 1) - ((k + 1) - 2) = k + 1 [substition from Inductive Hypothesis]
62+
63+
Having shown that 2((k + 1) - 1) - ((k + 1) - 2) = k + 1, this completes the inductive step and the proof.
5664
```
65+
66+
Although the example above uses strong mathematical induction, the same strategy could be applied using weak mathematical induction, since the only value of the inductive hypothesis used was at _x = k_ (there was no need to use any values smaller than _k_).
67+
68+
## The Logic of Strong Induction
69+
70+
Why do the base step and the inductive step together demonstrate the truth of a universal generalization?
71+
72+
The base step shows that the first _n_ elements in the series have the relevant property. Since all the elements prior to the element at _n + 1_ have the property, it then follows by the inductive step that the element at _n + 1_ also has the property. Similarly, since all elements prior to the element at _n + 2_ have the property, the inductive step shows that the element at _n + 2_ does as well. Since this can be done indefinitely, the entire series is shown to have the relevant property.

0 commit comments

Comments
 (0)