There are numbers A and B for which
\[\frac A{x-1}+\frac B{x+1}=\frac{x+2}{x^2-1}\]
for every number $x\neq\pm1$. Find $A-B$
By the method of partial fractions, A = 2 and B = 1, so A - B = 1.