There are numbers A and B for which
Ax−1+Bx+1=x+2x2−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.