Perform the following subtraction: (x^2-7x)/(x^2-x-12) - (x-16)/(x^2-x-12)

Check the final answer first, then review the worked steps.

Answer

\(\frac{x+4}{x+3}\)

Work

$$\frac{x^2-7x-(x-16)}{x^2-x-12} = \frac{x^2-8x+16}{(x-4)(x+3)} = \frac{(x-4)^2}{(x-4)(x+3)} = \frac{x-4}{x+3}$$

Step-by-step solution

Subtract the numerators over the common denominator, factor the resulting numerator, and simplify by canceling the common factor $(x-4)$.