CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Path: gap4r8 / doc / ref / algfld.xml
Views: 418346
1
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
2
<!-- %% -->
3
<!-- %A algfld.msk GAP documentation Alexander Hulpke -->
4
<!-- %% -->
5
<!-- %A @(#)<M>Id: algfld.msk,v 1.6 2006/10/19 10:32:09 gap Exp </M> -->
6
<!-- %% -->
7
<!-- %Y (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland -->
8
<!-- %Y Copyright (C) 2002 The GAP Group -->
9
<!-- %% -->
10
<Chapter Label="Algebraic extensions of fields">
11
<Heading>Algebraic extensions of fields</Heading>
12
13
If we adjoin a root <M>\alpha</M> of an irreducible polynomial <M>f \in K[x]</M> to
14
the field <M>K</M> we get an <E>algebraic extension</E> <M>K(\alpha)</M>, which is again
15
a field. We call <M>K</M> the <E>base field</E> of <M>K(\alpha)</M>.
16
<P/>
17
By Kronecker's construction, we may identify <M>K(\alpha)</M> with
18
the factor ring <M>K[x]/(f)</M>, an identification that also provides a method
19
for computing in these extension fields.
20
<P/>
21
It is important to note that different extensions of the same field are
22
entirely different (and its elements lie in different families), even if
23
mathematically one could be embedded in the other one.
24
<P/>
25
Currently &GAP; only allows extension fields of fields <M>K</M>, when <M>K</M>
26
itself is not an extension field.
27
28
29
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
30
<Section Label="Creation of Algebraic Extensions">
31
<Heading>Creation of Algebraic Extensions</Heading>
32
33
<#Include Label="AlgebraicExtension">
34
<#Include Label="IsAlgebraicExtension">
35
36
</Section>
37
38
39
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
40
<Section Label="Elements in Algebraic Extensions">
41
<Heading>Elements in Algebraic Extensions</Heading>
42
43
<Index>Operations for algebraic elements</Index>
44
According to Kronecker's construction, the elements of an algebraic
45
extension are considered to be polynomials in the primitive element.
46
The elements of the base field are represented as polynomials of degree zero.
47
&GAP; therefore displays elements of an algebraic extension as polynomials
48
in an indeterminate <Q>a</Q>, which is a root of the defining polynomial of the
49
extension.
50
Polynomials of degree zero are displayed with a leading exclamation mark to
51
indicate that they are different from elements of the base field.
52
<P/>
53
The usual field operations are applicable to algebraic elements.
54
<P/>
55
<Example><![CDATA[
56
gap> a^3/(a^2+a+1);
57
-1/2*a^3+1/2*a^2-1/2*a
58
gap> a*(1/a);
59
!1
60
]]></Example>
61
<P/>
62
The external representation of algebraic extension elements are the
63
polynomial coefficients in the primitive element <C>a</C>,
64
the operations <Ref Func="ExtRepOfObj"/> and <Ref Func="ObjByExtRep"/>
65
can be used for conversion.
66
<P/>
67
<Example><![CDATA[
68
gap> ExtRepOfObj(One(a));
69
[ 1, 0, 0, 0 ]
70
gap> ExtRepOfObj(a^3+2*a-9);
71
[ -9, 2, 0, 1 ]
72
gap> ObjByExtRep(FamilyObj(a),[3,19,-27,433]);
73
433*a^3-27*a^2+19*a+3
74
]]></Example>
75
<P/>
76
&GAP; does <E>not</E> embed the base field in its algebraic extensions and
77
therefore lists which contain elements of the base field and of the
78
extension are not homogeneous and thus cannot be used as polynomial
79
coefficients or to form matrices. The remedy is to multiply the
80
list(s) with the value of the attribute <Ref Attr="One"/> of the extension
81
which will embed all entries in the extension.
82
<P/>
83
<Example><![CDATA[
84
gap> m:=[[1,a],[0,1]];
85
[ [ 1, a ], [ 0, 1 ] ]
86
gap> IsMatrix(m);
87
false
88
gap> m:=m*One(e);
89
[ [ !1, a ], [ !0, !1 ] ]
90
gap> IsMatrix(m);
91
true
92
gap> m^2;
93
[ [ !1, 2*a ], [ !0, !1 ] ]
94
]]></Example>
95
96
<#Include Label="IsAlgebraicElement">
97
98
</Section>
99
</Chapter>
100
101
102
103