Find constants A and B such that \(\frac{x + 7}{x^2 - x - 2} = \frac{A}{x - 2} + \frac{B}{x + 1}\) for all x such that x =/= -1 and x =/= 2. Give your answer as the ordered pair (A,B).

Letting x go to 2, we find that A + 2B = 4. Letting x go to -1, we find 2A - B = 3. Therefore, A = 2 and B = -1.

its wrong :/