Search code examples
summaplederivative

solve derivative of summation on Maple


Is there any way to solve the derivative of summation on maple. For the example,

y := qr->(1-qn-(sum(qn[j]-delta*qr, j))-c[r])*qr+(wn-c)*(qn+sum(qn[j], j))

I took the first partial derivative w.r.t qr, and I think the result was correct

diff(y(qr), qr)

But, when I solve the result of the derivative, the Maple did not give me any result.

solve(diff(y(qr), qr) = 0, qr)

Any help would be appreciated


Solution

  • The answer you requested from solve depends on the number of terms in the summation. You haven't specified that. If you don't know that, you can specify it by symbols. Change the second arguments of both sums from simply j to j= a..b. I did this, and then I got a simple answer from solve.