radfield - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Evaluation : evala : radfield

radfield

compute a representation for a field generated by radicals

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

radfield(S, G)

Parameters

S

-

set of radical numbers

G

-

(optional) set of algebraic numbers in RootOf or radical notation (a ground field)

Description

• 

Given a set of radical numbers (see radnum), this function attempts to compute irreducible indexed RootOfs generating the same field. Algebraic numbers in RootOf notation (see algnum) are also supported.

• 

The input may also contain algebraic functions in RootOf notation (algfun) or in radical notation (radfun), but in this case, the output RootOfs will not necessarily be irreducible.

• 

A set of RootOfs S is called irreducible (or independent) if the RootOfs satisfy no nontrivial algebraic relations. In other words, the polynomial defining a RootOf R in S must be irreducible over the field generated by the RootOfs in S which do not contain R.

• 

Typically, this function may be used to preprocess an expression involving algebraic numbers in radical notation before invoking a procedure which requires irreducible RootOfs as input. This function is similar to evala,Algfield.

• 

The output is a five element list of the following form (the first three elements are the most important ones):

  

[[r_1=f_1(R_1,...,R_s), r_2=f_2(R_1,....,R_s),...., r_t=f_t(R_1,...,R_s)],

  

[[R_1=g_1(r_1,...,r_t), R_2=g_2(r_1,....,r_t),...., R_s=g_s(r_1,...,r_t)],

  

{R_1,...,R_s},

  

return_code,

  

{V_1=W_1,...,V_u=W_u}]

  

where the r_i's are the input radicals, the R_i's are the output RootOfs, the f_i's are the expressions of the r_i's in terms of the R_i's and the g_i's are the expressions of the R_i's in terms of the r_i's.

  

- The first sublist is a forward substitution list meant to be used in conjunction with the eval and subs commands. The purpose of this list is to transform an expression so that it involves only a set of irreducible RootOfs.

  

- The second sublist is a backward substitution list meant to restore radical notations.

  

- The third element is the set of irreducible RootOfs.

  

- The return code can be true, if the routine could find a set of irreducible RootOfs to express the input, false if such a set could not be found and some unresolved relations exist (see the Examples section), or FAIL if the routine could not determine whether the RootOfs are irreducible or not, but no unresolved relation was found. Typically, the latter may happen when the input contains algebraic functions (see algfun and radfun).

  

- The fifth element is a set of unresolved relations.

• 

If a second argument G is given, then the RootOfs and radicals in the set G are considered as irreducible and independent.

• 

WARNINGS:

  

- The running time of this algorithm is, in general, exponential in the number of input RootOfs, and so is the degree of the extension generated by the input.

  

- Since the ordering of objects may vary from a session to another, the output may change accordingly. The ordering may also have an influence on the running time.

• 

If infolevel[radfield] is assigned a positive integer, then information about the execution of the program will be displayed.

Examples

S2,3,6

S:=2,3,6

(1)

radfieldS

2=RootOf_Z22,index=1,3=RootOf_Z23,index=1,6=RootOf_Z23,index=1RootOf_Z22,index=1,RootOf_Z23,index=1=3,RootOf_Z22,index=1=2,RootOf_Z23,index=1,RootOf_Z22,index=1,true,

(2)

S11212+931213:

radfieldS

2=RootOf_Z22,index=1,3=RootOf_Z23,index=1,112+931/3=RootOf_Z23,index=1+RootOf_Z22,index=1,RootOf_Z23,index=1=3,RootOf_Z22,index=1=2,RootOf_Z23,index=1,RootOf_Z22,index=1,true,

(3)

G212,312:

radfieldS,G

112+931/3=RootOf_Z23,index=1+RootOf_Z22,index=1,2=RootOf_Z22,index=1,3=RootOf_Z23,index=1,RootOf_Z23,index=1=3,RootOf_Z22,index=1=2,RootOf_Z23,index=1,RootOf_Z22,index=1,true,

(4)

S414

S:=41/4

(5)

radfieldS

41/4=1+RootOf_Z2+1,index=1,RootOf_Z2+1,index=1=I,RootOf_Z2+1,index=1,true,

(6)

Factorization algorithms for polynomials over algebraic extension fields usually require irreducible RootOfs. In the example below, the polynomial p is transformed and its coefficients are restored after the factorization step.

px3+x2123x1431+x123

p:=x3+x212/3+x11/31+x12/3

(7)

Aradfieldindetsp,radical

A:=11/3=12+12RootOf_Z2+3,index=1,12/3=141+RootOf_Z2+3,index=12,RootOf_Z2+3,index=1=3,RootOf_Z2+3,index=1,true,

(8)

evalfactorevalp,A1,A2

142x3+2x232x+12x1+3

(9)

If the input contains, for instance, RootOfs that are not indexed, this routine may not be able to make branch choices. In this case, The return code is false and the fifth argument is used to return the ambiguous relations:

S3,RootOf_Z23

S:=3,RootOf_Z23

(10)

radfieldS

3=RootOf_Z23,index=1,RootOf_Z23,index=1=3,RootOf_Z23,index=1,false,RootOf_Z23,index=1=RootOf_Z23,RootOf_Z23,index=1=RootOf_Z23

(11)

In some cases, for instance when algebraic functions are involved, radfield does not always try to ensure that the RootOfs are indeed independent. In this case, the return code is FAIL.

radfieldx,xx+1

x=RootOf_Z2x,index=1,xx+1=RootOf_Z2x2x,index=1,RootOf_Z2x,index=1=x,RootOf_Z2x2x,index=1=xx+1,RootOf_Z2x,index=1,RootOf_Z2x2x,index=1,FAIL,

(12)

See Also

algnum

evala,Algfield

radnormal

radnum

RootOf

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam