Number of integral solutions to the equation , where , is equal to ______ .
Solution
Core idea. Lower limits are removed by a shift, then the standard formula applies.
Concept refresher. The number of solutions of in non-negative integers is
A variable that must be at least is replaced by plus a new non-negative variable.
Picture the situation. Each variable has a lower limit: 1, 3 and 4. Handing each variable its minimum uses up 8 of the total, and what is left is shared among the three variables with no further restriction. Counting such free sharings is a standard formula.
Approach. Shift each variable by its lower limit and count the non-negative solutions.
Step 1: Shift the variables
Put , and with , , non-negative. Then .
Step 2: Count
Three non-negative integers adding to 13 can be chosen in ways.
Answer. 105
Sanity check. If the pair , can be chosen in 14 ways, if in 13 ways, and so on down to 1; the sum is 105.
Common wrong answers
- 66: Using the formula for positive solutions after shifting gives .
- 253: Ignoring the lower limits and counting non-negative solutions of the original equation gives .
Key takeaway
The trap. After the shift the new variables may be zero.
How toppers think. They subtract the sum of the lower limits from the total in one step.
Remember.
More on Distribution Problems
- A person has three different bags and four different books. The number of ways, in which he can put these…
- A building has ground floor and 10 more floors. Nine persons enter in a lift at the ground floor. The lift…
- Let A = {(a, b, c): a, b, c; are non-negative integers and; a + b + 2c = 22}. Then n(A) is equal to:
- All 19 on Distribution Problems ›