[solution]
**Step 1 (List the elements).** The dihedral group $D_4$ has eight elements: four rotations $\{e, r, r^2, r^3\}$ (where $r$ is rotation by $90^\circ$) and four reflections $\{s, rs, r^2 s, r^3 s\}$, subject to the relations $r^4 = e$, $s^2 = e$, and $srs = r^{-1}$.
**Step 2 (Subgroups of order 1 and 8).** The trivial subgroup $\{e\}$ and the full group $D_4$ are always subgroups, both normal.
**Step 3 (Subgroups of order 2).** By [Lagrange's theorem](/theorems/841), any subgroup of order $2$ is cyclic, generated by an element of order $2$. The elements of order $2$ are $r^2$, $s$, $rs$, $r^2 s$, and $r^3 s$. This gives five subgroups of order $2$:
\begin{align*}
\{e, r^2\}, \quad \{e, s\}, \quad \{e, rs\}, \quad \{e, r^2 s\}, \quad \{e, r^3 s\}.
\end{align*}
To test normality, we check whether $g H g^{-1} = H$ for all $g \in D_4$. The subgroup $\{e, r^2\}$ is normal (since $r^2$ commutes with all rotations, and $s r^2 s^{-1} = s r^2 s = r^{-2} = r^2$). The four reflection subgroups are not normal: for instance, $r \{e, s\} r^{-1} = \{e, r s r^{-1}\} = \{e, r^2 s\} \neq \{e, s\}$.
**Step 4 (Subgroups of order 4).** By Lagrange, subgroups of order $4$ have index $2$ in $D_4$, so they are automatically normal. The candidates are:
- $\langle r \rangle = \{e, r, r^2, r^3\}$ — the rotation subgroup, cyclic of order $4$.
- $\{e, r^2, s, r^2 s\}$ — isomorphic to the Klein four-group $V_4$, containing the rotation $r^2$ and two "opposite" reflections.
- $\{e, r^2, rs, r^3 s\}$ — also isomorphic to $V_4$, containing $r^2$ and the other two reflections.
All three are normal since they have index $2$.
**Step 5 (Summary).** $D_4$ has exactly ten subgroups: one of order $1$, five of order $2$, three of order $4$, and one of order $8$. The normal subgroups are $\{e\}$, $\{e, r^2\}$, $\langle r \rangle$, $\{e, r^2, s, r^2 s\}$, $\{e, r^2, rs, r^3 s\}$, and $D_4$ itself — six in total. The three non-normal subgroups are the order-$2$ subgroups generated by individual reflections (not passing through $r^2$).
[/solution]