Equivalence class of $a^2-b^2$ is divisible by $5$
$begingroup$
I know that $a^2-b^2$ divisible by $5$ can be expressed as $a^2equiv b^2 (mod 5)$. I know the equivalence classes of this are $[0]$, $[1]$, $[2]$, $[3]$, and $[4]$. But, I am having trouble listing the elements for each equivalent class. Any help is appreciated.
discrete-mathematics
$endgroup$
add a comment |
$begingroup$
I know that $a^2-b^2$ divisible by $5$ can be expressed as $a^2equiv b^2 (mod 5)$. I know the equivalence classes of this are $[0]$, $[1]$, $[2]$, $[3]$, and $[4]$. But, I am having trouble listing the elements for each equivalent class. Any help is appreciated.
discrete-mathematics
$endgroup$
$begingroup$
The term is "equivalence class."
$endgroup$
– Cheerful Parsnip
Feb 20 '17 at 1:23
2
$begingroup$
It's not clear to me what equivalence relation you are working. Is it $asimeq b$ if, and only if, $a^2 =b^2 mod 5$?
$endgroup$
– Hugocito
Feb 20 '17 at 1:35
1
$begingroup$
yes. a is related to b if and only if $a^2equiv b^2 mod 5 $
$endgroup$
– Lily
Feb 20 '17 at 1:37
add a comment |
$begingroup$
I know that $a^2-b^2$ divisible by $5$ can be expressed as $a^2equiv b^2 (mod 5)$. I know the equivalence classes of this are $[0]$, $[1]$, $[2]$, $[3]$, and $[4]$. But, I am having trouble listing the elements for each equivalent class. Any help is appreciated.
discrete-mathematics
$endgroup$
I know that $a^2-b^2$ divisible by $5$ can be expressed as $a^2equiv b^2 (mod 5)$. I know the equivalence classes of this are $[0]$, $[1]$, $[2]$, $[3]$, and $[4]$. But, I am having trouble listing the elements for each equivalent class. Any help is appreciated.
discrete-mathematics
discrete-mathematics
edited Feb 20 '17 at 12:17


