Let $n \in \mathbb{N}$ for all $k \in \{1,2...,n\}$ and $P_k=x^k(1-x)^{n-k}.$ Prove $\{P_0,...,P_n\}$ is basis for $\mathbb{R}$$_{n}[x]$
I need prove two items.
i) $\{P_0,...,P_n\}$ are linearly independent.
ii) $\{P_0,...,P_n\}$ Generate the space.
For i)
Let $a_0,a_1, a_2,...,a_n\in \mathbb{R}$
If $a_0P_0+...a_nP_n=0$ Then we need to show $a_0=a_1...=a_n=0$
I think in this:
Suppose $a_0\neq 0$ Then, $P_0=\frac{a_1}{a_0}P_1-...-\frac{a_n}{a_0}P_n=x^0(1-x)^{n-0}=\frac{a_1}{a_0}x^1(1-x)^{n-1}-...-\frac{a_n}{a_0}x^n(1-x)^{n-n}=\frac{a_1}{a_0}x(1-x)^{n-1}-...-\frac{a_n}{a_0}x^n$
In other words: $(1-x)^{n}=\frac{a_1}{a_0}x(1-x)^{n-1}-...-\frac{a_n}{a_0}x^n$
I don't see the contradiction here. Can someone help me with this exercise?