math341_hw1 (1)
math341_hw1 (1)
math341_hw1 (1)
• You are allowed (and encouraged) to use results proved in class on your homework.
• Collaboration Policy: You are welcome (and encouraged) to work on the homework in
groups. However, each student must write up the homework on their own, and must use their
own wording (i.e. don’t jusy copy the solutions from your friend). If you do collaborate with
others, please list the name of your collaborators at the top of the homework.
• You are encouraged (though not required) to type up your solutions. If you choose to do
this, I strongly recommend that you use the typesetting software LaTeX. LaTeX is used by
the entire mathematics community, and if you intend to go into math, you’ll need to learn
it sooner or later. “The Not So Short Introduction to LaTeX” is a good place to start.
This guide can be found at http://tug.ctan.org/info/lshort/english/lshort.pdf . You can also
download the .tex source file for this homework and take a look at that.
• Each homework problem should be correct as stated. Occasionally, however, I might screw
something up and give you an impossible homework problem. If you believe a problem is
incorrect, please email me. If you are right, the first person to point out an error will get +1
on that homework, and I will post an updated version.
Sets
For these problems, we will need some notation not discussed in class. If S and T are sets, S ∪ T
is the set containing all elements that are in S or in T (or in both). This is called the union of S
and T . Similarly, S ∩ T is the set containing all elements that are in S and in T . This is called
the intersection of S and T . We can extend this definition to take a union of multiple sets. For
example, if S1 , . . . Sk are sets, we write S1 ∪ S2 ∪ . . . ∪ Sk , or bigcupki=1 Si to denote the union
of S1 , . . . , Sk ; this is the set of elementsTthat are contained in at least one of the sets S1 , . . . , Sk .
Similarly, we write S1 ∩ S2 ∩ . . . ∩ Sk = ki=1 Si to denote the intersection of S1 , . . . , Sk ; this is the
set of elements that are contained in all of the sets S1 , . . . , Sk .
1. Let S and T be sets of finite cardinality (i.e. both |S| and |T | are finite). Prove that
|S ∪ T | = |S| + |T | − |S ∩ T |.
|S ∪ T | includes every element that belongs to both S and T , but we counted every element that
belongs to both S and T twice. Therefore, we need to subtract the overcount, which is −|S ∩ T |.
2. Let S be a nonempty set. Without using the binomial theorem, prove that S has the same
number of subsets of even and of odd cardinality. Hint: it might be useful to consider the cases
where |S| is even and where |S| is odd separately.
The number of subsets with cardinality k is equal to nk . The identity nk = n−k
n
will be used
in the following proof.
1
For odd n = |S|, we have that n − k and k are always one odd and one even for all k. Therefore,
each odd index is paired with an even index, leaving the number of even and odd subsets equal.
n n
=
0 n
n n
=
1 n−1
n n
=
2 n−2
···
and so on. Since the binomial coefficients for even indices are matched with their corresponding
odd indices, by symmetry, the sum of the binomial coefficients with even indices is equal to the
sum of those with odd indices. More precisely,
X n X n
= .
k k
k even k odd
that
|Ai | ≥ 2n for every 1 ≤ i ≤ k,
2
and that
|Ai ∩ Aj | ≤ 1 for every 1 ≤ i < j ≤ k.
Prove that k ≤ n.
|Ai ∩ Aj | ≤ 1 means that every pair of elements has at most one common element. By the
second condition, if every set has more than 2n elements, the total number of elements amongst
sets A1 , . . . Ak is greater than or equal to 2n · k. However, each pair of sets has at most one common
element, and there are k(k−1) 2 pairs in total. We need to account for the overcount by subtracting
this from 2n · k. Therefore, we have the following inequality
k
[ k(k − 1)
Ai = n2 ≥ 2n · k − .
2
i=1
Binomial theorem
4. Let p be a prime number. Prove that there exists a polynomial Q(x) with positive integer
coefficients so that
(1 + x)p − (1 + xp ) = pQ(x).
If we expand (1 + x)p with the binomial theorem, we get:
p
X
p−k k p
1 x .
k
k=0
3
Finally, if we multiply the polynomial above by p1 , we obtain Q(x). That is,
p! p! p! p!
= x+ x2 + x3 + · · · + xp−1 .
(p − 1)!1!p (p − 2)!2!p (p − 3)!3!p (p − 1)!1!p
The size of n!
6. Recall that a polynomial is a function of the form P (n) = aC nC + aC−1 nC−1 + . . . + a0 , where
C ≥ 0 is an integer and a0 , . . . , aC are real numbers. Prove that for every polynomial P , there
exists a number N so that n! > P (n) for all n ≥ N .
Proof by induction. We assume n! > P (n). Then we have:
4
Since we have (n + 1)! > P (n + 1), our inductive step holds.
7. Prove that for every real number C > 1, there exists a number N so that n! > C n for all n ≥ N .
√
Let N = C C . Then, we have C ≤ C n ≤ n.
Expanding n! we get:
n(n − 1)(n − 2) · · · (C + 1) · C · · · 3 · 2 · 1
≥ n · C n−C · · · 3 · 2 · 1
≥ C C · C n−C · · · 3 · 2 · 1
as n ≥ C C .
= Cn · · · 3 · 2 · 1
≥ C n,
as required.
n! (k1 + k2 )! n!
· = .
(n − k1 − k2 )!(k1 + k2 )! k1 !k2 ! (n − k1 − k2 )!k1 !k2 !
Using Boltzmann’s entropy formula, we have:
n!
S = kB ln
(n − k1 − k2 )!k1 !k2 !
9. Consider a system consisting of k oxygen molecules in a box. The box contains n possible
locations. Will adding an additional oxygen molecule to the box increase the entropy of the system?
Prove that your answer is correct. (Hint: the answer may depend on the value
of k and n).
n!
Before adding the oxygen molecule, the entropy is S = kB ln (n−k)!k! . After adding it the
entropy is S ′ = kB ln (n−k−1)!(k+1)!
n!
If the entropy increases upon adding a molecule, we have:
S′
> 1.
S
Substituting the values of S ′ and S we get:
n!
kB ln (n−k−1)!(k+1)!
n!
kB ln (n−k)!k!
5
If the number of microstates increases, then the entropy will increase. Thus, we check whether
n!
(n−k−1)!(k+1)!
> 1.
n!
(n−k)!k!
n! (n − k)!k!
= ·
(n − k − 1)!(k + 1)! n!
n−k
= >1
k+1
n−k >k+1
n > 2k + 1
When we have n > 2k + 1, the entropy of the system will increase.