What Is the Correct Probability Calculation for Sam and Peter's Lineup?

  • Thread starter WolfOfTheSteps
  • Start date
  • Tags
    Probability
In summary, the conversation discusses the probability of exactly k men standing between Sam and Peter in a line of n men arranged at random. The original attempt at a solution involved listing out possibilities and using permutations, but the correct formula involves combinations and dividing by the total number of possible lines. The conversation ends with the speaker expressing the difficulty of combinatorics problems.
  • #1
WolfOfTheSteps
138
0

Homework Statement



If Sam and Peter are among n men who are arranged at random in a line, what is the probability that exactly k men stand between them?"

Homework Equations



Not sure.

The Attempt at a Solution



This is driving me insane. I listed out the possibilities for n = 3, and it looked to me like Peter and Sam could surround n men

2(n-k-1)

ways. Since there are n! possible lines, I said:

p = 2(n-k-1)/n!

But the book says

p = 2(n-k-1)/n(n-1)

The frustrating thing is that our answers are equal for n=3, but obviously not for higher values of n. I started trying to do it concretely for n=4, but there were so many possibilities that I got too confused.

It's just killing me, because I know the formula I came up with for n=3 was just a guess based on my empirical observation of the outcomes. I don't know how to do this problem "theoretically."

What am I doing wrong?

Thanks.
 
Physics news on Phys.org
  • #2
n! is the number of permutations, but you need to look at the combinations.
 
  • #3
EnumaElish said:
n! is the number of permutations, but you need to look at the combinations.

Well, in a line doesn't the ordering matter? So wouldn't it be permutations?

I mean, if the total number of possible lines were n choose n, their would only be 1 possible line!
 
  • #4
Yes, it's permutations you want. But your 2n(n-k-1) is the number of ways Sam and Peter can stand. There are (n-2) other men that you have to put in line with Sam and Peter before you can divide by n!.
 
  • Haha
Likes WMDhamnekar
  • #5
Dick said:
Yes, it's permutations you want. But your 2n(n-k-1) is the number of ways Sam and Peter can stand. There are (n-2) other men that you have to put in line with Sam and Peter before you can divide by n!.

Thank you! I finally get it.

Wow, combinatorics is a brain trip. I've taken high level differential equations, geometry, and all kinds of signals stuff in EE, but these counting problems crack my skull like nothing else! They are so deceptive.
 

FAQ: What Is the Correct Probability Calculation for Sam and Peter's Lineup?

What is Combinatorial Probability?

Combinatorial Probability, also known as Combinatorics, is a branch of mathematics that studies counting and arranging objects in various patterns and combinations.

What is the difference between Permutations and Combinations?

Permutations refer to the number of ways to arrange a set of objects in a specific order, while Combinations refer to the number of ways to select a subset of objects without considering their order.

How is Combinatorial Probability used in real life?

Combinatorial Probability is used in various fields such as computer science, genetics, finance, and engineering to solve problems involving decision-making, optimization, and data analysis.

What are the basic principles of Combinatorial Probability?

The basic principles of Combinatorial Probability include the multiplication principle, addition principle, permutation formula, and combination formula. These principles help in counting and calculating the number of possible outcomes in a given scenario.

What are some common applications of Combinatorial Probability in science experiments?

Combinatorial Probability is often used in science experiments to determine the likelihood of a certain event or outcome. It can also be used to analyze and interpret data, and to design experiments with a specific number of outcomes or variables.

Back
Top