Integrand size = 17, antiderivative size = 64 \[ \int \frac {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=-\frac {e^{\left (a d+b d \log \left (c x^n\right )\right )^2}}{b d n \sqrt {\pi }}+\frac {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \left (a+b \log \left (c x^n\right )\right )}{b n} \] Output:
-exp((a*d+b*d*ln(c*x^n))^2)/b/d/n/Pi^(1/2)+erfi(d*(a+b*ln(c*x^n)))*(a+b*ln (c*x^n))/b/n
Time = 0.06 (sec) , antiderivative size = 83, normalized size of antiderivative = 1.30 \[ \int \frac {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {-e^{d^2 \left (a^2+b^2 \log ^2\left (c x^n\right )\right )} \left (c x^n\right )^{2 a b d^2}+d \sqrt {\pi } \text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \left (a+b \log \left (c x^n\right )\right )}{b d n \sqrt {\pi }} \] Input:
Integrate[Erfi[d*(a + b*Log[c*x^n])]/x,x]
Output:
(-(E^(d^2*(a^2 + b^2*Log[c*x^n]^2))*(c*x^n)^(2*a*b*d^2)) + d*Sqrt[Pi]*Erfi [d*(a + b*Log[c*x^n])]*(a + b*Log[c*x^n]))/(b*d*n*Sqrt[Pi])
Time = 0.29 (sec) , antiderivative size = 63, normalized size of antiderivative = 0.98, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {3039, 7281, 6905}
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 {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx\) |
\(\Big \downarrow \) 3039 |
\(\displaystyle \frac {\int \text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )d\log \left (c x^n\right )}{n}\) |
\(\Big \downarrow \) 7281 |
\(\displaystyle \frac {\int \text {erfi}\left (a d+b \log \left (c x^n\right ) d\right )d\left (a d+b \log \left (c x^n\right ) d\right )}{b d n}\) |
\(\Big \downarrow \) 6905 |
\(\displaystyle \frac {\left (a d+b d \log \left (c x^n\right )\right ) \text {erfi}\left (a d+b d \log \left (c x^n\right )\right )-\frac {e^{\left (a d+b d \log \left (c x^n\right )\right )^2}}{\sqrt {\pi }}}{b d n}\) |
Input:
Int[Erfi[d*(a + b*Log[c*x^n])]/x,x]
Output:
(-(E^(a*d + b*d*Log[c*x^n])^2/Sqrt[Pi]) + Erfi[a*d + b*d*Log[c*x^n]]*(a*d + b*d*Log[c*x^n]))/(b*d*n)
Int[u_, x_Symbol] :> With[{lst = FunctionOfLog[Cancel[x*u], x]}, Simp[1/lst [[3]] Subst[Int[lst[[1]], x], x, Log[lst[[2]]]], x] /; !FalseQ[lst]] /; NonsumQ[u]
Int[Erfi[(a_.) + (b_.)*(x_)], x_Symbol] :> Simp[(a + b*x)*(Erfi[a + b*x]/b) , x] - Simp[E^(a + b*x)^2/(b*Sqrt[Pi]), x] /; FreeQ[{a, b}, x]
Int[u_, x_Symbol] :> With[{lst = FunctionOfLinear[u, x]}, Simp[1/lst[[3]] Subst[Int[lst[[1]], x], x, lst[[2]] + lst[[3]]*x], x] /; !FalseQ[lst]]
Time = 0.47 (sec) , antiderivative size = 61, normalized size of antiderivative = 0.95
method | result | size |
derivativedivides | \(\frac {\left (a d +b d \ln \left (c \,x^{n}\right )\right ) \operatorname {erfi}\left (a d +b d \ln \left (c \,x^{n}\right )\right )-\frac {{\mathrm e}^{{\left (a d +b d \ln \left (c \,x^{n}\right )\right )}^{2}}}{\sqrt {\pi }}}{n b d}\) | \(61\) |
default | \(\frac {\left (a d +b d \ln \left (c \,x^{n}\right )\right ) \operatorname {erfi}\left (a d +b d \ln \left (c \,x^{n}\right )\right )-\frac {{\mathrm e}^{{\left (a d +b d \ln \left (c \,x^{n}\right )\right )}^{2}}}{\sqrt {\pi }}}{n b d}\) | \(61\) |
parts | \(\ln \left (x \right ) \operatorname {erfi}\left (d \left (a +b \ln \left (c \,x^{n}\right )\right )\right )-\frac {2 d b n \left (\frac {{\mathrm e}^{\ln \left (x \right )^{2} b^{2} d^{2} n^{2}+2 d^{2} \left (b \left (\ln \left (c \,x^{n}\right )-n \ln \left (x \right )\right )+a \right ) b n \ln \left (x \right )+d^{2} {\left (b \left (\ln \left (c \,x^{n}\right )-n \ln \left (x \right )\right )+a \right )}^{2}}}{2 b^{2} d^{2} n^{2}}+\frac {i \left (b \left (\ln \left (c \,x^{n}\right )-n \ln \left (x \right )\right )+a \right ) \sqrt {\pi }\, \operatorname {erf}\left (i d b n \ln \left (x \right )+i d \left (b \left (\ln \left (c \,x^{n}\right )-n \ln \left (x \right )\right )+a \right )\right )}{2 d \,b^{2} n^{2}}\right )}{\sqrt {\pi }}\) | \(162\) |
Input:
int(erfi(d*(a+b*ln(c*x^n)))/x,x,method=_RETURNVERBOSE)
Output:
1/n/b/d*((a*d+b*d*ln(c*x^n))*erfi(a*d+b*d*ln(c*x^n))-1/Pi^(1/2)*exp((a*d+b *d*ln(c*x^n))^2))
Time = 0.10 (sec) , antiderivative size = 117, normalized size of antiderivative = 1.83 \[ \int \frac {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {{\left (\pi b d n \log \left (x\right ) + \pi b d \log \left (c\right ) + \pi a d\right )} \operatorname {erfi}\left (b d \log \left (c x^{n}\right ) + a d\right ) - \sqrt {\pi } e^{\left (b^{2} d^{2} n^{2} \log \left (x\right )^{2} + b^{2} d^{2} \log \left (c\right )^{2} + 2 \, a b d^{2} \log \left (c\right ) + a^{2} d^{2} + 2 \, {\left (b^{2} d^{2} n \log \left (c\right ) + a b d^{2} n\right )} \log \left (x\right )\right )}}{\pi b d n} \] Input:
integrate(erfi(d*(a+b*log(c*x^n)))/x,x, algorithm="fricas")
Output:
((pi*b*d*n*log(x) + pi*b*d*log(c) + pi*a*d)*erfi(b*d*log(c*x^n) + a*d) - s qrt(pi)*e^(b^2*d^2*n^2*log(x)^2 + b^2*d^2*log(c)^2 + 2*a*b*d^2*log(c) + a^ 2*d^2 + 2*(b^2*d^2*n*log(c) + a*b*d^2*n)*log(x)))/(pi*b*d*n)
\[ \int \frac {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\int \frac {\operatorname {erfi}{\left (a d + b d \log {\left (c x^{n} \right )} \right )}}{x}\, dx \] Input:
integrate(erfi(d*(a+b*ln(c*x**n)))/x,x)
Output:
Integral(erfi(a*d + b*d*log(c*x**n))/x, x)
Time = 0.03 (sec) , antiderivative size = 58, normalized size of antiderivative = 0.91 \[ \int \frac {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {{\left (b \log \left (c x^{n}\right ) + a\right )} d \operatorname {erfi}\left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right ) - \frac {e^{\left ({\left (b \log \left (c x^{n}\right ) + a\right )}^{2} d^{2}\right )}}{\sqrt {\pi }}}{b d n} \] Input:
integrate(erfi(d*(a+b*log(c*x^n)))/x,x, algorithm="maxima")
Output:
((b*log(c*x^n) + a)*d*erfi((b*log(c*x^n) + a)*d) - e^((b*log(c*x^n) + a)^2 *d^2)/sqrt(pi))/(b*d*n)
\[ \int \frac {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\int { \frac {\operatorname {erfi}\left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )}{x} \,d x } \] Input:
integrate(erfi(d*(a+b*log(c*x^n)))/x,x, algorithm="giac")
Output:
integrate(erfi((b*log(c*x^n) + a)*d)/x, x)
Time = 4.35 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.75 \[ \int \frac {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=\frac {\ln \left (c\,x^n\right )\,\mathrm {erfi}\left (a\,d+b\,d\,\ln \left (c\,x^n\right )\right )}{n}+\frac {a\,d\,\mathrm {erfi}\left (a\,\sqrt {d^2}+b\,\ln \left (c\,x^n\right )\,\sqrt {d^2}\right )}{b\,n\,\sqrt {d^2}}-\frac {{\mathrm {e}}^{b^2\,d^2\,{\ln \left (c\,x^n\right )}^2}\,{\mathrm {e}}^{a^2\,d^2}\,{\left (c\,x^n\right )}^{2\,a\,b\,d^2}}{b\,d\,n\,\sqrt {\pi }} \] Input:
int(erfi(d*(a + b*log(c*x^n)))/x,x)
Output:
(log(c*x^n)*erfi(a*d + b*d*log(c*x^n)))/n + (a*d*erfi(a*(d^2)^(1/2) + b*lo g(c*x^n)*(d^2)^(1/2)))/(b*n*(d^2)^(1/2)) - (exp(b^2*d^2*log(c*x^n)^2)*exp( a^2*d^2)*(c*x^n)^(2*a*b*d^2))/(b*d*n*pi^(1/2))
\[ \int \frac {\text {erfi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx=-\left (\int \frac {\mathrm {erf}\left (\mathrm {log}\left (x^{n} c \right ) b d i +a d i \right )}{x}d x \right ) i \] Input:
int(erfi(d*(a+b*log(c*x^n)))/x,x)
Output:
- int(erf(log(x**n*c)*b*d*i + a*d*i)/x,x)*i