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<br />
tan^{-1}(x) ? 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:
\frac{1}{4}\int\frac{1}{x^2 + 2x + 2}\,dx = \frac{1}{4}\int\frac{1}{(x+1)^2+1}\,dx
u = x + 1
du = dx
\frac{1}{4}\int\frac{1}{(u)^2+1}\,du=\frac{1}{4}arctan(x +1)
And for the other one:
\frac{1}{4}\int\frac{1}{x^2 - 2x + 2}\,dx = \frac{1}{4}\int\frac{1}{(x-1)^2+1}\,dx
u = x - 1
du = dx
\frac{1}{4}\int\frac{1}{(u)^2+1}\,du=\frac{1}{4}arctan(x -1)
Using the suggestion put forth by vela, modified slightly:
\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
I've already evaluated the right integral previously, it will be
-\frac{1}{8}arctan(x +1)
So for the left one:
\frac{1}{16}\int\frac{2x+2}{x^2 + 2x + 2}\,dx
u=x^2+2x+2
du=(2x+2)dx
\frac{1}{16}\int\frac{1}{u}\,dx
\frac{1}{16}ln(x^2+2x+2)
Last two:
-\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\\
I know that they're going to be
-\frac{1}{8}arctan(x -1)
and
-\frac{1}{16}ln(x^2-2x+2)
So
FINALLY, the four arctans will combine leaving:
\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
Man triumphs over machine.