Assume $n$ and $r$ are nonnegative integers where $$0\le r\le n$$How can one simplify $$S=\binom{n}{0}-\binom{n}{1}+\binom{n}{2}-...+(-1)^r\binom{n}{r}$$ ?
I think that this combinatorial expression should be either solved using a combinatorial way but I don't know how. Probably It's also useful one tries to represent somehow using binomial representation of $(a+b)^n$. I appreciate any idea given!
Coefficient of $x^r$ in
$$(1-x)^n (1 + x + x^2 + ...) = (1-x)^{n-1}$$
So for $r \lt n$ it is $$(-1)^r\binom{n-1}{r}$$