Solve for a and b in (x^2 + ax - 4)/(x + 2) + (x + b)/(x + 2) = x + 1
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
$$\frac{x^2 + ax - 4 + x + b}{x + 2} = x + 1$$
$$x^2 + (a+1)x + (b-4) = (x+1)(x+2)$$
$$x^2 + (a+1)x + (b-4) = x^2 + 3x + 2$$
$$a+1=3 \implies a=2$$
$$b-4=2 \implies b=6$$