Question
Question: Let $\vec{a} = \hat{i} + \hat{j} + \hat{k}$ and let $\vec{r}$ be a variable vector such that $\vec{r...
Let a=i^+j^+k^ and let r be a variable vector such that r.i^, r.j^ and r.k^ are positive integers.
If r.a≤12, then the total number of such vectors is:

12C9−1
12C3
12C8
12C4
(B)
Solution
Let r=xi^+yj^+zk^.
Given conditions:
- r.i^=x, r.j^=y, r.k^=z are positive integers. So x,y,z≥1.
- a=i^+j^+k^.
- r.a≤12. This implies x+y+z≤12.
We need to find the number of positive integer solutions (x,y,z) for x+y+z≤12.
Let x′=x−1, y′=y−1, z′=z−1. Then x′,y′,z′≥0.
Substituting these into the inequality:
(x′+1)+(y′+1)+(z′+1)≤12
x′+y′+z′+3≤12
x′+y′+z′≤9.
To find the number of non-negative integer solutions for x′+y′+z′≤9, we introduce a non-negative integer slack variable s≥0.
The inequality becomes an equation: x′+y′+z′+s=9.
This is a stars and bars problem with N=9 (stars) and k=4 (variables x′,y′,z′,s).
The number of solutions is given by (k−1N+k−1) or (NN+k−1).
Number of solutions = (4−19+4−1)=(312).
Alternatively, Number of solutions = (99+4−1)=(912).
Both expressions are numerically equal.
The total number of such vectors is 12C3.