Check the convergence of $S_n=a(a+b)+a^2(a^2+b^2)+\dots+a^n(a^n+b^n)$ where $|a|,|b|<1$
I am new to convergence. I tried to find $\lim_{n\to \infty} S_n$. If it is a finite number then the series converges otherwise it diverges. Am I correct? Also how do I find the limit. I tried to simplify and removed the parentheses. The I used the formula for a Geometric Series to help me evaluate the limit. But I cannot understand how to evaluate the limit after this.
Let $A=a^2$ and $B=ab$.
$$S_n=a(a+b)+a^2(a^2+b^2)+\dots+a^n(a^n+b^n)$$
can be written :
$$S_n=A+A^2+...+A^n+B+B^2+...+B^n$$
i.e.,
$$S_n=A\dfrac{1-A^n}{1-A}+B\dfrac{1-B^n}{1-B}$$
As $|A|<1$ and $|B|<1$, when $n \to \infty$, $S_n$ converges to :
$$S=A\dfrac{1}{1-A}+B\dfrac{1}{1-B}=a^2\dfrac{1}{1-a^2}+ab\dfrac{1}{1-ab}$$