SlideShare une entreprise Scribd logo
1  sur  51
THE BALLOT PROBLEM FOR  MANY CANDIDATES
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is the ballot of problem? ,[object Object],The formula comes up to be
Why is it interesting? ,[object Object],[object Object]
Objective To find the formula and proof of Ballot problem for many candidates.
In case two candidates (The Ballot problem)
Suppose   is the ballot of the  1 st   candidate.   is the ballot of the 2 nd   candidate, when   . Define   “1” as the ballot given to 1 st   candidate.   “ -1” as the ballot given to 2 nd   candidate.
The number of ways to count the ballots for required condition. Permutation of the sequence: such that the partial sum is always positive. The number of ways to walking on the lattice plane with start at (0,0) and finish at (a,b), and can’t pass line y=x except (0,0) = =
 
Reflection Principle The way to count the number of path is using “reflection principle”, one can show that the number of bad ways which begin at (1,0) is equal to the number of ways begin at (0,1). It implies that, if we denote    as the number of ways as required:
 
In case three Candidates
 
 
How to count ?
 
[object Object],[object Object],[object Object]
Example Counting Front View F(1) F(2) F(3) F(4) F(5)
Example Counting Side View S(1) S(2)
Example Counting Matching 2 2 1 1 1 S(2) 1 1 1 1 1 S(1) F(5) F(4) F(3) F(2) F(1) F(i) * S(j) F(1) F(2) F(3) F(4) F(5) S(1) S(2) 5 7 12 Total
Dynamic Programming
Counting (5,4) with D.P. 1 1 1 1 1 1 4 3 2 1 0 0 9 5 2 0 0 0 14 5 0 0 0 0 14 0 0 0 0 0
Formula for three candidates
Definition   is the number of ways to count the ballot so that correspond to the required condition  Lemma 1.1 Lemma 1.2
Conjecture
Let Consider Use strong induction; given   is the “base” therefore Proof and hence the base case is true.
[object Object],[object Object],We will use this assumption to prove that  is true
 
 
By strong induction, we get that.
Formula for n candidates
  is the number of ways to count the ballots of the n candidates such that, while the ballots were counting, the ballots of higher-complete-balloted candidate are always greater than that of smaller-complete-balloted.  Definition   Lemma 3
 
 
 
 
We will show that   is factor of Case 1 Case 1
Consider hence;
  is factor of . Hence We will show that  is factor of   . Case 2
Consider
  is factor of Hence We will show that   is the factor of Consider the degree of each  of each term of  is one less than that of , so we can conclude that there must be the factor    when m,k is constant. By comparing the coefficient of   , it yields that  k,m=1 . Therefore, is the factor of  Case 3
From case 1,2 and 3, we now prove that  By mathematical induction,
Development
1. The number of ways to count the ballots of the n candidates such that, while the ballots were counting, the ballots of higher-complete-balloted candidate are never less than that of smaller-complete-balloted candidate.
2. The number of ways to count the ballots of the n candidates such that, while the ballots were counting,  in m candidates (m<n)  the ballots of higher-complete-balloted candidate are always greater than that of smaller-complete-balloted.
3. The number of ways to count the ballots of the n candidates such that, while the ballots were counting, the K  candidate are always greater than that of the M candidate and  the P candidate are always greater than that of the Q candidate .
Application
Application In Biology ,[object Object],[object Object],[object Object],[object Object],[object Object]
Application In Cryptography Define the plaintext (code) used to send the data  Increases the security of the system
Reference Miklos Bona, Unimodality,  Introduction to Enumerative Combinatorics,  McGrawHill, 2007. Chen Chuan-Chong and Koh Khee-Meng,  Principles and Techniques  in Combinatorics , World Scientific, 3rd ed., 1999.  Michael L. GARGANO, Lorraine L. LURIE Louis V. QUINTAS, and  Eric M. WAHL,  The Ballot Problem,  U.S.A.,2005. Sriram V. Pemmaraju, Steven S. Skienay,  A System for Exploring  Combinatorics and Graph Theory in Mathematica,  U.S.A., 2004. Marc Renault,  Four Proofs of the Ballot Theorem,  U.S.A., 2007.
Thank you for  your attention

Contenu connexe

