Optimal. Leaf size=107 \[ \frac {\left (d^2-a f^2\right ) \left (f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}+d+e x\right )^{n-1}}{2 e (1-n)}+\frac {\left (f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}+d+e x\right )^{n+1}}{2 e (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 107, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2116, 12, 14} \[ \frac {\left (d^2-a f^2\right ) \left (f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}+d+e x\right )^{n-1}}{2 e (1-n)}+\frac {\left (f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}+d+e x\right )^{n+1}}{2 e (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2116
Rubi steps
\begin {align*} \int \left (d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )^n \, dx &=2 \operatorname {Subst}\left (\int \frac {x^{-2+n} \left (d^2 e-\left (-a e+\frac {2 d^2 e}{f^2}\right ) f^2+e x^2\right )}{4 e^2} \, dx,x,d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )\\ &=\frac {\operatorname {Subst}\left (\int x^{-2+n} \left (d^2 e-\left (-a e+\frac {2 d^2 e}{f^2}\right ) f^2+e x^2\right ) \, dx,x,d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )}{2 e^2}\\ &=\frac {\operatorname {Subst}\left (\int \left (-e \left (d^2-a f^2\right ) x^{-2+n}+e x^n\right ) \, dx,x,d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )}{2 e^2}\\ &=\frac {\left (d^2-a f^2\right ) \left (d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )^{-1+n}}{2 e (1-n)}+\frac {\left (d+e x+f \sqrt {a+\frac {2 d e x}{f^2}+\frac {e^2 x^2}{f^2}}\right )^{1+n}}{2 e (1+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.39, size = 89, normalized size = 0.83 \[ \frac {\left (f \sqrt {a+\frac {e x (2 d+e x)}{f^2}}+d+e x\right )^{n-1} \left (\frac {a f^2-d^2}{n-1}+\frac {\left (f \sqrt {a+\frac {e x (2 d+e x)}{f^2}}+d+e x\right )^2}{n+1}\right )}{2 e} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 80, normalized size = 0.75 \[ \frac {{\left (f n \sqrt {\frac {e^{2} x^{2} + a f^{2} + 2 \, d e x}{f^{2}}} - e x - d\right )} {\left (e x + f \sqrt {\frac {e^{2} x^{2} + a f^{2} + 2 \, d e x}{f^{2}}} + d\right )}^{n}}{e n^{2} - e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (e x + \sqrt {\frac {e^{2} x^{2}}{f^{2}} + a + \frac {2 \, d e x}{f^{2}}} f + d\right )}^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.01, size = 0, normalized size = 0.00 \[ \int \left (e x +d +\sqrt {\frac {e^{2} x^{2}}{f^{2}}+a +\frac {2 d e x}{f^{2}}}\, f \right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (e x + \sqrt {\frac {e^{2} x^{2}}{f^{2}} + a + \frac {2 \, d e x}{f^{2}}} f + d\right )}^{n}\,{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 {\left (d+f\,\sqrt {a+\frac {e^2\,x^2}{f^2}+\frac {2\,d\,e\,x}{f^2}}+e\,x\right )}^n \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d + e x + f \sqrt {a + \frac {2 d e x}{f^{2}} + \frac {e^{2} x^{2}}{f^{2}}}\right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________