First, let's rewrite the division as multiplication by the reciprocal:
$$
\frac{2 p^{2}+2 p q-p q^{2}-q^{3}}{p^{3}+p^{2}+p q^{2}+q^{2}} \cdot \frac{p^{3}+p+p^{2}+1}{p^{3}+p+p^{2} q+q}
$$
Now, let's factor out common terms in the numerator and
Show more…