Observe that, the degree of the poly. in Nr. is more
than that of the Dr., making the given rational fun.
improper.
To make it proper, the long division is usually performed.
But, here we have a short-cut method to proceed :
#x^5-2x^4+x^3+x+5#,
#=x^5-2x^4+x^3-2x^2+(2x^2+x+5)#,
#=x^2(x^3-2x^2+x-2)+(2x^2+x+5)#.
#:.(x^5-2x^4+x^3+x+5)/(x^3-2x^2+x-2)#,
#={x^2(x^3-2x^2+x-2)+(2x^2+x+5)}/(x^3-2x^2+x-2)#,
#={x^2(x^3-2x^2+x-2)}/(x^3-2x^2+x-2)+(2x^2+x+5)/(x^3-2x^2+x-2)#,
#=x^2+(2x^2+x+5)/(x^3-2x^2+x-2)#,
#=x^2+(2x^2+x+5)/{x^2(x-2)+1(x-2)}#,
#=x^2+(2x^2+x+5)/{(x-2)(x^2+1)}#.
Thus, it remains to decompose #(2x^2+x+5)/{(x-2)(x^2+1)}#
into partial fraction. This has been carried out as under :
We suppose, for some #A,B,C in RR#,
#(2x^2+x+5)/{color(red)((x-2))(x^2+1)}=color(red)(A/(x-2))+(Bx+C)/(x^2+1)............(star)#.
To determine the consts. #A,B,C#, we use Heaviside's Method :
#color(red)(A)=[(2x^2+x+5)/(x^2+1)]_color(red)((x=2))=(2*2^2+2+5)/(2^2+1)=3#.
Sub.ing #A=3# in #(star)#, we get,
#(Bx+C)/(x^2+1)=(2x^2+x+5)/{(x-2)(x^2+1)}-3/(x-2)#,
#={(2x^2+x+5)-3(x^2+1)}/{(x-2)(x^2+1)}#,
#=(-x^2+x+2)/{(x-2)(x^2+1)}#,
#={(-x-1)cancel((x-2))}/{cancel((x-2))(x^2+1)}#.
# rArr (Bx+C)/(x^2+1)=(-x-1)/(x^2+1)#.
#:. B=-1, C=-1#.
Altogether, we have,
#:.(x^5-2x^4+x^3+x+5)/(x^3-2x^2+x-2)#,
#=x^2+3/(x-2)+(-x-1)/(x^2+1), or, #
#=x^2+3/(x-2)-(x+1)/(x^2+1)#.