SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Kürzlich hochgeladen (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

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