I suppose I should disguise this rant as a question.
Q: Are there any calculus books that give the definition of limits in a logically correct manner? (See below for the problem I'm complaining about with the typical presentation.)
Teaching baby complex. The book defines "$\lim_{z\to a}f(z)=w$" as usual, and then of course the first result is that limits are unique if they exist:
Thm. If $\lim_{z\to a}f(z)=w_1$ and $\lim_{z\to a}f(z)=w_2$ then $w_1=w_2$.
This appears literally trivial:
"Proof." $w_1=\lim_{z\to a}f(z)=w_2$, qed.
There are a few sharp students in the class, actually interested in math, so I feel I should point out why that's bogus; the theorem as stated looks like it has zero content.
The point is we have no business using the notation $\lim_{z\to a}f(z)$ until after we've proved uniqueness, because the notation, especially if read "the limit..." presupposes uniqueness.
To do it right we should instead define "$f(z)\to w$ as $z\to a$", prove uniqueness, and then introduce the notation $\lim$. Making it clear why uniqueness is actually something that requires proof...
When I teach limits in advanced calculus, the first step is teaching the definition of convergence of a sequence:
After a few simple examples, I immediately prove:
and then I define
where the previous theorem is used to justify uniqueness, and therefore well-definedness.
I see that my textbook does indeed follow this same line of development: Advanced Calculus, by Patrick M. Fitzpatrick.