HOW TO CHOOSE MOD
-
- Posts:190
- Joined:Sat Apr 23, 2011 8:55 am
- Location:Khulna
"Prove the equation has no solution,has infinity solutions,has exactly 1 solution",we often get this type of problems in number theory.we often solve them,by using,mod.but,it is too hard to choose the correct number to do the modular equation.how to choose the correct mod???????
Re: HOW TO CHOOSE MOD
Choosing mod is more like art, not science! With some experience you can understand which mod to take. Important ones are $2,3,4,8$ for quadratic cases.
"Inspiration is needed in geometry, just as much as in poetry." -- Aleksandr Pushkin
Please install LaTeX fonts in your PC for better looking equations,
learn how to write equations, and don't forget to read Forum Guide and Rules.
Please install LaTeX fonts in your PC for better looking equations,
learn how to write equations, and don't forget to read Forum Guide and Rules.
Re: HOW TO CHOOSE MOD
Hmm. I should give an example to convince you. Certainly you have seen the equation \[x^2+y^2=123\] has no solution taking $\pmod 4$. Now, consider the equation \[x^2+y^2=794\]MATHPRITOM wrote:"Prove the equation has no solution,has infinity solutions,has exactly 1 solution",we often get this type of problems in number theory.we often solve them,by using,mod.but,it is too hard to choose the correct number to do the modular equation.how to choose the correct mod???????
The possibility is not ruled out taking $\pmod4$. But you don't get the solutions either. But note that $\pmod5$ comes to the rescue. Since $a^2\equiv0,\pm1\pmod5$, we have one of $x,y$ is divisible by $5$, say $x=5k$. Also since $x^2<794$, we have $x\le27$. Then possible values for $x$ are $5,10,15,20,25$. An easy check shows that $x=25$ satisfies. Hope you have a better idea now, and the statement of Moon is clarified a lot.
One one thing is neutral in the universe, that is $0$.
Re: HOW TO CHOOSE MOD
And remember, it is not necessary that you always need to choose a numeric mod, you may choose a mod with the variables in the equations or primes as well.
See this topic for some practice. I may add some more problems.
viewtopic.php?f=26&t=1570
See this topic for some practice. I may add some more problems.
viewtopic.php?f=26&t=1570
One one thing is neutral in the universe, that is $0$.
-
- Posts:190
- Joined:Sat Apr 23, 2011 8:55 am
- Location:Khulna
Re: HOW TO CHOOSE MOD
Thanks Masum vaiya ... a lot.