When i look at my notes , i realized something i have not realized before.It was as to a modular arithmetic question.
The question is ${\sqrt 2} \pmod7$
It is very trivial question.The solution is: if $x \equiv {\sqrt 2} \pmod7$ ,then $x^{2} \equiv ({\sqrt 2})^{2} \pmod7$
$\therefore x^{2} \equiv 2 \pmod7$ and $x=+3,-3,+4,-4$
However, there is something which i stuck in it. How can we work with ${\sqrt 2}$ , because we know the definition of modular arithmetic.It says that
$a \equiv b \pmod m$ where $a,b$ are integers and $m$ is positive integer.I think that ${\sqrt 2}$ contradicts with the definiton of modular arithmetic because it is not an integer.
Can you enlighten me? What am i missing ?
NOTE:Someone might suggest that when you take exponential of both side , ${\sqrt 2}$ turned out to be an integer.
My answer to this question:Yes it turned out to be an integer but in order to take exponential of ${\sqrt 2}$ , it must be an integer because definition says that $a^{e} \equiv b^{e} \pmod m$ where $a,b$ are integers and $m,e$ are positive integers.