Question:

Integrate : \( \int e^{\log_e(x\sin x)}\,dx \).

Show Hint

First use \(e^{\log_e a} = a\) to get \(\int x\sin x\,dx\), then integrate by parts with \(u = x\).
Show Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Step 1: Simplify the integrand:
For any positive number \(a\), we have \(e^{\log_e a} = a\), because the exponential and the natural logarithm undo each other. Here \(a = x\sin x\), so \(e^{\log_e(x\sin x)} = x\sin x\).

Step 2: Write the simpler integral:
\[ \int e^{\log_e(x\sin x)}\,dx = \int x\sin x\,dx \]

Step 3: Integrate by parts:
The rule is \(\int u\,dv = uv - \int v\,du\). Take \(u = x\) (it becomes simpler when differentiated) and \(dv = \sin x\,dx\). Then \(du = dx\) and \(v = -\cos x\).
\[ \int x\sin x\,dx = -x\cos x - \int(-\cos x)\,dx = -x\cos x + \int \cos x\,dx \]

Step 4: Finish the last integral:
Since \(\int \cos x\,dx = \sin x\),
\[ \int x\sin x\,dx = -x\cos x + \sin x + C \]

Final Answer:
The integral equals \(\sin x - x\cos x\) plus a constant. \[ \boxed{\sin x - x\cos x + C} \]
Was this answer helpful?
0
0