Square roots in $mathbb{Z}^{*}_{p^2}$












0












$begingroup$


For prime $p$, I understand that each $x in mathbb{Z}^{*}_{p}$ has exactly 2 square roots (as there are at least 2, and the quadratic residues are exactly half of the group (the group is cyclic so we take even exponents of a generator g) so there can't be more than 2 by counting (otherwise there is an element that is a root of 2 different elements). I also understand what happens at $x in mathbb{Z}^{*}_{pq}$ where $p$ and $q$ are primes as we can use chinese remainder theorem and compute roots separately and get 4 roots).



I however don't understand what happens at $x in mathbb{Z}^{*}_{p^2}$ as I am unsure if its cyclic so I think my previous argument doesn't work.



thanks.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Do you really mean $mathbb Z_{p^2}$ (the cyclic group of order $p^2$) or, maybe, $mathbb F_{p^2}$ (the finite field with $p^2$ elements)?
    $endgroup$
    – W-t-P
    Jan 7 at 11:34






  • 2




    $begingroup$
    Taking your question as it stands, $mathbb Z_{p^2}^ast$ is cyclic, since there are primitive roots modulo $p^2$ (and in fact, modulo $p^n$ with any $nge 1$). If $ginmathbb Z_{p^2}^ast$ is some fixed primitive root, then every element of $mathbb Z_{p^2}^ast$ is uniquely written as $g^k$ with some $0le k<p(p-1)$, and the element is a square if and only if $k$ is even.
    $endgroup$
    – W-t-P
    Jan 7 at 11:39












  • $begingroup$
    (My first intention was to ask what happens for $p=2$ and $p=3$, getting thus also an explicit chance to figure out the notations...)
    $endgroup$
    – dan_fulea
    Jan 7 at 11:41






  • 1




    $begingroup$
    Your first statement is wrong: every $xinBbb Z_p^*$ has zero or two square roots. Unless $p=2$, in which case every such $x$ (namely, $x=1$) has one square root.
    $endgroup$
    – TonyK
    Jan 7 at 11:54


















0












$begingroup$


For prime $p$, I understand that each $x in mathbb{Z}^{*}_{p}$ has exactly 2 square roots (as there are at least 2, and the quadratic residues are exactly half of the group (the group is cyclic so we take even exponents of a generator g) so there can't be more than 2 by counting (otherwise there is an element that is a root of 2 different elements). I also understand what happens at $x in mathbb{Z}^{*}_{pq}$ where $p$ and $q$ are primes as we can use chinese remainder theorem and compute roots separately and get 4 roots).



I however don't understand what happens at $x in mathbb{Z}^{*}_{p^2}$ as I am unsure if its cyclic so I think my previous argument doesn't work.



thanks.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Do you really mean $mathbb Z_{p^2}$ (the cyclic group of order $p^2$) or, maybe, $mathbb F_{p^2}$ (the finite field with $p^2$ elements)?
    $endgroup$
    – W-t-P
    Jan 7 at 11:34






  • 2




    $begingroup$
    Taking your question as it stands, $mathbb Z_{p^2}^ast$ is cyclic, since there are primitive roots modulo $p^2$ (and in fact, modulo $p^n$ with any $nge 1$). If $ginmathbb Z_{p^2}^ast$ is some fixed primitive root, then every element of $mathbb Z_{p^2}^ast$ is uniquely written as $g^k$ with some $0le k<p(p-1)$, and the element is a square if and only if $k$ is even.
    $endgroup$
    – W-t-P
    Jan 7 at 11:39












  • $begingroup$
    (My first intention was to ask what happens for $p=2$ and $p=3$, getting thus also an explicit chance to figure out the notations...)
    $endgroup$
    – dan_fulea
    Jan 7 at 11:41






  • 1




    $begingroup$
    Your first statement is wrong: every $xinBbb Z_p^*$ has zero or two square roots. Unless $p=2$, in which case every such $x$ (namely, $x=1$) has one square root.
    $endgroup$
    – TonyK
    Jan 7 at 11:54
















0












0








0





$begingroup$


For prime $p$, I understand that each $x in mathbb{Z}^{*}_{p}$ has exactly 2 square roots (as there are at least 2, and the quadratic residues are exactly half of the group (the group is cyclic so we take even exponents of a generator g) so there can't be more than 2 by counting (otherwise there is an element that is a root of 2 different elements). I also understand what happens at $x in mathbb{Z}^{*}_{pq}$ where $p$ and $q$ are primes as we can use chinese remainder theorem and compute roots separately and get 4 roots).



I however don't understand what happens at $x in mathbb{Z}^{*}_{p^2}$ as I am unsure if its cyclic so I think my previous argument doesn't work.



thanks.










share|cite|improve this question









$endgroup$




For prime $p$, I understand that each $x in mathbb{Z}^{*}_{p}$ has exactly 2 square roots (as there are at least 2, and the quadratic residues are exactly half of the group (the group is cyclic so we take even exponents of a generator g) so there can't be more than 2 by counting (otherwise there is an element that is a root of 2 different elements). I also understand what happens at $x in mathbb{Z}^{*}_{pq}$ where $p$ and $q$ are primes as we can use chinese remainder theorem and compute roots separately and get 4 roots).



I however don't understand what happens at $x in mathbb{Z}^{*}_{p^2}$ as I am unsure if its cyclic so I think my previous argument doesn't work.



thanks.







group-theory number-theory modular-arithmetic






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 7 at 11:25









ElooEloo

1368




1368












  • $begingroup$
    Do you really mean $mathbb Z_{p^2}$ (the cyclic group of order $p^2$) or, maybe, $mathbb F_{p^2}$ (the finite field with $p^2$ elements)?
    $endgroup$
    – W-t-P
    Jan 7 at 11:34






  • 2




    $begingroup$
    Taking your question as it stands, $mathbb Z_{p^2}^ast$ is cyclic, since there are primitive roots modulo $p^2$ (and in fact, modulo $p^n$ with any $nge 1$). If $ginmathbb Z_{p^2}^ast$ is some fixed primitive root, then every element of $mathbb Z_{p^2}^ast$ is uniquely written as $g^k$ with some $0le k<p(p-1)$, and the element is a square if and only if $k$ is even.
    $endgroup$
    – W-t-P
    Jan 7 at 11:39












  • $begingroup$
    (My first intention was to ask what happens for $p=2$ and $p=3$, getting thus also an explicit chance to figure out the notations...)
    $endgroup$
    – dan_fulea
    Jan 7 at 11:41






  • 1




    $begingroup$
    Your first statement is wrong: every $xinBbb Z_p^*$ has zero or two square roots. Unless $p=2$, in which case every such $x$ (namely, $x=1$) has one square root.
    $endgroup$
    – TonyK
    Jan 7 at 11:54




















  • $begingroup$
    Do you really mean $mathbb Z_{p^2}$ (the cyclic group of order $p^2$) or, maybe, $mathbb F_{p^2}$ (the finite field with $p^2$ elements)?
    $endgroup$
    – W-t-P
    Jan 7 at 11:34






  • 2




    $begingroup$
    Taking your question as it stands, $mathbb Z_{p^2}^ast$ is cyclic, since there are primitive roots modulo $p^2$ (and in fact, modulo $p^n$ with any $nge 1$). If $ginmathbb Z_{p^2}^ast$ is some fixed primitive root, then every element of $mathbb Z_{p^2}^ast$ is uniquely written as $g^k$ with some $0le k<p(p-1)$, and the element is a square if and only if $k$ is even.
    $endgroup$
    – W-t-P
    Jan 7 at 11:39












  • $begingroup$
    (My first intention was to ask what happens for $p=2$ and $p=3$, getting thus also an explicit chance to figure out the notations...)
    $endgroup$
    – dan_fulea
    Jan 7 at 11:41






  • 1




    $begingroup$
    Your first statement is wrong: every $xinBbb Z_p^*$ has zero or two square roots. Unless $p=2$, in which case every such $x$ (namely, $x=1$) has one square root.
    $endgroup$
    – TonyK
    Jan 7 at 11:54


















$begingroup$
Do you really mean $mathbb Z_{p^2}$ (the cyclic group of order $p^2$) or, maybe, $mathbb F_{p^2}$ (the finite field with $p^2$ elements)?
$endgroup$
– W-t-P
Jan 7 at 11:34




$begingroup$
Do you really mean $mathbb Z_{p^2}$ (the cyclic group of order $p^2$) or, maybe, $mathbb F_{p^2}$ (the finite field with $p^2$ elements)?
$endgroup$
– W-t-P
Jan 7 at 11:34




2




2




$begingroup$
Taking your question as it stands, $mathbb Z_{p^2}^ast$ is cyclic, since there are primitive roots modulo $p^2$ (and in fact, modulo $p^n$ with any $nge 1$). If $ginmathbb Z_{p^2}^ast$ is some fixed primitive root, then every element of $mathbb Z_{p^2}^ast$ is uniquely written as $g^k$ with some $0le k<p(p-1)$, and the element is a square if and only if $k$ is even.
$endgroup$
– W-t-P
Jan 7 at 11:39






$begingroup$
Taking your question as it stands, $mathbb Z_{p^2}^ast$ is cyclic, since there are primitive roots modulo $p^2$ (and in fact, modulo $p^n$ with any $nge 1$). If $ginmathbb Z_{p^2}^ast$ is some fixed primitive root, then every element of $mathbb Z_{p^2}^ast$ is uniquely written as $g^k$ with some $0le k<p(p-1)$, and the element is a square if and only if $k$ is even.
$endgroup$
– W-t-P
Jan 7 at 11:39














$begingroup$
(My first intention was to ask what happens for $p=2$ and $p=3$, getting thus also an explicit chance to figure out the notations...)
$endgroup$
– dan_fulea
Jan 7 at 11:41




$begingroup$
(My first intention was to ask what happens for $p=2$ and $p=3$, getting thus also an explicit chance to figure out the notations...)
$endgroup$
– dan_fulea
Jan 7 at 11:41




1




1




$begingroup$
Your first statement is wrong: every $xinBbb Z_p^*$ has zero or two square roots. Unless $p=2$, in which case every such $x$ (namely, $x=1$) has one square root.
$endgroup$
– TonyK
Jan 7 at 11:54






$begingroup$
Your first statement is wrong: every $xinBbb Z_p^*$ has zero or two square roots. Unless $p=2$, in which case every such $x$ (namely, $x=1$) has one square root.
$endgroup$
– TonyK
Jan 7 at 11:54












0






active

oldest

votes











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%2f3064898%2fsquare-roots-in-mathbbz-p2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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%2f3064898%2fsquare-roots-in-mathbbz-p2%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

Mario Kart Wii

Partial Derivative Guidance.

Understanding the size os this class of aleatory events