a)\(\frac{x^2+5x+4}{x^2-1}=\frac{A}{x^2-2x+1}\)
\(\Leftrightarrow\frac{\left(x+1\right)\left(x+4\right)}{\left(x+1\right)\left(x-1\right)}=\frac{A}{\left(x-1\right)^2}\)
\(\Leftrightarrow\frac{x+4}{x-1}=\frac{A}{\left(x-1\right)^2}\). Nhân 2 vế ở tử với x-1 ta có:
\(x+4=\frac{A}{x-1}\Leftrightarrow A=\left(x-1\right)\left(x+4\right)=x^2+3x-4\)
b)\(\frac{x^2-3x}{2x^2-7x+3}=\frac{x^2+4x}{A}\)
\(\Leftrightarrow\frac{x\left(x-3\right)}{\left(2x-1\right)\left(x-3\right)}=\frac{x\left(x+4\right)}{A}\)
\(\Leftrightarrow\frac{x}{2x-1}=\frac{x\left(x+4\right)}{A}\).Nhân 2 vế ở mẫu với x ta có:
\(2x-1=\frac{x+4}{A}\)\(\Leftrightarrow\left(2x-1\right)\left(x+4\right)=A\Leftrightarrow A=2x^2+7x-4\)