Question:medium

\(\int (e^{log(sinx)}+cosx)x\,dx =\)

Show Hint

Simplify e^{log sin x} to sin x and use integration by parts.
Updated On: Oct 1, 2026
  • \(x(sinx+cosx)+(sinx-cosx)+c\)
  • \(x(sinx-cosx)+(sinx-cosx)+c\)
  • \(x(sinx+cosx)+(sinx+cosx)+c\)
  • \(x(sinx-cosx)+(sinx+cosx)+c\)
Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Check by differentiation:
Differentiate option (D): $(\sin x - \cos x) + x(\cos x + \sin x) + (\cos x - \sin x) = x(\sin x + \cos x)$.

Step 2: Why it matches:
The first and third terms cancel, leaving the integrand $x(\sin x + \cos x)$.

Step 3: Note:
The identity $e^{\log a} = a$ turns the first factor into $\sin x$ for $\sin x > 0$.

Final Answer:
Option (D) is correct. \[ \boxed{x(\sin x-\cos x)+(\sin x+\cos x)+c} \]
Was this answer helpful?
0