Let $S={1,2,...,j}$ be a set.For every nonempty subset of $A$ of $S$,let $m(A)$ denote the maximum element of $A$.Then find $$\sum_{\text{over all subsets of S}} m(A)$$
By seeing the answer I could easily prove inductively that the summation is equal to $$(j-1)2^j+1$$But I am facing difficulty actually evaluating it without knowing the result already.I tried to work with many cases but failed.Any ideas?Thanks.