I watched a video https://www.youtube.com/watch?v=isbt-7DQBy0 in which the instructor gives an example of a non-rational number.
He says, if the square root of 2 would be a rational number, it could be expressed as the fraction of two integers:
${\sqrt 2} = \frac a b$
Which can be rewritten to
$2 = \frac{a^2}{b^2}$
$2{b^2} = {a^2}$
From which he concludes that ${a^2}$ is even, because it would be two times some integer.
He then goes on to describe why a is even, using this:
${a^2} = 2(2{k^2})$
$a \cdot a = (2k) \cdot (2k) $
$a = 2k$
I don't understand the first step in that sequence, ${a^2} = 2(2{k^2})$. Where to this 2k come from? 2k symbolizes any even integer? Couldn't i just insert $2k + 1$ for any odd integer and solve it the same? I don't understand how this is supposed to prove that a is even.
(The proof in the video goes on to conclude that ${\sqrt 2}$ can not be a rational number, but what I described above is the part I'm struggling with)