The Ballot Problem. In an election, candidate Areceives nvotes and candidate Breceives mvotes, where n>m. Assuming that all of the (n+m)!/n!m!orderings of the votes are equally likely, let Pn,mdenote the probability that Ais always ahead in the counting of the votes.

(a) Compute P2,1,P3,1,P3,2,P4,1,P4,2,P4,3.

(b) Find Pn,1,Pn,2.

(c) On the basis of your results in parts (a) and (b), conjecture the value of Pn,m.

(d) Derive a recursion for Pn,min terms of Pn-1,mand Pn,m-1by conditioning on who receives the last vote.

(e) Use part (d) to verify your conjecture in part (c) by an induction proof on n+m.

Short Answer

Expert verified

(a) To compute P2,1,P3,1,P3,2,P4,1,P4,2,P4,3use the method of counting

(b) The value of Pn,1=n-1n+1,Pn,2=n-2n+2

(c) To conjecture the value of Pn,mis Pn,m=n-mn+m,n>m

(d) Derive recursion of Pn,min terms of Pn-1,mand Pn,m-1is Pn,m=nn+m×Pn-1,m+mn+m×Pn,m-1

(e) by mathematical induction, for somekNandm0,1,2,3...,n>msuch thatn+m=k, the formula is true

Step by step solution

01

Find the values of P2,1,P3,1,P4,1 (part a)

Problem with the ballot box

The votes are read in a random sequence once n+mpersons have voted for Aor B.

An,m-in the scenario that candidate S(nvotes) always wins over candidate B(m<nvotes).

Pn,m=PAn,m

Candidate Areceives the L-last vote read.

This is accomplished by counting events that are equally likely (ordering of reading the n+mvotes).

Find P2,1

These are the possible orders of reading the votes:

AABABABAA

Only in the first case, A is the lead in every moment of counting. Taking the ratio:

P2,1=13

Find P3,1

AAABAABAABAABAAA

P3,1=14

Find P4,1

AAAABAAABAAABAAABAAABAAAA

P2,1=13

02

Find the value of P3,2,P4,2,P4,3 (part a)

The order of reading the votes, defined by the placement of votes for one candidate A/B, has a total of 2+32=2+33=10equally likely alternatives.

AAABBAABABAABBAABAABABABA...

The events that lead to P3,2are only mentioned here; a more systematic approach is required.

P3,2=210=15

P4,2

There are a total of 2+42=2+43=15events that are equally likely.

AABABAAABAABAAABBAAAABABAAAABBAABBAAABABAA...

P4,2=515=13

P4,3

There are a total of3+42=3+43=35 events that are equally likely.

AABABABAABAABBAAABABBAAABBABAAAABBBAABBAAAABABAAA...

P4,3=535=17

03

Find Pn,1,Pn,2 (part b)

Generalized logic form

Pn,1

There are a total of n+11=n+1n=n+1equally likely outcomes (orders of counting votes),

When B's vote is counted, it is defined.

Counting of the events in which Ais in the lead after each vote is counted

Because Ais in the lead after the first vote is counted, the first vote goes to A.

Because Ais in the lead after the second count, the first two votes cannot be AB- a tie.

Ais the second vote.

Regardless of how the remaining votes are distributed, Awill be in the lead because Bhas only one vote.

As a result, which of the n+1-2votes following the first two are for B=n-1events distinguishes the events that contribute to Pn,1is not affected by any other occurrence.

Pn,1=n-1n+1

Pn,2

When B's vote is counted, there are a total ofn-12=(n-1)(n-2)2
equally likely potential outcomes.

Counting of the events in which Ais in the lead after each vote is counted

Counting of the events in which Ais in the lead after each vote is counted

Because Ais in the lead after the first vote is counted, the first vote goes to A.

Because Ais in the lead after the second count, the first two votes cannot be AB- a tie.

Ais the second vote.

If the third vote is a B, the fourth cannot be a Bbecause it will result in an AABBtie.

Then the order would be AABA, and whenever Bis =n-2potential orders, Awill take the lead because Bcan only have two possible orders.

Pn,2=(n-1)(n-2)2+(n-2)(n+2)(n+1)2=n-2n+2

