Equal degrees If deg P=\,P=P=deg Q\,QQ, first write: P(x)Q(x)=constant+proper fractionQ(x)\frac{P(x)}{Q(x)}=\text{constant}+\frac{\text{proper fraction}}{Q(x)}Q(x)P(x)=constant+Q(x)proper fraction Then decompose the proper fraction part.