Question
Question: If $\int \frac{e^x(x-1)(x-lnx)}{x^2} dx = \frac{e^x(lx+mlnx+n)}{x}+c$ (where c is integration const...
If ∫x2ex(x−1)(x−lnx)dx=xex(lx+mlnx+n)+c
(where c is integration constant and l,m,n∈N), then (l−m−n) is equal to

3
Solution
The given integral is ∫x2ex(x−1)(x−lnx)dx.
Expanding the numerator: (x−1)(x−lnx)=x2−xlnx−x+lnx.
The integrand becomes: x2ex(x2−xlnx−x+lnx)=ex(x2x2−x2xlnx−x2x+x2lnx) =ex(1−xlnx−x1+x2lnx)
Let's consider the structure of the result: xex(lx+mlnx+n)+c. This suggests that the solution is of the form ex×(some function of x). Let the function be f(x)=xlx+mlnx+n=l+xmlnx+xn.
We need to find F′(x) and match it to the integrand. F(x)=xex(lx+mlnx+n)=ex(l+xmlnx+xn). F′(x)=ex(l+xmlnx+xn+mx2x1⋅x−lnx⋅1+nx2−1) F′(x)=ex(l+xmlnx+xn+x2m(1−lnx)−x2n) F′(x)=ex(l+xmlnx+xn+x2m−x2mlnx−x2n)
Now, equate this to the original integrand: ex(1−xlnx−x1+x2lnx)
Comparing coefficients of terms within the parentheses:
- Constant term: l=1.
- Coefficient of xlnx: m=−1.
- Coefficient of x1: n=−1.
- Coefficient of x2lnx: −m=1⟹m=−1. (Consistent with point 2)
- Coefficient of x21: m−n=0. Using m=−1,n=−1, we get (−1)−(−1)=0. (Consistent)
So, we found l=1,m=−1,n=−1. The problem states that l,m,n∈N, which means they must be natural numbers (positive integers). Our values m=−1 and n=−1 contradict this condition.
However, in competitive exams, when such a contradiction arises, it usually implies that the problem setter intended for l,m,n to be integers.
If the question is exactly as written and l,m,n must be natural numbers, then this problem has no solution as stated.
Assuming the integral is correctly solved to ex(xx−lnx−1), then l=1,m=−1,n=−1.
Let's proceed with these values assuming the "natural numbers" constraint might be a slight misstatement, and "integers" was intended.
l=1, m=−1, n=−1. Then l−m−n=1−(−1)−(−1)=1+1+1=3.