Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to write out the ideal generated by $a+b\sqrt d$ (denoted by $I$) in $\mathbb{Z}[\sqrt d]=\{a+b\sqrt d:a,b\in\mathbb{Z}\},$ with $d$ square-free. \begin{align*} I&= (a+b\sqrt d)\mathbb{Z}[\sqrt d]= (a+b\sqrt d)(\mathbb{Z}+\sqrt d)\mathbb{Z}\\ &= (a+b\sqrt d)\mathbb{Z}+(a+b\sqrt d)\sqrt d\mathbb{Z}\\ &= a\mathbb{Z}+b\sqrt d\mathbb{Z}+a\sqrt d \mathbb{Z}+bd\mathbb{Z}\\ &= (a+bd)\mathbb{Z}+(a+b)\sqrt d\mathbb{Z}. \end{align*} But it seems that $a+b\sqrt d\notin (a+bd)\mathbb{Z}+(a+b)\sqrt d\mathbb{Z}.$ There should be something wrong in the computation above. Could you help me point it out?

share|cite|improve this question
up vote 3 down vote accepted

The main mistake (which you made two or three times) is that while

$$ (u + v) \mathbb{Z} \subseteq u \mathbb{Z} + v \mathbb{Z} $$

it is only an equality in special cases.

share|cite|improve this answer

$(a+b\sqrt d)\mathbb Z + (a+b\sqrt d)\sqrt d\mathbb Z$ is the set of elements of the form $(a+b\sqrt d)n + (a+b\sqrt d)\sqrt dk=(a+b\sqrt d)n + (a\sqrt d+b d)k$ with $n,k\in\mathbb Z$. Those element cannot be rewritten in general to $(a+bd)n+(a+b)\sqrt d k$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.