(a) (1) u-substitution with u=ex and du=exdx:

Notice that dx=u1du. Then:

1ex1dx1u1u1du1u(u1)du

(2) Partial fractions:

1u(u1)=Au+Bu11=A(u1)+B(u)set u=1:1=Bset u=0:1=A(1)A=1

Therefore:

1u(u1)du1udu+1u1duln|u|+ln|u1|+Cx+ln|ex1|+C

(b) (1) Set u=x, so x=u2 and dx=2udu:

xx1dx2u2u21du

(2) Partial fractions:

2u2u212u2(u+1)(u1)=Au+1+Bu12u2=A(u1)+B(u+1)set u=1:2=B(2)B=1set u=1:2=A(2)A=1

Therefore:

2u2u21du1u+1du+1u1duln|u+1|ln|u1|+Cln|u+1u1|+Cln|x+1x1|+C