I wrote the following proof. I used the following code and it resulted in the following output:
\begin{proof}
\[S_n = \frac{a(1-r^n)}{1-r}\]
\begin{align*}
\lim _{n\to \infty} S_n &= \lim _{n\to \infty} \frac{a(1-r^n)}{1-r}\\
&= \lim _{n\to \infty} \frac {a}{1-r} - \lim _{n\to \infty} \frac{ar^n}{1-r}\\
&= \lim _{n\to \infty} \frac {a}{1-r} &&\tag{since $|r| < 1$}\\
&= \frac {a}{1-r} && \qedhere
\end{align*}
\end{proof}
The problem is that the bottom bit which was made using the align* environment is not aligned nicely with the first line so it doesn't look that nice. Could anyone please suggest a way to make it look nicer?
Thanks for your help