Question
If $a$,$ x $are real numbers and $|a| < 1$, $|x| < 1$, then prove that $ 1 + (1+a)x + (1+a+a^{2})x^{2}$ + ....$\infty$ is equal to $\frac{1}{(1-x)(1-ax)}$
Hint:
$\frac{1}{1-x}+\frac{ax}{1-x}+\frac{a^2 x^2}{1-x}+...=\frac{1}{1-x}.(1+ax+a^2 x^2+...)=\frac{1}{1-x}.\frac{1}{1-ax}$
I can't understand how i would get the step given in the hint from the question since $\frac{1}{1-x}$ is not given in the question but is given in the hint.Except this step i can solve the problem on my own.Any help would be appreciated.
$$S_n = \frac{1-a}{1-a}+ \frac{1-a^2}{1-a}x + \cdots + \frac{1-a^{n+1}}{1-a}x^n \rightarrow$$ $$(1-a)S_n = \sum_{k=0}^nx^k - a\sum_{k=0}^n(ax)^k \rightarrow$$ $$S_n \stackrel{n\rightarrow \infty}{\rightarrow}S = \frac{1}{1-a}(\frac{1}{1-x} - \frac{a}{1-ax})= \frac{1}{(1-x)(1-ax)}$$