2

Are there functions in Mathematica that I can use to define a field extension of $Q$? I want to be able to check if an element $a \in Q(\sqrt2)$.

So far I've tried to bypass this with with expressions like

MinimalPolynomial[a, x, Extension -> Sqrt[2]]

and then verifying the degree of the minimal polynomial, but it looks like this doesn't work very well (it insisted on saying that the minimal polynomial of $\sqrt2$ over $Q(\sqrt2)$ was $x^2-2$)

Any ideas?

m_goldberg
  • 107,779
  • 16
  • 103
  • 257

0 Answers0