How to Differentiate a Double Summation Using Dot Notation
At a glance
- 1. Check the bounds
For fixed finite index ranges, the derivative can pass through both sums.
- 2. Differentiate each term
Apply the ordinary derivative or chain rule to each summand.
- 3. Use dot notation
A dot over a quantity means its derivative with respect to time.
- 4. Check special cases
Variable bounds and infinite sums may need additional conditions.
A double summation is just a sum taken over two indices. If it has finitely many terms, its index bounds do not depend on the variable, and its summands are differentiable with respect to that variable, you can differentiate it term by term. Dot notation is a shorthand for a time derivative; it does not change the differentiation rule.
The rule for a finite double sum
Suppose each summand is differentiable with respect to time, while the limits and are fixed:
Then
The sums contain only finitely many terms, so differentiation and summation can be interchanged. The order of the two sums can also be reversed without changing the result.
A dot over a quantity means its derivative with respect to time: . Two dots mean a second time derivative: . If the variable is not time, ordinary derivative notation such as is usually clearer. A dot between vectors, as in , instead denotes a dot product; context distinguishes the two uses.
Worked example
Let
The bounds are fixed, so differentiate the summand while keeping and constant:
To simplify, there are three copies of for each value of , and two copies of the sum in the terms involving :
You can check by expanding the original sum first. The terms involving add to , and the terms involving add to , so . Differentiating gives the same result, .
When the summand contains products or functions
The rule for sums does not replace the usual differentiation rules. Apply those rules separately to each term. For example, if
then
by the product rule. If a summand depends on quantities that themselves vary with time, use the chain rule as well. For instance, if , then
What if the bounds vary?
The term-by-term rule above assumes fixed index ranges. A bound such as makes the number of terms change at integer values of . The resulting sum may have jumps there, so it need not have an ordinary derivative at those points. You cannot generally apply the Leibniz rule for differentiating an integral to a discrete sum; that is a different operation.
For an infinite double sum, differentiating term by term also requires extra conditions. For example, suitable uniform convergence of the series of derivatives, together with convergence at a point, is a common sufficient condition. Without such conditions, the derivative of the sum need not equal the sum of the derivatives.
Common mistakes
- Differentiating the indices: Treat and as constants when they are summation indices. Differentiate the expression that depends on the variable.
- Dropping the product rule: A sum of products still requires the product rule for each product.
- Treating a changing number of terms as fixed: If a bound depends on the variable, first examine where the number of terms changes.
- Reading every dot as a time derivative: A dot above a variable denotes a time derivative in common physics notation; a dot between vectors denotes a dot product.
- Writing a dot over the summation sign without explanation: Prefer for the whole summed quantity, or write the sum of the dotted summands explicitly. This makes clear what is being differentiated.
References
- James Stewart, Calculus: Early Transcendentals
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.