x 1 + x 2 + x 3 = 2 8
Find the number of integer solutions to the above equation if ⎩ ⎪ ⎨ ⎪ ⎧ 3 0 7 ≤ ≤ ≤ x 1 x 2 x 3 ≤ ≤ ≤ 9 8 1 7 .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I didn't understood the last few steps of your answer. (I.e. From the step a1=7, a2=9, a3=11)..
Could you kindly explain it?
Log in to reply
I was considering how many cases that do not fulfill and conditions. That is, how many cases that y 1 ≥ 7 , or y 2 ≥ 9 or y 3 ≥ 1 1 . The values of ∣ T k ∣ gives the number of each of the cases. However, there are some cases that being double counted. So we we have to minus the cases ∣ T 1 ∩ T 2 ∣ , for example.
Hope it is clear to you now.
Problem Loading...
Note Loading...
Set Loading...
Principle of inclusion and exclusion is used in this proof.
Let ⎩ ⎪ ⎨ ⎪ ⎧ x 1 x 2 x 3 = = = y 1 + 3 y 2 y 3 + 7 .
The expression becomes y 1 + y 2 + y 3 = 1 8 with 0 ≤ y 1 ≤ 6 , 0 ≤ y 2 ≤ 8 , 0 ≤ y 3 ≤ 1 0 .
The non-negative integer solutions to the equation y 1 + y 2 + y 3 = 1 8 is ( 2 2 0 ) = 1 9 0 .
Let a 1 = 7 , a 2 = 9 and a 3 = 1 1 . Let T k = { ( y 1 , y 2 , y 3 ) : y 1 + y 2 + y 3 = 1 8 , y i are non-negative integers and y k ≥ a k } for k = 1 , 2 , 3 .
Now ∣ T 1 ∣ = ( 2 1 3 ) , ∣ T 2 ∣ = ( 2 1 1 ) , ∣ T 3 ∣ = ( 2 9 ) , ∣ T 1 ∩ T 2 ∣ = ( 2 4 ) , ∣ T 1 ∩ T 3 ∣ = ( 2 2 ) and ∣ T 2 ∩ T 3 ∣ = ∣ T 1 ∩ T 2 ∩ T 3 ∣ = 0 .
By Principle of inclusion and exclusion, ∣ T 1 ∪ T 2 ∪ T 3 ∣ = ∣ T 1 ∣ + ∣ T 2 ∣ + ∣ T 3 ∣ − ∣ T 1 ∩ T 2 ∣ − ∣ T 1 ∩ T 3 ∣ − ∣ T 2 ∩ T 3 ∣ + ∣ T 1 ∩ T 2 ∩ T 3 ∣ = 1 6 2 .
Hence the number of integer solutions to the equation (with the conditions) is 1 9 0 − 1 6 2 = 2 8 .