I tried solving a pretty standard partial fraction equation. $$ \frac{5-x}{2x^2+x-1} $$
Which becomes:
$$ \frac{A}{x-0.5} + \frac{B}{x+1} $$
Solving the partial fraction: $$ 5-x = A(x+1)+B(x-0.5) $$ $$ 5-x = Ax+A+Bx-0.5B $$ $$ 5 = A -0.5B $$ $$ -x = Ax +Bx $$ Solved simultaneous: $$ B = -4, A = 3 $$
However, the textbook proposed to first multiply the denominator with the half. $$ \frac{A}{2x-1} + \frac{B}{x+1} $$ Which gives: $$ 5-x = Ax+A+2Bx-B $$ And the final answer of: $$ B = -2, A =3 $$
Are these two solutions the same?