1

I have to prove that $\sum_{k=1}^{n} (-1)^{k+1}\binom{n}{k}=1.$ I tried to prove that by induction, with the base case trivial.

By the binomial coefficient property we have that $\binom{n}{k}=\binom{n-1}{k}+\binom{n-1}{k}$.

So if we add the summatory and separate the n term in the summatory we have that:

$\sum_{k=1}^{n} (-1)^{k+1}\binom{n}{k}=(-1)^{n+1}\binom{n}{n}+\sum_{k=1}^{n}(-1)^{k+1}\binom{n-1}{k-1}+\sum_{k=1}^{n}(-1)^{k+1}\binom{n-1}{k-1}=(-1)^{n+1}+1+0\neq1$.

(Where the last equality comes from induction hypotesis and by the property $\sum_{k=0}^{n}(-1)^{k}\binom{n}{k}=0$)

Where am i wrong?

Jean Marie
  • 81,803

2 Answers2

2

Hint: If you know that if $n$ is nonnegative integer, then $$(x+y)^{n}=\sum_{k}\binom{n}k x^{k}y^{n-k}$$Now, if $x=-1$ and $y=1$, we find that the alternating sum across any row of Pascal's triangle is zero, except of course for the top row: $$\boxed{\sum_{k}(-1)^{k} \binom{n}k =\left\{ \begin{align*} 0, \quad n\geq 1\\ 1, \quad n=0 \end{align*} \right. }.$$

This is obvious from the symmetry relation when $n$ is odd, but less clear when $n$ is even.

Hint (induction): We prove this identity by induction on $n$. For $n=0$, it's clear.

0

By definition

$$0=(1-1)^n=\sum_{k=0}^{n} (1)^{n-k}(-1)^{k}\binom{n}{k}=\sum_{k=0}^{n}(-1)^{k}\binom{n}{k}=1+\sum_{k=1}^{n}(-1)^{k}\binom{n}{k}$$

therefore

$$\sum_{k=1}^{n}(-1)^{k}\binom{n}{k}=-1 \implies \sum_{k=1}^{n}(-1)^{k+1}\binom{n}{k}=1$$

user
  • 154,566
  • How does this differ from the solutions given in https://math.stackexchange.com/q/94514/42969? It is unclear to me why you reopened the question. – Martin R May 12 '23 at 08:56
  • @MartinR It is three years ago question but it seems that the reason is that here the OP is seeking for a specific issue. OP is aware of the result $\sum_{k=0}^{n}(-1)^{k}\binom{n}{k}=0$ and is asking why $\sum_{k=1}^{n}(-1)^{k+1}\binom{n}{k}=1$. – user May 12 '23 at 09:28