\(\int \frac {b-\sqrt {b^2-4 a c}+2 c x^2}{\sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}}} \, dx\) [51]

Optimal result
Mathematica [C] (verified)
Rubi [B] (verified)
Maple [B] (warning: unable to verify)
Fricas [B] (verification not implemented)
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 81, antiderivative size = 224 \[ \int \frac {b-\sqrt {b^2-4 a c}+2 c x^2}{\sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}}} \, dx=\frac {\sqrt {-b+\sqrt {b^2-4 a c}} \left (b+\sqrt {b^2-4 a c}\right ) E\left (\arcsin \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {-b+\sqrt {b^2-4 a c}}}\right )|\frac {b-\sqrt {b^2-4 a c}}{b+\sqrt {b^2-4 a c}}\right )}{\sqrt {2} \sqrt {c}}-\frac {\sqrt {2} \sqrt {b^2-4 a c} \sqrt {-b+\sqrt {b^2-4 a c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {-b+\sqrt {b^2-4 a c}}}\right ),\frac {b-\sqrt {b^2-4 a c}}{b+\sqrt {b^2-4 a c}}\right )}{\sqrt {c}} \] Output:

1/2*(-b+(-4*a*c+b^2)^(1/2))^(1/2)*(b+(-4*a*c+b^2)^(1/2))*EllipticE(2^(1/2) 
*c^(1/2)*x/(-b+(-4*a*c+b^2)^(1/2))^(1/2),((b-(-4*a*c+b^2)^(1/2))/(b+(-4*a* 
c+b^2)^(1/2)))^(1/2))*2^(1/2)/c^(1/2)-2^(1/2)*(-4*a*c+b^2)^(1/2)*(-b+(-4*a 
*c+b^2)^(1/2))^(1/2)*EllipticF(2^(1/2)*c^(1/2)*x/(-b+(-4*a*c+b^2)^(1/2))^( 
1/2),((b-(-4*a*c+b^2)^(1/2))/(b+(-4*a*c+b^2)^(1/2)))^(1/2))/c^(1/2)
                                                                                    
                                                                                    
 

Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 3.09 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.45 \[ \int \frac {b-\sqrt {b^2-4 a c}+2 c x^2}{\sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}}} \, dx=-2 i \sqrt {2} a \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} E\left (i \text {arcsinh}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} x\right )|\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right ) \] Input:

Integrate[(b - Sqrt[b^2 - 4*a*c] + 2*c*x^2)/(Sqrt[1 + (2*c*x^2)/(b - Sqrt[ 
b^2 - 4*a*c])]*Sqrt[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]),x]
 

Output:

(-2*I)*Sqrt[2]*a*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*EllipticE[I*ArcSinh[Sqrt[ 
2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*x], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b 
^2 - 4*a*c])]
 

Rubi [B] (verified)

Leaf count is larger than twice the leaf count of optimal. \(557\) vs. \(2(224)=448\).

Time = 0.73 (sec) , antiderivative size = 557, normalized size of antiderivative = 2.49, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {281, 324, 320, 388, 313}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {-\sqrt {b^2-4 a c}+b+2 c x^2}{\sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1} \sqrt {\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}} \, dx\)

\(\Big \downarrow \) 281

\(\displaystyle \left (b-\sqrt {b^2-4 a c}\right ) \int \frac {\sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1}}{\sqrt {\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}+1}}dx\)

\(\Big \downarrow \) 324

\(\displaystyle \left (b-\sqrt {b^2-4 a c}\right ) \left (\int \frac {1}{\sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1} \sqrt {\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}+1}}dx+\frac {2 c \int \frac {x^2}{\sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1} \sqrt {\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}+1}}dx}{b-\sqrt {b^2-4 a c}}\right )\)

\(\Big \downarrow \) 320

\(\displaystyle \left (b-\sqrt {b^2-4 a c}\right ) \left (\frac {2 c \int \frac {x^2}{\sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1} \sqrt {\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}+1}}dx}{b-\sqrt {b^2-4 a c}}+\frac {\sqrt {\sqrt {b^2-4 a c}+b} \sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right ),-\frac {2 \sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right )}{\sqrt {2} \sqrt {c} \sqrt {\frac {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1}{\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}} \sqrt {\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}}\right )\)

