Optimal. Leaf size=93 \[ \frac {f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}} \left (f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}+d+e x\right )^n}{e n \sqrt {a g+\frac {2 d e g x}{f^2}+\frac {e^2 g x^2}{f^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.74, antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 60, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {2127, 2125, 2121, 12, 30} \[ \frac {f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}} \left (f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}+d+e x\right )^n}{e n \sqrt {a g+\frac {2 d e g x}{f^2}+\frac {e^2 g x^2}{f^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 30
Rule 2121
Rule 2125
Rule 2127
Rubi steps
\begin {align*} \int \frac {\left (d+e x+f \sqrt {\frac {a f^2+e x (2 d+e x)}{f^2}}\right )^n}{\sqrt {\frac {a f^2 g+e g x (2 d+e x)}{f^2}}} \, dx &=\int \frac {\left (d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )^n}{\sqrt {a g+\frac {2 d e g x}{f^2}+\frac {e^2 g x^2}{f^2}}} \, dx\\ &=\frac {\sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}} \int \frac {\left (d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )^n}{\sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}} \, dx}{\sqrt {a g+\frac {2 d e g x}{f^2}+\frac {e^2 g x^2}{f^2}}}\\ &=\frac {\left (2 f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right ) \operatorname {Subst}\left (\int \frac {x^{-1+n}}{2 e} \, dx,x,d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )}{\sqrt {a g+\frac {2 d e g x}{f^2}+\frac {e^2 g x^2}{f^2}}}\\ &=\frac {\left (f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right ) \operatorname {Subst}\left (\int x^{-1+n} \, dx,x,d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )}{e \sqrt {a g+\frac {2 d e g x}{f^2}+\frac {e^2 g x^2}{f^2}}}\\ &=\frac {f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}} \left (d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )^n}{e n \sqrt {a g+\frac {2 d e g x}{f^2}+\frac {e^2 g x^2}{f^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 76, normalized size = 0.82 \[ \frac {f \sqrt {a+\frac {e x (2 d+e x)}{f^2}} \left (f \sqrt {a+\frac {e x (2 d+e x)}{f^2}}+d+e x\right )^n}{e n \sqrt {g \left (a+\frac {e x (2 d+e x)}{f^2}\right )}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.45, size = 117, normalized size = 1.26 \[ \frac {{\left (e x + f \sqrt {\frac {e^{2} x^{2} + a f^{2} + 2 \, d e x}{f^{2}}} + d\right )}^{n} f^{3} \sqrt {\frac {e^{2} g x^{2} + a f^{2} g + 2 \, d e g x}{f^{2}}} \sqrt {\frac {e^{2} x^{2} + a f^{2} + 2 \, d e x}{f^{2}}}}{e^{3} g n x^{2} + a e f^{2} g n + 2 \, d e^{2} g n x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (e x + f \sqrt {\frac {a f^{2} + {\left (e x + 2 \, d\right )} e x}{f^{2}}} + d\right )}^{n}}{\sqrt {\frac {a f^{2} g + {\left (e x + 2 \, d\right )} e g x}{f^{2}}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.11, size = 0, normalized size = 0.00 \[ \int \frac {\left (e x +d +\sqrt {\frac {a \,f^{2}+\left (e x +2 d \right ) e x}{f^{2}}}\, f \right )^{n}}{\sqrt {\frac {a \,f^{2} g +\left (e x +2 d \right ) e g x}{f^{2}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ f \int \frac {{\left (e x + d + \sqrt {a f^{2} + {\left (e x + 2 \, d\right )} e x}\right )}^{n}}{\sqrt {a f^{2} g + {\left (e x + 2 \, d\right )} e g x}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (d+e\,x+f\,\sqrt {\frac {a\,f^2+e\,x\,\left (2\,d+e\,x\right )}{f^2}}\right )}^n}{\sqrt {\frac {a\,g\,f^2+e\,g\,x\,\left (2\,d+e\,x\right )}{f^2}}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________