The following is one of my exam questions and I would like to know whether my proof is correct or not.
Prove $\sqrt{18}$ is irrational using proof by contradiction.
Following is my proof:
Assume $\sqrt{18}$ is rational. Then there exists $a,b$ in integers such that $a/b$ is written in the lowest terms and $\sqrt{18}$ $=a/b$, $b ≠ 0$. For $a/b$ to be written in the lowest term a or b or both have to be odd.
Square both sides: $∴$ $a^2/b^2$ $=18b^2$ $=>$ $a^2 = 18b^2$.
Therefore $a$ is even since an even number squared gives an even number.
Let $a = 2n$, $n$ $ϵ$ $ℤ$ $=> a^2 = 4n^2$. So $4n^2/b^2 = 18$.
$b^2$ must be an even number since only an even number $(4n^2)$ divided by an even number $(b^2)$ will produce an even number $(18)$.
$∴$ $a$ and $b$ are even, this contradicts at least one being odd. Therefore, $\sqrt{18}$ is irrational.
Please give me some feedback. Thank you.
What you stated is correct, because if $4n^2=18b^2$ then you can only get one factor of $2$ from from $18$ so you need another from $b^2$ so $b$ is even (all these work because $2$ is a prime). But again your reasoning isn't correct, because if $b=1$ then $4n^2/1$ is even but $b$ is not even.
The required contradiction is correctly stated, but its deduction does not follow from valid reasonings, unfortunately.