Q:

Determining $y' = 1 - y^2$ generally excludes $y = \pm 1$

So I tried solving the differential equation $y' = 1 - y^2$. From the equation itself, it's clear that $y = \pm 1$ is a solution, since that yields $0$ on the RHS, which makes the derivative $0$ and the function constantly equal to $\pm 1$. I then tried solving it by seperating variables, and did so in this way:
$$y' = 1 - y^2$$
$$\int{\frac{dy}{1-y^2}} = \int{dx}$$
$$\int{\left(\frac{1}{2(1+y)} +\frac{1}{2(1-y)}\right)dy} = \int{dx}$$
$$\frac{|1+y|}{|1-y|} = e^{2x}e^{c_1} = c_2e^{2x}$$
Depending on the value of $y$, you can define $c_3 = \pm c_2$ (in such a way that if $\frac{1+y}{1-y}$ is negative, $c_3 = -c_2$, and for the opposite case, $c_3 = c_2$). Here we assume that the fraction doesn't change sign, which it later can be proved not to. Therefore, we rewrite the equality as:
$$\frac{1+y}{1-y} = c_3e^{2x}$$
Simplifying this gives:
$$y = \frac{c_3e^{2x} - 1}{c_3e^{2x} + 1}$$
Since $y \in [-1, 1]$, $c_3 = c_2$. So from my understanding, seperating variables should give the general solution to the differential equation. As can be seen, letting $c_3 = 0$ gives the solution $y = -1$, but what about $y = 1$? I also realized that since $c_3 = e^{c_1}$, we're limited to even more things - we cannot choose $c_1$ such that $c_3$ is $0$, and neither such that $y$ becomes $1$. It is, however, clear that:
$$\lim_{c_1 \to - \infty}y = -1$$
$$\lim_{c_1 \to \infty}y = 1$$
Although since these are limits and not real values, I'm guessing that they cannot be choosen. So from this, my questions are:

Does seperation of variables really give a general solution to differential equations, or are there exceptions?
If the answer to question 1 is no: How can we be sure that a solution is general? 
If the answer to question 1 is yes: How is $\pm 1$ obtained from the given solution?

Answer would be gladly appreciated!

A:

Your very first step was to divide by $1-y^2$. This is only valid if $1-y^2\neq0$. This is why you can not get those other solutions without taking limits.
As for how to get those solutions you should consider both cases: $1-y^2\neq0$ and $1-y^2=0$. The first gives your solution. The second gives $y=\pm1$.

