Optimal. Leaf size=102 \[ -\frac {b \cos \left (\frac {1}{2} b^2 \pi x^2\right )}{42 x^6}+\frac {b^5 \pi ^2 \cos \left (\frac {1}{2} b^2 \pi x^2\right )}{336 x^2}-\frac {\text {FresnelC}(b x)}{7 x^7}+\frac {b^3 \pi \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{168 x^4}+\frac {1}{672} b^7 \pi ^3 \text {Si}\left (\frac {1}{2} b^2 \pi x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6562, 3461,
3378, 3380} \begin {gather*} -\frac {b \cos \left (\frac {1}{2} \pi b^2 x^2\right )}{42 x^6}+\frac {1}{672} \pi ^3 b^7 \text {Si}\left (\frac {1}{2} b^2 \pi x^2\right )+\frac {\pi ^2 b^5 \cos \left (\frac {1}{2} \pi b^2 x^2\right )}{336 x^2}+\frac {\pi b^3 \sin \left (\frac {1}{2} \pi b^2 x^2\right )}{168 x^4}-\frac {\text {FresnelC}(b x)}{7 x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3378
Rule 3380
Rule 3461
Rule 6562
Rubi steps
\begin {align*} \int \frac {C(b x)}{x^8} \, dx &=-\frac {C(b x)}{7 x^7}+\frac {1}{7} b \int \frac {\cos \left (\frac {1}{2} b^2 \pi x^2\right )}{x^7} \, dx\\ &=-\frac {C(b x)}{7 x^7}+\frac {1}{14} b \text {Subst}\left (\int \frac {\cos \left (\frac {1}{2} b^2 \pi x\right )}{x^4} \, dx,x,x^2\right )\\ &=-\frac {b \cos \left (\frac {1}{2} b^2 \pi x^2\right )}{42 x^6}-\frac {C(b x)}{7 x^7}-\frac {1}{84} \left (b^3 \pi \right ) \text {Subst}\left (\int \frac {\sin \left (\frac {1}{2} b^2 \pi x\right )}{x^3} \, dx,x,x^2\right )\\ &=-\frac {b \cos \left (\frac {1}{2} b^2 \pi x^2\right )}{42 x^6}-\frac {C(b x)}{7 x^7}+\frac {b^3 \pi \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{168 x^4}-\frac {1}{336} \left (b^5 \pi ^2\right ) \text {Subst}\left (\int \frac {\cos \left (\frac {1}{2} b^2 \pi x\right )}{x^2} \, dx,x,x^2\right )\\ &=-\frac {b \cos \left (\frac {1}{2} b^2 \pi x^2\right )}{42 x^6}+\frac {b^5 \pi ^2 \cos \left (\frac {1}{2} b^2 \pi x^2\right )}{336 x^2}-\frac {C(b x)}{7 x^7}+\frac {b^3 \pi \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{168 x^4}+\frac {1}{672} \left (b^7 \pi ^3\right ) \text {Subst}\left (\int \frac {\sin \left (\frac {1}{2} b^2 \pi x\right )}{x} \, dx,x,x^2\right )\\ &=-\frac {b \cos \left (\frac {1}{2} b^2 \pi x^2\right )}{42 x^6}+\frac {b^5 \pi ^2 \cos \left (\frac {1}{2} b^2 \pi x^2\right )}{336 x^2}-\frac {C(b x)}{7 x^7}+\frac {b^3 \pi \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{168 x^4}+\frac {1}{672} b^7 \pi ^3 \text {Si}\left (\frac {1}{2} b^2 \pi x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 84, normalized size = 0.82 \begin {gather*} \frac {1}{672} \left (\frac {2 b \left (-8+b^4 \pi ^2 x^4\right ) \cos \left (\frac {1}{2} b^2 \pi x^2\right )}{x^6}-\frac {96 \text {FresnelC}(b x)}{x^7}+\frac {4 b^3 \pi \sin \left (\frac {1}{2} b^2 \pi x^2\right )}{x^4}+b^7 \pi ^3 \text {Si}\left (\frac {1}{2} b^2 \pi x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.32, size = 93, normalized size = 0.91
method | result | size |
meijerg | \(-\frac {b \hypergeom \left (\left [-\frac {3}{2}, \frac {1}{4}\right ], \left [-\frac {1}{2}, \frac {1}{2}, \frac {5}{4}\right ], -\frac {x^{4} \pi ^{2} b^{4}}{16}\right )}{6 x^{6}}\) | \(26\) |
derivativedivides | \(b^{7} \left (-\frac {\FresnelC \left (b x \right )}{7 b^{7} x^{7}}-\frac {\cos \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{42 b^{6} x^{6}}-\frac {\pi \left (-\frac {\sin \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{4 b^{4} x^{4}}+\frac {\pi \left (-\frac {\cos \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{2 b^{2} x^{2}}-\frac {\pi \sinIntegral \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{4}\right )}{4}\right )}{42}\right )\) | \(93\) |
default | \(b^{7} \left (-\frac {\FresnelC \left (b x \right )}{7 b^{7} x^{7}}-\frac {\cos \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{42 b^{6} x^{6}}-\frac {\pi \left (-\frac {\sin \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{4 b^{4} x^{4}}+\frac {\pi \left (-\frac {\cos \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{2 b^{2} x^{2}}-\frac {\pi \sinIntegral \left (\frac {b^{2} \pi \,x^{2}}{2}\right )}{4}\right )}{4}\right )}{42}\right )\) | \(93\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.33, size = 48, normalized size = 0.47 \begin {gather*} -\frac {1}{224} \, {\left (-i \, \pi ^{3} \Gamma \left (-3, \frac {1}{2} i \, \pi b^{2} x^{2}\right ) + i \, \pi ^{3} \Gamma \left (-3, -\frac {1}{2} i \, \pi b^{2} x^{2}\right )\right )} b^{7} - \frac {\operatorname {C}\left (b x\right )}{7 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 78, normalized size = 0.76 \begin {gather*} \frac {\pi ^{3} b^{7} x^{7} \operatorname {Si}\left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) + 4 \, \pi b^{3} x^{3} \sin \left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) + 2 \, {\left (\pi ^{2} b^{5} x^{5} - 8 \, b x\right )} \cos \left (\frac {1}{2} \, \pi b^{2} x^{2}\right ) - 96 \, \operatorname {C}\left (b x\right )}{672 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.12, size = 44, normalized size = 0.43 \begin {gather*} - \frac {b \Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{3}\left (\begin {matrix} - \frac {3}{2}, \frac {1}{4} \\ - \frac {1}{2}, \frac {1}{2}, \frac {5}{4} \end {matrix}\middle | {- \frac {\pi ^{2} b^{4} x^{4}}{16}} \right )}}{24 x^{6} \Gamma \left (\frac {5}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\mathrm {FresnelC}\left (b\,x\right )}{x^8} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________