Ask Your Question

# Absolute number field extension

Anonymous

Hi there,

I am working with the following absolute field extension of a quadratic field.

d =  # some integer
K.(a) = NumberField(x^2-d)
R.<x> = PolynomialRing(K)
g = x^2 + x + 1
KL.(b) = K.extension(g)
f = KL.absolute_polynomial()
L.(c) = NumberField(f)


I need to keep track of the element b inside L and I don't know how. Any help is much appreciated.

edit retag close merge delete

## 1 Answer

Sort by ยป oldest newest most voted

Use the absolute_field method instead:

sage: L.<c> = KL.absolute_field()
sage: f = L.defining_polynomial()
sage: from_L, to_L = L.structure()
sage: to_L(b)
2/11*c^3 + 3/11*c^2 + 2/11*c - 5/11


(The output is for the choice of d = 2.)

You also get the morphism in the other direction, which can be handy:

sage: from_L(c)
b - a


(Again, the output is for the choice of d = 2.)

more

## Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

## Stats

Asked: 2022-02-21 00:26:17 +0200

Seen: 133 times

Last updated: Feb 22 '22