The expression is a quotient of two polynomials, x2+1 and x+1, and we therefore use the quotient rule for differentiation,
Note: It is possible to rewrite the numerator by completing the square,
and then the answer can be written as