Integrand size = 11, antiderivative size = 88 \[ \int \cos ^3(a+b x) \log (x) \, dx=-\frac {3 \operatorname {CosIntegral}(b x) \sin (a)}{4 b}-\frac {\operatorname {CosIntegral}(3 b x) \sin (3 a)}{12 b}+\frac {\log (x) \sin (a+b x)}{b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}-\frac {3 \cos (a) \text {Si}(b x)}{4 b}-\frac {\cos (3 a) \text {Si}(3 b x)}{12 b} \]
[Out]
Time = 0.34 (sec) , antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps used = 15, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.727, Rules used = {2713, 2634, 12, 6874, 3384, 3380, 3383, 4515} \[ \int \cos ^3(a+b x) \log (x) \, dx=-\frac {3 \sin (a) \operatorname {CosIntegral}(b x)}{4 b}-\frac {\sin (3 a) \operatorname {CosIntegral}(3 b x)}{12 b}-\frac {3 \cos (a) \text {Si}(b x)}{4 b}-\frac {\cos (3 a) \text {Si}(3 b x)}{12 b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}+\frac {\log (x) \sin (a+b x)}{b} \]
[In]
[Out]
Rule 12
Rule 2634
Rule 2713
Rule 3380
Rule 3383
Rule 3384
Rule 4515
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \frac {\log (x) \sin (a+b x)}{b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}-\int \frac {(5+\cos (2 (a+b x))) \sin (a+b x)}{6 b x} \, dx \\ & = \frac {\log (x) \sin (a+b x)}{b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}-\frac {\int \frac {(5+\cos (2 (a+b x))) \sin (a+b x)}{x} \, dx}{6 b} \\ & = \frac {\log (x) \sin (a+b x)}{b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}-\frac {\int \left (\frac {5 \sin (a+b x)}{x}+\frac {\cos (2 a+2 b x) \sin (a+b x)}{x}\right ) \, dx}{6 b} \\ & = \frac {\log (x) \sin (a+b x)}{b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}-\frac {\int \frac {\cos (2 a+2 b x) \sin (a+b x)}{x} \, dx}{6 b}-\frac {5 \int \frac {\sin (a+b x)}{x} \, dx}{6 b} \\ & = \frac {\log (x) \sin (a+b x)}{b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}-\frac {\int \left (-\frac {\sin (a+b x)}{2 x}+\frac {\sin (3 a+3 b x)}{2 x}\right ) \, dx}{6 b}-\frac {(5 \cos (a)) \int \frac {\sin (b x)}{x} \, dx}{6 b}-\frac {(5 \sin (a)) \int \frac {\cos (b x)}{x} \, dx}{6 b} \\ & = -\frac {5 \text {Ci}(b x) \sin (a)}{6 b}+\frac {\log (x) \sin (a+b x)}{b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}-\frac {5 \cos (a) \text {Si}(b x)}{6 b}+\frac {\int \frac {\sin (a+b x)}{x} \, dx}{12 b}-\frac {\int \frac {\sin (3 a+3 b x)}{x} \, dx}{12 b} \\ & = -\frac {5 \text {Ci}(b x) \sin (a)}{6 b}+\frac {\log (x) \sin (a+b x)}{b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}-\frac {5 \cos (a) \text {Si}(b x)}{6 b}+\frac {\cos (a) \int \frac {\sin (b x)}{x} \, dx}{12 b}-\frac {\cos (3 a) \int \frac {\sin (3 b x)}{x} \, dx}{12 b}+\frac {\sin (a) \int \frac {\cos (b x)}{x} \, dx}{12 b}-\frac {\sin (3 a) \int \frac {\cos (3 b x)}{x} \, dx}{12 b} \\ & = -\frac {3 \text {Ci}(b x) \sin (a)}{4 b}-\frac {\text {Ci}(3 b x) \sin (3 a)}{12 b}+\frac {\log (x) \sin (a+b x)}{b}-\frac {\log (x) \sin ^3(a+b x)}{3 b}-\frac {3 \cos (a) \text {Si}(b x)}{4 b}-\frac {\cos (3 a) \text {Si}(3 b x)}{12 b} \\ \end{align*}
Time = 0.12 (sec) , antiderivative size = 66, normalized size of antiderivative = 0.75 \[ \int \cos ^3(a+b x) \log (x) \, dx=-\frac {9 \operatorname {CosIntegral}(b x) \sin (a)+\operatorname {CosIntegral}(3 b x) \sin (3 a)-9 \log (x) \sin (a+b x)-\log (x) \sin (3 (a+b x))+9 \cos (a) \text {Si}(b x)+\cos (3 a) \text {Si}(3 b x)}{12 b} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 2.06 (sec) , antiderivative size = 162, normalized size of antiderivative = 1.84
method | result | size |
risch | \(\frac {3 \ln \left (x \right ) \sin \left (b x +a \right )}{4 b}+\frac {\ln \left (x \right ) \sin \left (3 b x +3 a \right )}{12 b}+\frac {{\mathrm e}^{-3 i a} \pi \,\operatorname {csgn}\left (b x \right )}{24 b}-\frac {{\mathrm e}^{-3 i a} \operatorname {Si}\left (3 b x \right )}{12 b}+\frac {i {\mathrm e}^{-3 i a} \operatorname {Ei}_{1}\left (-3 i b x \right )}{24 b}+\frac {3 \,{\mathrm e}^{-i a} \pi \,\operatorname {csgn}\left (b x \right )}{8 b}-\frac {3 \,{\mathrm e}^{-i a} \operatorname {Si}\left (b x \right )}{4 b}+\frac {3 i {\mathrm e}^{-i a} \operatorname {Ei}_{1}\left (-i b x \right )}{8 b}-\frac {3 i {\mathrm e}^{i a} \operatorname {Ei}_{1}\left (-i b x \right )}{8 b}-\frac {i {\mathrm e}^{3 i a} \operatorname {Ei}_{1}\left (-3 i b x \right )}{24 b}\) | \(162\) |
[In]
[Out]
none
Time = 0.40 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.73 \[ \int \cos ^3(a+b x) \log (x) \, dx=\frac {4 \, {\left (\cos \left (b x + a\right )^{2} + 2\right )} \log \left (x\right ) \sin \left (b x + a\right ) - \operatorname {Ci}\left (3 \, b x\right ) \sin \left (3 \, a\right ) - 9 \, \operatorname {Ci}\left (b x\right ) \sin \left (a\right ) - \cos \left (3 \, a\right ) \operatorname {Si}\left (3 \, b x\right ) - 9 \, \cos \left (a\right ) \operatorname {Si}\left (b x\right )}{12 \, b} \]
[In]
[Out]
\[ \int \cos ^3(a+b x) \log (x) \, dx=\int \log {\left (x \right )} \cos ^{3}{\left (a + b x \right )}\, dx \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.26 (sec) , antiderivative size = 109, normalized size of antiderivative = 1.24 \[ \int \cos ^3(a+b x) \log (x) \, dx=-\frac {{\left (\sin \left (b x + a\right )^{3} - 3 \, \sin \left (b x + a\right )\right )} \log \left (x\right )}{3 \, b} + \frac {{\left (i \, E_{1}\left (3 i \, b x\right ) - i \, E_{1}\left (-3 i \, b x\right )\right )} \cos \left (3 \, a\right ) - 9 \, {\left (-i \, E_{1}\left (i \, b x\right ) + i \, E_{1}\left (-i \, b x\right )\right )} \cos \left (a\right ) + {\left (E_{1}\left (3 i \, b x\right ) + E_{1}\left (-3 i \, b x\right )\right )} \sin \left (3 \, a\right ) + 9 \, {\left (E_{1}\left (i \, b x\right ) + E_{1}\left (-i \, b x\right )\right )} \sin \left (a\right )}{24 \, b} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.36 (sec) , antiderivative size = 495, normalized size of antiderivative = 5.62 \[ \int \cos ^3(a+b x) \log (x) \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \cos ^3(a+b x) \log (x) \, dx=\int {\cos \left (a+b\,x\right )}^3\,\ln \left (x\right ) \,d x \]
[In]
[Out]