Probability dots and lines problem.

  • Thread starter Thread starter charmedbeauty
  • Start date Start date
  • Tags Tags
    Lines Probability
AI Thread Summary
The discussion revolves around solving the equation x1 + x2 + x3 + x4 + x5 = 30 with the constraint that each xi is non-negative and less than 8. Participants explore the combinatorial approach, debating the correct application of the formula C(9,4) versus C(11,4) for determining the number of solutions. The concept of "anti-dots" is introduced to clarify how to distribute remaining values after allocating the maximum of 7 dots to each variable. Ultimately, the consensus is that the correct interpretation leads to using C(9,4) for the solution. The conversation highlights the importance of understanding constraints in combinatorial problems.
charmedbeauty
Messages
266
Reaction score
0

Homework Statement



How many solutions are there to the equation

where xn is non negative.

x1+x2+x3+x4+x5=30

where x1,x2,x3,x4,x5<8?


Homework Equations





The Attempt at a Solution



well I thought the only way to ensure this is when the first 7 'dots' are placed, since if all the 'dots' are placed in let's say x1 then by the 8th dot it could also be arranged in x1, hence not satisfying the condition.

ie C(11,4) ... but the sltn says C(9,4).

which I thought was strange; doesn't that sltn imply that xn can ≥8 when the first 5 dots are arranged?

and the only condition on xn is that they are non negative... so they can be zero.
 
Physics news on Phys.org
Each x_n can have a maximum of 7 dots. So we can rewrite it as y_n = 7 - x_n. Subbing this into the eqn you will get the answer to be C(9,4)
 
Bread18 said:
Each x_n can have a maximum of 7 dots.

yeah I get that...

Bread18 said:
we can rewrite it as y_n = 7 - x_n. Subbing this into the eqn you will get the answer to be C(9,4)

into what eqn?

x1+x2+x3+x4+x5=30?

I really don't see how... I thought C(9,4) was the number of ways we can arrange the 'lines'?

if so I really don't see how this solution is correct, since if I throw away the first 23 dots then there are 7 remaining.

now anyway I arrange these will satisfy the condition, where x1,x2,x3,x4,x5<8. would it not?

I know that C(9,4) does satisfy the condition, but so should C(11,4)?
 
What do you mean by "throw away the first 23 dots"?

Think of it as having 7 dots in each x_n and then place 5 'anti dots' into any of the x_n. This is the same as having x_1 + x_2 + x_3 + x_4 + x_5 = 5. (5 'anti dots' and 4 lines).
 
Bread18 said:
What do you mean by "throw away the first 23 dots"?

Think of it as having 7 dots in each x_n and then place 5 'anti dots' into any of the x_n. This is the same as having x_1 + x_2 + x_3 + x_4 + x_5 = 5. (5 'anti dots' and 4 lines).

ohh I think I get it now. so 'antidots' are just the remaining dots after 7 dots have been distributed in the 5 subcategories x1...xn. Since there is only 1 way of arranging 7 dots in each category therefore there are 5 'antidots' to be distributed is C(9,4). Is this the right line of thinking?

Thanks for the help Bread.
 
Yeah that's right.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top