Optimal. Leaf size=517 \[ \frac{1}{6} d^2 f x \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )+\frac{5}{16} d^2 f x \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )+\frac{5}{24} d^2 f x \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )-\frac{5 d^2 f \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )^2}{32 b c \sqrt{1-c^2 x^2}}-\frac{d^2 g \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )}{7 c^2}-\frac{5 b c^3 d^2 f x^4 \sqrt{d-c^2 d x^2}}{96 \sqrt{1-c^2 x^2}}+\frac{25 b c d^2 f x^2 \sqrt{d-c^2 d x^2}}{96 \sqrt{1-c^2 x^2}}-\frac{b d^2 f \left (1-c^2 x^2\right )^{5/2} \sqrt{d-c^2 d x^2}}{36 c}+\frac{b c^5 d^2 g x^7 \sqrt{d-c^2 d x^2}}{49 \sqrt{1-c^2 x^2}}-\frac{3 b c^3 d^2 g x^5 \sqrt{d-c^2 d x^2}}{35 \sqrt{1-c^2 x^2}}+\frac{b c d^2 g x^3 \sqrt{d-c^2 d x^2}}{7 \sqrt{1-c^2 x^2}}-\frac{b d^2 g x \sqrt{d-c^2 d x^2}}{7 c \sqrt{1-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.402964, antiderivative size = 517, normalized size of antiderivative = 1., number of steps used = 14, number of rules used = 10, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.345, Rules used = {4778, 4764, 4650, 4648, 4642, 30, 14, 261, 4678, 194} \[ \frac{1}{6} d^2 f x \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )+\frac{5}{16} d^2 f x \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )+\frac{5}{24} d^2 f x \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )-\frac{5 d^2 f \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )^2}{32 b c \sqrt{1-c^2 x^2}}-\frac{d^2 g \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )}{7 c^2}-\frac{5 b c^3 d^2 f x^4 \sqrt{d-c^2 d x^2}}{96 \sqrt{1-c^2 x^2}}+\frac{25 b c d^2 f x^2 \sqrt{d-c^2 d x^2}}{96 \sqrt{1-c^2 x^2}}-\frac{b d^2 f \left (1-c^2 x^2\right )^{5/2} \sqrt{d-c^2 d x^2}}{36 c}+\frac{b c^5 d^2 g x^7 \sqrt{d-c^2 d x^2}}{49 \sqrt{1-c^2 x^2}}-\frac{3 b c^3 d^2 g x^5 \sqrt{d-c^2 d x^2}}{35 \sqrt{1-c^2 x^2}}+\frac{b c d^2 g x^3 \sqrt{d-c^2 d x^2}}{7 \sqrt{1-c^2 x^2}}-\frac{b d^2 g x \sqrt{d-c^2 d x^2}}{7 c \sqrt{1-c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4778
Rule 4764
Rule 4650
Rule 4648
Rule 4642
Rule 30
Rule 14
Rule 261
Rule 4678
Rule 194
Rubi steps
\begin{align*} \int (f+g x) \left (d-c^2 d x^2\right )^{5/2} \left (a+b \cos ^{-1}(c x)\right ) \, dx &=\frac{\left (d^2 \sqrt{d-c^2 d x^2}\right ) \int (f+g x) \left (1-c^2 x^2\right )^{5/2} \left (a+b \cos ^{-1}(c x)\right ) \, dx}{\sqrt{1-c^2 x^2}}\\ &=\frac{\left (d^2 \sqrt{d-c^2 d x^2}\right ) \int \left (f \left (1-c^2 x^2\right )^{5/2} \left (a+b \cos ^{-1}(c x)\right )+g x \left (1-c^2 x^2\right )^{5/2} \left (a+b \cos ^{-1}(c x)\right )\right ) \, dx}{\sqrt{1-c^2 x^2}}\\ &=\frac{\left (d^2 f \sqrt{d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^{5/2} \left (a+b \cos ^{-1}(c x)\right ) \, dx}{\sqrt{1-c^2 x^2}}+\frac{\left (d^2 g \sqrt{d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right )^{5/2} \left (a+b \cos ^{-1}(c x)\right ) \, dx}{\sqrt{1-c^2 x^2}}\\ &=\frac{1}{6} d^2 f x \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )-\frac{d^2 g \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )}{7 c^2}+\frac{\left (5 d^2 f \sqrt{d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^{3/2} \left (a+b \cos ^{-1}(c x)\right ) \, dx}{6 \sqrt{1-c^2 x^2}}+\frac{\left (b c d^2 f \sqrt{d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right )^2 \, dx}{6 \sqrt{1-c^2 x^2}}-\frac{\left (b d^2 g \sqrt{d-c^2 d x^2}\right ) \int \left (1-c^2 x^2\right )^3 \, dx}{7 c \sqrt{1-c^2 x^2}}\\ &=-\frac{b d^2 f \left (1-c^2 x^2\right )^{5/2} \sqrt{d-c^2 d x^2}}{36 c}+\frac{5}{24} d^2 f x \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )+\frac{1}{6} d^2 f x \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )-\frac{d^2 g \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )}{7 c^2}+\frac{\left (5 d^2 f \sqrt{d-c^2 d x^2}\right ) \int \sqrt{1-c^2 x^2} \left (a+b \cos ^{-1}(c x)\right ) \, dx}{8 \sqrt{1-c^2 x^2}}+\frac{\left (5 b c d^2 f \sqrt{d-c^2 d x^2}\right ) \int x \left (1-c^2 x^2\right ) \, dx}{24 \sqrt{1-c^2 x^2}}-\frac{\left (b d^2 g \sqrt{d-c^2 d x^2}\right ) \int \left (1-3 c^2 x^2+3 c^4 x^4-c^6 x^6\right ) \, dx}{7 c \sqrt{1-c^2 x^2}}\\ &=-\frac{b d^2 g x \sqrt{d-c^2 d x^2}}{7 c \sqrt{1-c^2 x^2}}+\frac{b c d^2 g x^3 \sqrt{d-c^2 d x^2}}{7 \sqrt{1-c^2 x^2}}-\frac{3 b c^3 d^2 g x^5 \sqrt{d-c^2 d x^2}}{35 \sqrt{1-c^2 x^2}}+\frac{b c^5 d^2 g x^7 \sqrt{d-c^2 d x^2}}{49 \sqrt{1-c^2 x^2}}-\frac{b d^2 f \left (1-c^2 x^2\right )^{5/2} \sqrt{d-c^2 d x^2}}{36 c}+\frac{5}{16} d^2 f x \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )+\frac{5}{24} d^2 f x \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )+\frac{1}{6} d^2 f x \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )-\frac{d^2 g \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )}{7 c^2}+\frac{\left (5 d^2 f \sqrt{d-c^2 d x^2}\right ) \int \frac{a+b \cos ^{-1}(c x)}{\sqrt{1-c^2 x^2}} \, dx}{16 \sqrt{1-c^2 x^2}}+\frac{\left (5 b c d^2 f \sqrt{d-c^2 d x^2}\right ) \int \left (x-c^2 x^3\right ) \, dx}{24 \sqrt{1-c^2 x^2}}+\frac{\left (5 b c d^2 f \sqrt{d-c^2 d x^2}\right ) \int x \, dx}{16 \sqrt{1-c^2 x^2}}\\ &=-\frac{b d^2 g x \sqrt{d-c^2 d x^2}}{7 c \sqrt{1-c^2 x^2}}+\frac{25 b c d^2 f x^2 \sqrt{d-c^2 d x^2}}{96 \sqrt{1-c^2 x^2}}+\frac{b c d^2 g x^3 \sqrt{d-c^2 d x^2}}{7 \sqrt{1-c^2 x^2}}-\frac{5 b c^3 d^2 f x^4 \sqrt{d-c^2 d x^2}}{96 \sqrt{1-c^2 x^2}}-\frac{3 b c^3 d^2 g x^5 \sqrt{d-c^2 d x^2}}{35 \sqrt{1-c^2 x^2}}+\frac{b c^5 d^2 g x^7 \sqrt{d-c^2 d x^2}}{49 \sqrt{1-c^2 x^2}}-\frac{b d^2 f \left (1-c^2 x^2\right )^{5/2} \sqrt{d-c^2 d x^2}}{36 c}+\frac{5}{16} d^2 f x \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )+\frac{5}{24} d^2 f x \left (1-c^2 x^2\right ) \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )+\frac{1}{6} d^2 f x \left (1-c^2 x^2\right )^2 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )-\frac{d^2 g \left (1-c^2 x^2\right )^3 \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )}{7 c^2}-\frac{5 d^2 f \sqrt{d-c^2 d x^2} \left (a+b \cos ^{-1}(c x)\right )^2}{32 b c \sqrt{1-c^2 x^2}}\\ \end{align*}
Mathematica [A] time = 2.90072, size = 526, normalized size = 1.02 \[ \frac{d^2 \left (\sqrt{d-c^2 d x^2} \left (94080 a c^6 f x^5 \sqrt{1-c^2 x^2}-305760 a c^4 f x^3 \sqrt{1-c^2 x^2}+388080 a c^2 f x \sqrt{1-c^2 x^2}+80640 a c^6 g x^6 \sqrt{1-c^2 x^2}-241920 a c^4 g x^4 \sqrt{1-c^2 x^2}+241920 a c^2 g x^2 \sqrt{1-c^2 x^2}-80640 a g \sqrt{1-c^2 x^2}+66150 b c f \cos \left (2 \cos ^{-1}(c x)\right )-6615 b c f \cos \left (4 \cos ^{-1}(c x)\right )+490 b c f \cos \left (6 \cos ^{-1}(c x)\right )-44100 b c g x+8820 b g \cos \left (3 \cos ^{-1}(c x)\right )-1764 b g \cos \left (5 \cos ^{-1}(c x)\right )+180 b g \cos \left (7 \cos ^{-1}(c x)\right )\right )-176400 a c \sqrt{d} f \sqrt{1-c^2 x^2} \tan ^{-1}\left (\frac{c x \sqrt{d-c^2 d x^2}}{\sqrt{d} \left (c^2 x^2-1\right )}\right )+84 b \sqrt{d-c^2 d x^2} \cos ^{-1}(c x) \left (3496 c^2 g x^2 \sqrt{1-c^2 x^2}-1816 g \sqrt{1-c^2 x^2}-864 g \left (1-c^2 x^2\right )^{3/2} \cos \left (2 \cos ^{-1}(c x)\right )-120 g \left (1-c^2 x^2\right )^{3/2} \cos \left (4 \cos ^{-1}(c x)\right )+1575 c f \sin \left (2 \cos ^{-1}(c x)\right )-315 c f \sin \left (4 \cos ^{-1}(c x)\right )+35 c f \sin \left (6 \cos ^{-1}(c x)\right )-280 g \sin \left (3 \cos ^{-1}(c x)\right )-168 g \sin \left (5 \cos ^{-1}(c x)\right )\right )-88200 b c f \sqrt{d-c^2 d x^2} \cos ^{-1}(c x)^2\right )}{564480 c^2 \sqrt{1-c^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.602, size = 931, normalized size = 1.8 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (a c^{4} d^{2} g x^{5} + a c^{4} d^{2} f x^{4} - 2 \, a c^{2} d^{2} g x^{3} - 2 \, a c^{2} d^{2} f x^{2} + a d^{2} g x + a d^{2} f +{\left (b c^{4} d^{2} g x^{5} + b c^{4} d^{2} f x^{4} - 2 \, b c^{2} d^{2} g x^{3} - 2 \, b c^{2} d^{2} f x^{2} + b d^{2} g x + b d^{2} f\right )} \arccos \left (c x\right )\right )} \sqrt{-c^{2} d x^{2} + d}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (-c^{2} d x^{2} + d\right )}^{\frac{5}{2}}{\left (g x + f\right )}{\left (b \arccos \left (c x\right ) + a\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]