Optimal. Leaf size=88 \[ -\frac {3 \sin (a) \text {Ci}(b x)}{4 b}-\frac {\sin (3 a) \text {Ci}(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} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.47, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps used = 15, number of rules used = 8, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.727, Rules used = {2633, 2554, 12, 6742, 3303, 3299, 3302, 4430} \[ -\frac {3 \sin (a) \text {CosIntegral}(b x)}{4 b}-\frac {\sin (3 a) \text {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} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2554
Rule 2633
Rule 3299
Rule 3302
Rule 3303
Rule 4430
Rule 6742
Rubi steps
\begin {align*} \int \cos ^3(a+b x) \log (x) \, dx &=\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*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 66, normalized size = 0.75 \[ -\frac {9 \sin (a) \text {Ci}(b x)+\sin (3 a) \text {Ci}(3 b x)+9 \cos (a) \text {Si}(b x)+\cos (3 a) \text {Si}(3 b x)-9 \log (x) \sin (a+b x)-\log (x) \sin (3 (a+b x))}{12 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.02, size = 76, normalized size = 0.86 \[ \frac {8 \, {\left (\cos \left (b x + a\right )^{2} + 2\right )} \log \relax (x) \sin \left (b x + a\right ) - {\left (\operatorname {Ci}\left (3 \, b x\right ) + \operatorname {Ci}\left (-3 \, b x\right )\right )} \sin \left (3 \, a\right ) - 9 \, {\left (\operatorname {Ci}\left (b x\right ) + \operatorname {Ci}\left (-b x\right )\right )} \sin \relax (a) - 2 \, \cos \left (3 \, a\right ) \operatorname {Si}\left (3 \, b x\right ) - 18 \, \cos \relax (a) \operatorname {Si}\left (b x\right )}{24 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [C] time = 0.25, size = 495, normalized size = 5.62 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 1.73, size = 162, normalized size = 1.84 \[ \frac {i \Ei \left (1, -3 i b x \right ) {\mathrm e}^{-3 i a}}{24 b}-\frac {i \Ei \left (1, -3 i b x \right ) {\mathrm e}^{3 i a}}{24 b}+\frac {3 i \Ei \left (1, -i b x \right ) {\mathrm e}^{-i a}}{8 b}-\frac {3 i \Ei \left (1, -i b x \right ) {\mathrm e}^{i a}}{8 b}-\frac {3 \Si \left (b x \right ) {\mathrm e}^{-i a}}{4 b}-\frac {\Si \left (3 b x \right ) {\mathrm e}^{-3 i a}}{12 b}+\frac {\pi \,\mathrm {csgn}\left (b x \right ) {\mathrm e}^{-3 i a}}{24 b}+\frac {3 \pi \,\mathrm {csgn}\left (b x \right ) {\mathrm e}^{-i a}}{8 b}+\frac {3 \ln \relax (x ) \sin \left (b x +a \right )}{4 b}+\frac {\ln \relax (x ) \sin \left (3 b x +3 a \right )}{12 b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 1.03, size = 108, normalized size = 1.23 \[ -\frac {{\left (\sin \left (b x + a\right )^{3} - 3 \, \sin \left (b x + a\right )\right )} \log \relax (x)}{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 ) + {\left (9 i \, E_{1}\left (i \, b x\right ) - 9 i \, E_{1}\left (-i \, b x\right )\right )} \cos \relax (a) + {\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 \relax (a)}{24 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\cos \left (a+b\,x\right )}^3\,\ln \relax (x) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \log {\relax (x )} \cos ^{3}{\left (a + b x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________