A particle's position is given by $r_i=r_i(q_1,q_2,...,q_n,t)$. So velocity: $$v_i=\frac{dr_i}{dt} = \sum_k \frac{\partial r_i}{\partial q_k}.\dot q_k + \frac{\partial r_i}{\partial t} $$
In my book it's given $$\frac{\partial v_i}{\partial \dot q_k} = \frac{\partial r_i}{\partial q_k}$$ without any proof. So I tried to take derivative of $v_i$ w.r.t $\dot q_k$. I can only arrive at the proof if $$\frac{\partial r_i}{\partial \dot q_k} = 0?$$ Why is that? Is it because of explicit dependence of $r_i$ on $\dot q_k$? Sorry if this question is too basic but I'm confused because I believe it could be written as $$\frac{\partial r_i}{\partial \dot q_k} = \frac{\partial r_i}{\partial q_k}.\frac{\partial q_k}{\partial \dot q_k}$$
A very partial explanation:
In order to eliminate indices, consider the free motion of one particle on a curve in 3D. The equation is $\ddot{r} \cdot \delta r = 0$ (say scalar product in 3D, and $\delta r$ in the tangent direction of the curve). When transforming to a generalized coordinate $r=r(q)$ this becomes first $\dot{r}=\frac{\partial r}{\partial q} \dot{q}$ and then $$ \left[ F(q,\dot{q}) \right]\ \delta q = \left[\left( \frac{\partial^2 r}{\partial q^2} \dot{q}^2 + \frac{\partial r}{\partial q} \ddot{q} \right) \cdot \frac{\partial r}{\partial q}\right] \delta q=0$$ So the equation of motion becomes $F(q,\dot{q})=0$ in the $q$ coordinate. Now suppose you would like to derive the equivalent Euler-Lagrange equations for that motion starting with the kinetic energy $T(\dot{r}) = \frac12 (\dot{r})^2$. In the generalized coordinate this becomes: $$ T(q,\dot{q}) = \left( \frac{\partial r(q)}{\partial q} \dot{q} \right)^2$$ If you now define this to be an expression in the two variables $q,\dot{q}$ then you may calculate $\partial T / \partial \dot{q} = (\partial r/\partial q)^2 \dot{q}$ and then after a small calculation find: $$ F = \frac{d}{dt} \frac{\partial T}{\partial \dot{q}} - \frac{\partial T}{\partial q} $$ And $F=0$ is then the Euler-Lagrange equation for $T$. Upshot: We think of $T$ as a function of two indepdent variables, say $q$ and $y$ but when calculating $d/dt$ we insert $y=\dot{q}$ before taking the derivative.