Integrand size = 21, antiderivative size = 257 \[ \int \frac {(f+g x) (a+b \arcsin (c x))}{(d+e x)^4} \, dx=\frac {b c (e f-d g) \sqrt {1-c^2 x^2}}{6 e \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (c^2 d f-e g\right ) \sqrt {1-c^2 x^2}}{2 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {(e f-d g) (a+b \arcsin (c x))}{3 e^2 (d+e x)^3}-\frac {g (a+b \arcsin (c x))}{2 e^2 (d+e x)^2}+\frac {b c^3 \left (e^2 (e f-4 d g)+c^2 d^2 (2 e f+d g)\right ) \arctan \left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{6 e^2 \left (c^2 d^2-e^2\right )^{5/2}} \]
[Out]
Time = 0.30 (sec) , antiderivative size = 257, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {45, 4837, 12, 849, 821, 739, 210} \[ \int \frac {(f+g x) (a+b \arcsin (c x))}{(d+e x)^4} \, dx=-\frac {(e f-d g) (a+b \arcsin (c x))}{3 e^2 (d+e x)^3}-\frac {g (a+b \arcsin (c x))}{2 e^2 (d+e x)^2}+\frac {b c^3 \arctan \left (\frac {c^2 d x+e}{\sqrt {1-c^2 x^2} \sqrt {c^2 d^2-e^2}}\right ) \left (c^2 d^2 (d g+2 e f)+e^2 (e f-4 d g)\right )}{6 e^2 \left (c^2 d^2-e^2\right )^{5/2}}+\frac {b c \sqrt {1-c^2 x^2} \left (c^2 d f-e g\right )}{2 \left (c^2 d^2-e^2\right )^2 (d+e x)}+\frac {b c \sqrt {1-c^2 x^2} (e f-d g)}{6 e \left (c^2 d^2-e^2\right ) (d+e x)^2} \]
[In]
[Out]
Rule 12
Rule 45
Rule 210
Rule 739
Rule 821
Rule 849
Rule 4837
Rubi steps \begin{align*} \text {integral}& = -\frac {(e f-d g) (a+b \arcsin (c x))}{3 e^2 (d+e x)^3}-\frac {g (a+b \arcsin (c x))}{2 e^2 (d+e x)^2}-(b c) \int \frac {-2 e f-d g-3 e g x}{6 e^2 (d+e x)^3 \sqrt {1-c^2 x^2}} \, dx \\ & = -\frac {(e f-d g) (a+b \arcsin (c x))}{3 e^2 (d+e x)^3}-\frac {g (a+b \arcsin (c x))}{2 e^2 (d+e x)^2}-\frac {(b c) \int \frac {-2 e f-d g-3 e g x}{(d+e x)^3 \sqrt {1-c^2 x^2}} \, dx}{6 e^2} \\ & = \frac {b c (e f-d g) \sqrt {1-c^2 x^2}}{6 e \left (c^2 d^2-e^2\right ) (d+e x)^2}-\frac {(e f-d g) (a+b \arcsin (c x))}{3 e^2 (d+e x)^3}-\frac {g (a+b \arcsin (c x))}{2 e^2 (d+e x)^2}-\frac {(b c) \int \frac {2 \left (3 e^2 g-c^2 d (2 e f+d g)\right )+2 c^2 e (e f-d g) x}{(d+e x)^2 \sqrt {1-c^2 x^2}} \, dx}{12 e^2 \left (c^2 d^2-e^2\right )} \\ & = \frac {b c (e f-d g) \sqrt {1-c^2 x^2}}{6 e \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (c^2 d f-e g\right ) \sqrt {1-c^2 x^2}}{2 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {(e f-d g) (a+b \arcsin (c x))}{3 e^2 (d+e x)^3}-\frac {g (a+b \arcsin (c x))}{2 e^2 (d+e x)^2}+\frac {\left (b c^3 \left (e^2 (e f-4 d g)+c^2 d^2 (2 e f+d g)\right )\right ) \int \frac {1}{(d+e x) \sqrt {1-c^2 x^2}} \, dx}{6 e^2 \left (c^2 d^2-e^2\right )^2} \\ & = \frac {b c (e f-d g) \sqrt {1-c^2 x^2}}{6 e \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (c^2 d f-e g\right ) \sqrt {1-c^2 x^2}}{2 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {(e f-d g) (a+b \arcsin (c x))}{3 e^2 (d+e x)^3}-\frac {g (a+b \arcsin (c x))}{2 e^2 (d+e x)^2}-\frac {\left (b c^3 \left (e^2 (e f-4 d g)+c^2 d^2 (2 e f+d g)\right )\right ) \text {Subst}\left (\int \frac {1}{-c^2 d^2+e^2-x^2} \, dx,x,\frac {e+c^2 d x}{\sqrt {1-c^2 x^2}}\right )}{6 e^2 \left (c^2 d^2-e^2\right )^2} \\ & = \frac {b c (e f-d g) \sqrt {1-c^2 x^2}}{6 e \left (c^2 d^2-e^2\right ) (d+e x)^2}+\frac {b c \left (c^2 d f-e g\right ) \sqrt {1-c^2 x^2}}{2 \left (c^2 d^2-e^2\right )^2 (d+e x)}-\frac {(e f-d g) (a+b \arcsin (c x))}{3 e^2 (d+e x)^3}-\frac {g (a+b \arcsin (c x))}{2 e^2 (d+e x)^2}+\frac {b c^3 \left (e^2 (e f-4 d g)+c^2 d^2 (2 e f+d g)\right ) \arctan \left (\frac {e+c^2 d x}{\sqrt {c^2 d^2-e^2} \sqrt {1-c^2 x^2}}\right )}{6 e^2 \left (c^2 d^2-e^2\right )^{5/2}} \\ \end{align*}
Time = 0.76 (sec) , antiderivative size = 321, normalized size of antiderivative = 1.25 \[ \int \frac {(f+g x) (a+b \arcsin (c x))}{(d+e x)^4} \, dx=\frac {\frac {a (-2 e f+2 d g)}{(d+e x)^3}-\frac {3 a g}{(d+e x)^2}+\frac {b c e \sqrt {1-c^2 x^2} \left (c^2 d \left (4 d e f-d^2 g+3 e^2 f x\right )-e^2 (2 d g+e (f+3 g x))\right )}{\left (-c^2 d^2+e^2\right )^2 (d+e x)^2}-\frac {b (2 e f+d g+3 e g x) \arcsin (c x)}{(d+e x)^3}+\frac {b c^3 \left (e^2 (e f-4 d g)+c^2 d^2 (2 e f+d g)\right ) \log (d+e x)}{(-c d+e)^2 (c d+e)^2 \sqrt {-c^2 d^2+e^2}}-\frac {b c^3 \left (e^2 (e f-4 d g)+c^2 d^2 (2 e f+d g)\right ) \log \left (e+c^2 d x+\sqrt {-c^2 d^2+e^2} \sqrt {1-c^2 x^2}\right )}{(-c d+e)^2 (c d+e)^2 \sqrt {-c^2 d^2+e^2}}}{6 e^2} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(907\) vs. \(2(237)=474\).
Time = 3.43 (sec) , antiderivative size = 908, normalized size of antiderivative = 3.53
method | result | size |
parts | \(a \left (-\frac {g}{2 e^{2} \left (e x +d \right )^{2}}-\frac {-d g +e f}{3 e^{2} \left (e x +d \right )^{3}}\right )+\frac {b \left (\frac {c^{4} \arcsin \left (c x \right ) d g}{3 e^{2} \left (c e x +d c \right )^{3}}-\frac {c^{4} \arcsin \left (c x \right ) f}{3 e \left (c e x +d c \right )^{3}}-\frac {c^{3} \arcsin \left (c x \right ) g}{2 e^{2} \left (c e x +d c \right )^{2}}+\frac {c^{3} \left (\frac {3 g \left (\frac {e^{2} \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{\left (c^{2} d^{2}-e^{2}\right ) \left (c x +\frac {d c}{e}\right )}-\frac {d c e \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{\left (c^{2} d^{2}-e^{2}\right ) \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}\right )}{e^{2}}-\frac {2 c \left (d g -e f \right ) \left (\frac {e^{2} \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{2 \left (c^{2} d^{2}-e^{2}\right ) \left (c x +\frac {d c}{e}\right )^{2}}+\frac {3 d c e \left (\frac {e^{2} \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{\left (c^{2} d^{2}-e^{2}\right ) \left (c x +\frac {d c}{e}\right )}-\frac {d c e \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{\left (c^{2} d^{2}-e^{2}\right ) \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}\right )}{2 \left (c^{2} d^{2}-e^{2}\right )}+\frac {e^{2} \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{2 \left (c^{2} d^{2}-e^{2}\right ) \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}\right )}{e^{3}}\right )}{6 e^{2}}\right )}{c}\) | \(908\) |
derivativedivides | \(\frac {a \,c^{3} \left (\frac {c \left (d g -e f \right )}{3 e^{2} \left (c e x +d c \right )^{3}}-\frac {g}{2 e^{2} \left (c e x +d c \right )^{2}}\right )+b \,c^{3} \left (\frac {\arcsin \left (c x \right ) c d g}{3 e^{2} \left (c e x +d c \right )^{3}}-\frac {\arcsin \left (c x \right ) c f}{3 e \left (c e x +d c \right )^{3}}-\frac {\arcsin \left (c x \right ) g}{2 e^{2} \left (c e x +d c \right )^{2}}+\frac {\frac {3 g \left (\frac {e^{2} \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{\left (c^{2} d^{2}-e^{2}\right ) \left (c x +\frac {d c}{e}\right )}-\frac {d c e \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{\left (c^{2} d^{2}-e^{2}\right ) \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}\right )}{e^{2}}-\frac {2 c \left (d g -e f \right ) \left (\frac {e^{2} \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{2 \left (c^{2} d^{2}-e^{2}\right ) \left (c x +\frac {d c}{e}\right )^{2}}+\frac {3 d c e \left (\frac {e^{2} \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{\left (c^{2} d^{2}-e^{2}\right ) \left (c x +\frac {d c}{e}\right )}-\frac {d c e \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{\left (c^{2} d^{2}-e^{2}\right ) \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}\right )}{2 \left (c^{2} d^{2}-e^{2}\right )}+\frac {e^{2} \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{2 \left (c^{2} d^{2}-e^{2}\right ) \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}\right )}{e^{3}}}{6 e^{2}}\right )}{c}\) | \(912\) |
default | \(\frac {a \,c^{3} \left (\frac {c \left (d g -e f \right )}{3 e^{2} \left (c e x +d c \right )^{3}}-\frac {g}{2 e^{2} \left (c e x +d c \right )^{2}}\right )+b \,c^{3} \left (\frac {\arcsin \left (c x \right ) c d g}{3 e^{2} \left (c e x +d c \right )^{3}}-\frac {\arcsin \left (c x \right ) c f}{3 e \left (c e x +d c \right )^{3}}-\frac {\arcsin \left (c x \right ) g}{2 e^{2} \left (c e x +d c \right )^{2}}+\frac {\frac {3 g \left (\frac {e^{2} \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{\left (c^{2} d^{2}-e^{2}\right ) \left (c x +\frac {d c}{e}\right )}-\frac {d c e \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{\left (c^{2} d^{2}-e^{2}\right ) \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}\right )}{e^{2}}-\frac {2 c \left (d g -e f \right ) \left (\frac {e^{2} \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{2 \left (c^{2} d^{2}-e^{2}\right ) \left (c x +\frac {d c}{e}\right )^{2}}+\frac {3 d c e \left (\frac {e^{2} \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{\left (c^{2} d^{2}-e^{2}\right ) \left (c x +\frac {d c}{e}\right )}-\frac {d c e \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{\left (c^{2} d^{2}-e^{2}\right ) \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}\right )}{2 \left (c^{2} d^{2}-e^{2}\right )}+\frac {e^{2} \ln \left (\frac {-\frac {2 \left (c^{2} d^{2}-e^{2}\right )}{e^{2}}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}+2 \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}\, \sqrt {-\left (c x +\frac {d c}{e}\right )^{2}+\frac {2 d c \left (c x +\frac {d c}{e}\right )}{e}-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}{c x +\frac {d c}{e}}\right )}{2 \left (c^{2} d^{2}-e^{2}\right ) \sqrt {-\frac {c^{2} d^{2}-e^{2}}{e^{2}}}}\right )}{e^{3}}}{6 e^{2}}\right )}{c}\) | \(912\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 946 vs. \(2 (237) = 474\).
Time = 16.15 (sec) , antiderivative size = 1920, normalized size of antiderivative = 7.47 \[ \int \frac {(f+g x) (a+b \arcsin (c x))}{(d+e x)^4} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {(f+g x) (a+b \arcsin (c x))}{(d+e x)^4} \, dx=\int \frac {\left (a + b \operatorname {asin}{\left (c x \right )}\right ) \left (f + g x\right )}{\left (d + e x\right )^{4}}\, dx \]
[In]
[Out]
\[ \int \frac {(f+g x) (a+b \arcsin (c x))}{(d+e x)^4} \, dx=\int { \frac {{\left (g x + f\right )} {\left (b \arcsin \left (c x\right ) + a\right )}}{{\left (e x + d\right )}^{4}} \,d x } \]
[In]
[Out]
\[ \int \frac {(f+g x) (a+b \arcsin (c x))}{(d+e x)^4} \, dx=\int { \frac {{\left (g x + f\right )} {\left (b \arcsin \left (c x\right ) + a\right )}}{{\left (e x + d\right )}^{4}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(f+g x) (a+b \arcsin (c x))}{(d+e x)^4} \, dx=\int \frac {\left (f+g\,x\right )\,\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}{{\left (d+e\,x\right )}^4} \,d x \]
[In]
[Out]