I read this tutorial and here’s what I was able to do!

Inline: $a+b>c$.

A quick equation:

\[ a^2 + b^2 = c^2. \]

$\textbf{Problem.}$ Prove that $\sqrt{2}$ is irrational.

$\textbf{Proof.}$ Assume that $\sqrt{2}$ is a rational number in the form $\frac{a}{b}$ when written in lowest terms. Then \[\sqrt{2} = \frac{a}{b}\] Squaring both sides, we get \[2=\frac{a^{2}}{b^{2}}\] Rearranging this, we get \[a^{2}=2b^{2}\] If $a$ is odd, then $a^{2}$ (the left side) becomes odd. However, the right side is even, so $a$ must be even. If we check, squaring an even number $a$ indeed does yield another even number, so $a$ is actually even. We can write an even number $x$ as $x = 2y$ for some integer $y$. Then, we can also write $a$ as $a = 2c$ for some $c$. Then our equation from before, $a^{2} = 2b^{2}$ becomes \[(2c)^{2} = 2b^{2}\] Expanding the left side, we get \[4c^{2} = 2b^{2}\] and dividing by 2, the equation becomes \[2c^{2} = b^{2}\] By the same logic as before, $b$ must be even. If both $a$ and $b$ are even, they are both divisible by 2. Then, this contradicts our assumption that $\frac{a}{b}$ is in lowest form. Therefore, our original assumption that $\sqrt{2}$ is rational must be false. If $\sqrt{2}$ is not rational, it must be irrational. Therefore, $\sqrt{2}$ is irrational.

(A sneak peak of a future handout on proofs!)