I had an example in the book given as follows:
Find the minimal polynomial of $\sqrt{2}+\sqrt{3}$ over $\mathbb Q$ .
Solution: $~~~~~$$(\sqrt{2}+\sqrt{3})^2=5+2 \sqrt6$
$(\sqrt{2}+\sqrt{3})^4=49+20 \sqrt6$
Then $(\sqrt{2}+\sqrt{3})^4-10(\sqrt{2}+\sqrt{3})^2+1=0.$
Thus $a=\sqrt{2}+\sqrt{3}$ satisfies $f(x)=x^4-10x^2+1$ over $\mathbb Q$.
Let $p(x)$ be the minimal polynomial of $\sqrt{2}+\sqrt{3}$ over $\mathbb Q$.Then $(\sqrt{2}-\sqrt{3}),(-\sqrt{2}+\sqrt{3}),(-\sqrt{2}-\sqrt{3})$ are also roots of $p(x).$ So degree of $p(x)$ is atleast $4$.
But $f(a)=0 $ and $f(x) \in \mathbb Q[x] \implies p(x)$ divides $f(x)$ .
So $f(x)$ is minimal polynomial of $\sqrt{2}+\sqrt{3}.$
But I can't get the step how are $(\sqrt{2}-\sqrt{3}),(-\sqrt{2}+\sqrt{3}),(-\sqrt{2}-\sqrt{3})$ also roots of $p(x).$
Kindly help with this.
That fact comes from Galois Theory. Under the assumption that $K/F$ is Galois, the (monic) minimal polynomial $f$ of an element $\alpha \in K$ (over $F$) is of the form $$f(x) = \prod_{\sigma \in \text{Gal}(K/F)} (x - \sigma \alpha).$$ This implies that $\sigma \alpha$ are all roots of the minimal polynomial for $\alpha$.
In your case, let $K = \mathbb{Q}(\sqrt{2}, \sqrt{3})$ and $F = \mathbb{Q}$. Then $K/F$ is Galois and there are 4 automorphisms in $\text{Gal}(K/F)$: namely