$x^2 equiv -2,2 pmod {122}$












2












$begingroup$


I am trying to solve the following problem:



Which of the following congruences has solutions? How many?




$$x^2 equiv 2 pmod {122}$$
$$x^2 equiv -2 pmod {122}$$




For both congruences, $122 = 2times61$. Hence, each congruence can be decomposed to the following: $x^2 equiv 2 pmod 2$ and $x^2 equiv 2 pmod{61}$. For the first one, $x$ has a unique solution $x = 0$. for the second one, I need to compute $left(frac{2}{61}right)$ which is $-1$.



Now Can I conclude that the congruence is unsolvable? Hence, there exist no solutions?



For the second problem, the congruence $x^2 equiv -2 pmod {61}$ is solvable.



Can I conclude that there is one or two solutions?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    math.stackexchange.com/questions/1274743/… math.stackexchange.com/questions/1670849/…
    $endgroup$
    – lab bhattacharjee
    Dec 14 '18 at 11:49






  • 1




    $begingroup$
    And yes: from the second non-solvable congruence you can deduce the original one also has no solution.
    $endgroup$
    – DonAntonio
    Dec 14 '18 at 11:56
















2












$begingroup$


I am trying to solve the following problem:



Which of the following congruences has solutions? How many?




$$x^2 equiv 2 pmod {122}$$
$$x^2 equiv -2 pmod {122}$$




For both congruences, $122 = 2times61$. Hence, each congruence can be decomposed to the following: $x^2 equiv 2 pmod 2$ and $x^2 equiv 2 pmod{61}$. For the first one, $x$ has a unique solution $x = 0$. for the second one, I need to compute $left(frac{2}{61}right)$ which is $-1$.



Now Can I conclude that the congruence is unsolvable? Hence, there exist no solutions?



For the second problem, the congruence $x^2 equiv -2 pmod {61}$ is solvable.



Can I conclude that there is one or two solutions?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    math.stackexchange.com/questions/1274743/… math.stackexchange.com/questions/1670849/…
    $endgroup$
    – lab bhattacharjee
    Dec 14 '18 at 11:49






  • 1




    $begingroup$
    And yes: from the second non-solvable congruence you can deduce the original one also has no solution.
    $endgroup$
    – DonAntonio
    Dec 14 '18 at 11:56














2












2








2





$begingroup$


I am trying to solve the following problem:



Which of the following congruences has solutions? How many?




$$x^2 equiv 2 pmod {122}$$
$$x^2 equiv -2 pmod {122}$$




For both congruences, $122 = 2times61$. Hence, each congruence can be decomposed to the following: $x^2 equiv 2 pmod 2$ and $x^2 equiv 2 pmod{61}$. For the first one, $x$ has a unique solution $x = 0$. for the second one, I need to compute $left(frac{2}{61}right)$ which is $-1$.



Now Can I conclude that the congruence is unsolvable? Hence, there exist no solutions?



For the second problem, the congruence $x^2 equiv -2 pmod {61}$ is solvable.



Can I conclude that there is one or two solutions?










share|cite|improve this question











$endgroup$




I am trying to solve the following problem:



Which of the following congruences has solutions? How many?




$$x^2 equiv 2 pmod {122}$$
$$x^2 equiv -2 pmod {122}$$




For both congruences, $122 = 2times61$. Hence, each congruence can be decomposed to the following: $x^2 equiv 2 pmod 2$ and $x^2 equiv 2 pmod{61}$. For the first one, $x$ has a unique solution $x = 0$. for the second one, I need to compute $left(frac{2}{61}right)$ which is $-1$.



Now Can I conclude that the congruence is unsolvable? Hence, there exist no solutions?



For the second problem, the congruence $x^2 equiv -2 pmod {61}$ is solvable.



Can I conclude that there is one or two solutions?







elementary-number-theory modular-arithmetic quadratic-residues legendre-symbol






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 25 '18 at 21:42









Bill Dubuque

210k29192644




210k29192644










asked Dec 14 '18 at 11:39









Maged SaeedMaged Saeed

8671417




8671417








  • 1




    $begingroup$
    math.stackexchange.com/questions/1274743/… math.stackexchange.com/questions/1670849/…
    $endgroup$
    – lab bhattacharjee
    Dec 14 '18 at 11:49






  • 1




    $begingroup$
    And yes: from the second non-solvable congruence you can deduce the original one also has no solution.
    $endgroup$
    – DonAntonio
    Dec 14 '18 at 11:56














  • 1




    $begingroup$
    math.stackexchange.com/questions/1274743/… math.stackexchange.com/questions/1670849/…
    $endgroup$
    – lab bhattacharjee
    Dec 14 '18 at 11:49






  • 1




    $begingroup$
    And yes: from the second non-solvable congruence you can deduce the original one also has no solution.
    $endgroup$
    – DonAntonio
    Dec 14 '18 at 11:56








