Question
The number of integral solution of the equation $$\alpha+\beta+\gamma+\delta=18$$, with the conditions:
$1\leq\alpha\leq5$; ${-2}\leq\beta\leq4$; $0\leq\gamma\leq5$ and $3\leq\delta\leq9$ is $k$. Find $k$.
$$Attempt$$
I tried to do to it by giving the minimum number required to the variables to generate new variable to whom then nil can also be given and hence the equation I wrote is $$x+y+z+v=16$$ But, now, I had a problem in adjusting the higher limit for every variable for accounting each of them. Afterwards, I don't know what to do.
*Any hints or suggestions?*
Thanks for helping me!
Converting to $$\alpha'+\beta'+\gamma'+\delta'=16$$
The number of ways to distribute $n$ identical things among $r$ different persons/parameters = $\binom{n+r-1}{r-1}$
The number of ways of distributing $16$ among these $4$ i.e. $n=16$ and $r=4$, are $\binom{16+4-1}{4-1}=\binom{19}{3}$. But there are conditions that $$0\le\alpha'\leq 4, 0\leq \beta'\leq 6, 0\leq \gamma'\leq 5, 0\leq\delta'\leq 6$$ So, we need to subtract the number of ways of distribution in which these weren't followed. For example: To calculate the number of sequences in which $\alpha^{'}\geq 5$, we will first allot $5$ out of $16$ to $\alpha^{'}$ and then follow the same formula as follows (so as to distribute $11$ among $4$) $$\binom{16-5+4-1}{4-1}=\binom{14}{3}$$ Similarly for $\beta'\geq7$ $$\binom{16-7+4-1}{4-1}=\binom{12}{3}$$ $\gamma'\geq6$ $$\binom{16-6+4-1}{4-1}=\binom{13}{3}$$ and $\delta'\geq7$ $$\binom{16-7+4-1}{4-1}=\binom{12}{3}$$ So, it becomes $$\binom{19}{3}-\binom{14}{3}-\binom{12}{3}-\binom{13}{3}-\binom{12}{3}$$ Finally, the cases in which at least two conditions failed are also to be subtracted but since they are considered already in the cases in which at least one condition failed, we actually need to subtract them once. Why once? Cases of $\alpha^{'}\geq 5$ included cases of any of the other three ($\beta'\leq6;\gamma'\leq5;\delta'\leq6$) not following together with or putting similar argument for other three conditions, we can contemplate that all in all $4\times 3=12$ terms are already subtracted and that we need to now add the "at least two disobeyed condition cases"($^4C_2=6$ in number). So, calculating the cases to be added: For the condition for $\alpha$ and $\beta$: $\binom{16-5-7+3}{3}=\binom{7}{3}$
Similarly for others...
The final answer comes out to be $$\binom{19}{3}-\binom{14}{3}-\binom{12}{3}-\binom{13}{3}-\binom{12}{3}+\binom{7}{3}+\binom{6}{3}+\binom{6}{3}+\binom{8}{3}+\binom{7}{3}+\binom{5}{3}$$ This is a widely used approach to questions like this and is pretty common! You may feel like a lot of things working but the format is pretty simple. $\text{Total - at least one condition followed or whatever + at least two conditions... upto which it is not possible}$. (like here it wasn't possible for any three conditions to hold simultaneously obviously)