Question. Let $f$ be the minimal polynomial of $\sqrt{1+\sqrt{7}}$ over $\Bbb Q$. Then, let $L$ be its splitting field. Show that $\text{Gal}(L/\Bbb Q)$ is isomorphic to a dihedral group of order $8$.
So here's my attempt.
So firstly, we find the minimal polynomial. We have $$x=\sqrt{1+\sqrt{7}}\Rightarrow x^2=1+\sqrt{7}\Rightarrow x^2-1=\sqrt{7}\Rightarrow x^4-2x^2-6=0.$$ This is a monic polynomial that is irreducible by Eisenstein at $p=2$ and so, this is indeed the minimal polynomial. It follows that the splitting field over $\Bbb Q$ is $\Bbb Q(a,b)$ where $a=\sqrt{1+\sqrt{7}}$ and $b=\sqrt{1-\sqrt{7}}$. Now, this polynomial has four roots, namely $$x_1=\sqrt{1+\sqrt{7}},\quad x_2=-\sqrt{1+\sqrt{7}},\quad x_3=\sqrt{1-\sqrt{7}},\quad x_4=-\sqrt{1-\sqrt{7}}.$$ Now, two generators of this Galois group are $r$ and $s$, where $r$ fixes the sign of $\sqrt{7}$ and changes the sign of the outer part, with $s$ changing the sign of $\sqrt{7}$. In other words, we have $$r(x_1)=x_2,\quad r(x_2)=x_1,\quad r(x_3)=x_4,\quad r(x_4)=x_3,$$ $$s(x_1)=x_3,\quad s(x_2)=x_4,\quad s(x_3)=x_1,\quad s(x_4)=x_2.$$ As a permutation, we have $r$ acts on the roots like $(1 2)(3 4)$ and $s$ acts on the roots as $(13)(2 4)$. As the composition of two automorphisms is an automorphism, we must also have $rs=(1 4)(2 3)$.
Now of course the problem with this is that I've only got four permutations as opposed to the eight that the question seeks. I also have two permutations of cycle type $2,2$ as opposed to a $4$-cycle which a dihedral group of order $8$ must have. So it's clear to me that I've gone wrong, perhaps in the defining of my $r$ and $s$? But I can't quite see where I've gone wrong - I know my naming of $r$ and $s$ isn't too technical at this point but not quite sure as to what it can be. I did a similar example to this for $g(x):=x^4-2$ which I found to be a lot more straightforward as the roots involved $i$ so it was a lot clearer to me as to how I should define $r$ and $s$.
Anyway, thanks in advance for taking your time out to read this. Any clarification will be much appreciated.