Partial derivative of a summation: why it is not just 2*`X__i`?
Answer: The output of Maple is correct because you differentiated for all i from 1 to n. How can Maple know which i you are interested in? If you expect only 2*X__i as output the information about the range for i from 1 to n is lost.
` `*`Partial derivative of a double summation: how to define the nested structure of a double summation where j<>i?`
Answer: B__wrong is correct. Maple only automatically simplified it. You can use Sum instead of sum to prevent this
` `*`System of n equations: how to define and solve for it?`
You must give n a number. Example for n=m=5
m:=5;
A := sum(X[i]^2, i = 1 .. n);
eqs:=seq(diff(eval(A = 0,n=j),X[j]),j=1..m);
vars := seq(X[i], i = 1 .. m);
solve({eqs}, {vars})
m := 5
n
-----
\
) 2
A := / X[i]
-----
i = 1
eqs := 2 X[1] = 0, 2 X[2] = 0, 2 X[3] = 0, 2 X[4] = 0, 2 X[5] = 0
vars := X[1], X[2], X[3], X[4], X[5]
{X[1] = 0, X[2] = 0, X[3] = 0, X[4] = 0, X[5] = 0}