Real quadratic field

Fundamental unit of a real quadratic field

Let 𝐾 =ℚ(√𝑑) be a Real quadratic field and let 𝜗 ∈𝐾 be a reduced element1 of discriminant Δ𝐾:ℚ(𝜗) =Δ𝐾:ℚ with simple continued fraction

𝜗=[―――――――𝑎0;𝑎1,…,𝑎𝑘]

with period 𝑘. Then the fundamental unit of O𝐾 is #m/thm/num/alg

𝜖=𝑞𝑘−1+𝑞𝑘𝜗,

which is to say by Dirichlet's unit theorem

O×𝐾={±𝜖𝑚:𝑚∈ℤ}
Proof

#missing/proof

Monogenic case

If 𝑑 ≡42,3 then one simple has

𝜖=𝑝𝑘+𝑞𝑘√𝑑


#state/tidy | #lang/en | #SemBr

Footnotes

  1. i.e. such that the simple continued fraction is purely periodic, or equivalently, −1𝜗𝜎 >1. ↩