Let $i$ be the primitive fourth root of unity and $E= \mathbb{Q}(i)=\{a_0 + a_1 i; a_0, a_1 \in \mathbb{Q}\}$ be a cyclotomic field of degree 2. Let $O_E$ be its ring of integers. I'm curious about the exact expression of $O_E$. I think this is well-studied in field theory, but I couldn't find any lemma about it in Dummit & Foote or online. Could anyone share some pointers for me to prove it?
Any help is appreciated! More details are below:
Let $\mathbb{Z}[i] = \{z_0 + z_1 i; z_0, z_1 \in \mathbb{Z}\}$. To show that $\mathbb{Z}[i] = O_E$, I could show that $\mathbb{Z}[i]$ is a subset of $O_E$, but I couldn't show every element in $O_E$ is an element in $\mathbb{Z}[i]$.