3.5.31 \(\int \frac {f^{a+b x+c x^2}}{x^2} \, dx\) [431]

Optimal. Leaf size=94 \[ -\frac {f^{a+b x+c x^2}}{x}+\sqrt {c} f^{a-\frac {b^2}{4 c}} \sqrt {\pi } \text {erfi}\left (\frac {(b+2 c x) \sqrt {\log (f)}}{2 \sqrt {c}}\right ) \sqrt {\log (f)}+b \log (f) \text {Int}\left (\frac {f^{a+b x+c x^2}}{x},x\right ) \]

[Out]

-f^(c*x^2+b*x+a)/x+f^(a-1/4*b^2/c)*erfi(1/2*(2*c*x+b)*ln(f)^(1/2)/c^(1/2))*c^(1/2)*Pi^(1/2)*ln(f)^(1/2)+b*ln(f
)*Unintegrable(f^(c*x^2+b*x+a)/x,x)

________________________________________________________________________________________

Rubi [A]
time = 0.06, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {f^{a+b x+c x^2}}{x^2} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[f^(a + b*x + c*x^2)/x^2,x]

[Out]

-(f^(a + b*x + c*x^2)/x) + Sqrt[c]*f^(a - b^2/(4*c))*Sqrt[Pi]*Erfi[((b + 2*c*x)*Sqrt[Log[f]])/(2*Sqrt[c])]*Sqr
t[Log[f]] + b*Log[f]*Defer[Int][f^(a + b*x + c*x^2)/x, x]

Rubi steps

\begin {align*} \int \frac {f^{a+b x+c x^2}}{x^2} \, dx &=-\frac {f^{a+b x+c x^2}}{x}+(b \log (f)) \int \frac {f^{a+b x+c x^2}}{x} \, dx+(2 c \log (f)) \int f^{a+b x+c x^2} \, dx\\ &=-\frac {f^{a+b x+c x^2}}{x}+(b \log (f)) \int \frac {f^{a+b x+c x^2}}{x} \, dx+\left (2 c f^{a-\frac {b^2}{4 c}} \log (f)\right ) \int f^{\frac {(b+2 c x)^2}{4 c}} \, dx\\ &=-\frac {f^{a+b x+c x^2}}{x}+\sqrt {c} f^{a-\frac {b^2}{4 c}} \sqrt {\pi } \text {erfi}\left (\frac {(b+2 c x) \sqrt {\log (f)}}{2 \sqrt {c}}\right ) \sqrt {\log (f)}+(b \log (f)) \int \frac {f^{a+b x+c x^2}}{x} \, dx\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.36, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {f^{a+b x+c x^2}}{x^2} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[f^(a + b*x + c*x^2)/x^2,x]

[Out]

Integrate[f^(a + b*x + c*x^2)/x^2, x]

________________________________________________________________________________________

Maple [A]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {f^{c \,x^{2}+b x +a}}{x^{2}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(c*x^2+b*x+a)/x^2,x)

[Out]

int(f^(c*x^2+b*x+a)/x^2,x)

________________________________________________________________________________________

Maxima [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(f^(c*x^2 + b*x + a)/x^2, x)

________________________________________________________________________________________

Fricas [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral(f^(c*x^2 + b*x + a)/x^2, x)

________________________________________________________________________________________

Sympy [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {f^{a + b x + c x^{2}}}{x^{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f**(c*x**2+b*x+a)/x**2,x)

[Out]

Integral(f**(a + b*x + c*x**2)/x**2, x)

________________________________________________________________________________________

Giac [A]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(f^(c*x^2 + b*x + a)/x^2, x)

________________________________________________________________________________________

Mupad [A]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {f^{c\,x^2+b\,x+a}}{x^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(a + b*x + c*x^2)/x^2,x)

[Out]

int(f^(a + b*x + c*x^2)/x^2, x)

________________________________________________________________________________________