Question #e8044

1 Answer

(11+cotx)dx=
12ln(tan2(x2)+1tan2(x2)2tan(x2)1)+x2+K

Explanation:

From the given (11+cotx)dx

If an integrand is a rational function of the trigonometric functions, the substitution z=tan(x2), or its equivalent

sinx=2z1+z2 and cosx=1z21+z2 and

dx=2dz1+z2

The solution:

(11+cotx)dx

(11+cosxsinx)dx

(sinxsinx+cosx)dx

2z1+z2(2z1+z2+1z21+z2)(2dz1+z2)

Simplify

2z1+z2(2z1+z2+1z21+z2)(2dz1+z2)

4z(z2+2z+1)(z2+1)dz

4z(z2+1)(z22z1)dz

At this point, use Partial Fractions then integrate

4z(z2+1)(z22z1)dz=(Az+Bz2+1+Cz+Dz22z1)dz

We do the Partial Fractions first
4z(z2+1)(z22z1)=Az+Bz2+1+Cz+Dz22z1

4z(z2+1)(z22z1)=(Az+B)(z22z1)+(Cz+D)(z2+1)(z2+1)(z22z1)

Expand the right side of the equation

4z(z2+1)(z22z1)=
Az32Az2Az+Bz22BzB+Cz3+Dz2+Cz+D(z2+1)(z22z1)

Set up the equations

0z3+0z24z+0z0(z2+1)(z22z1)=

(A+C)z3+(2A+B+D)z2+(A2B+C)z+(B+D)z0(z2+1)(z22z1)

The equations are

A+C=0
2A+B+D=0
A2B+C=4
B+D=0
Simultaneous solution results to

A=1 and B=1 and C=1 and D=1

We can now do the integration

4z(z2+1)(z22z1)dz=(Az+Bz2+1+Cz+Dz22z1)dz=(z+1z2+1+z+1z22z1)dz=
122zz2+1dz+dzz2+1122z2z22z1dz

=12ln(z2+1)+tan1z12ln(z22z1)

=12ln(z2+1z22z1)+tan1z

We will return it to its original variable x using z=tan(x2) for the final answer.

(11+cotx)dx=
12ln(tan2(x2)+1tan2(x2)2tan(x2)1)+x2+K

where K= constant of integration

God bless...I hope the explanation is useful.