I'm having a little argument with my friend. He says that "$a + 0i$" is, in every way, absolutely equal to "$a$" (e.g.: $2 + 0i = 2$).
I say this is practically the case, so in every calculation you just assume that "$a + 0i$" is equal to the real number "$a$" and you always get the right results (this might not even be true, but I am no expert and as far as I can see this is the case). But then again, I believe that just cutting away "$+ 0i$" makes this number is not the same kind of number anymore, it's changed its structure and is not totally equivalent anymore. This is where he says I am absolutely wrong.
So, is it mathematically (strictly speaking!) perfectly fine to say that every complex number with an imaginary part of $0$ is just a real number? Or does this change the mathematical structure so much that it cannot be mathematically-valid but just something that happens to work (which is what I believe)?
I must say that I believe a complex number is one entity, whilst he believes that it is just a conglomerate of other entitites. So, as one said here, "$(a + bi) - bi = a$", I believe is barely a good argument. But then again: is it correct to view $a + bi$ as a single entity (like "$5$" or "$2$", just consisting of multiple symbols)? I'm (as a non-mathematician) not sure there either.
In short: yes, it is.
Developing:
We define (as a convention) the set of complex numbers as a superset of the real numbers, because it is convenient to do so. Indeed, all the algebraic operations defined on complex numbers work the same on real numbers and stabilize the set of real numbers.
One might argue that the usual constructions of complex numbers are not superset of the real numbers. The most common of these constructions is to define algebraic operations on $\mathbb{R}^2$, and the most elegant I know is $\mathbb{R}[X]/(X^2 + 1)$.
But the main point of such a construction is just to prove that it is possible to have a set with such algebraic structure. Once it is done, there is no reason not to decide that all real numbers are complex numbers.
The issue is pretty much the same when you construct real numbers from rational numbers (e.g as sets of rational numbers), and rational numbers from integers (e.g as pairs of integers). Aren't we glad these sets are all nested?
Finally, if you do decide anyway that $\mathbb{R}$ is not a subset of $\mathbb{C}$, then $a + 0i$ probably makes no sense because addition will not be defined across sets.