Similaire à Ballot Problem for Many Candidates

Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 
Introduction to Statistics - Part 2
Introduction to Statistics - Part 2Introduction to Statistics - Part 2
Introduction to Statistics - Part 2Damian T. Gordon
 
PSUnit_I_Lesson_2_Constructing_Probability_Distributions.pptx
PSUnit_I_Lesson_2_Constructing_Probability_Distributions.pptxPSUnit_I_Lesson_2_Constructing_Probability_Distributions.pptx
PSUnit_I_Lesson_2_Constructing_Probability_Distributions.pptxjaysongulla1
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
 
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxRaquelMaacap
 
Math138 lectures 3rd edition scoolbook
Math138 lectures 3rd edition scoolbookMath138 lectures 3rd edition scoolbook
Math138 lectures 3rd edition scoolbookesbunag
 
Chapter 12
Chapter 12Chapter 12
Chapter 12bmcfad01
 
1. A survey of the number of calls received by a sample of Southe.docx
1.  A survey of the number of calls received by a sample of Southe.docx1.  A survey of the number of calls received by a sample of Southe.docx
1. A survey of the number of calls received by a sample of Southe.docxdorishigh
 
Statistics for management
Statistics for managementStatistics for management
Statistics for managementJohn Prarthan
 
Probability distribution Function & Decision Trees in machine learning
Probability distribution Function  & Decision Trees in machine learningProbability distribution Function  & Decision Trees in machine learning
Probability distribution Function & Decision Trees in machine learningSadia Zafar
 
Introduction to Statistics - Part 1
Introduction to Statistics - Part 1Introduction to Statistics - Part 1
Introduction to Statistics - Part 1Damian T. Gordon
 
Math Stats Probability
Math Stats ProbabilityMath Stats Probability
Math Stats ProbabilityMark Brahier
 

Similaire à Ballot Problem for Many Candidates (20)

Probability Assignment Help
Probability Assignment HelpProbability Assignment Help
Probability Assignment Help
 
Math 300 MM Project
Math 300 MM ProjectMath 300 MM Project
Math 300 MM Project
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
Sampling and Inference_Political_Science
Sampling and Inference_Political_ScienceSampling and Inference_Political_Science
Sampling and Inference_Political_Science
 
Introduction to Statistics - Part 2
Introduction to Statistics - Part 2Introduction to Statistics - Part 2
Introduction to Statistics - Part 2
 
Benford's law
Benford's lawBenford's law
Benford's law
 
PSUnit_I_Lesson_2_Constructing_Probability_Distributions.pptx
PSUnit_I_Lesson_2_Constructing_Probability_Distributions.pptxPSUnit_I_Lesson_2_Constructing_Probability_Distributions.pptx
PSUnit_I_Lesson_2_Constructing_Probability_Distributions.pptx
 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
 
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptxtest_using_one-way_analysis_of_varianceANOVA_063847.pptx
test_using_one-way_analysis_of_varianceANOVA_063847.pptx
 
Math138 lectures 3rd edition scoolbook
Math138 lectures 3rd edition scoolbookMath138 lectures 3rd edition scoolbook
Math138 lectures 3rd edition scoolbook
 
Counting
Counting  Counting
Counting
 
Chap012.ppt
Chap012.pptChap012.ppt
Chap012.ppt
 
Unit 3
Unit 3Unit 3
Unit 3
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 
1. A survey of the number of calls received by a sample of Southe.docx
1.  A survey of the number of calls received by a sample of Southe.docx1.  A survey of the number of calls received by a sample of Southe.docx
1. A survey of the number of calls received by a sample of Southe.docx
 
Basic concepts of probability
Basic concepts of probability Basic concepts of probability
Basic concepts of probability
 
Statistics for management
Statistics for managementStatistics for management
Statistics for management
 
Probability distribution Function & Decision Trees in machine learning
Probability distribution Function  & Decision Trees in machine learningProbability distribution Function  & Decision Trees in machine learning
Probability distribution Function & Decision Trees in machine learning
 
Introduction to Statistics - Part 1
Introduction to Statistics - Part 1Introduction to Statistics - Part 1
Introduction to Statistics - Part 1
 
Math Stats Probability
Math Stats ProbabilityMath Stats Probability
Math Stats Probability
 

