Suppose we toss a fair coin. Let $N$ denote the number of tosses until we get heads. What is $Var(N)$?
My approach to this question is to find compute $[^2]- E[N]^2$. I got $E[N] = 2$ since $N$ follows a geometric distribution but I am having trouble with finding $[^2]$. If we do the series expansion on the expected value of $N^2$ we will get $1\times0.5 + 4\times0.5^2 + 9\times0.5^3 + ... ,$ but I have no idea how to solve this series. Any tips would be appreciated.
EDIT: I attempted to subtract $E[N^2]$ from $2E[N^2]$ but got another infinite sum I am not sure how to solve
$2E[N^2] = 1 + 4\times0.5 + 9\times0.5^2 +...$
$2E[N^2] - E[N^2] = 1 + 3(0.5) + 5(0.5^2) + 7(0.5^3)...$
Did I subtract the wrong terms?