Given that $$ f(x) = \frac{x}{1+x^2} $$
I have to find $$\frac{f(x) - f(a)}{x-a}$$
So some progressing shows that:
$$ \frac{\left(\frac{x}{1+x^2}\right) - \left(\frac{a}{1+a^2}\right)}{x-a} = \frac{(x)(1+a^2)-(a)(1+x^2)}{(1+x^2)(1+a^2)}\cdot\frac{1}{x-a} = \frac{x+xa^2-a-ax^2}{(1+x^2)(1+a^2)(x-a)} $$
Now, is it possible to factor $x+xa^2-a-ax^2$? I can't seem to find a way, as for simplifying the whole thing. Is there any rule I can use, and I'm unable to see?
Since $x-a$ is in the denominator, it makes sense to consider the possibility that $x-a$ is a factor of the numerator. (If you know the factor theorem, you can see this is the case, since the numerator equals zero when $x = a.)$ I see $x-a$ in the numerator, along with two other terms. Very little cleverness is needed at this point to write
$$x-a + xa^2 - ax^2 \; = \; x - a + ax(a-x)$$ $$ = \; (x-a) - ax(x-a) \; = \; (x-a)(1-ax)$$