Q. 2.9

Question

For a finite setA, let's N(A)denote the number of elementsA.

(a)Show thatN(A  B) = N(A) + N(B)  N(AB)

(b)More generally, show thatN(∪Ai)=N(Ai)-i<j N(Ai Aj )+...+(-1)n+1N(A1  A2...  An )


Step-by-Step Solution

Verified
Answer

The proof a)is similar to the proof of Proposition 4.4from the remark

b)is proved by mathematical induction, usinga)


1Step 1 Given Information.

For a finite setA, let's  N(A)denote the number of elementsA.

2Step 2 Part (a) Explanation.

 Let's count the number of elementsAB directly. There are N(A)+N(B)elements if we count them separately. But notice that we counted the elements ABtwice. Hence

N(AB=N(A)+N(B)-N(AB).


3Step 3 Part (b) Explanation.

 We will apply mathematical induction to the number of sets. Forn=2, see Part(a). Now assume forn=k we have.NA1A2Ak=i=1kNAi-i1<i2NAi1Ai2++(-1)r+1i1<<irNAi1Air++(-1)k+1NA1Ak

Forn=k+1. Set A=A1Akand apply Part(a). Then we get

NA1A2AkAk+1=N(A)+NAk+1-NAAk+1

Using the induction hypothesis we get

NA1A2Ak+1=N(A)+NAk+1-NAAk+1

NA1A2Ak+1=NAk+1+i=1kNAi-i1<i2NAi1Ai2++(-1)r+1i1<<irNAi1Air++(-1)k+1NA1Ak-NAAk+1

Now observe that

NAAk+1=NA1AkAk+1=NA1Ak+1AkAk+1=i=1kNAiAk+1-i1<i2NAi1Ai2Ak+1++(-1)r+1i1<<irNAi1AirAk+1++(-1)k+1NA1AkAk+1

Combining this with the identity above we get

NA1A2Ak+1=i=1k+1NAi-i1<i2NAi1Ai2++(-1)r+1i1<<irNAi1Air++(-1)k+2NA1Ak+1

Hence we get the desired identity by mathematical induction.