I would like to rewrite the term
$${1 \over {1 + 2x}} - {{1 - x} \over {1+x}}$$
in order to avoid a loss of significance for $x \approx 0$, meaning I would like to minimize the numerical error made when computing the fraction.
I think it might be wise to expand the left and the right term in order to write them as a single term. I receive:
$$2x^2 \over {1 + 3x + 2x^2}.$$
This doesn't look very good either, because $2x^2$ pushes $x \approx 0$ even further to $0$. I tried a polynomial division and received:
$$1 - {{3x + 1} \over {2x^2 + 3x + 1}}.$$
Now, there is at least the left term that is independent from $x$, but the right term might still cause problems. Is this already enough to avoid a loss of significance or do I need to try another step here?