将等式右侧的式子通分、合并同类项,得到:
[(A-B)x+(A+2B)]/(x^2-x-2)
与左边系数相等,得:
A-B = 3
A+2B = 4
解得:
A = 10/3
B = 1/3
则4A-B = 13