---
title: "Double Summation with Triangular Exponential Weights"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c11-w1-23-double-sigma-agp-triangular"
board: "JEE Foundation"
grade: "Class 11"
published_at: "2026-12-02T09:45:00+05:30"
---

# Double Summation with Triangular Exponential Weights

Evaluate the exact value of the double sum:
$$S = \sum_{i=1}^{10} \sum_{j=1}^{i} j \cdot 2^{i - j}$$

## Textbook Solution

Let $A_i = \sum_{j=1}^{i} j \cdot 2^{i - j}$ denote the inner sum for a fixed $i \ge 1$. Write it out and compare with $2A_i$:
$$A_i = 1\cdot 2^{i-1} + 2\cdot 2^{i-2} + \dots + (i - 1)\cdot 2^1 + i\cdot 2^0$$
Multiply $A_i$ by $2$:
$$2A_i = 1\cdot 2^i + 2\cdot 2^{i-1} + \dots + (i - 1)\cdot 2^2 + i\cdot 2^1$$
Subtract the first equation from the second:
$$A_i = 2A_i - A_i = \left(2^i + 2^{i-1} + \dots + 2^1\right) - i$$
The geometric sum $2 + 2^2 + \dots + 2^i = 2(2^i - 1) = 2^{i+1} - 2$. Therefore:
$$A_i = 2^{i+1} - i - 2$$
(Verify: $A_1 = 4 - 1 - 2 = 1$, $A_2 = 8 - 2 - 2 = 4$, $A_3 = 16 - 3 - 2 = 11$, all matching direct sums.)
Now sum $A_i$ from $i = 1$ to $10$:
$$S = \sum_{i=1}^{10} \left(2^{i+1} - i - 2\right) = \sum_{i=1}^{10} 2^{i+1} - \sum_{i=1}^{10} i - \sum_{i=1}^{10} 2$$
Compute each piece:
- $\sum_{i=1}^{10} 2^{i+1} = 4 + 8 + \dots + 2048 = \frac{4(2^{10} - 1)}{2 - 1} = 4 \times 1023 = 4092$
- $\sum_{i=1}^{10} i = \frac{10 \times 11}{2} = 55$
- $\sum_{i=1}^{10} 2 = 20$

Thus:
$$S = 4092 - 55 - 20 = 4017$$

## Vedic Shortcut

**NityaDhi Order-Swap Verification:** Swapping the order of summation ($1 \le j \le i \le 10$) gives an independent check:
$$S = \sum_{j=1}^{10} j \sum_{i=j}^{10} 2^{i-j} = \sum_{j=1}^{10} j\left(2^{11-j} - 1\right) = \sum_{j=1}^{10} j 2^{11-j} - 55$$
Notice $\sum_{j=1}^{10} j 2^{11-j} = 2 A_{10} = 2(2^{11} - 10 - 2) = 4096 - 24 = 4072$. Subtracting $55$ gives $4072 - 55 = 4017$!

## Common Mistakes

1. **Miscounting the limits when swapping $\sum_{i=1}^{10}\sum_{j=1}^i$:** Writing $\sum_{j=1}^{10}\sum_{i=1}^{j}$ reverses the triangle inequality $j \le i$ wrongly.
2. **Error in $\sum_{i=1}^{10} 2^{i+1}$:** Starting the GP at $2^1$ instead of $2^2 = 4$ gives $2046$ instead of $4092$.