By actual division, find the quotient and the remainder when the first polynomial is divided by the second polynomial : x4+1;x−1
When x4+x3−2x2+x+1 is divided by x-1, the remainder is 2 and the quotient is q(x). Find q(x).