Optimal. Leaf size=159 \[ \frac{f \log (F) (b c-a d) F^{\frac{f (b g-a h)}{d g-c h}+e} \text{Ei}\left (-\frac{(b c-a d) f (g+h x) \log (F)}{(d g-c h) (c+d x)}\right )}{(d g-c h)^2}+\frac{d F^{-\frac{f (b c-a d)}{d (c+d x)}+\frac{b f}{d}+e}}{h (d g-c h)}-\frac{F^{\frac{f (a+b x)}{c+d x}+e}}{h (g+h x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 2.55867, antiderivative size = 159, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 8, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.308, Rules used = {2232, 6742, 2230, 2209, 2210, 2231, 2233, 2178} \[ \frac{f \log (F) (b c-a d) F^{\frac{f (b g-a h)}{d g-c h}+e} \text{Ei}\left (-\frac{(b c-a d) f (g+h x) \log (F)}{(d g-c h) (c+d x)}\right )}{(d g-c h)^2}+\frac{d F^{-\frac{f (b c-a d)}{d (c+d x)}+\frac{b f}{d}+e}}{h (d g-c h)}-\frac{F^{\frac{f (a+b x)}{c+d x}+e}}{h (g+h x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2232
Rule 6742
Rule 2230
Rule 2209
Rule 2210
Rule 2231
Rule 2233
Rule 2178
Rubi steps
\begin{align*} \int \frac{F^{e+\frac{f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx &=-\frac{F^{e+\frac{f (a+b x)}{c+d x}}}{h (g+h x)}+\frac{((b c-a d) f \log (F)) \int \frac{F^{e+\frac{f (a+b x)}{c+d x}}}{(c+d x)^2 (g+h x)} \, dx}{h}\\ &=-\frac{F^{e+\frac{f (a+b x)}{c+d x}}}{h (g+h x)}+\frac{((b c-a d) f \log (F)) \int \left (\frac{d F^{e+\frac{f (a+b x)}{c+d x}}}{(d g-c h) (c+d x)^2}-\frac{d F^{e+\frac{f (a+b x)}{c+d x}} h}{(d g-c h)^2 (c+d x)}+\frac{F^{e+\frac{f (a+b x)}{c+d x}} h^2}{(d g-c h)^2 (g+h x)}\right ) \, dx}{h}\\ &=-\frac{F^{e+\frac{f (a+b x)}{c+d x}}}{h (g+h x)}-\frac{(d (b c-a d) f \log (F)) \int \frac{F^{e+\frac{f (a+b x)}{c+d x}}}{c+d x} \, dx}{(d g-c h)^2}+\frac{((b c-a d) f h \log (F)) \int \frac{F^{e+\frac{f (a+b x)}{c+d x}}}{g+h x} \, dx}{(d g-c h)^2}+\frac{(d (b c-a d) f \log (F)) \int \frac{F^{e+\frac{f (a+b x)}{c+d x}}}{(c+d x)^2} \, dx}{h (d g-c h)}\\ &=-\frac{F^{e+\frac{f (a+b x)}{c+d x}}}{h (g+h x)}-\frac{(d (b c-a d) f \log (F)) \int \frac{F^{\frac{d e+b f}{d}-\frac{(b c-a d) f}{d (c+d x)}}}{c+d x} \, dx}{(d g-c h)^2}+\frac{(d (b c-a d) f \log (F)) \int \frac{F^{e+\frac{f (a+b x)}{c+d x}}}{c+d x} \, dx}{(d g-c h)^2}-\frac{((b c-a d) f \log (F)) \int \frac{F^{e+\frac{f (a+b x)}{c+d x}}}{(c+d x) (g+h x)} \, dx}{d g-c h}+\frac{(d (b c-a d) f \log (F)) \int \frac{F^{\frac{d e+b f}{d}-\frac{(b c-a d) f}{d (c+d x)}}}{(c+d x)^2} \, dx}{h (d g-c h)}\\ &=\frac{d F^{e+\frac{b f}{d}-\frac{(b c-a d) f}{d (c+d x)}}}{h (d g-c h)}-\frac{F^{e+\frac{f (a+b x)}{c+d x}}}{h (g+h x)}+\frac{(b c-a d) f F^{e+\frac{b f}{d}} \text{Ei}\left (-\frac{(b c-a d) f \log (F)}{d (c+d x)}\right ) \log (F)}{(d g-c h)^2}+\frac{((b c-a d) f \log (F)) \operatorname{Subst}\left (\int \frac{F^{e+\frac{f (b g-a h)}{d g-c h}-\frac{(b c-a d) f x}{d g-c h}}}{x} \, dx,x,\frac{g+h x}{c+d x}\right )}{(d g-c h)^2}+\frac{(d (b c-a d) f \log (F)) \int \frac{F^{\frac{d e+b f}{d}-\frac{(b c-a d) f}{d (c+d x)}}}{c+d x} \, dx}{(d g-c h)^2}\\ &=\frac{d F^{e+\frac{b f}{d}-\frac{(b c-a d) f}{d (c+d x)}}}{h (d g-c h)}-\frac{F^{e+\frac{f (a+b x)}{c+d x}}}{h (g+h x)}+\frac{(b c-a d) f F^{e+\frac{f (b g-a h)}{d g-c h}} \text{Ei}\left (-\frac{(b c-a d) f (g+h x) \log (F)}{(d g-c h) (c+d x)}\right ) \log (F)}{(d g-c h)^2}\\ \end{align*}
Mathematica [F] time = 0.984719, size = 0, normalized size = 0. \[ \int \frac{F^{e+\frac{f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.17, size = 580, normalized size = 3.7 \begin{align*}{\frac{\ln \left ( F \right ) adf}{ \left ( ch-dg \right ) ^{2}}{F}^{{\frac{bf+de}{d}}}{F}^{{\frac{f \left ( ad-bc \right ) }{ \left ( dx+c \right ) d}}} \left ({\frac{f\ln \left ( F \right ) a}{dx+c}}-{\frac{\ln \left ( F \right ) bcf}{ \left ( dx+c \right ) d}}+{\frac{\ln \left ( F \right ) bf}{d}}+\ln \left ( F \right ) e-{\frac{\ln \left ( F \right ) afh}{ch-dg}}+{\frac{\ln \left ( F \right ) bfg}{ch-dg}}-{\frac{\ln \left ( F \right ) ceh}{ch-dg}}+{\frac{\ln \left ( F \right ) deg}{ch-dg}} \right ) ^{-1}}-{\frac{\ln \left ( F \right ) bcf}{ \left ( ch-dg \right ) ^{2}}{F}^{{\frac{bf+de}{d}}}{F}^{{\frac{f \left ( ad-bc \right ) }{ \left ( dx+c \right ) d}}} \left ({\frac{f\ln \left ( F \right ) a}{dx+c}}-{\frac{\ln \left ( F \right ) bcf}{ \left ( dx+c \right ) d}}+{\frac{\ln \left ( F \right ) bf}{d}}+\ln \left ( F \right ) e-{\frac{\ln \left ( F \right ) afh}{ch-dg}}+{\frac{\ln \left ( F \right ) bfg}{ch-dg}}-{\frac{\ln \left ( F \right ) ceh}{ch-dg}}+{\frac{\ln \left ( F \right ) deg}{ch-dg}} \right ) ^{-1}}+{\frac{\ln \left ( F \right ) adf}{ \left ( ch-dg \right ) ^{2}}{F}^{{\frac{afh-bfg+ceh-deg}{ch-dg}}}{\it Ei} \left ( 1,-{\frac{f \left ( ad-bc \right ) \ln \left ( F \right ) }{ \left ( dx+c \right ) d}}-{\frac{ \left ( bf+de \right ) \ln \left ( F \right ) }{d}}-{\frac{-\ln \left ( F \right ) afh+\ln \left ( F \right ) bfg-\ln \left ( F \right ) ceh+\ln \left ( F \right ) deg}{ch-dg}} \right ) }-{\frac{\ln \left ( F \right ) bcf}{ \left ( ch-dg \right ) ^{2}}{F}^{{\frac{afh-bfg+ceh-deg}{ch-dg}}}{\it Ei} \left ( 1,-{\frac{f \left ( ad-bc \right ) \ln \left ( F \right ) }{ \left ( dx+c \right ) d}}-{\frac{ \left ( bf+de \right ) \ln \left ( F \right ) }{d}}-{\frac{-\ln \left ( F \right ) afh+\ln \left ( F \right ) bfg-\ln \left ( F \right ) ceh+\ln \left ( F \right ) deg}{ch-dg}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{F^{e + \frac{{\left (b x + a\right )} f}{d x + c}}}{{\left (h x + g\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.53879, size = 456, normalized size = 2.87 \begin{align*} \frac{{\left ({\left (b c - a d\right )} f h x +{\left (b c - a d\right )} f g\right )} F^{\frac{{\left (d e + b f\right )} g -{\left (c e + a f\right )} h}{d g - c h}}{\rm Ei}\left (-\frac{{\left ({\left (b c - a d\right )} f h x +{\left (b c - a d\right )} f g\right )} \log \left (F\right )}{c d g - c^{2} h +{\left (d^{2} g - c d h\right )} x}\right ) \log \left (F\right ) +{\left (c d g - c^{2} h +{\left (d^{2} g - c d h\right )} x\right )} F^{\frac{c e + a f +{\left (d e + b f\right )} x}{d x + c}}}{d^{2} g^{3} - 2 \, c d g^{2} h + c^{2} g h^{2} +{\left (d^{2} g^{2} h - 2 \, c d g h^{2} + c^{2} h^{3}\right )} x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{F^{e + \frac{{\left (b x + a\right )} f}{d x + c}}}{{\left (h x + g\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]