ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 23 Jun 2012 00:42:23 +0200How does one tell if a number field contains a certain element?https://ask.sagemath.org/question/9094/how-does-one-tell-if-a-number-field-contains-a-certain-element/Suppose I have a number field K, in SAGE how would can see if something like \sqrt[4]{29} is contained in this number field?Tue, 19 Jun 2012 08:32:47 +0200https://ask.sagemath.org/question/9094/how-does-one-tell-if-a-number-field-contains-a-certain-element/Answer by benjaminfjones for <p>Suppose I have a number field K, in SAGE how would can see if something like \sqrt[4]{29} is contained in this number field?</p>
https://ask.sagemath.org/question/9094/how-does-one-tell-if-a-number-field-contains-a-certain-element/?answer=13750#post-id-13750I think your question is not well-defined. If you had a number field $K$ along with an embedding $K \to \mathbb{C}$ then the question makes sense. When you construct a number field in Sage I believe it is an abstract field since there may be many different embeddings of $K$ into $\mathbb{C}$.
Now, if your field $K$ is the splitting field of an irreducible polynomial $f$ over $\mathbb{Q}$ then you could test if $f(\sqrt[4]{29})$ is zero or not.Sat, 23 Jun 2012 00:42:23 +0200https://ask.sagemath.org/question/9094/how-does-one-tell-if-a-number-field-contains-a-certain-element/?answer=13750#post-id-13750