Came across this assignment question to express the term below in partial fraction
$$Y(S)=\frac{3e^{-4s}+1}{(s-3)(s+5)}$$
The proposed solution is to express it in partial fraction
$$Y(S)=\frac{3e^{-4s}+1}{(s-3)(s+5)}=\frac{A}{s-3}+\frac{B}{s-5}$$
by equating $s=3$ and $s=5$, obtained the constant for A and B as
$$A=\frac{3e^{-12}+1}{8}$$ and $$B=-\frac{3e^{20}+1}{8}$$
I don't understand as i don't seem to match the RHS equation as the same as original LHS equation after substitute back the value of A and B. Is this answer correct?
if it is not then it should be done as comparing the coefficient right?
by letting $$A(s+5)+B(s-3)=3e^{-4s}+1+0s$$
so getting A+B=0 and $$5A-3B=3e^{-4s}+1$$
getting A and B as $$A=\frac{3e^{-4s}+1}{8}$$ and $$B=-\frac{3e^{-4s}+1}{8}$$ and the RHS equation will be same as the LHS equation.
The proposed solution is not correct since $A$ and $B$ will not be constants and the denominator of the second fraction should be $s+5$.
Your solution is correct, indeed we have
$$\frac{3e^{-4s}+1}{(s-3)(s+5)}=\left(3e^{-4s}+1\right)\left(\frac{1}{(s-3)(s+5)}\right)$$ $$=\left(3e^{-4s}+1\right)\left(\frac{1}{8(s-3)}-\frac{1}{8(s+5)}\right)$$