Skip to content

AlgebraicNumberTrace ​

The trace of aa over Q\mathbb{Q} in the field Q(a)\mathbb{Q}(a): the sum of its conjugates.

✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram LanguageAlgebraicNumberTrace✓
AlgebraicNumberTrace(a)the sum of aa's conjugates
Typed signatures
TypePackageApplies
(number) -> numbernumber-theoryalways

Domain: Number theory

Details
  • In Q(a)\mathbb{Q}(a), the field aa generates

Examples

Basic #

(1+2)+(1−2)(1 + \sqrt 2) + (1 - \sqrt 2)

live ↗
InAlgebraicNumberTrace(1+2)\mathrm{AlgebraicNumberTrace}(1+\sqrt{2})Out22

the cube roots of 2 sum to 0

live ↗
InAlgebraicNumberTrace(23)\mathrm{AlgebraicNumberTrace}(\sqrt[3]{2})Out00
live ↗
InAlgebraicNumberTrace(5+2)\mathrm{AlgebraicNumberTrace}(5+\sqrt{2})Out1010
Scope #
live ↗
InAlgebraicNumberTrace(2)\mathrm{AlgebraicNumberTrace}(2)Out22
live ↗
InAlgebraicNumberTrace(−23)\mathrm{AlgebraicNumberTrace}(-\frac{2}{3})Out−23-\frac{2}{3}
Properties #
live ↗
InAlgebraicNumberTrace(1+22)\mathrm{AlgebraicNumberTrace}(\frac{1+\sqrt{2}}{2})Out11
About
Examples6
Checked againstWolfram Language 6 agree
CrosswalkWolfram Language

Implementation

primitive · kernela kernel — an algorithm over mutable state that would not be readable as a tree

nativeenginetypescriptpackages/ce-patches/src/compute-engine/library/algebraic-numbers.ts
mappedwolframpackages/oracle/src/mappings.ts

See also: AlgebraicNumberNorm, MinimalPolynomial