I want to get the derivatives of $q_i$ of the following function Q in Mathematica: $$Q=\sum _{i=1}^N q_i$$, Using the command of $$\frac{\partial Q}{\partial q_i}$$, the software give me an answer of $$N$$, but what I really want is $$1$$, can any genius help me with it? I am working on my diploma articles, thx a lot.
The Mathematica screen is this:
N
as variable in Mathematica, it is special symbol. $\endgroup$