\(\Big \downarrow \) 388

\(\displaystyle \left (b-\sqrt {b^2-4 a c}\right ) \left (\frac {2 c \left (\frac {x \left (b-\sqrt {b^2-4 a c}\right ) \sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1}}{2 c \sqrt {\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}}-\frac {\left (b-\sqrt {b^2-4 a c}\right ) \int \frac {\sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1}}{\left (\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}+1\right )^{3/2}}dx}{2 c}\right )}{b-\sqrt {b^2-4 a c}}+\frac {\sqrt {\sqrt {b^2-4 a c}+b} \sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right ),-\frac {2 \sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right )}{\sqrt {2} \sqrt {c} \sqrt {\frac {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1}{\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}} \sqrt {\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}}\right )\)

\(\Big \downarrow \) 313

\(\displaystyle \left (b-\sqrt {b^2-4 a c}\right ) \left (\frac {2 c \left (\frac {x \left (b-\sqrt {b^2-4 a c}\right ) \sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1}}{2 c \sqrt {\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}}-\frac {\left (b-\sqrt {b^2-4 a c}\right ) \sqrt {\sqrt {b^2-4 a c}+b} \sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1} E\left (\arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )|-\frac {2 \sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right )}{2 \sqrt {2} c^{3/2} \sqrt {\frac {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1}{\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}} \sqrt {\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}}\right )}{b-\sqrt {b^2-4 a c}}+\frac {\sqrt {\sqrt {b^2-4 a c}+b} \sqrt {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1} \operatorname {EllipticF}\left (\arctan \left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right ),-\frac {2 \sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right )}{\sqrt {2} \sqrt {c} \sqrt {\frac {\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}+1}{\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}} \sqrt {\frac {2 c x^2}{\sqrt {b^2-4 a c}+b}+1}}\right )\)

Input:

Int[(b - Sqrt[b^2 - 4*a*c] + 2*c*x^2)/(Sqrt[1 + (2*c*x^2)/(b - Sqrt[b^2 - 
4*a*c])]*Sqrt[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]),x]
 

Output:

(b - Sqrt[b^2 - 4*a*c])*((2*c*(((b - Sqrt[b^2 - 4*a*c])*x*Sqrt[1 + (2*c*x^ 
2)/(b - Sqrt[b^2 - 4*a*c])])/(2*c*Sqrt[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c 
])]) - ((b - Sqrt[b^2 - 4*a*c])*Sqrt[b + Sqrt[b^2 - 4*a*c]]*Sqrt[1 + (2*c* 
x^2)/(b - Sqrt[b^2 - 4*a*c])]*EllipticE[ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b 
+ Sqrt[b^2 - 4*a*c]]], (-2*Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])])/(2 
*Sqrt[2]*c^(3/2)*Sqrt[(1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c]))/(1 + (2*c*x^ 
2)/(b + Sqrt[b^2 - 4*a*c]))]*Sqrt[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])])) 
)/(b - Sqrt[b^2 - 4*a*c]) + (Sqrt[b + Sqrt[b^2 - 4*a*c]]*Sqrt[1 + (2*c*x^2 
)/(b - Sqrt[b^2 - 4*a*c])]*EllipticF[ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + S 
qrt[b^2 - 4*a*c]]], (-2*Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])])/(Sqrt 
[2]*Sqrt[c]*Sqrt[(1 + (2*c*x^2)/(b - Sqrt[b^2 - 4*a*c]))/(1 + (2*c*x^2)/(b 
 + Sqrt[b^2 - 4*a*c]))]*Sqrt[1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])]))
 

Defintions of rubi rules used

