Optimal. Leaf size=621 \[ \frac {16 b^2 d g \sqrt {d-c^2 d x^2}}{75 c^2}-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}+\frac {8 b^2 d g \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{225 c^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b^2 d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{125 c^2}+\frac {9 b^2 d f \sqrt {d-c^2 d x^2} \text {ArcSin}(c x)}{64 c \sqrt {1-c^2 x^2}}+\frac {2 b d g x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f x^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{8 \sqrt {1-c^2 x^2}}-\frac {4 b c d g x^3 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g x^5 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{25 \sqrt {1-c^2 x^2}}+\frac {b d f \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{8 c}+\frac {3}{8} d f x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2+\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2}{5 c^2}+\frac {d f \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^3}{8 b c \sqrt {1-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.46, antiderivative size = 621, normalized size of antiderivative = 1.00, number of steps
used = 19, number of rules used = 15, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.484, Rules used =
{4861, 4847, 4743, 4741, 4737, 4723, 327, 222, 4767, 201, 200, 4739, 12, 1261, 712}
\begin {gather*} -\frac {3 b c d f x^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{8 \sqrt {1-c^2 x^2}}+\frac {3}{8} d f x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2+\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2+\frac {d f \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^3}{8 b c \sqrt {1-c^2 x^2}}+\frac {b d f \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{8 c}+\frac {2 b d g x \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{5 c \sqrt {1-c^2 x^2}}-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))^2}{5 c^2}-\frac {4 b c d g x^3 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g x^5 \sqrt {d-c^2 d x^2} (a+b \text {ArcSin}(c x))}{25 \sqrt {1-c^2 x^2}}+\frac {9 b^2 d f \text {ArcSin}(c x) \sqrt {d-c^2 d x^2}}{64 c \sqrt {1-c^2 x^2}}-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b^2 d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{125 c^2}+\frac {16 b^2 d g \sqrt {d-c^2 d x^2}}{75 c^2}+\frac {8 b^2 d g \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{225 c^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 200
Rule 201
Rule 222
Rule 327
Rule 712
Rule 1261
Rule 4723
Rule 4737
Rule 4739
Rule 4741
Rule 4743
Rule 4767
Rule 4847
Rule 4861
Rubi steps
\begin {align*} \int (f+g x) \left (d-c^2 d x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx &=\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \int (f+g x) \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \int \left (f \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2+g x \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2\right ) \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {\left (d f \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}+\frac {\left (d g \sqrt {d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{\sqrt {1-c^2 x^2}}\\ &=\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {\left (3 d f \sqrt {d-c^2 d x^2}\right ) \int \sqrt {1-c^2 x^2} \left (a+b \sin ^{-1}(c x)\right )^2 \, dx}{4 \sqrt {1-c^2 x^2}}-\frac {\left (b c d f \sqrt {d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right ) \, dx}{2 \sqrt {1-c^2 x^2}}+\frac {\left (2 b d g \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^2 \left (a+b \sin ^{-1}(c x)\right ) \, dx}{5 c \sqrt {1-c^2 x^2}}\\ &=\frac {2 b d g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {4 b c d g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}+\frac {b d f \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d f x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {\left (3 d f \sqrt {d-c^2 d x^2}\right ) \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{\sqrt {1-c^2 x^2}} \, dx}{8 \sqrt {1-c^2 x^2}}-\frac {\left (b^2 d f \sqrt {d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^{3/2} \, dx}{8 \sqrt {1-c^2 x^2}}-\frac {\left (3 b c d f \sqrt {d-c^2 d x^2}\right ) \int x \left (a+b \sin ^{-1}(c x)\right ) \, dx}{4 \sqrt {1-c^2 x^2}}-\frac {\left (2 b^2 d g \sqrt {d-c^2 d x^2}\right ) \int \frac {x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{15 \sqrt {1-c^2 x^2}} \, dx}{5 \sqrt {1-c^2 x^2}}\\ &=-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b d g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 \sqrt {1-c^2 x^2}}-\frac {4 b c d g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}+\frac {b d f \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d f x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {d f \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}-\frac {\left (3 b^2 d f \sqrt {d-c^2 d x^2}\right ) \int \sqrt {1-c^2 x^2} \, dx}{32 \sqrt {1-c^2 x^2}}+\frac {\left (3 b^2 c^2 d f \sqrt {d-c^2 d x^2}\right ) \int \frac {x^2}{\sqrt {1-c^2 x^2}} \, dx}{8 \sqrt {1-c^2 x^2}}-\frac {\left (2 b^2 d g \sqrt {d-c^2 d x^2}\right ) \int \frac {x \left (15-10 c^2 x^2+3 c^4 x^4\right )}{\sqrt {1-c^2 x^2}} \, dx}{75 \sqrt {1-c^2 x^2}}\\ &=-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b d g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 \sqrt {1-c^2 x^2}}-\frac {4 b c d g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}+\frac {b d f \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d f x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {d f \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}-\frac {\left (3 b^2 d f \sqrt {d-c^2 d x^2}\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{64 \sqrt {1-c^2 x^2}}+\frac {\left (3 b^2 d f \sqrt {d-c^2 d x^2}\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{16 \sqrt {1-c^2 x^2}}-\frac {\left (b^2 d g \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \frac {15-10 c^2 x+3 c^4 x^2}{\sqrt {1-c^2 x}} \, dx,x,x^2\right )}{75 \sqrt {1-c^2 x^2}}\\ &=-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {9 b^2 d f \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{64 c \sqrt {1-c^2 x^2}}+\frac {2 b d g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 \sqrt {1-c^2 x^2}}-\frac {4 b c d g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}+\frac {b d f \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d f x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {d f \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}-\frac {\left (b^2 d g \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \left (\frac {8}{\sqrt {1-c^2 x}}+4 \sqrt {1-c^2 x}+3 \left (1-c^2 x\right )^{3/2}\right ) \, dx,x,x^2\right )}{75 \sqrt {1-c^2 x^2}}\\ &=\frac {16 b^2 d g \sqrt {d-c^2 d x^2}}{75 c^2}-\frac {15}{64} b^2 d f x \sqrt {d-c^2 d x^2}+\frac {8 b^2 d g \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{225 c^2}-\frac {1}{32} b^2 d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2}+\frac {2 b^2 d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2}}{125 c^2}+\frac {9 b^2 d f \sqrt {d-c^2 d x^2} \sin ^{-1}(c x)}{64 c \sqrt {1-c^2 x^2}}+\frac {2 b d g x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{5 c \sqrt {1-c^2 x^2}}-\frac {3 b c d f x^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 \sqrt {1-c^2 x^2}}-\frac {4 b c d g x^3 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{15 \sqrt {1-c^2 x^2}}+\frac {2 b c^3 d g x^5 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{25 \sqrt {1-c^2 x^2}}+\frac {b d f \left (1-c^2 x^2\right )^{3/2} \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )}{8 c}+\frac {3}{8} d f x \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2+\frac {1}{4} d f x \left (1-c^2 x^2\right ) \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2-\frac {d g \left (1-c^2 x^2\right )^2 \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^2}{5 c^2}+\frac {d f \sqrt {d-c^2 d x^2} \left (a+b \sin ^{-1}(c x)\right )^3}{8 b c \sqrt {1-c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.45, size = 395, normalized size = 0.64 \begin {gather*} \frac {d \sqrt {d-c^2 d x^2} \left (9000 a^3 c f-1800 a^2 b \sqrt {1-c^2 x^2} \left (8 g \left (-1+c^2 x^2\right )^2+5 c^2 f x \left (-5+2 c^2 x^2\right )\right )+120 a b^2 c x \left (75 c^2 f x \left (-5+c^2 x^2\right )+16 g \left (15-10 c^2 x^2+3 c^4 x^4\right )\right )+b^3 \sqrt {1-c^2 x^2} \left (1125 c^2 f x \left (-17+2 c^2 x^2\right )+128 g \left (149-38 c^2 x^2+9 c^4 x^4\right )\right )+15 b \left (1800 a^2 c f-240 a b \sqrt {1-c^2 x^2} \left (8 g \left (-1+c^2 x^2\right )^2+5 c^2 f x \left (-5+2 c^2 x^2\right )\right )+b^2 c \left (128 g x \left (15-10 c^2 x^2+3 c^4 x^4\right )+75 f \left (17-40 c^2 x^2+8 c^4 x^4\right )\right )\right ) \text {ArcSin}(c x)+1800 b^2 \left (15 a c f+b \sqrt {1-c^2 x^2} \left (5 c^2 f x \left (5-2 c^2 x^2\right )-8 g \left (-1+c^2 x^2\right )^2\right )\right ) \text {ArcSin}(c x)^2+9000 b^3 c f \text {ArcSin}(c x)^3\right )}{72000 b c^2 \sqrt {1-c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.51, size = 2021, normalized size = 3.25
method | result | size |
default | \(\text {Expression too large to display}\) | \(2021\) |
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]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {asin}{\left (c x \right )}\right )^{2} \left (f + g x\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \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 \left (f+g\,x\right )\,{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^2\,{\left (d-c^2\,d\,x^2\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________