I feel like something is wrong here in my logic but why do these two equations not equal each other?
Equation 1: $\sum_{i=0}^{\infty}(0)$
Steps to equation 2:
$0 = x - x$ where $x \in \mathbb{R}$
therefore,
$\sum_{i=0}^{\infty}(x - x)$
which could be represented as:
$x - x + x - x + x - x ...$
Moving the first $x$ into it's own component would yield into:
$x + \sum_{i=1}^{\infty} (-x + x)$
As $-x + x = 0$, the second term would drop which would imply $0=x$ which I'm pretty sure is wrong but not sure why. I think something is wrong in the way I'm converting $x - x + x - x + x - x ...$ into $x + \sum_{i=1}^{\infty} (-x + x)$.
EDIT:
I also realized that using the same logic as above, the resultant equation could also be expressed as:
$x - x + \sum_{i}^{\infty} (x - x + x)$
or
$x + \sum_{i}^{\infty} (- x + x - x)$
which would mean the expression I have here would oscillate between various results. I think there's definitely something wrong then in the translation of $x - x + x - x + x - x ...$ to the other equations but not sure why?
You've rediscovered the Eilenberg-Mazur swindle. This is a famous example showing that you can't arbitrarily manipulate the terms of a sum.
Think about it like this: in the sequence $\displaystyle\sum_{i=0}^\infty (-1)^ix$, at step $0$ you add $x$. Then at step $1$, you subtract $x$. This gives you a sequence of partial sums that goes $(x,0,x,0,...)$ which clearly does not converge, since it oscillates back and forth between two values forever. Whereas in your initial sum, you are "doing the addition and subtraction of $x$ in the same step." This results in a sequence of partial sums of the form $(0,0,0,...)$ which indeed converges to $0$.
Infinite sums are confusing because they're secretly just sequences of the partial sums. And by doing the manipulation you did, you did something illegal because you manipulated the sequence in a way that is not allowed.