rule 281
Int[(u_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_ 
Symbol] :> Simp[(b/d)^p   Int[u*(c + d*x^n)^(p + q), x], x] /; FreeQ[{a, b, 
 c, d, n, p, q}, x] && EqQ[b*c - a*d, 0] && IntegerQ[p] &&  !(IntegerQ[q] & 
& SimplerQ[a + b*x^n, c + d*x^n])
 

rule 313
Int[Sqrt[(a_) + (b_.)*(x_)^2]/((c_) + (d_.)*(x_)^2)^(3/2), x_Symbol] :> Sim 
p[(Sqrt[a + b*x^2]/(c*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*(c 
+ d*x^2)))]))*EllipticE[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; FreeQ 
[{a, b, c, d}, x] && PosQ[b/a] && PosQ[d/c]
 

rule 320
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> S 
imp[(Sqrt[a + b*x^2]/(a*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*( 
c + d*x^2)))]))*EllipticF[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; Fre 
eQ[{a, b, c, d}, x] && PosQ[d/c] && PosQ[b/a] &&  !SimplerSqrtQ[b/a, d/c]
 

rule 324
Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[ 
a   Int[1/(Sqrt[a + b*x^2]*Sqrt[c + d*x^2]), x], x] + Simp[b   Int[x^2/(Sqr 
t[a + b*x^2]*Sqrt[c + d*x^2]), x], x] /; FreeQ[{a, b, c, d}, x] && PosQ[d/c 
] && PosQ[b/a]
 

rule 388
Int[(x_)^2/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] 
 :> Simp[x*(Sqrt[a + b*x^2]/(b*Sqrt[c + d*x^2])), x] - Simp[c/b   Int[Sqrt[ 
a + b*x^2]/(c + d*x^2)^(3/2), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - 
 a*d, 0] && PosQ[b/a] && PosQ[d/c] &&  !SimplerSqrtQ[b/a, d/c]
 
Maple [B] (warning: unable to verify)

Leaf count of result is larger than twice the leaf count of optimal. \(2476\) vs. \(2(183)=366\).

Time = 1.26 (sec) , antiderivative size = 2477, normalized size of antiderivative = 11.06

method result size
elliptic \(\text {Expression too large to display}\) \(2477\)

Input:

int((2*c*x^2-(-4*a*c+b^2)^(1/2)+b)/(1+2*c*x^2/(b-(-4*a*c+b^2)^(1/2)))^(1/2 
)/(1+2*c*x^2/(b+(-4*a*c+b^2)^(1/2)))^(1/2),x,method=_RETURNVERBOSE)
 

Output:

-1/2*(-2*c*x^2+(-4*a*c+b^2)^(1/2)-b)*((4*a*c-b^2)*(-2*c*x^2+(-4*a*c+b^2)^( 
1/2)-b)*(2*c*x^2+(-4*a*c+b^2)^(1/2)+b)/a/c)^(1/2)*(-(-2*c*x^2+(-4*a*c+b^2) 
^(1/2)-b)*(2*c*x^2+(-4*a*c+b^2)^(1/2)+b)/a/c)^(1/2)/((-2*c*x^2+(-4*a*c+b^2 
)^(1/2)-b)/(-b+(-4*a*c+b^2)^(1/2)))^(1/2)/((2*c*x^2+(-4*a*c+b^2)^(1/2)+b)/ 
(b+(-4*a*c+b^2)^(1/2)))^(1/2)/(2*((4*a*c-b^2)*(-2*c*x^2+(-4*a*c+b^2)^(1/2) 
-b)*(2*c*x^2+(-4*a*c+b^2)^(1/2)+b)/a/c)^(1/2)*c*x^2+4*(-(-2*c*x^2+(-4*a*c+ 
b^2)^(1/2)-b)*(2*c*x^2+(-4*a*c+b^2)^(1/2)+b)/a/c)^(1/2)*a*c-(-(-2*c*x^2+(- 
4*a*c+b^2)^(1/2)-b)*(2*c*x^2+(-4*a*c+b^2)^(1/2)+b)/a/c)^(1/2)*b^2+((4*a*c- 
b^2)*(-2*c*x^2+(-4*a*c+b^2)^(1/2)-b)*(2*c*x^2+(-4*a*c+b^2)^(1/2)+b)/a/c)^( 
1/2)*b)*(1/2*(4*a*c-b^2)/(-2*((-4*a*c+b^2)^(5/2)-(-4*a*c+b^2)^(3/2)*b^2-16 
*a^2*b*c^2+4*a*b^3*c)/(-b+(-4*a*c+b^2)^(1/2))/(b+(-4*a*c+b^2)^(1/2))/a/(4* 
a*c-b^2))^(1/2)*(4+2*((-4*a*c+b^2)^(5/2)-(-4*a*c+b^2)^(3/2)*b^2-16*a^2*b*c 
^2+4*a*b^3*c)/(-b+(-4*a*c+b^2)^(1/2))/(b+(-4*a*c+b^2)^(1/2))/a/(4*a*c-b^2) 
*x^2)^(1/2)*(4-2*((-4*a*c+b^2)^(5/2)-(-4*a*c+b^2)^(3/2)*b^2+16*a^2*b*c^2-4 
*a*b^3*c)/(-b+(-4*a*c+b^2)^(1/2))/(b+(-4*a*c+b^2)^(1/2))/a/(4*a*c-b^2)*x^2 
)^(1/2)/(-4*a*c+b^2-8*c^2*x^2/(b+(-4*a*c+b^2)^(1/2))*a+2*c*x^2/(b+(-4*a*c+ 
b^2)^(1/2))*b^2-8*c^2*x^2/(b-(-4*a*c+b^2)^(1/2))*a+2*c*x^2/(b-(-4*a*c+b^2) 
^(1/2))*b^2-16*c^3/(b-(-4*a*c+b^2)^(1/2))/(b+(-4*a*c+b^2)^(1/2))*x^4*a+4*c 
^2/(b-(-4*a*c+b^2)^(1/2))/(b+(-4*a*c+b^2)^(1/2))*x^4*b^2)^(1/2)*EllipticF( 
1/2*x*(-2*((-4*a*c+b^2)^(5/2)-(-4*a*c+b^2)^(3/2)*b^2-16*a^2*b*c^2+4*a*b...
 

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 372 vs. \(2 (183) = 366\).

Time = 0.12 (sec) , antiderivative size = 372, normalized size of antiderivative = 1.66 \[ \int \frac {b-\sqrt {b^2-4 a c}+2 c x^2}{\sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}}} \, dx=\frac {2 \, \sqrt {\frac {1}{2}} {\left (a c x \sqrt {\frac {b^{2} - 4 \, a c}{c^{2}}} - a b x\right )} \sqrt {\frac {c \sqrt {\frac {b^{2} - 4 \, a c}{c^{2}}} - b}{c}} \sqrt {\frac {c}{a}} E(\arcsin \left (\frac {\sqrt {\frac {1}{2}} \sqrt {\frac {c \sqrt {\frac {b^{2} - 4 \, a c}{c^{2}}} - b}{c}}}{x}\right )\,|\,\frac {b c \sqrt {\frac {b^{2} - 4 \, a c}{c^{2}}} + b^{2} - 2 \, a c}{2 \, a c}) - \sqrt {\frac {1}{2}} {\left (\sqrt {b^{2} - 4 \, a c} b x - {\left (2 \, a b + b^{2}\right )} x + {\left ({\left (2 \, a - b\right )} c x + \sqrt {b^{2} - 4 \, a c} c x\right )} \sqrt {\frac {b^{2} - 4 \, a c}{c^{2}}}\right )} \sqrt {\frac {c \sqrt {\frac {b^{2} - 4 \, a c}{c^{2}}} - b}{c}} \sqrt {\frac {c}{a}} F(\arcsin \left (\frac {\sqrt {\frac {1}{2}} \sqrt {\frac {c \sqrt {\frac {b^{2} - 4 \, a c}{c^{2}}} - b}{c}}}{x}\right )\,|\,\frac {b c \sqrt {\frac {b^{2} - 4 \, a c}{c^{2}}} + b^{2} - 2 \, a c}{2 \, a c}) + 2 \, a c \sqrt {\frac {b x^{2} + \sqrt {b^{2} - 4 \, a c} x^{2} + 2 \, a}{a}} \sqrt {\frac {b x^{2} - \sqrt {b^{2} - 4 \, a c} x^{2} + 2 \, a}{a}}}{2 \, c x} \] Input:

integrate((b-(-4*a*c+b^2)^(1/2)+2*c*x^2)/(1+2*c*x^2/(b-(-4*a*c+b^2)^(1/2)) 
)^(1/2)/(1+2*c*x^2/(b+(-4*a*c+b^2)^(1/2)))^(1/2),x, algorithm="fricas")
 

Output:

1/2*(2*sqrt(1/2)*(a*c*x*sqrt((b^2 - 4*a*c)/c^2) - a*b*x)*sqrt((c*sqrt((b^2 
 - 4*a*c)/c^2) - b)/c)*sqrt(c/a)*elliptic_e(arcsin(sqrt(1/2)*sqrt((c*sqrt( 
(b^2 - 4*a*c)/c^2) - b)/c)/x), 1/2*(b*c*sqrt((b^2 - 4*a*c)/c^2) + b^2 - 2* 
a*c)/(a*c)) - sqrt(1/2)*(sqrt(b^2 - 4*a*c)*b*x - (2*a*b + b^2)*x + ((2*a - 
 b)*c*x + sqrt(b^2 - 4*a*c)*c*x)*sqrt((b^2 - 4*a*c)/c^2))*sqrt((c*sqrt((b^ 
2 - 4*a*c)/c^2) - b)/c)*sqrt(c/a)*elliptic_f(arcsin(sqrt(1/2)*sqrt((c*sqrt 
((b^2 - 4*a*c)/c^2) - b)/c)/x), 1/2*(b*c*sqrt((b^2 - 4*a*c)/c^2) + b^2 - 2 
*a*c)/(a*c)) + 2*a*c*sqrt((b*x^2 + sqrt(b^2 - 4*a*c)*x^2 + 2*a)/a)*sqrt((b 
*x^2 - sqrt(b^2 - 4*a*c)*x^2 + 2*a)/a))/(c*x)
 

Sympy [F]

\[ \int \frac {b-\sqrt {b^2-4 a c}+2 c x^2}{\sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}}} \, dx=\int \frac {b + 2 c x^{2} - \sqrt {- 4 a c + b^{2}}}{\sqrt {\frac {b + 2 c x^{2} - \sqrt {- 4 a c + b^{2}}}{b - \sqrt {- 4 a c + b^{2}}}} \sqrt {\frac {b + 2 c x^{2} + \sqrt {- 4 a c + b^{2}}}{b + \sqrt {- 4 a c + b^{2}}}}}\, dx \] Input:

integrate((b-(-4*a*c+b**2)**(1/2)+2*c*x**2)/(1+2*c*x**2/(b-(-4*a*c+b**2)** 
(1/2)))**(1/2)/(1+2*c*x**2/(b+(-4*a*c+b**2)**(1/2)))**(1/2),x)
 

Output:

Integral((b + 2*c*x**2 - sqrt(-4*a*c + b**2))/(sqrt((b + 2*c*x**2 - sqrt(- 
4*a*c + b**2))/(b - sqrt(-4*a*c + b**2)))*sqrt((b + 2*c*x**2 + sqrt(-4*a*c 
 + b**2))/(b + sqrt(-4*a*c + b**2)))), x)
 

Maxima [F]

\[ \int \frac {b-\sqrt {b^2-4 a c}+2 c x^2}{\sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}}} \, dx=\int { \frac {2 \, c x^{2} + b - \sqrt {b^{2} - 4 \, a c}}{\sqrt {\frac {2 \, c x^{2}}{b + \sqrt {b^{2} - 4 \, a c}} + 1} \sqrt {\frac {2 \, c x^{2}}{b - \sqrt {b^{2} - 4 \, a c}} + 1}} \,d x } \] Input:

