Question:

\(\int \left[\sin(\log x)+\cos(\log x)\right] dx\) is equal to :

Show Hint

Put log x = t so that x = e^t and use the result that the integral of e^t (f + f prime) is e^t f.
Updated On: Oct 22, 2026
  • \(-\cos(\log x)+C\)
  • \(\frac{1}{\cos x}+\frac{1}{\sin x}+C\)
  • \(\sin(\log x)+C\)
  • \(x\sin(\log x)+C\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Substitute to remove the logarithm:
Put \(\log x=t\). Then \(x=e^{t}\) and \(dx=e^{t}\,dt\).
\[ I=\int (\sin t+\cos t)\,e^{t}\,dt \]

Step 2: Recognise the standard form:
We know \(\int e^{t}\left[f(t)+f^{\prime}(t)\right]dt=e^{t}f(t)+C\).
Take \(f(t)=\sin t\). Then \(f^{\prime}(t)=\cos t\), so the integrand has exactly this form.
\[ I=e^{t}\sin t+C \]

Step 3: Go back to x:
Replace \(e^{t}\) by \(x\) and \(t\) by \(\log x\).
\[ I=x\sin(\log x)+C \]

Step 4: Why the other options are wrong:
(A) The derivative of \(-\cos(\log x)\) is \(\frac{\sin(\log x)}{x}\), not the integrand.
(B) The derivative of \(\frac{1}{\cos x}+\frac{1}{\sin x}\) has no logarithm in it.
(C) The derivative of \(\sin(\log x)\) is \(\frac{\cos(\log x)}{x}\), not the integrand.

Final Answer:
The integral is \(x\sin(\log x)+C\), option (D). \[ \boxed{x\sin(\log x)+C} \]
Was this answer helpful?
0
0

Top CBSE CLASS XII Mathematics Questions

View More Questions