I am reading the book "Methods of Mathematics" by Richard Hamming. In one section he talks about certain fallacies in algebra to avoid. He gives a very clear example of accidentally dividing by zero, but then follows it with another example which he claims performs such a violation more subtly.
$$\frac{1}{x(x-a)}-\frac{1}{x}= \frac{a}{(x-a)}$$
Okay, I see we cannot have x equal to zero, nor can we have x equal to a. No problem here. He then presents the formula "cleared of fractions".
$$1 - (x-a) = ax $$ $$1-x+a=ax$$ $$1+a=x+ax$$ $$1+a=x(1+a)$$
No problem, I see what he did. He then continues the math to solve for x, yielding
$$ x = 1 $$
And this is where the thinking begins. So it seems that he is saying that the equation is not dependent on the value of $a$. But he says this cannot be true because the original formula is not defined for $x=1$ when $a=1$ because from the original formula we reasoned that $x$ cannot be equal to $a$. So my questions are below:
1.) Is he claiming that he's used a fallacy to solve the equation; one that results in an incorrect statement? I don't see one.
2.) Or is it that our system of symbolic manipulation is such that given the "fractionless" form initially, we wouldn't have seen the limitation that $x$ cannot equal $a$?
3.) Can the given conditions on $x$ and $a$ be readily seen in the fractionless form?
4.) If not, how do we avoid such errors? By trying multiple forms until such constraints are apparent?
5.) Why is $x$ not able to be equal to $a$? It seems that of course we cannot divide by zero, but using a different form, e.g. the fractionless form, avoids this issue. So how can changing the form of an equation make certain solutions suddenly valid? I think it probably doesn't since they are equivalent. I must be missing something here.
He also notes that when $a=-1$, all solutions for $x$ are valid except $0$ and $-1$. So it really seems like he's saying that our solution, independent of $a$, is not correct. Where did it all fall apart?