Travou nisso? Resolva com IA
Calculus · real student question

Integrate sin(a * ln(x)) / x^b with respect to x, where a and b are constants.

Question

Evaluate

∫sin⁡(aln⁡x)xb dx\int\frac{\sin\left(a\ln x\right)}{x^{b}}\,dx

where aa and bb are constants.

Step-by-step solution

  1. Substitute u=ln⁡xu=\ln x to remove the logarithm from inside the sine. Then x=eux=e^{u} and dx=eududx=e^{u}du, so

    ∫sin⁡(aln⁡x)xbdx=∫sin⁡(au)ebueu du=∫e(1−b)usin⁡(au) du\int\frac{\sin(a\ln x)}{x^{b}}dx=\int\frac{\sin(au)}{e^{bu}}e^{u}\,du=\int e^{(1-b)u}\sin(au)\,du

    What was an awkward mix of a logarithm and a power has become the classic exponential-times-sine integral.

  2. Recall the standard result. For constants kk and aa not both zero,

    ∫ekusin⁡(au) du=eku(ksin⁡(au)−acos⁡(au))k2+a2+C\int e^{ku}\sin(au)\,du=\frac{e^{ku}\left(k\sin(au)-a\cos(au)\right)}{k^{2}+a^{2}}+C

    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.

  3. Apply it with k=1−bk=1-b.

    ∫e(1−b)usin⁡(au) du=e(1−b)u[(1−b)sin⁡(au)−acos⁡(au)](1−b)2+a2+C\int e^{(1-b)u}\sin(au)\,du=\frac{e^{(1-b)u}\left[(1-b)\sin(au)-a\cos(au)\right]}{(1-b)^{2}+a^{2}}+C

  4. Substitute back, using e(1−b)u=x1−be^{(1-b)u}=x^{1-b} and u=ln⁡xu=\ln x.

    ∫sin⁡(aln⁡x)xbdx=x1−b[(1−b)sin⁡(aln⁡x)−acos⁡(aln⁡x)](1−b)2+a2+C\int\frac{\sin(a\ln x)}{x^{b}}dx=\frac{x^{1-b}\left[(1-b)\sin\left(a\ln x\right)-a\cos\left(a\ln x\right)\right]}{(1-b)^{2}+a^{2}}+C

    The formula requires (1−b)2+a2≠0(1-b)^2+a^2\ne 0, that is, not both a=0a=0 and b=1b=1.

  5. Check the special case and verify numerically. When b=1b=1 the integral reduces to ∫sin⁡(aln⁡x)xdx\int\tfrac{\sin(a\ln x)}{x}dx, and the formula gives −acos⁡(aln⁡x)a2=−cos⁡(aln⁡x)a\tfrac{-a\cos(a\ln x)}{a^2}=-\tfrac{\cos(a\ln x)}{a}, exactly what u=ln⁡xu=\ln x gives directly ✓\checkmark. Numerically, differentiating the general antiderivative at a=1.7a=1.7, b=0.4b=0.4 and x=0.7, 1.3, 2.5, 4.0x=0.7,\,1.3,\,2.5,\,4.0 reproduces the integrand to eight decimal places ✓\checkmark.

Answer

x1−b[(1−b)sin⁡(aln⁡x)−acos⁡(aln⁡x)](1−b)2+a2+C\frac{x^{1-b}\left[(1-b)\sin\left(a\ln x\right)-a\cos\left(a\ln x\right)\right]}{(1-b)^{2}+a^{2}}+C

Need to solve a different problem like this? Open the solver →