I'm studying partial fraction decomposition of rational expression. In this video the guy decompose this rational expression:
$$ \frac{3x-8}{x^2-4x-5}$$
this becomes:
$$\frac{3x-8}{(x-5)(x+1)} = \frac{A}{x-5} + \frac{B}{x+1} $$
$$[(x-5)(x+1)]\times \frac{3x-8}{(x-5)(x+1)} = \frac{A}{x-5} + \frac{B}{x+1}\times[(x-5)(x+1)]$$
$$3x-8 = A(x+1) + B(x-5)$$
then he substitutes $x$ with $-1$ this is when I feel something is wrong.
because $x=-1$ is not in the domain of the original function and all the statement below the original function hold true only if they comply within the domain of the original function isn't it? so at the time this guy substitute $x=-1$ the statement become false?
I'm newbie in math, please explain to me with easy understanding and step by step.