1




1




$begingroup$
math.stackexchange.com/questions/1274743/… math.stackexchange.com/questions/1670849/…
$endgroup$
– lab bhattacharjee
Dec 14 '18 at 11:49




$begingroup$
math.stackexchange.com/questions/1274743/… math.stackexchange.com/questions/1670849/…
$endgroup$
– lab bhattacharjee
Dec 14 '18 at 11:49




1




1




$begingroup$
And yes: from the second non-solvable congruence you can deduce the original one also has no solution.
$endgroup$
– DonAntonio
Dec 14 '18 at 11:56




$begingroup$
And yes: from the second non-solvable congruence you can deduce the original one also has no solution.
$endgroup$
– DonAntonio
Dec 14 '18 at 11:56










1 Answer
1






active

oldest

votes


















2












$begingroup$

Let's work with the congruence $x^2 equiv -2 pmod {122}$.



The ring $mathbb Z_{122}$ is isomorphic to $mathbb Z_{2} times mathbb Z_{61}$ by the Chinese Remainder Theorem, as you pointed out. Now applying the isomorphism to both sides, you are looking for a solution to $(x,x')^2 = (-2,-2)$ where $x in mathbb Z_2$ and $x' in mathbb Z_{61}$.



If $left(-2over 61right)=1$ then there are exactly two solutions to $x^2 equiv -2 pmod{61}$. The reason for that is because $mathbb Z_{61}$ is a field, and the factor theorem: The polynomial $X^2+2$ has a unique factorisation $(X-a)(X-b)$ where each of $a$ and $b$ is a root of the polynomial. And the roots must be distinct because if $a$ is a root of that polynomial then so is $-a$, and the only element of a field that is the negation of itself is $0$ (unless the field has characteristic $2$).
On the other hand, there is only one solution to $(x')^2 equiv -2 pmod 2$. So multiplying the number of possible values for $x$ and $x'$ gives $2$.



With the congruence $x^2 equiv 2 pmod {122}$, use the distributivity of the Legendre symbols. The Legendre symbol of $-1$ is easily shown to be $-1$ in $mathbb Z_{61}$, showing that no solution is possible.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    I had a mistake in the calculation of legendre symbol. I have updated it and would like to update your answer accordingly. Really thankful. :)
    $endgroup$
    – Maged Saeed
    Dec 14 '18 at 12:09











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3039257%2fx2-equiv-2-2-pmod-122%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2












$begingroup$

Let's work with the congruence $x^2 equiv -2 pmod {122}$.



The ring $mathbb Z_{122}$ is isomorphic to $mathbb Z_{2} times mathbb Z_{61}$ by the Chinese Remainder Theorem, as you pointed out. Now applying the isomorphism to both sides, you are looking for a solution to $(x,x')^2 = (-2,-2)$ where $x in mathbb Z_2$ and $x' in mathbb Z_{61}$.



If $left(-2over 61right)=1$ then there are exactly two solutions to $x^2 equiv -2 pmod{61}$. The reason for that is because $mathbb Z_{61}$ is a field, and the factor theorem: The polynomial $X^2+2$ has a unique factorisation $(X-a)(X-b)$ where each of $a$ and $b$ is a root of the polynomial. And the roots must be distinct because if $a$ is a root of that polynomial then so is $-a$, and the only element of a field that is the negation of itself is $0$ (unless the field has characteristic $2$).
On the other hand, there is only one solution to $(x')^2 equiv -2 pmod 2$. So multiplying the number of possible values for $x$ and $x'$ gives $2$.



With the congruence $x^2 equiv 2 pmod {122}$, use the distributivity of the Legendre symbols. The Legendre symbol of $-1$ is easily shown to be $-1$ in $mathbb Z_{61}$, showing that no solution is possible.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    I had a mistake in the calculation of legendre symbol. I have updated it and would like to update your answer accordingly. Really thankful. :)
    $endgroup$
    – Maged Saeed
    Dec 14 '18 at 12:09
















2












$begingroup$

Let's work with the congruence $x^2 equiv -2 pmod {122}$.



The ring $mathbb Z_{122}$ is isomorphic to $mathbb Z_{2} times mathbb Z_{61}$ by the Chinese Remainder Theorem, as you pointed out. Now applying the isomorphism to both sides, you are looking for a solution to $(x,x')^2 = (-2,-2)$ where $x in mathbb Z_2$ and $x' in mathbb Z_{61}$.



If $left(-2over 61right)=1$ then there are exactly two solutions to $x^2 equiv -2 pmod{61}$. The reason for that is because $mathbb Z_{61}$ is a field, and the factor theorem: The polynomial $X^2+2$ has a unique factorisation $(X-a)(X-b)$ where each of $a$ and $b$ is a root of the polynomial. And the roots must be distinct because if $a$ is a root of that polynomial then so is $-a$, and the only element of a field that is the negation of itself is $0$ (unless the field has characteristic $2$).
On the other hand, there is only one solution to $(x')^2 equiv -2 pmod 2$. So multiplying the number of possible values for $x$ and $x'$ gives $2$.



With the congruence $x^2 equiv 2 pmod {122}$, use the distributivity of the Legendre symbols. The Legendre symbol of $-1$ is easily shown to be $-1$ in $mathbb Z_{61}$, showing that no solution is possible.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    I had a mistake in the calculation of legendre symbol. I have updated it and would like to update your answer accordingly. Really thankful. :)
    $endgroup$
    – Maged Saeed
    Dec 14 '18 at 12:09














2












2








2





$begingroup$

Let's work with the congruence $x^2 equiv -2 pmod {122}$.



The ring $mathbb Z_{122}$ is isomorphic to $mathbb Z_{2} times mathbb Z_{61}$ by the Chinese Remainder Theorem, as you pointed out. Now applying the isomorphism to both sides, you are looking for a solution to $(x,x')^2 = (-2,-2)$ where $x in mathbb Z_2$ and $x' in mathbb Z_{61}$.



If $left(-2over 61right)=1$ then there are exactly two solutions to $x^2 equiv -2 pmod{61}$. The reason for that is because $mathbb Z_{61}$ is a field, and the factor theorem: The polynomial $X^2+2$ has a unique factorisation $(X-a)(X-b)$ where each of $a$ and $b$ is a root of the polynomial. And the roots must be distinct because if $a$ is a root of that polynomial then so is $-a$, and the only element of a field that is the negation of itself is $0$ (unless the field has characteristic $2$).
On the other hand, there is only one solution to $(x')^2 equiv -2 pmod 2$. So multiplying the number of possible values for $x$ and $x'$ gives $2$.



With the congruence $x^2 equiv 2 pmod {122}$, use the distributivity of the Legendre symbols. The Legendre symbol of $-1$ is easily shown to be $-1$ in $mathbb Z_{61}$, showing that no solution is possible.






share|cite|improve this answer











$endgroup$



Let's work with the congruence $x^2 equiv -2 pmod {122}$.



The ring $mathbb Z_{122}$ is isomorphic to $mathbb Z_{2} times mathbb Z_{61}$ by the Chinese Remainder Theorem, as you pointed out. Now applying the isomorphism to both sides, you are looking for a solution to $(x,x')^2 = (-2,-2)$ where $x in mathbb Z_2$ and $x' in mathbb Z_{61}$.



If $left(-2over 61right)=1$ then there are exactly two solutions to $x^2 equiv -2 pmod{61}$. The reason for that is because $mathbb Z_{61}$ is a field, and the factor theorem: The polynomial $X^2+2$ has a unique factorisation $(X-a)(X-b)$ where each of $a$ and $b$ is a root of the polynomial. And the roots must be distinct because if $a$ is a root of that polynomial then so is $-a$, and the only element of a field that is the negation of itself is $0$ (unless the field has characteristic $2$).
On the other hand, there is only one solution to $(x')^2 equiv -2 pmod 2$. So multiplying the number of possible values for $x$ and $x'$ gives $2$.



With the congruence $x^2 equiv 2 pmod {122}$, use the distributivity of the Legendre symbols. The Legendre symbol of $-1$ is easily shown to be $-1$ in $mathbb Z_{61}$, showing that no solution is possible.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Dec 14 '18 at 12:15

























answered Dec 14 '18 at 11:57









man on laptopman on laptop

5,73611238




5,73611238












  • $begingroup$
    I had a mistake in the calculation of legendre symbol. I have updated it and would like to update your answer accordingly. Really thankful. :)
    $endgroup$
    – Maged Saeed
    Dec 14 '18 at 12:09


















  • $begingroup$
    I had a mistake in the calculation of legendre symbol. I have updated it and would like to update your answer accordingly. Really thankful. :)
    $endgroup$
    – Maged Saeed
    Dec 14 '18 at 12:09
















$begingroup$
I had a mistake in the calculation of legendre symbol. I have updated it and would like to update your answer accordingly. Really thankful. :)
$endgroup$
– Maged Saeed
Dec 14 '18 at 12:09




$begingroup$
I had a mistake in the calculation of legendre symbol. I have updated it and would like to update your answer accordingly. Really thankful. :)
$endgroup$
– Maged Saeed
Dec 14 '18 at 12:09


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3039257%2fx2-equiv-2-2-pmod-122%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wiesbaden

Marschland

Dieringhausen