My lecture notes has the following.

Consider the integral domain and the equation

for some .

Taking the modulus (in ) of both sides and squaring we get

.

My question is: how do we get the above equation by taking modulus in ? Can anyone pls show me the steps?