Evaluate
where and are constants.
Substitute to remove the logarithm from inside the sine. Then and , so
What was an awkward mix of a logarithm and a power has become the classic exponential-times-sine integral.
Recall the standard result. For constants and not both zero,
It is proved by integrating by parts twice and solving the resulting equation for the integral — the integral reappears on the right, which is why no third integration is needed.
Apply it with .
Substitute back, using and .
The formula requires , that is, not both and .
Check the special case and verify numerically. When the integral reduces to , and the formula gives , exactly what gives directly . Numerically, differentiating the general antiderivative at , and reproduces the integrand to eight decimal places .
Need to solve a different problem like this? Open the solver →