Mee Seong Im
2,8151617
2,8151617
asked Feb 20 '17 at 1:21
LilyLily
12018
12018
$begingroup$
The term is "equivalence class."
$endgroup$
– Cheerful Parsnip
Feb 20 '17 at 1:23
2
$begingroup$
It's not clear to me what equivalence relation you are working. Is it $asimeq b$ if, and only if, $a^2 =b^2 mod 5$?
$endgroup$
– Hugocito
Feb 20 '17 at 1:35
1
$begingroup$
yes. a is related to b if and only if $a^2equiv b^2 mod 5 $
$endgroup$
– Lily
Feb 20 '17 at 1:37
add a comment |
$begingroup$
The term is "equivalence class."
$endgroup$
– Cheerful Parsnip
Feb 20 '17 at 1:23
2
$begingroup$
It's not clear to me what equivalence relation you are working. Is it $asimeq b$ if, and only if, $a^2 =b^2 mod 5$?
$endgroup$
– Hugocito
Feb 20 '17 at 1:35
1
$begingroup$
yes. a is related to b if and only if $a^2equiv b^2 mod 5 $
$endgroup$
– Lily
Feb 20 '17 at 1:37
$begingroup$
The term is "equivalence class."
$endgroup$
– Cheerful Parsnip
Feb 20 '17 at 1:23
$begingroup$
The term is "equivalence class."
$endgroup$
– Cheerful Parsnip
Feb 20 '17 at 1:23
2
2
$begingroup$
It's not clear to me what equivalence relation you are working. Is it $asimeq b$ if, and only if, $a^2 =b^2 mod 5$?
$endgroup$
– Hugocito
Feb 20 '17 at 1:35
$begingroup$
It's not clear to me what equivalence relation you are working. Is it $asimeq b$ if, and only if, $a^2 =b^2 mod 5$?
$endgroup$
– Hugocito
Feb 20 '17 at 1:35
1
1
$begingroup$
yes. a is related to b if and only if $a^2equiv b^2 mod 5 $
$endgroup$
– Lily
Feb 20 '17 at 1:37
$begingroup$
yes. a is related to b if and only if $a^2equiv b^2 mod 5 $
$endgroup$
– Lily
Feb 20 '17 at 1:37
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
We have that $x^2 equiv (x+5)^2$ mod $5$, so we only need to consider the squares of $0,1, 2, 3, 4$, the $5$ equivalence classes mod $5$.
$0^2 equiv 0$,
$1^2 equiv 1$,
$2^2 equiv 4$,
$3^3 equiv 9 equiv 4$,
$4^2 equiv 16 equiv 1$.
So with your equivalence relation, $a sim b$ iff $a^2 equiv b^2$ mod $5$, we have that $1 sim 4$, $2 sim 3$, and $0$ is in its own class.
$endgroup$
$begingroup$
where did you get $(x+5)^2? $
$endgroup$
– Lily
Feb 20 '17 at 1:52
$begingroup$
Could you write it as a=mq+r. I think I can understand it better if you wirte it this way.
$endgroup$
– Lily
Feb 20 '17 at 1:53
$begingroup$
I am just saying $0 sim 5 sim 10 ldots$ and $1 sim 6 sim 11 cdots$, which is justifying your statement that we can represent each equivalence class of the relation $sim$ by an element in ${0,1,2,3,4}$
$endgroup$
– Badam Baplan
Feb 20 '17 at 1:55
add a comment |
$begingroup$
Note that some books use $aRb$ to denote that $a$ is equivalent to $b$, while other books use $asim b$ to denote that $aRb$.
Assume that $a sim b$ if and only if $5|(a^2-b^2)$ if and only if $a^2equiv b^2 mod 5$.
Let $[n] := { xin mathbb{Z}: x^2 equiv n^2 mod 5}$, which is a subset of the set of integers. Here, $n$ is called a representative of the equivalence class $[n]$.
Then there are three distinct equivalence classes:
$$
begin{align*}
[0] &= { ldots,-15,-10,-5,0,5,10,15,ldots }, \
[1] &= { ldots,-4,-1,1,4,6,9,11, 14,ldots }=[4], mbox{ and } \
[2] &= { ldots, ,-3,-2,2,3,7,8,12,13,ldots}=[3].
end{align*}
$$
Note that the equivalence class $[0]={xin mathbb{Z}:x^2 equiv 0^2mod 5 }$. In other words, $[0]$ contains all those integers $x$ such that when you square it, it is congruent to $0mod 5$. So let's take a look:
$[0]={xin mathbb{Z}: x^2 equiv 0mod 5 } = {ldots, -5,0,5,10,15,ldots }$. It should be clear that these numbers are in the set $[0]$.
Next consider the equivalence class $[1]={ xin mathbb{Z}:x^2 equiv 1^2mod 5}$. Systematically going through the positive integers first, we see that $1$ is in $[1]$. However, $2$ is not in $[1]$ because $2^2notequiv 1mod 5$. Next consider the integer $3$. Then since $3^2notequiv 1mod 5$, we see that $3notin[1]$. Next try $4$: since $4^2equiv 1mod 5$, we have $4in [1]$.
Note that we can pick another representative for the equivalence class $[1]$ and write $[4]$ since the sets $[1]$ and $[4]$ are equal.
$bf{Remark}$: notice that $1+5m, 4+5kin [1]$ where $m,kin mathbb{Z}$.
Note that the set of equivalence classes partitions the set of integers.
And we say ${ S_{alpha}}_{alphain I}$ partitions the set $S$ if
- $bigcup_{alphain I}S_{alpha}=S$,
- $S_{alpha}not=varnothing$ for all $alphain I$, and
- $S_{alpha}cap S_{beta}=varnothing$ for all $alphanot=beta$.
$endgroup$
$begingroup$
How did you know $[0]={.., -15, -10, -5, 0, 5, ....}$, $[1]={...., -3,-1,1,4,6,9,11,14,....}$, and etc. That's the part that I am trying to understand. Thank you.
$endgroup$
– Lily
Feb 20 '17 at 1:58
$begingroup$
I'll update the post and explain this.
$endgroup$
– Mee Seong Im
Feb 20 '17 at 1:58
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2152261%2fequivalence-class-of-a2-b2-is-divisible-by-5%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
We have that $x^2 equiv (x+5)^2$ mod $5$, so we only need to consider the squares of $0,1, 2, 3, 4$, the $5$ equivalence classes mod $5$.
$0^2 equiv 0$,
$1^2 equiv 1$,
$2^2 equiv 4$,
$3^3 equiv 9 equiv 4$,
$4^2 equiv 16 equiv 1$.
So with your equivalence relation, $a sim b$ iff $a^2 equiv b^2$ mod $5$, we have that $1 sim 4$, $2 sim 3$, and $0$ is in its own class.
$endgroup$
$begingroup$
where did you get $(x+5)^2? $
$endgroup$
– Lily
Feb 20 '17 at 1:52
$begingroup$
Could you write it as a=mq+r. I think I can understand it better if you wirte it this way.
$endgroup$
– Lily
Feb 20 '17 at 1:53
$begingroup$
I am just saying $0 sim 5 sim 10 ldots$ and $1 sim 6 sim 11 cdots$, which is justifying your statement that we can represent each equivalence class of the relation $sim$ by an element in ${0,1,2,3,4}$
$endgroup$
– Badam Baplan
Feb 20 '17 at 1:55
add a comment |
$begingroup$
We have that $x^2 equiv (x+5)^2$ mod $5$, so we only need to consider the squares of $0,1, 2, 3, 4$, the $5$ equivalence classes mod $5$.
$0^2 equiv 0$,
$1^2 equiv 1$,
$2^2 equiv 4$,
$3^3 equiv 9 equiv 4$,
$4^2 equiv 16 equiv 1$.
So with your equivalence relation, $a sim b$ iff $a^2 equiv b^2$ mod $5$, we have that $1 sim 4$, $2 sim 3$, and $0$ is in its own class.
$endgroup$
$begingroup$
where did you get $(x+5)^2? $
$endgroup$
– Lily
Feb 20 '17 at 1:52
$begingroup$
Could you write it as a=mq+r. I think I can understand it better if you wirte it this way.
$endgroup$
– Lily
Feb 20 '17 at 1:53
$begingroup$
I am just saying $0 sim 5 sim 10 ldots$ and $1 sim 6 sim 11 cdots$, which is justifying your statement that we can represent each equivalence class of the relation $sim$ by an element in ${0,1,2,3,4}$
$endgroup$
– Badam Baplan
Feb 20 '17 at 1:55
add a comment |
$begingroup$
We have that $x^2 equiv (x+5)^2$ mod $5$, so we only need to consider the squares of $0,1, 2, 3, 4$, the $5$ equivalence classes mod $5$.
$0^2 equiv 0$,
$1^2 equiv 1$,
$2^2 equiv 4$,
$3^3 equiv 9 equiv 4$,
$4^2 equiv 16 equiv 1$.
So with your equivalence relation, $a sim b$ iff $a^2 equiv b^2$ mod $5$, we have that $1 sim 4$, $2 sim 3$, and $0$ is in its own class.
$endgroup$
We have that $x^2 equiv (x+5)^2$ mod $5$, so we only need to consider the squares of $0,1, 2, 3, 4$, the $5$ equivalence classes mod $5$.
$0^2 equiv 0$,
$1^2 equiv 1$,
$2^2 equiv 4$,
$3^3 equiv 9 equiv 4$,
$4^2 equiv 16 equiv 1$.
So with your equivalence relation, $a sim b$ iff $a^2 equiv b^2$ mod $5$, we have that $1 sim 4$, $2 sim 3$, and $0$ is in its own class.
answered Feb 20 '17 at 1:49
Badam BaplanBadam Baplan
4,655722
4,655722
$begingroup$
where did you get $(x+5)^2? $
$endgroup$
– Lily
Feb 20 '17 at 1:52
$begingroup$
Could you write it as a=mq+r. I think I can understand it better if you wirte it this way.
$endgroup$
– Lily
Feb 20 '17 at 1:53
$begingroup$
I am just saying $0 sim 5 sim 10 ldots$ and $1 sim 6 sim 11 cdots$, which is justifying your statement that we can represent each equivalence class of the relation $sim$ by an element in ${0,1,2,3,4}$
$endgroup$
– Badam Baplan
Feb 20 '17 at 1:55
add a comment |
$begingroup$
where did you get $(x+5)^2? $
$endgroup$
– Lily
Feb 20 '17 at 1:52
$begingroup$
Could you write it as a=mq+r. I think I can understand it better if you wirte it this way.
$endgroup$
– Lily
Feb 20 '17 at 1:53
$begingroup$
I am just saying $0 sim 5 sim 10 ldots$ and $1 sim 6 sim 11 cdots$, which is justifying your statement that we can represent each equivalence class of the relation $sim$ by an element in ${0,1,2,3,4}$
$endgroup$
– Badam Baplan
Feb 20 '17 at 1:55
$begingroup$
where did you get $(x+5)^2? $
$endgroup$
– Lily
Feb 20 '17 at 1:52
$begingroup$
where did you get $(x+5)^2? $
$endgroup$
– Lily
Feb 20 '17 at 1:52
$begingroup$
Could you write it as a=mq+r. I think I can understand it better if you wirte it this way.
$endgroup$
– Lily
Feb 20 '17 at 1:53
$begingroup$
Could you write it as a=mq+r. I think I can understand it better if you wirte it this way.
$endgroup$
– Lily
Feb 20 '17 at 1:53
$begingroup$
I am just saying $0 sim 5 sim 10 ldots$ and $1 sim 6 sim 11 cdots$, which is justifying your statement that we can represent each equivalence class of the relation $sim$ by an element in ${0,1,2,3,4}$
$endgroup$
– Badam Baplan
Feb 20 '17 at 1:55
$begingroup$
I am just saying $0 sim 5 sim 10 ldots$ and $1 sim 6 sim 11 cdots$, which is justifying your statement that we can represent each equivalence class of the relation $sim$ by an element in ${0,1,2,3,4}$
$endgroup$
– Badam Baplan
Feb 20 '17 at 1:55
add a comment |
$begingroup$
Note that some books use $aRb$ to denote that $a$ is equivalent to $b$, while other books use $asim b$ to denote that $aRb$.
Assume that $a sim b$ if and only if $5|(a^2-b^2)$ if and only if $a^2equiv b^2 mod 5$.
Let $[n] := { xin mathbb{Z}: x^2 equiv n^2 mod 5}$, which is a subset of the set of integers. Here, $n$ is called a representative of the equivalence class $[n]$.
Then there are three distinct equivalence classes:
$$
begin{align*}
[0] &= { ldots,-15,-10,-5,0,5,10,15,ldots }, \
[1] &= { ldots,-4,-1,1,4,6,9,11, 14,ldots }=[4], mbox{ and } \
[2] &= { ldots, ,-3,-2,2,3,7,8,12,13,ldots}=[3].
end{align*}
$$
Note that the equivalence class $[0]={xin mathbb{Z}:x^2 equiv 0^2mod 5 }$. In other words, $[0]$ contains all those integers $x$ such that when you square it, it is congruent to $0mod 5$. So let's take a look:
$[0]={xin mathbb{Z}: x^2 equiv 0mod 5 } = {ldots, -5,0,5,10,15,ldots }$. It should be clear that these numbers are in the set $[0]$.
Next consider the equivalence class $[1]={ xin mathbb{Z}:x^2 equiv 1^2mod 5}$. Systematically going through the positive integers first, we see that $1$ is in $[1]$. However, $2$ is not in $[1]$ because $2^2notequiv 1mod 5$. Next consider the integer $3$. Then since $3^2notequiv 1mod 5$, we see that $3notin[1]$. Next try $4$: since $4^2equiv 1mod 5$, we have $4in [1]$.
Note that we can pick another representative for the equivalence class $[1]$ and write $[4]$ since the sets $[1]$ and $[4]$ are equal.
$bf{Remark}$: notice that $1+5m, 4+5kin [1]$ where $m,kin mathbb{Z}$.
Note that the set of equivalence classes partitions the set of integers.
And we say ${ S_{alpha}}_{alphain I}$ partitions the set $S$ if
- $bigcup_{alphain I}S_{alpha}=S$,
- $S_{alpha}not=varnothing$ for all $alphain I$, and
- $S_{alpha}cap S_{beta}=varnothing$ for all $alphanot=beta$.
$endgroup$
$begingroup$
How did you know $[0]={.., -15, -10, -5, 0, 5, ....}$, $[1]={...., -3,-1,1,4,6,9,11,14,....}$, and etc. That's the part that I am trying to understand. Thank you.
$endgroup$
– Lily
Feb 20 '17 at 1:58
$begingroup$
I'll update the post and explain this.
$endgroup$
– Mee Seong Im
Feb 20 '17 at 1:58
add a comment |
$begingroup$
Note that some books use $aRb$ to denote that $a$ is equivalent to $b$, while other books use $asim b$ to denote that $aRb$.
Assume that $a sim b$ if and only if $5|(a^2-b^2)$ if and only if $a^2equiv b^2 mod 5$.
Let $[n] := { xin mathbb{Z}: x^2 equiv n^2 mod 5}$, which is a subset of the set of integers. Here, $n$ is called a representative of the equivalence class $[n]$.
Then there are three distinct equivalence classes:
$$
begin{align*}
[0] &= { ldots,-15,-10,-5,0,5,10,15,ldots }, \
[1] &= { ldots,-4,-1,1,4,6,9,11, 14,ldots }=[4], mbox{ and } \
[2] &= { ldots, ,-3,-2,2,3,7,8,12,13,ldots}=[3].
end{align*}
$$
Note that the equivalence class $[0]={xin mathbb{Z}:x^2 equiv 0^2mod 5 }$. In other words, $[0]$ contains all those integers $x$ such that when you square it, it is congruent to $0mod 5$. So let's take a look:
$[0]={xin mathbb{Z}: x^2 equiv 0mod 5 } = {ldots, -5,0,5,10,15,ldots }$. It should be clear that these numbers are in the set $[0]$.
Next consider the equivalence class $[1]={ xin mathbb{Z}:x^2 equiv 1^2mod 5}$. Systematically going through the positive integers first, we see that $1$ is in $[1]$. However, $2$ is not in $[1]$ because $2^2notequiv 1mod 5$. Next consider the integer $3$. Then since $3^2notequiv 1mod 5$, we see that $3notin[1]$. Next try $4$: since $4^2equiv 1mod 5$, we have $4in [1]$.
Note that we can pick another representative for the equivalence class $[1]$ and write $[4]$ since the sets $[1]$ and $[4]$ are equal.
$bf{Remark}$: notice that $1+5m, 4+5kin [1]$ where $m,kin mathbb{Z}$.
Note that the set of equivalence classes partitions the set of integers.
And we say ${ S_{alpha}}_{alphain I}$ partitions the set $S$ if
- $bigcup_{alphain I}S_{alpha}=S$,
- $S_{alpha}not=varnothing$ for all $alphain I$, and
- $S_{alpha}cap S_{beta}=varnothing$ for all $alphanot=beta$.
$endgroup$
$begingroup$
How did you know $[0]={.., -15, -10, -5, 0, 5, ....}$, $[1]={...., -3,-1,1,4,6,9,11,14,....}$, and etc. That's the part that I am trying to understand. Thank you.
$endgroup$
– Lily
Feb 20 '17 at 1:58
$begingroup$
I'll update the post and explain this.
$endgroup$
– Mee Seong Im
Feb 20 '17 at 1:58
add a comment |
$begingroup$
Note that some books use $aRb$ to denote that $a$ is equivalent to $b$, while other books use $asim b$ to denote that $aRb$.
Assume that $a sim b$ if and only if $5|(a^2-b^2)$ if and only if $a^2equiv b^2 mod 5$.
Let $[n] := { xin mathbb{Z}: x^2 equiv n^2 mod 5}$, which is a subset of the set of integers. Here, $n$ is called a representative of the equivalence class $[n]$.
Then there are three distinct equivalence classes:
$$
begin{align*}
[0] &= { ldots,-15,-10,-5,0,5,10,15,ldots }, \
[1] &= { ldots,-4,-1,1,4,6,9,11, 14,ldots }=[4], mbox{ and } \
[2] &= { ldots, ,-3,-2,2,3,7,8,12,13,ldots}=[3].
end{align*}
$$
Note that the equivalence class $[0]={xin mathbb{Z}:x^2 equiv 0^2mod 5 }$. In other words, $[0]$ contains all those integers $x$ such that when you square it, it is congruent to $0mod 5$. So let's take a look:
$[0]={xin mathbb{Z}: x^2 equiv 0mod 5 } = {ldots, -5,0,5,10,15,ldots }$. It should be clear that these numbers are in the set $[0]$.
Next consider the equivalence class $[1]={ xin mathbb{Z}:x^2 equiv 1^2mod 5}$. Systematically going through the positive integers first, we see that $1$ is in $[1]$. However, $2$ is not in $[1]$ because $2^2notequiv 1mod 5$. Next consider the integer $3$. Then since $3^2notequiv 1mod 5$, we see that $3notin[1]$. Next try $4$: since $4^2equiv 1mod 5$, we have $4in [1]$.
Note that we can pick another representative for the equivalence class $[1]$ and write $[4]$ since the sets $[1]$ and $[4]$ are equal.
$bf{Remark}$: notice that $1+5m, 4+5kin [1]$ where $m,kin mathbb{Z}$.
Note that the set of equivalence classes partitions the set of integers.
And we say ${ S_{alpha}}_{alphain I}$ partitions the set $S$ if
- $bigcup_{alphain I}S_{alpha}=S$,
- $S_{alpha}not=varnothing$ for all $alphain I$, and
- $S_{alpha}cap S_{beta}=varnothing$ for all $alphanot=beta$.
$endgroup$
Note that some books use $aRb$ to denote that $a$ is equivalent to $b$, while other books use $asim b$ to denote that $aRb$.
Assume that $a sim b$ if and only if $5|(a^2-b^2)$ if and only if $a^2equiv b^2 mod 5$.
Let $[n] := { xin mathbb{Z}: x^2 equiv n^2 mod 5}$, which is a subset of the set of integers. Here, $n$ is called a representative of the equivalence class $[n]$.
Then there are three distinct equivalence classes:
$$
begin{align*}
[0] &= { ldots,-15,-10,-5,0,5,10,15,ldots }, \
[1] &= { ldots,-4,-1,1,4,6,9,11, 14,ldots }=[4], mbox{ and } \
[2] &= { ldots, ,-3,-2,2,3,7,8,12,13,ldots}=[3].
end{align*}
$$
Note that the equivalence class $[0]={xin mathbb{Z}:x^2 equiv 0^2mod 5 }$. In other words, $[0]$ contains all those integers $x$ such that when you square it, it is congruent to $0mod 5$. So let's take a look:
$[0]={xin mathbb{Z}: x^2 equiv 0mod 5 } = {ldots, -5,0,5,10,15,ldots }$. It should be clear that these numbers are in the set $[0]$.
Next consider the equivalence class $[1]={ xin mathbb{Z}:x^2 equiv 1^2mod 5}$. Systematically going through the positive integers first, we see that $1$ is in $[1]$. However, $2$ is not in $[1]$ because $2^2notequiv 1mod 5$. Next consider the integer $3$. Then since $3^2notequiv 1mod 5$, we see that $3notin[1]$. Next try $4$: since $4^2equiv 1mod 5$, we have $4in [1]$.
Note that we can pick another representative for the equivalence class $[1]$ and write $[4]$ since the sets $[1]$ and $[4]$ are equal.
$bf{Remark}$: notice that $1+5m, 4+5kin [1]$ where $m,kin mathbb{Z}$.
Note that the set of equivalence classes partitions the set of integers.
And we say ${ S_{alpha}}_{alphain I}$ partitions the set $S$ if
- $bigcup_{alphain I}S_{alpha}=S$,
- $S_{alpha}not=varnothing$ for all $alphain I$, and
- $S_{alpha}cap S_{beta}=varnothing$ for all $alphanot=beta$.
edited Feb 20 '17 at 2:09
answered Feb 20 '17 at 1:55


