We have:
[tex]\sum_{d|n} \frac{n}{d}\tau(d) = \sum_{d | n} d \tau(n/d)[/tex]
There is a bijective correspondence between divisors of n/d and multiples of d that divide n. Thus [itex]\tau(n/d)[/itex] equals the number of integers k such that d | k and k | n. Now [itex]\sigma(d)[/itex] equals the sum of all divisors of d so on the left-hand side we have [itex]\tau(n/d)[/itex] terms of d which shows the equality. To establish this through a somewhat more formal argument define:
[tex]S = \{(d,k) \,:\, d |k, k | n\}[/tex]
For a finite subset T of [itex]\mathbb{Z}^2[/itex] define:
[tex]w(T) = \sum_{(d,k) \in T} d[/tex]
This has the nice property that if [itex]A,B \subseteq \mathbb{Z}^2[/itex], then,
[tex]w(A \cup B) = w(A) + w(B) - w(A \cap B)[/tex]
We wish to show that both our sides of the equality equal w(S). To do this we decompose S in two ways. First define
[tex]S_d = \{(d,k) \,:\, d|k, k |n\}[/tex]
Then [itex]|S_d|=\tau(n/d)[/itex] so [itex]w(S_d) = d\tau(n/d)[/itex]. We can then show:
[tex]w(S) = \sum_{d|n} w(S_d) = \sum_{d|n} d\tau(n/d)[/tex]
This deal with the right-hand side. On the other hand let
[tex]T_k = \{(d,k) \,:\, d|k, k |n\}[/tex]
Then [itex]w(T_k) = \sum_{d|k} d = \sigma(k)[/itex], which shows:
[tex]w(S) = \sum_{d|n} w(T_d) = \sum_{d|n} \sigma(d)[/tex]