Show that
$$ \sum_{r=1}^{n} (-1)^{r-1} \binom{n}{r} \left(1 + \frac{1}{2} + \cdots + \frac{1}{r} \right) = \frac{1}{n} $$
My attempt. I tried by taking the general term
$$ T_r = (-1)^{r-1} \binom{n}{r} \left(1 + \frac{1}{2} + \cdots + \frac{1}{r} \right). $$
It looked somewhat like $\binom{n}{r} \int x^{r-1} \, \mathrm{d}x = \binom{n}{r} \frac{x^r}{r} $, so I took an expansion say
$$ T_1(r) = (-1)^{r-1} \binom{n}{r} \left(1 + x + x^2 + \cdots + x^{r-1} \right). $$
This simplifies to
$$ T_1(r) = (-1)^{r-1}\binom{n}{r} \frac{1-x^r}{1-x}. $$
I am struck after this I tried to rearrange this and done some simplification but I failed.
Please help me.
$(1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} +\cdots+ \frac{1}{r} )$becomes much prettier than(1 + $ \frac{1}{2} $ + $ \frac{1}{3} $ +$ \frac{1}{4} $ ............+$ \frac{1}{r} $): $(1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} +\cdots+ \frac{1}{r} )$. It is also easier to type. Surround entire expressions in dollar signs, not each separate term. – Arthur May 08 '21 at 17:38