You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/activities/wkst-eqrel-counting.ptx
+76-7Lines changed: 76 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
<?xml version='1.0' encoding='UTF-8'?>
1
+
<?xml version="1.0" encoding="utf-8"?>
2
+
<!-- Contributed by Mitch Keller -->
2
3
<worksheet>
3
4
<title>Equivalence Relations and Counting</title>
4
5
<page>
@@ -10,7 +11,40 @@
10
11
</p>
11
12
</statement>
12
13
13
-
</exercise>
14
+
<solutioncomponent="w2s">
15
+
<p>
16
+
Since <m>R</m> is an equivalence relation, the relation is reflexive, so every element is related to itself. Since we are told <m>aRd</m>, this means by symmetry that <m>d R a</m>. Similarly, <m>cRb</m> because <m>bRc</m> and <m>dRe</m> because <m>eRd</m>. By transitivity, we have that <m>aRe</m> and <m>e R a</m>. To make writing the elements of <m>R</m> easier to see, here is the equivalence relation as a diagram:
17
+
</p>
18
+
<imagewidth="50%">
19
+
<shortdescription>An equivalence relation as a digraph</shortdescription>
[2] \amp = \{ x \in \Z : x \equiv 2 \pmod 4\} = \{ \ldots,-6,-2,2,6,10,14 \ldots \},
187
+
</mrow>
188
+
<intertext>and</intertext>
189
+
<mrow>
190
+
[3] \amp = \{ x \in \Z : x \equiv 3 \pmod 4\} = \{ \ldots,-5,-1,3,7,11,15, \ldots \}.
191
+
</mrow>
192
+
</md>
193
+
</p>
194
+
</solution>
195
+
</exercise>
142
196
<exerciseworkspace="0.25in">
143
197
<introduction>
144
198
<p>
@@ -229,7 +283,12 @@
229
283
</p>
230
284
</statement>
231
285
232
-
</exercise>
286
+
<solutioncomponent="w2s">
287
+
<p>
288
+
One possibility is <m>f(x) = \lceil \frac{x}{3} \rceil</m>. This is a <m>3</m>-to-<m>1</m> correspondence because for <m>j \in \{1, 2, \ldots, 10\}</m>, the numbers that will get mapped to <m>j</m> under <m>f</m> will be <m>3j</m>, <m>3j-1</m>, and <m>3j-2</m> (which are all elements of <m>\{1,2,\cdots,30\}</m>).
289
+
</p>
290
+
</solution>
291
+
</exercise>
233
292
234
293
<exerciseworkspace="0.65in">
235
294
<statement>
@@ -238,7 +297,12 @@
238
297
</p>
239
298
</statement>
240
299
241
-
</exercise>
300
+
<solutioncomponent="w2s">
301
+
<p>
302
+
There are <m>3</m> choices for the first character in the string, and <m>2</m> choices for the second character. For the third, since we cannot have two consecutive characters be the same, we therefore have <m>2</m> choices. Similarly, there are <m>2</m> choices for the fourth, etc. Hence, there are <m>3 \cdot 2^9</m> strings of length <m>10</m> in which no two consecutive characters are the same.
303
+
</p>
304
+
</solution>
305
+
</exercise>
242
306
243
307
244
308
@@ -250,7 +314,12 @@
250
314
</p>
251
315
</statement>
252
316
253
-
</exercise>
317
+
<solutioncomponent="w2s">
318
+
<p>
319
+
There are <m>2</m> choices for the leader at the front. Then, there are <m>10!</m> choices made for the ten girl scouts in the middle. Finally, there is one choice for the leader at the back of the line. Hence there are <m>2 \cdot 10!</m> ways to line up the entire troop.
0 commit comments