{{ tocSubheader }}
| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount}} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount}} |
| {{ 'ml-lesson-time-estimation' | message }} |
If n is an odd number, then n2 is also an odd number. |
The aim is to prove that given any odd number n, its square n2 is also odd. To better understand the statement some example cases can be worked.
n | n2 | Is n2 odd? |
---|---|---|
1 | 1 | Yes |
3 | 9 | Yes |
5 | 25 | Yes |
7 | 49 | Yes |
In the above table, the statement was proven to be true for just a few odd numbers, but the goal is to prove that it is true for any odd number.
The given information and other known facts should be intertwined using logical reasoning several times. These can be other theorems, definitions, axioms, and so on. This step is repeated several times until a conclusion is reached.
Statement | Reason |
---|---|
n is odd | Given. |
n=2k+1 | Every odd number is equal to twice an integer plus 1. |
n2=(2k+1)2 | Raise the equation to the power of 2. |
n2=4k2+4k+1 | Expand the square. |
n2=2(2k2+2k)+1 | Factor out 2. |
n2 is odd | It is written as twice an integer plus 1. |