Ok so I evaluated the indefinite integral and got the right answer but when I plugged in the bounds, I got the wrong answer.
Calculate the definite integral:
. . . . .\displaystyle \int_1^3\, f(x)\, dx\, =\, F(x)\, =\, \int_1^3\, \dfrac{x\, +\, 1}{x\, (x^2\, +\, 1)}\, dx
Computed by Maxima...