When a polynomial is divided by (x+5), the quotient and the remainder are (x2+1) and 3, respectively. Find the polynomial.
By using a division algorithm, we get,
p(x) = g(x) × q(x) + r(x)
By putting the values of g(x), q(x) and r(x), we get
p(x) = x³ + 5x² + x + 8