AlgebraicNumberTrace
AlgebraicNumberTrace[a] gives the trace of the algebraic number a.
Examples
Find the trace of an algebraic number:
AlgebraicNumberTrace[Sqrt[2]]
(* 0 *)Trace of a root of unity:
AlgebraicNumberTrace[Root[#^3 - 2 &, 1]]
(* 0 *)Please visit the official Wolfram Language Reference for more details.