The value of \[ \int \sin(\log x) \, dx + \int \cos(\log x) \, dx \] is equal to
Instead of integrating by parts directly, let's substitute \( t = \log x \), so \( x = e^t \) and \( dx = e^t\,dt \), turning both integrals into standard forms with known reduction formulas.
The two integrals become \( \int e^t \sin t \, dt \) and \( \int e^t \cos t \, dt \). Using the standard results \[ \int e^t \sin t\, dt = \frac{e^t(\sin t - \cos t)}{2} + C_1, \qquad \int e^t \cos t\, dt = \frac{e^t(\sin t + \cos t)}{2} + C_2, \] adding them gives \[ \frac{e^t(\sin t-\cos t)}{2} + \frac{e^t(\sin t+\cos t)}{2} = \frac{2e^t\sin t}{2} = e^t \sin t. \] Substituting back \( t = \log x \), \( e^t = x \), this becomes \( x\sin(\log x) + C \). Let's check this against each option.
The substitution \( t=\log x \) combined with the standard \( e^t\sin t \), \( e^t \cos t \) reduction formulas confirms the sum of the two integrals.
Therefore, the correct answer is \( x\sin(\log x) + C \).