I want to show that |$\mathbb{Q}(\sqrt a,\sqrt b)|=4$ with a, b and ab not being squares
Is it enough to say that,
$\mathbb{Q}(\sqrt a,\sqrt b)=\mathbb{Q}(\sqrt a)(\sqrt b)$= {p+q$\sqrt b | p,q \in \mathbb{Q}(\sqrt a)$}= {$p+q\sqrt a +r \sqrt b +s \sqrt ab$} which is clearly spanned by $1,\sqrt a, \sqrt b, \sqrt ab$