integral calculus logarithmic functions

Pano po naging sagot sa problem na integral of dx all over x(1+x^2) e 1/2 ln x^2 over 1+x^2 +c

Binasa ko uli ang post mo at naintindihan ko na. You ask why
dxx(1+x2)=12ln(x21+x2)+C

am I right? If so, here is the detail:
 

1x(1+x2)=Ax+Bx+C1+x2

1=A(1+x2)+Bx2+Cx
 

When x = 0, A = 1
Equate x2: 0 = A + B, B = -1
Equate x: C = 0
 

Thus,
dxx(1+x2)=(1xx1+x2)dx

dxx(1+x2)=ddx122xdx1+x2

dxx(1+x2)=lnx12ln(1+x2)+C

dxx(1+x2)=12[2lnxln(1+x2)]+C

dxx(1+x2)=12[lnx2ln(1+x2)]+C

dxx(1+x2)=12ln(x21+x2)+C

as we expect it to be.