---
title: "Trace and Norm"
canonical: "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/trace_norm.html"
source: "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/trace_norm.md"
part: "Global Fields"
chapter: "Étale Algebras"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Global Fields", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/index-global-fields.md"}
  - {"title": "Étale Algebras", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/index-etale-algebras.md"}
prev: {"title": "Over Order Graph", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/graph_over_orders.md"}
next: {"title": "Completion", "source": "https://docs.magma-maths.org/v2.30-1/GlobalFields/EtaleAlgebras/completion.md"}
intrinsics:
  - {"name": "Trace", "signature": "Trace(x): AlgEtQElt -> FldRatElt"}
  - {"name": "Norm", "signature": "Norm(x): AlgEtQElt -> FldRatElt"}
  - {"name": "AbsoluteTrace", "signature": "AbsoluteTrace(x): AlgEtQElt -> FldRatElt"}
  - {"name": "AbsoluteNorm", "signature": "AbsoluteNorm(x): AlgEtQElt -> FldRatElt"}
  - {"name": "TraceDualIdeal", "signature": "TraceDualIdeal(I): AlgEtQIdl -> AlgEtQIdl"}
  - {"name": "TraceDualIdeal", "signature": "TraceDualIdeal(O): AlgEtQOrd -> AlgEtQIdl"}
---

# Trace and Norm

Let $A$ be an étale algebra over ${{\Q}}$, with components $K_1\times\cdots\times K_n$. We define the *(absolute) trace* on $A$ as the additive map ${\rm Tr_{A/{{\Q}}}}\from A\to {{\Q}}$ that sends an element $a\in A$ to $\sum_{i=1}^n {\rm Tr}_{K_i/{{\Q}}}(a)$. Let $m_a$ be the matrix representing the multiplication-by-$a$ on $A$ with respect to any basis of $A$ over ${{\Q}}$. Then ${\rm Tr}_{A/{{\Q}}}(a)$ equals the trace of $m_a$.

We define the *(absolute) norm* on $A$ as the multiplicative map ${\rm N}_{A/{{\Q}}}\from A \to {{\Q}}$ by sending a unit $a \in A$ to $\prod_{i=1}^n {\rm N}_{K_i/{{\Q}}}(a)$ and every zero-divisor to $0$. We have $N_{A/{{\Q}}}(a)$ equals the determinant of the matrix $m_a$.

<a id="function-trace-algetqelt"></a>
## `Trace(x): AlgEtQElt -> FldRatElt`

Returns the trace of the element $x$ of an étale algebra.

<a id="function-norm-algetqelt"></a>
## `Norm(x): AlgEtQElt -> FldRatElt`

Returns the norm of the element $x$ of an étale algebra.

<a id="function-absolutetrace-algetqelt"></a>
## `AbsoluteTrace(x): AlgEtQElt -> FldRatElt`

Returns the absolute trace of the element $x$ of an étale algebra. Since the étale algebra is over the rationals this is the same as `Trace`.

<a id="function-absolutenorm-algetqelt"></a>
## `AbsoluteNorm(x): AlgEtQElt -> FldRatElt`

Returns the absolute norm of the element $x$ of an étale algebra. Since the étale algebra is over the rationals this is the same as `Norm`.

<a id="function-tracedualideal-algetqidl"></a>
## `TraceDualIdeal(I): AlgEtQIdl -> AlgEtQIdl`

Returns the trace dual ideal of the ideal $I$, that is, the set of elements $x$ of the algebra such that ${\operatorname{Tr}}(x \cdot I)$ is integer-valued.

Let $I$ be an order or a fractional ideal in an étale algebra $A$ over ${{\Q}}$. We defined the *trace dual ideal* of $I$ as $I^t=\{ a\in A : {\rm Tr}_{A/{{\Q}}}(a\cdot I) \subseteq {{\Z}}\}$. For fractional ideals $I$ and $J$ and a unit $a\in A$, we have:

**(a)**
if $I \subseteq J$ then $J^t \subseteq I^t$ and $\#(J/I) = \#(I^t/J^t)$;

**(b)**
$(aI)^t = {1\over a}I^t$;

**(c)**
$(I+J)^t = I^t \cap J^t$;

**(d)**
$(I\cap J)^t = I^t + J^t$;

**(e)**
$(I:J)^t = I^t\cdot J$.

<a id="function-tracedualideal-algetqord"></a>
## `TraceDualIdeal(O): AlgEtQOrd -> AlgEtQIdl`

Returns the trace dual ideal of an order in an étale algebra, that is, the set of elements $x$ of the algebra such that ${\operatorname{Tr}}(x \cdot O)$ is integer-valued.
