Give me a proof that the square root of 2 is irrational
Here is a proof by contradiction that the square root of 2 is irrational. First, recall that irrational numbers are numbers that cannot be written as p / q for integers p and q. Assume for contradiction that the square root of 2 is rational, which would mean that sqrt(2) = p / q for some integers p and q. Further assume without loss of generality that this fraction is in reduced form, meaning that p and q share no common factors. We can assume this because any integer fraction can be written in such a reduced form, so the existence of any rational representation for sqrt(2) would imply the existence of one in reduced form. Now we square both sides of the above equation, yielding

2 = p^2 / q^2

for some integers p and q not sharing any common factors. Now multiply by q^2 to get

2 * q^2 = p^2

Note that the left hand side is even due to the factor of 2, so the right hand side p^2 is even as well. This means that p must be even as well, otherwise p^2 would not be even. So p can be written as 2 * x for some integer x. Substituting this into the above equation, we get

2 * q^2 = (2 * x)^2 = 2^2 * x^2

Note that both sides of the equation have a factor of 2 we can cancel. Doing this, we get

q^2 = 2 * x^2

By an argument analogous to the one above, we can conclude that q is even. However this contradicts our assumption that p and q shared no common factors. Therefore our initial assumption that sqrt(2) is rational was false, which is what we set out to prove.
Dê-me uma prova de que a raiz quadrada de 2 é irracional.
Aqui está uma prova por contradição de que a raiz quadrada de 2 é irracional. Primeiro, lembre-se que os números irracionais são números que não podem ser escritos como p / q para inteiros p e q. Assuma para contradição que a raiz quadrada de 2 é racional, o que significaria que sqrt))) 2) = p / q para alguns inteiros p e q. Assuma ainda sem perda de generalidade que esta fração está em forma reduzida, o que significa que p e q não compartilham fatores comuns. Podemos assumir isso porque qualquer fração inteira pode ser escrita em forma tão reduzida, então a existência de qualquer representação racional para sqrt))) implicaria a existência de um em forma reduzida.