Optimal. Leaf size=410 \[ -\frac {b (f+g x) \left (c^2 f^2+g^2+2 c^2 f g x\right )}{6 c^3 d^2 \sqrt {1-c^2 x^2} \sqrt {d-c^2 d x^2}}+\frac {2 (c f-g) (c f+g) \left (g+c^2 f x\right ) (a+b \text {ArcSin}(c x))}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {\left (g+c^2 f x\right ) (f+g x)^2 (a+b \text {ArcSin}(c x))}{3 c^2 d^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}+\frac {b (c f-g) (c f+g)^2 \sqrt {1-c^2 x^2} \log (1-c x)}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}-\frac {b g (c f+g)^2 \sqrt {1-c^2 x^2} \log (1-c x)}{12 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f-g)^2 g \sqrt {1-c^2 x^2} \log (1+c x)}{12 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f-g)^2 (c f+g) \sqrt {1-c^2 x^2} \log (1+c x)}{3 c^4 d^2 \sqrt {d-c^2 d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.29, antiderivative size = 410, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 7, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.226, Rules used = {4861, 737,
651, 4845, 833, 647, 31} \begin {gather*} \frac {(f+g x)^2 \left (c^2 f x+g\right ) (a+b \text {ArcSin}(c x))}{3 c^2 d^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}+\frac {2 (c f+g) (c f-g) \left (c^2 f x+g\right ) (a+b \text {ArcSin}(c x))}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {b g \sqrt {1-c^2 x^2} (c f-g)^2 \log (c x+1)}{12 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} (c f+g) (c f-g)^2 \log (c x+1)}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {b \sqrt {1-c^2 x^2} (c f+g)^2 (c f-g) \log (1-c x)}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}-\frac {b g \sqrt {1-c^2 x^2} (c f+g)^2 \log (1-c x)}{12 c^4 d^2 \sqrt {d-c^2 d x^2}}-\frac {b (f+g x) \left (c^2 f^2+2 c^2 f g x+g^2\right )}{6 c^3 d^2 \sqrt {1-c^2 x^2} \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 647
Rule 651
Rule 737
Rule 833
Rule 4845
Rule 4861
Rubi steps
\begin {align*} \int \frac {(f+g x)^3 \left (a+b \sin ^{-1}(c x)\right )}{\left (d-c^2 d x^2\right )^{5/2}} \, dx &=\frac {\sqrt {1-c^2 x^2} \int \frac {(f+g x)^3 \left (a+b \sin ^{-1}(c x)\right )}{\left (1-c^2 x^2\right )^{5/2}} \, dx}{d^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {2 (c f-g) (c f+g) \left (g+c^2 f x\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {\left (g+c^2 f x\right ) (f+g x)^2 \left (a+b \sin ^{-1}(c x)\right )}{3 c^2 d^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}-\frac {\left (b c \sqrt {1-c^2 x^2}\right ) \int \left (\frac {\left (g+c^2 f x\right ) (f+g x)^2}{3 c^2 \left (1-c^2 x^2\right )^2}+\frac {2 (c f-g) (c f+g) \left (g+c^2 f x\right )}{3 c^4 \left (1-c^2 x^2\right )}\right ) \, dx}{d^2 \sqrt {d-c^2 d x^2}}\\ &=\frac {2 (c f-g) (c f+g) \left (g+c^2 f x\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {\left (g+c^2 f x\right ) (f+g x)^2 \left (a+b \sin ^{-1}(c x)\right )}{3 c^2 d^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {1-c^2 x^2}\right ) \int \frac {\left (g+c^2 f x\right ) (f+g x)^2}{\left (1-c^2 x^2\right )^2} \, dx}{3 c d^2 \sqrt {d-c^2 d x^2}}-\frac {\left (2 b (c f-g) (c f+g) \sqrt {1-c^2 x^2}\right ) \int \frac {g+c^2 f x}{1-c^2 x^2} \, dx}{3 c^3 d^2 \sqrt {d-c^2 d x^2}}\\ &=-\frac {b (f+g x) \left (c^2 f^2+g^2+2 c^2 f g x\right )}{6 c^3 d^2 \sqrt {1-c^2 x^2} \sqrt {d-c^2 d x^2}}+\frac {2 (c f-g) (c f+g) \left (g+c^2 f x\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {\left (g+c^2 f x\right ) (f+g x)^2 \left (a+b \sin ^{-1}(c x)\right )}{3 c^2 d^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}+\frac {\left (b \sqrt {1-c^2 x^2}\right ) \int \frac {g \left (c^2 f^2+g^2\right )+2 c^2 f g^2 x}{1-c^2 x^2} \, dx}{6 c^3 d^2 \sqrt {d-c^2 d x^2}}-\frac {\left (b (c f-g)^2 (c f+g) \sqrt {1-c^2 x^2}\right ) \int \frac {1}{-c-c^2 x} \, dx}{3 c^2 d^2 \sqrt {d-c^2 d x^2}}-\frac {\left (b (c f-g) (c f+g)^2 \sqrt {1-c^2 x^2}\right ) \int \frac {1}{c-c^2 x} \, dx}{3 c^2 d^2 \sqrt {d-c^2 d x^2}}\\ &=-\frac {b (f+g x) \left (c^2 f^2+g^2+2 c^2 f g x\right )}{6 c^3 d^2 \sqrt {1-c^2 x^2} \sqrt {d-c^2 d x^2}}+\frac {2 (c f-g) (c f+g) \left (g+c^2 f x\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {\left (g+c^2 f x\right ) (f+g x)^2 \left (a+b \sin ^{-1}(c x)\right )}{3 c^2 d^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}+\frac {b (c f-g) (c f+g)^2 \sqrt {1-c^2 x^2} \log (1-c x)}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f-g)^2 (c f+g) \sqrt {1-c^2 x^2} \log (1+c x)}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}-\frac {\left (b (c f-g)^2 g \sqrt {1-c^2 x^2}\right ) \int \frac {1}{-c-c^2 x} \, dx}{12 c^2 d^2 \sqrt {d-c^2 d x^2}}+\frac {\left (b g (c f+g)^2 \sqrt {1-c^2 x^2}\right ) \int \frac {1}{c-c^2 x} \, dx}{12 c^2 d^2 \sqrt {d-c^2 d x^2}}\\ &=-\frac {b (f+g x) \left (c^2 f^2+g^2+2 c^2 f g x\right )}{6 c^3 d^2 \sqrt {1-c^2 x^2} \sqrt {d-c^2 d x^2}}+\frac {2 (c f-g) (c f+g) \left (g+c^2 f x\right ) \left (a+b \sin ^{-1}(c x)\right )}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {\left (g+c^2 f x\right ) (f+g x)^2 \left (a+b \sin ^{-1}(c x)\right )}{3 c^2 d^2 \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}+\frac {b (c f-g) (c f+g)^2 \sqrt {1-c^2 x^2} \log (1-c x)}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}-\frac {b g (c f+g)^2 \sqrt {1-c^2 x^2} \log (1-c x)}{12 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f-g)^2 g \sqrt {1-c^2 x^2} \log (1+c x)}{12 c^4 d^2 \sqrt {d-c^2 d x^2}}+\frac {b (c f-g)^2 (c f+g) \sqrt {1-c^2 x^2} \log (1+c x)}{3 c^4 d^2 \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 4 vs. order 3 in
optimal.
time = 0.81, size = 366, normalized size = 0.89 \begin {gather*} \frac {\sqrt {d-c^2 d x^2} \left (i b c g \left (3 c^2 f^2-5 g^2\right ) \left (1-c^2 x^2\right )^{3/2} F\left (\left .i \sinh ^{-1}\left (\sqrt {-c^2} x\right )\right |1\right )-\sqrt {-c^2} \left (-6 a c^2 f^2 g+4 a g^3-6 a c^4 f^3 x-6 a c^2 g^3 x^2+4 a c^6 f^3 x^3-6 a c^4 f g^2 x^3+b c^3 f^3 \sqrt {1-c^2 x^2}+3 b c f g^2 \sqrt {1-c^2 x^2}+3 b c^3 f^2 g x \sqrt {1-c^2 x^2}+b c g^3 x \sqrt {1-c^2 x^2}+2 b \left (2 g^3+2 c^6 f^3 x^3-3 c^2 g \left (f^2+g^2 x^2\right )-3 c^4 f x \left (f^2+g^2 x^2\right )\right ) \text {ArcSin}(c x)-b c f \left (2 c^2 f^2-3 g^2\right ) \left (1-c^2 x^2\right )^{3/2} \log \left (-1+c^2 x^2\right )\right )\right )}{6 c^4 \sqrt {-c^2} d^3 \left (-1+c^2 x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.80, size = 5114, normalized size = 12.47
method | result | size |
default | \(\text {Expression too large to display}\) | \(5114\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [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]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \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.00 \begin {gather*} \int \frac {{\left (f+g\,x\right )}^3\,\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}{{\left (d-c^2\,d\,x^2\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________