We are given that ∫x2+1x2−x+1ecot−1xdx=A(x)ecot−1x+C and we need to find A(x).
To solve this, we use the substitution t=cot−1x. Then, x=cott. Differentiating both sides with respect to t, we get dx=−csc2tdt.
Substituting into the integral:
∫(cott)2+1(cott)2−cott+1et(−csc2t)dt
We know that cot2t+1=csc2t, so the denominator simplifies to csc2t. The numerator is cot2t−cott+1. Thus, the integral becomes:
∫csc2tcot2t−cott+1et(−csc2t)dt
The csc2t terms cancel:
∫(cot2t−cott+1)et(−1)dt=−∫(cot2t−cott+1)etdt
Using the identity cot2t=csc2t−1, we substitute:
−∫[(csc2t−1)−cott+1]etdt=−∫(csc2t−cott)etdt
This simplifies to:
−∫csc2tetdt+∫cottetdt
Notice that csc2t−cott=−(cott−csc2t), so:
−∫(csc2t−cott)etdt=∫(cott−csc2t)etdt
Consider the function f(t)=etcott. Its derivative is:
f′(t)=etcott+et(−csc2t)=et(cott−csc2t)
Therefore, the integral ∫(cott−csc2t)etdt=etcott+C.
Substituting back t=cot−1x and cott=x:
etcott=ecot−1x⋅x
So the integral is xecot−1x+C.
Comparing with the given form A(x)ecot−1x+C, we have A(x)ecot−1x=xecot−1x, so A(x)=x.
Verifying by differentiation: Differentiate xecot−1x using the product rule:
dxd[xecot−1x]=ecot−1x⋅1+x⋅ecot−1x⋅(−1+x21)=ecot−1x−1+x2xecot−1x
=ecot−1x(1−1+x2x)=ecot−1x(1+x21+x2−x)=x2+1x2−x+1ecot−1x
which matches the integrand.
Hence, the correct answer is Option B.