Note: Although adding zero has usually no effect, there is sometimes a situation where it is the essence of a calculation which drives the development into a surprisingly fruitful direction. Here is one example of what I mean.
The Goulden-Jackson Cluster Method counts words built from a finite alphabet which are not allowed to contain so-called bad words. This method nicely presented (and something to chuckling about) by J. Noonan and D. Zeilberger is very efficient and the reason for it's efficiency is due to a clever addition of zeros.
Let's denote the alphabet $V$, the language $\mathcal{L}$ and let $B$ be the set of bad words. Since we want to work with generating functions, we introduce weights on words $$weight(w):=s^{length(w)}$$
The generating function $f(s)$ is the weight enumerator of the set of valid words $\mathcal{L}(B)$ that avoids the members of $B$ as factors (i.e. substrings). We obtain \begin{align*} f(s)=\sum_{w\in\mathcal{L}(B)}weight(w) \end{align*}
It turns out according to the first section in the referred paper that counting these words is a cumbersome job. In fact we can do it much better and the trick is to add $0$ to both sides and
rewrite this expression as \begin{align*} f(s)=\sum_{w\in V^*}weight(w)0^{[\text{number of factors of }w\text{ that belong to }B]} \end{align*} and then use the following deep facts (wording from the paper :-) ) \begin{align*} 0&=1+(-1)\\ 0^r&= \begin{cases} 1,&\text{if }r=0\\ 0,&\text{if }r>0 \end{cases} \end{align*} and for any finite set $A$, \begin{align*} \prod_{a\in A}0=\prod_{a\in A}(1+(-1))=\sum_{S\subset A}(-1)^{|S|} \end{align*} where $|S|$ denotes the cardinality of $S$.
We now have \begin{align*} f(s)&=\sum_{w\in V^*}weight(w)0^{[\text{number of factors of }w\text{ that belong to }B]}\\ &=\sum_{w\in V^*}weight(w)(1+(-1))^{[\text{number of factors of }w\text{ that belong to }B]}\\ &=\sum_{w\in V^*}\sum_{S\subset\text{Bad}(w)}(-1)^{|S|}s^{\text{length}(w)} \end{align*} where Bad$(w)$ is the set of factors of $w$ that belong to $B$.
This clever usage of the Inclusion-exclusion principle is a much more superior approach to calculate the valid words not containing any bad factors and the essence was to add zero in order to introduce the IEP.
So, my question is: Do you know from other situations where cleverly adding $0$ or multiplying with $1$ opens up a door to solve a problem.