Mee Seong ImMee Seong Im
2,8151617
2,8151617
$begingroup$
How did you know $[0]={.., -15, -10, -5, 0, 5, ....}$, $[1]={...., -3,-1,1,4,6,9,11,14,....}$, and etc. That's the part that I am trying to understand. Thank you.
$endgroup$
– Lily
Feb 20 '17 at 1:58
$begingroup$
I'll update the post and explain this.
$endgroup$
– Mee Seong Im
Feb 20 '17 at 1:58
add a comment |
$begingroup$
How did you know $[0]={.., -15, -10, -5, 0, 5, ....}$, $[1]={...., -3,-1,1,4,6,9,11,14,....}$, and etc. That's the part that I am trying to understand. Thank you.
$endgroup$
– Lily
Feb 20 '17 at 1:58
$begingroup$
I'll update the post and explain this.
$endgroup$
– Mee Seong Im
Feb 20 '17 at 1:58
$begingroup$
How did you know $[0]={.., -15, -10, -5, 0, 5, ....}$, $[1]={...., -3,-1,1,4,6,9,11,14,....}$, and etc. That's the part that I am trying to understand. Thank you.
$endgroup$
– Lily
Feb 20 '17 at 1:58
$begingroup$
How did you know $[0]={.., -15, -10, -5, 0, 5, ....}$, $[1]={...., -3,-1,1,4,6,9,11,14,....}$, and etc. That's the part that I am trying to understand. Thank you.
$endgroup$
– Lily
Feb 20 '17 at 1:58
$begingroup$
I'll update the post and explain this.
$endgroup$
– Mee Seong Im
Feb 20 '17 at 1:58
$begingroup$
I'll update the post and explain this.
$endgroup$
– Mee Seong Im
Feb 20 '17 at 1:58
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2152261%2fequivalence-class-of-a2-b2-is-divisible-by-5%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
$begingroup$
The term is "equivalence class."
$endgroup$
– Cheerful Parsnip
Feb 20 '17 at 1:23
2
$begingroup$
It's not clear to me what equivalence relation you are working. Is it $asimeq b$ if, and only if, $a^2 =b^2 mod 5$?
$endgroup$
– Hugocito
Feb 20 '17 at 1:35
1
$begingroup$
yes. a is related to b if and only if $a^2equiv b^2 mod 5 $
$endgroup$
– Lily
Feb 20 '17 at 1:37