MATH 352 Assignment #2 Solutions
1. Use the Principle of Inclusion/Exclusion to solve each of the following problems:
(a) Find the probability that a permutation of a1, a1, a2, a2, . . . , an, an will have no identical
symbols consecutive. The first and last positions are not considered to be co...
math 352 assignment 2 solutions 1 use the principle of inclusionexclusion to solve each of the following problems a find the probability that a permutation of a1
Written for
University of VictoriaMATH 352Ass2solns
All documents for this subject (1)
Seller
Follow
Examhack
Reviews received
Content preview
MATH 352 Assignment #2 Solutions
1. Use the Principle of Inclusion/Exclusion to solve each of the following problems:
(a) Find the probability that a permutation of a1 , a1 , a2 , a2 , . . . , an , an will have no identical
symbols consecutive. The first and last positions are not considered to be consecutive.
Solution: Let Ai be the event that the two ai are consecutive. The desired probability
is the probability that none of the events occur, ie.
n
[ n
X
1 − P( Ai ) = 1 − (−1)k−1 Sk .
k=1 k=1
For any i, to calculate P (Ai ), ‘glue’ together the two ai , then permute the object ai ai
m
together with the other 2n − 2 objects: (2n − 1)!/(2!)n−1 ways. Therefore
er as
co
(2n − 1)! (2n)! 2 · (2n − 1)!
eH w
P (Ai ) = n−1
/ n = .
2 2 (2n)!
o.
This gives
rs e 2 · (2n − 1)!
ou urc
S1 = n · .
(2n)!
Using this same method, for any choice of k events,
o
aC s
(2n − k)! (2n)! 2k · (2n − k)!
P (Ai1 Ai2 . . . Aik ) = / = ,
vi y re
2n−k 2n (2n)!
and k
n 2 · (2n − k)!
Sk = · .
ed d
k (2n)!
ar stu
The desired probability is 1 − S1 + S2 − · · · ± Sn .
(b) Suppose each of n sticks is broken into one long and one short part. The 2n parts are
is
then shuffled and rearranged into n pairs from which new sticks are formed. Find the
Th
probabilitiy that
i. the parts will be joined into their original form.
Solution: Label the short parts of the sticks s1 , s2 , . . . , sn , and their corresponding
sh
long parts l1 , l2 , . . . , ln .
There is only one way that all sticks get put back together in their original form,
(2n)!
and the number of different ways to create n pairs from the 2n parts is (2!) n n! , since
This study source was downloaded by 100000827039679 from CourseHero.com on 08-09-2021 13:17:58 GMT -05:00
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Examhack. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.