04

Conjecture the value of Pn,m (part c)

Using the formulae,

Pn,m=n-mn+m

Stating independence with:

Pn,m=PAn,mL+PAn,mLc

and therefore,

PAn,mL=n×Pn-1,m×(n-1+m)!(n+m)!=nn+m×Pn-1,m

Same things leads to,

PAn,mLc=m×Pn,m-1×(n-1+m)!(n+m)!=mn+m×Pn,m-1

This gives,

Pn,m=nn+m×Pn-1,m+mn+m×Pn,m-1

05

Recursion for Pn,m in terms of Pn-1,m and Pn,m-1 (part d)

By recursive formula,

Pn,m=nn+m×Pn-1,m+mn+m×Pn,m-1

The formulaPn,m=n-mn+mwill be proved.

If n+m=1, This gives:

P1,0=1-01+0=1

Because n+m{0,1,2,3....},the real case would be n+m=0, but since it is undefined, that is right for all n+MN.

Assume that the formula holds for every n,mwithn+m=kfor kN.

If n,mare such that n+m=k+1, then the following is true:

Pn,m=nn+m×Pn-1,m+mn+m×Pn,m-1

06

Verify the conjecture by an induction proof n+m (part e)

By (n-1)+m=(n+m)-1=k+1-1=kand n+(m-1)=1, apply the mathematical induction. Then,

Pn,m=nn+m×n-1-mn-1+m+mn+m×n-(m-1)n+m-1

=n(n-m-1)+m(n-m+1)(n+m)(n+m-1)

=(n-m)(n+m-1)(n+m)(n+m-1)=(n-m)(n+m)

This establishes that for all n,m that n+m=k+1, and this is based on the mathematical induction principle.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

(a) A gambler has a fair coin and a two-headed coin in his pocket. He selects one of the coins at random; when he flips it, it shows heads. What is the probability that it is the fair coin?

(b) Suppose that he flips the same coin a second time and, again, it shows heads. Now what is the probability that it is the fair coin?

(c) Suppose that he flips the same coin a third time and it shows tails. Now what is the probability that it is the fair coin?

(a) An urn containsnwhite and mblack balls. The balls are withdrawn one at a time until only those of the same color are left. Show that with probability n/(n+m), they are all white. Hint: Imagine that the experiment continues until all the balls are removed, and consider the last ball withdrawn.

(b) A pond contains3distinct species of fish, which we will call the Red, Blue, and Greenfish. There are rRed, bBlue, and gGreenfish. Suppose that the fish are removed from the pond in random order. (That is, each selection is equally likely to be any of the remaining fish.) What is the probability that the Redfish are the first species to become extinct in the pond?

Hint: Write PR=PRBG+PRGB, and compute the probabilities on the right by first conditioning on the last species to be removed.

A total of 48 percent of the women and 37 percent of the men who took a certain “quit smoking” class remained nonsmokers for at least one year after completing the class. These people then attended a success party at the end of a year. If 62 percent of the original class was male,

(a) what percentage of those attending the party were women?

(b) what percentage of the original class attended the party?

The following method was proposed to estimate the number of people over the age of 50 who reside in a town of known population 100,000: “As you walk along the streets, keep a running count of the percentage of people you encounter who are over 50. Do this for a few days; then multiply the percentage you obtain by 100,000 to obtain the estimate.” Comment on this method. Hint: Let p denote the proportion of people in the town who are over 50. Furthermore, let α1 denote the proportion of time that a person under the age of 50 spends in the streets, and let α2 be the corresponding value for those over 50. What quantity does the method suggest estimate? When is the estimate approximately equal to p?

A red die, a blue die, and a yellow die (all six sided) are rolled. We are interested in the probability that the number appearing on the blue die is less than that appearing on the yellow die, which is less than that appearing on the red die. That is, with B, Y, and R denoting, respectively, the number appearing on the blue, yellow, and red die, we are interested in P(B < Y < R).

(a) What is the probability that no two of the dice land on the same number?

(b) Given that no two of the dice land on the same number, what is the conditional probability that B < Y < R?

(c) What is P(B < Y < R)?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free