integrate((b-(-4*a*c+b^2)^(1/2)+2*c*x^2)/(1+2*c*x^2/(b-(-4*a*c+b^2)^(1/2)) 
)^(1/2)/(1+2*c*x^2/(b+(-4*a*c+b^2)^(1/2)))^(1/2),x, algorithm="maxima")
 

Output:

integrate((2*c*x^2 + b - sqrt(b^2 - 4*a*c))/(sqrt(2*c*x^2/(b + sqrt(b^2 - 
4*a*c)) + 1)*sqrt(2*c*x^2/(b - sqrt(b^2 - 4*a*c)) + 1)), x)
 

Giac [F]

\[ \int \frac {b-\sqrt {b^2-4 a c}+2 c x^2}{\sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}}} \, dx=\int { \frac {2 \, c x^{2} + b - \sqrt {b^{2} - 4 \, a c}}{\sqrt {\frac {2 \, c x^{2}}{b + \sqrt {b^{2} - 4 \, a c}} + 1} \sqrt {\frac {2 \, c x^{2}}{b - \sqrt {b^{2} - 4 \, a c}} + 1}} \,d x } \] Input:

integrate((b-(-4*a*c+b^2)^(1/2)+2*c*x^2)/(1+2*c*x^2/(b-(-4*a*c+b^2)^(1/2)) 
)^(1/2)/(1+2*c*x^2/(b+(-4*a*c+b^2)^(1/2)))^(1/2),x, algorithm="giac")
 