Dernier

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Dernier (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Ballot Problem for Many Candidates

  • 1. THE BALLOT PROBLEM FOR MANY CANDIDATES
  • 2.
  • 3.
  • 4.
  • 5. Objective To find the formula and proof of Ballot problem for many candidates.
  • 6. In case two candidates (The Ballot problem)
  • 7. Suppose is the ballot of the 1 st candidate. is the ballot of the 2 nd candidate, when . Define “1” as the ballot given to 1 st candidate. “ -1” as the ballot given to 2 nd candidate.
  • 8. The number of ways to count the ballots for required condition. Permutation of the sequence: such that the partial sum is always positive. The number of ways to walking on the lattice plane with start at (0,0) and finish at (a,b), and can’t pass line y=x except (0,0) = =
  • 9.  
  • 10. Reflection Principle The way to count the number of path is using “reflection principle”, one can show that the number of bad ways which begin at (1,0) is equal to the number of ways begin at (0,1). It implies that, if we denote as the number of ways as required:
  • 11.  
  • 12. In case three Candidates
  • 13.  
  • 14.  
  • 16.  
  • 17.
  • 18. Example Counting Front View F(1) F(2) F(3) F(4) F(5)
  • 19. Example Counting Side View S(1) S(2)
  • 20. Example Counting Matching 2 2 1 1 1 S(2) 1 1 1 1 1 S(1) F(5) F(4) F(3) F(2) F(1) F(i) * S(j) F(1) F(2) F(3) F(4) F(5) S(1) S(2) 5 7 12 Total
  • 22. Counting (5,4) with D.P. 1 1 1 1 1 1 4 3 2 1 0 0 9 5 2 0 0 0 14 5 0 0 0 0 14 0 0 0 0 0
  • 23. Formula for three candidates
  • 24. Definition is the number of ways to count the ballot so that correspond to the required condition Lemma 1.1 Lemma 1.2
  • 26. Let Consider Use strong induction; given is the “base” therefore Proof and hence the base case is true.
  • 27.
  • 28.  
  • 29.  
  • 30. By strong induction, we get that.
  • 31. Formula for n candidates
  • 32. is the number of ways to count the ballots of the n candidates such that, while the ballots were counting, the ballots of higher-complete-balloted candidate are always greater than that of smaller-complete-balloted. Definition Lemma 3
  • 33.  
  • 34.  
  • 35.  
  • 36.  
  • 37. We will show that is factor of Case 1 Case 1
  • 39. is factor of . Hence We will show that is factor of . Case 2
  • 41. is factor of Hence We will show that is the factor of Consider the degree of each of each term of is one less than that of , so we can conclude that there must be the factor when m,k is constant. By comparing the coefficient of , it yields that k,m=1 . Therefore, is the factor of Case 3
  • 42. From case 1,2 and 3, we now prove that By mathematical induction,
  • 44. 1. The number of ways to count the ballots of the n candidates such that, while the ballots were counting, the ballots of higher-complete-balloted candidate are never less than that of smaller-complete-balloted candidate.
  • 45. 2. The number of ways to count the ballots of the n candidates such that, while the ballots were counting, in m candidates (m<n) the ballots of higher-complete-balloted candidate are always greater than that of smaller-complete-balloted.
  • 46. 3. The number of ways to count the ballots of the n candidates such that, while the ballots were counting, the K candidate are always greater than that of the M candidate and the P candidate are always greater than that of the Q candidate .
  • 48.
  • 49. Application In Cryptography Define the plaintext (code) used to send the data Increases the security of the system
  • 50. Reference Miklos Bona, Unimodality, Introduction to Enumerative Combinatorics, McGrawHill, 2007. Chen Chuan-Chong and Koh Khee-Meng, Principles and Techniques in Combinatorics , World Scientific, 3rd ed., 1999. Michael L. GARGANO, Lorraine L. LURIE Louis V. QUINTAS, and Eric M. WAHL, The Ballot Problem, U.S.A.,2005. Sriram V. Pemmaraju, Steven S. Skienay, A System for Exploring Combinatorics and Graph Theory in Mathematica, U.S.A., 2004. Marc Renault, Four Proofs of the Ballot Theorem, U.S.A., 2007.
  • 51. Thank you for your attention