Finding number of nonnegative solutions for the equation x 1 </msub> +

Isaiah Owens

Isaiah Owens

Answered question

2022-05-26

Finding number of nonnegative solutions for the equation x 1 + x 2 + x 3 + x 4 + x 5 = 9 when x 1 1 , x 5 5

Answer & Explanation

Megan Mathis

Megan Mathis

Beginner2022-05-27Added 10 answers

Step 1
The number of non negative solutions is equal to the coefficient by z 9 in the series
z ( 1 + z + z 2 + z 3 + z 4 + z 5 ) ( 1 z ) 4 = z + 5 z 2 + 15 z 3 + 35 z 4 + 70 z 5 + 126 z 6 + 209 z 7 + 325 z 8 + 480 z 9 +
Step 2
Thus the aswer is 480.
Davian Maynard

Davian Maynard

Beginner2022-05-28Added 3 answers

Step 1
In general with stars and bars we find that there are ( n + k 1 k 1 ) solutions for:
y 1 + + y n = k where the y i are nonnegative integers.
In your case we can at first hand go for n = 5, y 1 = x 1 1, y i = x i for i = 2 , 3 , 4 , 5 and k = 9 1 = 8
Step 2
Then however we overlooked the constraint y 5 = x 5 5
This can be repaired by subtracting the number of solutions that satisfy y 5 { 6 , 7 , 8 } or equivalently:
y 1 + y 2 + y 3 + y 4 { 0 , 1 , 2 }
Again using stars and bars (3 times) we can find these numbers.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?