Integrand size = 26, antiderivative size = 159 \[ \int \frac {F^{e+\frac {f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx=\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}} \operatorname {ExpIntegralEi}\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} \]
[Out]
Time = 1.52 (sec) , antiderivative size = 159, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {2264, 6874, 2262, 2240, 2241, 2263, 2265, 2209} \[ \int \frac {F^{e+\frac {f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx=\frac {f \log (F) (b c-a d) F^{\frac {f (b g-a h)}{d g-c h}+e} \operatorname {ExpIntegralEi}\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)} \]
[In]
[Out]
Rule 2209
Rule 2240
Rule 2241
Rule 2262
Rule 2263
Rule 2264
Rule 2265
Rule 6874
Rubi steps \begin{align*} \text {integral}& = -\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)) \text {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*}
\[ \int \frac {F^{e+\frac {f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx=\int \frac {F^{e+\frac {f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(581\) vs. \(2(159)=318\).
Time = 0.53 (sec) , antiderivative size = 582, normalized size of antiderivative = 3.66
method | result | size |
risch | \(\frac {\ln \left (F \right ) F^{\frac {f \left (a d -c b \right )}{d \left (d x +c \right )}} F^{\frac {b f +d e}{d}} a d f}{\left (c h -d g \right )^{2} \left (\frac {f \ln \left (F \right ) a}{d x +c}-\frac {f \ln \left (F \right ) c b}{d \left (d x +c \right )}+\frac {\ln \left (F \right ) b f}{d}+\ln \left (F \right ) e -\frac {\ln \left (F \right ) a f h}{c h -d g}+\frac {\ln \left (F \right ) b f g}{c h -d g}-\frac {\ln \left (F \right ) c e h}{c h -d g}+\frac {\ln \left (F \right ) d e g}{c h -d g}\right )}-\frac {\ln \left (F \right ) F^{\frac {f \left (a d -c b \right )}{d \left (d x +c \right )}} F^{\frac {b f +d e}{d}} b c f}{\left (c h -d g \right )^{2} \left (\frac {f \ln \left (F \right ) a}{d x +c}-\frac {f \ln \left (F \right ) c b}{d \left (d x +c \right )}+\frac {\ln \left (F \right ) b f}{d}+\ln \left (F \right ) e -\frac {\ln \left (F \right ) a f h}{c h -d g}+\frac {\ln \left (F \right ) b f g}{c h -d g}-\frac {\ln \left (F \right ) c e h}{c h -d g}+\frac {\ln \left (F \right ) d e g}{c h -d g}\right )}+\frac {\ln \left (F \right ) F^{\frac {a f h -b f g +c e h -d e g}{c h -d g}} \operatorname {Ei}_{1}\left (-\frac {\left (a d f -b c f \right ) \ln \left (F \right )}{d \left (d x +c \right )}-\frac {\left (b f +d e \right ) \ln \left (F \right )}{d}-\frac {-\ln \left (F \right ) a f h +\ln \left (F \right ) b f g -\ln \left (F \right ) c e h +\ln \left (F \right ) d e g}{c h -d g}\right ) a d f}{\left (c h -d g \right )^{2}}-\frac {\ln \left (F \right ) F^{\frac {a f h -b f g +c e h -d e g}{c h -d g}} \operatorname {Ei}_{1}\left (-\frac {\left (a d f -b c f \right ) \ln \left (F \right )}{d \left (d x +c \right )}-\frac {\left (b f +d e \right ) \ln \left (F \right )}{d}-\frac {-\ln \left (F \right ) a f h +\ln \left (F \right ) b f g -\ln \left (F \right ) c e h +\ln \left (F \right ) d e g}{c h -d g}\right ) b c f}{\left (c h -d g \right )^{2}}\) | \(582\) |
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 220, normalized size of antiderivative = 1.38 \[ \int \frac {F^{e+\frac {f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx=\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} \]
[In]
[Out]
\[ \int \frac {F^{e+\frac {f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx=\int \frac {F^{e + \frac {f \left (a + b x\right )}{c + d x}}}{\left (g + h x\right )^{2}}\, dx \]
[In]
[Out]
\[ \int \frac {F^{e+\frac {f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx=\int { \frac {F^{e + \frac {{\left (b x + a\right )} f}{d x + c}}}{{\left (h x + g\right )}^{2}} \,d x } \]
[In]
[Out]
\[ \int \frac {F^{e+\frac {f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx=\int { \frac {F^{e + \frac {{\left (b x + a\right )} f}{d x + c}}}{{\left (h x + g\right )}^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {F^{e+\frac {f (a+b x)}{c+d x}}}{(g+h x)^2} \, dx=\int \frac {F^{e+\frac {f\,\left (a+b\,x\right )}{c+d\,x}}}{{\left (g+h\,x\right )}^2} \,d x \]
[In]
[Out]