Suppose I want to find the minimal polynomial of $\alpha \in \mathbb{C}$ over $\mathbb{Q}$; by this, I mean that I want to find a polynomial that $\alpha$ satisfies and then prove its minimality, usually by contradiction. For the sake of argument, suppose such a polynomial has the form
$$m_\alpha(x) = x^{2n} +bx^n + c \hspace{1cm} b,c \in \mathbb{Q}$$
Then by making the substitution $u = x^n$, I obtain a new polynomial
$$m_\alpha(u) = u^2+bu+c$$
Then the roots of $m_\alpha(u)$ are given by
$$u = - \frac{b}{2} \pm \frac{\sqrt{b^2-4c}}{2}$$
Supposing that $\sqrt{b^2-4ac} \not\in \mathbb{Q}$, we could then conclude that $m_\alpha(u)$ is irreducible over $\mathbb{Q}$ since irreducibility of quadratic polynomials is characterized by its roots. Am I then allowed to undo the substitution to declare that $m_\alpha(x)$ is also irreducible over $\mathbb{Q}$? It seems as though my substitution causes us to lose some information about $m_\alpha(\dots)$ which is the source of my skepticism.