You should check your calculations of A and C. I got A=1/8 and C=-1/8 in Mathematica.
You're right. There's an extra D in the matrix; I'm going to edit that post to fix it.
Just out of curiousity, did you run into this integral while trying to integrate[tex]
tan^{-1}(x)[/tex] ? I remember running into some messy algebra for that guy and your question looks similar.
No, I ran into it by itself
Using the suggestion put forth by Apphysicist:
[tex]\frac{1}{4}\int\frac{1}{x^2 + 2x + 2}\,dx = \frac{1}{4}\int\frac{1}{(x+1)^2+1}\,dx[/tex]
[tex]u = x + 1[/tex]
[tex]du = dx[/tex]
[tex]\frac{1}{4}\int\frac{1}{(u)^2+1}\,du=\frac{1}{4}arctan(x +1)[/tex]
And for the other one:
[tex]\frac{1}{4}\int\frac{1}{x^2 - 2x + 2}\,dx = \frac{1}{4}\int\frac{1}{(x-1)^2+1}\,dx[/tex]
[tex]u = x - 1[/tex]
[tex]du = dx[/tex]
[tex]\frac{1}{4}\int\frac{1}{(u)^2+1}\,du=\frac{1}{4}arctan(x -1)[/tex]
Using the suggestion put forth by vela, modified slightly:
[tex]\frac{1}{8}\int\frac{x}{x^2 + 2x + 2}\,dx =\frac{1}{16}\int\frac{2x+2}{x^2 + 2x + 2}\,dx - \frac{1}{8}\int\frac{1}{x^2 + 2x + 2}\,dx[/tex]
I've already evaluated the right integral previously, it will be
[tex]-\frac{1}{8}arctan(x +1)[/tex]
So for the left one:
[tex]\frac{1}{16}\int\frac{2x+2}{x^2 + 2x + 2}\,dx[/tex]
[tex]u=x^2+2x+2[/tex]
[tex]du=(2x+2)dx[/tex]
[tex]\frac{1}{16}\int\frac{1}{u}\,dx[/tex]
[tex]\frac{1}{16}ln(x^2+2x+2)[/tex]
Last two:
[tex]-\frac{1}{8}\int\frac{x}{x^2 - 2x + 2}\,dx =-\frac{1}{16}\int\frac{2x-2}{x^2 - 2x + 2}\,dx -\frac{1}{8}\int\frac{1}{x^2 - 2x + 2}\,dx\\[/tex]
I know that they're going to be
[tex]-\frac{1}{8}arctan(x -1)[/tex]
and
[tex]-\frac{1}{16}ln(x^2-2x+2)[/tex]
So
FINALLY, the four arctans will combine leaving:
[tex]\int\frac{1}{x^4+4}\,dx = \frac{1}{8}arctan(x +1) +\frac{1}{8}arctan(x-1)+\frac{1}{16}ln(x^2+2x+2)-\frac{1}{16}ln(x^2-2x+2)+C[/tex]
Man triumphs over machine.