Output:

integrate((2*c*x^2 + b - sqrt(b^2 - 4*a*c))/(sqrt(2*c*x^2/(b + sqrt(b^2 - 
4*a*c)) + 1)*sqrt(2*c*x^2/(b - sqrt(b^2 - 4*a*c)) + 1)), x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {b-\sqrt {b^2-4 a c}+2 c x^2}{\sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}}} \, dx=\int \frac {b+2\,c\,x^2-\sqrt {b^2-4\,a\,c}}{\sqrt {\frac {2\,c\,x^2}{b-\sqrt {b^2-4\,a\,c}}+1}\,\sqrt {\frac {2\,c\,x^2}{b+\sqrt {b^2-4\,a\,c}}+1}} \,d x \] Input:

int((b + 2*c*x^2 - (b^2 - 4*a*c)^(1/2))/(((2*c*x^2)/(b - (b^2 - 4*a*c)^(1/ 
2)) + 1)^(1/2)*((2*c*x^2)/(b + (b^2 - 4*a*c)^(1/2)) + 1)^(1/2)),x)
 

Output:

int((b + 2*c*x^2 - (b^2 - 4*a*c)^(1/2))/(((2*c*x^2)/(b - (b^2 - 4*a*c)^(1/ 
2)) + 1)^(1/2)*((2*c*x^2)/(b + (b^2 - 4*a*c)^(1/2)) + 1)^(1/2)), x)
 

Reduce [F]

\[ \int \frac {b-\sqrt {b^2-4 a c}+2 c x^2}{\sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b+\sqrt {b^2-4 a c}}}} \, dx=\int \frac {b -\sqrt {-4 a c +b^{2}}+2 c \,x^{2}}{\sqrt {1+\frac {2 c \,x^{2}}{b -\sqrt {-4 a c +b^{2}}}}\, \sqrt {1+\frac {2 c \,x^{2}}{b +\sqrt {-4 a c +b^{2}}}}}d x \] Input:

int((b-(-4*a*c+b^2)^(1/2)+2*c*x^2)/(1+2*c*x^2/(b-(-4*a*c+b^2)^(1/2)))^(1/2 
)/(1+2*c*x^2/(b+(-4*a*c+b^2)^(1/2)))^(1/2),x)
 

Output:

int((b-(-4*a*c+b^2)^(1/2)+2*c*x^2)/(1+2*c*x^2/(b-(-4*a*c+b^2)^(1/2)))^(1/2 
)/(1+2*c*x^2/(b+(-4*a*c+b^2)^(1/2)))^(1/2),x)