Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Derivative, Sum and KroneckerDelta symbolically

  • To: mathgroup at
  • Subject: [mg25040] Derivative, Sum and KroneckerDelta symbolically
  • From: Stefan Eder <stefan.eder at>
  • Date: Fri, 1 Sep 2000 21:57:49 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


does anybody know how to tell Mathematica to solve  

"Sum[D[Sum[x[n], {n, 1, k}], x[i]], {i, 1, k}]" correctly? 

In my opinion the expression should give "k" as result, Mathematica says
Introducing concrete values instead of k the result is correct:

"Sum[D[Sum[x[n], {n, 1, 5}], x[i]], {i, 1, 5}]" = "5".

Is there a possibility to tell Mathematica that the expressions above
lead to a "KroneckerDelta": 

Sum[KroneckerDelta[n, i], {n, 1, k}, {i, 1, k}] 



  • Prev by Date: Re: ListPlot
  • Next by Date: Re: ListPlot
  • Previous by thread: Button to Get File Path
  • Next by thread: Simple integral wrong