ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 26 Sep 2011 07:21:30 -0500Number Fields and the Normhttp://ask.sagemath.org/question/8343/number-fields-and-the-norm/Hello,
I am currently very confused about how to use [Number Fields in Sage].(http://www.sagemath.org/doc/reference/sage/rings/number_field/number_field.html).
Things are not working.
Specifically I would like the norm of $\mathbb{Z}[\zeta_5]$ which should be a homogeneous polynomial of degree 4.
I tried:
>K.<g> = NumberField(1+x+x^2+x^3+x^4)
>a,b,c,d=var('a b c d')
>(a+b\*g+c\*g^2+d\*g^3).norm()
However that did not work.
I also tried:
>K.<g>=CyclotomicField(5); K
>a,b,c,d=var('a b c d')
>(a+b\*g+c\*g^2+d\*g^3).norm()
Instead of returning the norm in the Cyclotomic ring, this simply gave me the norm over the complex numbers, that is multiplication by the complex conjugate. These two things are very different, and the norm of the complex number is not at all correct. (It should be degree 4 not degree 2)
Any help is greatly appreciated, thank youEric NaslundMon, 26 Sep 2011 07:21:30 -0500http://ask.sagemath.org/question/8343/