Trace
trace of an algebraic number (or function)
Calling Sequence
Parameters
Description
Examples
Trace(a, L, K)
a
-
any expression
L
(optional) set of RootOfs
K
The Trace function is a placeholder for representing the trace of an algebraic number (or function), that is the sum of its conjugates. It is used in conjunction with evala.
The call evala(Trace(a, L, K)) computes the trace of a over the algebraic number (or function) field represented by K. In case K is not specified and a is an algebraic number, the trace over the rational is computed. In case K is not specified and a is an algebraic function, the smallest possible transcendental extension of the rational numbers is chosen. The expression a is viewed as an element of the smallest field containing a and the RootOfs in L.
The RootOfs in K must form a subset of the RootOfs occurring in L and in a. In other words, K must be a 'syntactic' subfield of the field generated by L and the RootOfs in a.
alias⁡sqrt2=RootOf⁡x2−2:
alias⁡α=RootOf⁡y2−x+RootOf⁡x2−2⁢y,y:
evala⁡Trace⁡α
0
evala⁡Trace⁡α,∅,sqrt2
−sqrt2
evala⁡Trace⁡z−αz
4⁢z
See Also
evala
mod
RootOf
sum
trace
Download Help Document