I need to find the autocorrelation of the following discrete signal $$x[n]=a^nu[n] $$ So I tried finding the convolution of $x[n]$ and $x[-n]$. \begin{align} \phi_{xx}[n]&=\sum_{m=-\infty}^\infty x[m]x[m-n]\\ &=\sum_{m=-\infty}^\infty a^m u[m]a^{m-n}u[m-n]\\ &=\sum_{m=n}^\infty a^m a^{m-n}\\ &=a^{-n}\sum_{m=n}^\infty a^{2m}\\ &=a^{-n}\sum_{l=0}^\infty a^{2(l+n)}\quad\tag{with $m-n=l$}\\ &=a^{-n}a^{2n}\sum_{l=0}^\infty a^{2l}\\ &=a^{n}\sum_{l=0}^\infty \left(a^2\right)^l\\ &=a^n\frac{1}{1-a^2} \end{align}
However the result should be an even function of $n$ and instead of $$\frac{a^n}{1-a^2}$$ I should have found $$\frac{a^{\lvert n\rvert}}{1-a^2}$$