I want to show that the power series around $0$ corresponding to the function $f:x\mapsto \log(1-x)$ is $\sum_{n=1}^{\infty}{-\frac{x^n}{n}}$.
I know that the series $\sum_{n\ge 1}{-\frac{x^n}{n}}$ with radius of convergence $R=1$ hence we can define a map $\forall x\in (-1,1)$ by the sum $g(x)=\sum_{n=1}^{\infty}{-\frac{x^n}{n}}$
Now I want to show that $f=g$ are equal. What should I exactly verify to do this?