Integrand size = 10, antiderivative size = 112 \[ \int x^2 \text {Chi}(b x)^2 \, dx=-\frac {x}{2 b^2}+\frac {4 x \cosh (b x) \text {Chi}(b x)}{3 b^2}+\frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {5 \cosh (b x) \sinh (b x)}{6 b^3}-\frac {4 \text {Chi}(b x) \sinh (b x)}{3 b^3}-\frac {2 x^2 \text {Chi}(b x) \sinh (b x)}{3 b}+\frac {x \sinh ^2(b x)}{3 b^2}+\frac {2 \text {Shi}(2 b x)}{3 b^3} \]
-1/2*x/b^2+1/3*x^3*Chi(b*x)^2+4/3*x*Chi(b*x)*cosh(b*x)/b^2+2/3*Shi(2*b*x)/ b^3-4/3*Chi(b*x)*sinh(b*x)/b^3-2/3*x^2*Chi(b*x)*sinh(b*x)/b-5/6*cosh(b*x)* sinh(b*x)/b^3+1/3*x*sinh(b*x)^2/b^2
Time = 0.05 (sec) , antiderivative size = 78, normalized size of antiderivative = 0.70 \[ \int x^2 \text {Chi}(b x)^2 \, dx=\frac {-8 b x+2 b x \cosh (2 b x)+4 b^3 x^3 \text {Chi}(b x)^2-8 \text {Chi}(b x) \left (-2 b x \cosh (b x)+\left (2+b^2 x^2\right ) \sinh (b x)\right )-5 \sinh (2 b x)+8 \text {Shi}(2 b x)}{12 b^3} \]
(-8*b*x + 2*b*x*Cosh[2*b*x] + 4*b^3*x^3*CoshIntegral[b*x]^2 - 8*CoshIntegr al[b*x]*(-2*b*x*Cosh[b*x] + (2 + b^2*x^2)*Sinh[b*x]) - 5*Sinh[2*b*x] + 8*S inhIntegral[2*b*x])/(12*b^3)
Time = 1.02 (sec) , antiderivative size = 157, normalized size of antiderivative = 1.40, number of steps used = 20, number of rules used = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 2.000, Rules used = {7091, 7097, 27, 5895, 3042, 25, 3115, 24, 7103, 27, 3042, 3115, 24, 7095, 27, 5971, 27, 3042, 26, 3779}
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 x^2 \text {Chi}(b x)^2 \, dx\) |
\(\Big \downarrow \) 7091 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \int x^2 \cosh (b x) \text {Chi}(b x)dx\) |
\(\Big \downarrow \) 7097 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \int x \text {Chi}(b x) \sinh (b x)dx}{b}-\int \frac {x \cosh (b x) \sinh (b x)}{b}dx+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \int x \text {Chi}(b x) \sinh (b x)dx}{b}-\frac {\int x \cosh (b x) \sinh (b x)dx}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}\right )\) |
\(\Big \downarrow \) 5895 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \int x \text {Chi}(b x) \sinh (b x)dx}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}-\frac {\int \sinh ^2(b x)dx}{2 b}}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \int x \text {Chi}(b x) \sinh (b x)dx}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}-\frac {\int -\sin (i b x)^2dx}{2 b}}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}\right )\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \int x \text {Chi}(b x) \sinh (b x)dx}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\int \sin (i b x)^2dx}{2 b}}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}\right )\) |
\(\Big \downarrow \) 3115 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \int x \text {Chi}(b x) \sinh (b x)dx}{b}-\frac {\frac {\frac {\int 1dx}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}+\frac {x \sinh ^2(b x)}{2 b}}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}\right )\) |
\(\Big \downarrow \) 24 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \int x \text {Chi}(b x) \sinh (b x)dx}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 7103 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\int \cosh (b x) \text {Chi}(b x)dx}{b}-\int \frac {\cosh ^2(b x)}{b}dx+\frac {x \text {Chi}(b x) \cosh (b x)}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\int \cosh (b x) \text {Chi}(b x)dx}{b}-\frac {\int \cosh ^2(b x)dx}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\int \cosh (b x) \text {Chi}(b x)dx}{b}-\frac {\int \sin \left (i b x+\frac {\pi }{2}\right )^2dx}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 3115 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\int \cosh (b x) \text {Chi}(b x)dx}{b}-\frac {\frac {\int 1dx}{2}+\frac {\sinh (b x) \cosh (b x)}{2 b}}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 24 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\int \cosh (b x) \text {Chi}(b x)dx}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}-\frac {\frac {\sinh (b x) \cosh (b x)}{2 b}+\frac {x}{2}}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 7095 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\frac {\text {Chi}(b x) \sinh (b x)}{b}-\int \frac {\cosh (b x) \sinh (b x)}{b x}dx}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}-\frac {\frac {\sinh (b x) \cosh (b x)}{2 b}+\frac {x}{2}}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\frac {\text {Chi}(b x) \sinh (b x)}{b}-\frac {\int \frac {\cosh (b x) \sinh (b x)}{x}dx}{b}}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}-\frac {\frac {\sinh (b x) \cosh (b x)}{2 b}+\frac {x}{2}}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 5971 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\frac {\text {Chi}(b x) \sinh (b x)}{b}-\frac {\int \frac {\sinh (2 b x)}{2 x}dx}{b}}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}-\frac {\frac {\sinh (b x) \cosh (b x)}{2 b}+\frac {x}{2}}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\frac {\text {Chi}(b x) \sinh (b x)}{b}-\frac {\int \frac {\sinh (2 b x)}{x}dx}{2 b}}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}-\frac {\frac {\sinh (b x) \cosh (b x)}{2 b}+\frac {x}{2}}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\frac {\text {Chi}(b x) \sinh (b x)}{b}-\frac {\int -\frac {i \sin (2 i b x)}{x}dx}{2 b}}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}-\frac {\frac {\sinh (b x) \cosh (b x)}{2 b}+\frac {x}{2}}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 26 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\frac {\text {Chi}(b x) \sinh (b x)}{b}+\frac {i \int \frac {\sin (2 i b x)}{x}dx}{2 b}}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}-\frac {\frac {\sinh (b x) \cosh (b x)}{2 b}+\frac {x}{2}}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
\(\Big \downarrow \) 3779 |
\(\displaystyle \frac {1}{3} x^3 \text {Chi}(b x)^2-\frac {2}{3} \left (-\frac {2 \left (-\frac {\frac {\text {Chi}(b x) \sinh (b x)}{b}-\frac {\text {Shi}(2 b x)}{2 b}}{b}+\frac {x \text {Chi}(b x) \cosh (b x)}{b}-\frac {\frac {\sinh (b x) \cosh (b x)}{2 b}+\frac {x}{2}}{b}\right )}{b}+\frac {x^2 \text {Chi}(b x) \sinh (b x)}{b}-\frac {\frac {x \sinh ^2(b x)}{2 b}+\frac {\frac {x}{2}-\frac {\sinh (b x) \cosh (b x)}{2 b}}{2 b}}{b}\right )\) |
(x^3*CoshIntegral[b*x]^2)/3 - (2*((x^2*CoshIntegral[b*x]*Sinh[b*x])/b - (( x*Sinh[b*x]^2)/(2*b) + (x/2 - (Cosh[b*x]*Sinh[b*x])/(2*b))/(2*b))/b - (2*( (x*Cosh[b*x]*CoshIntegral[b*x])/b - (x/2 + (Cosh[b*x]*Sinh[b*x])/(2*b))/b - ((CoshIntegral[b*x]*Sinh[b*x])/b - SinhIntegral[2*b*x]/(2*b))/b))/b))/3
3.1.79.3.1 Defintions of rubi rules used
Int[(Complex[0, a_])*(Fx_), x_Symbol] :> Simp[(Complex[Identity[0], a]) I nt[Fx, x], x] /; FreeQ[a, x] && EqQ[a^2, 1]
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(-b)*Cos[c + d* x]*((b*Sin[c + d*x])^(n - 1)/(d*n)), x] + Simp[b^2*((n - 1)/n) Int[(b*Sin [c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && IntegerQ[ 2*n]
Int[sin[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbo l] :> Simp[I*(SinhIntegral[c*f*(fz/d) + f*fz*x]/d), x] /; FreeQ[{c, d, e, f , fz}, x] && EqQ[d*e - c*f*fz*I, 0]
Int[Cosh[(a_.) + (b_.)*(x_)^(n_.)]*(x_)^(m_.)*Sinh[(a_.) + (b_.)*(x_)^(n_.) ]^(p_.), x_Symbol] :> Simp[x^(m - n + 1)*(Sinh[a + b*x^n]^(p + 1)/(b*n*(p + 1))), x] - Simp[(m - n + 1)/(b*n*(p + 1)) Int[x^(m - n)*Sinh[a + b*x^n]^ (p + 1), x], x] /; FreeQ[{a, b, p}, x] && LtQ[0, n, m + 1] && NeQ[p, -1]
Int[Cosh[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sinh[(a_.) + (b_.)*(x_)]^(n_.), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sinh[a + b*x]^n*Cosh[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] & & IGtQ[p, 0]
Int[CoshIntegral[(b_.)*(x_)]^2*(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)*(Cos hIntegral[b*x]^2/(m + 1)), x] - Simp[2/(m + 1) Int[x^m*Cosh[b*x]*CoshInte gral[b*x], x], x] /; FreeQ[b, x] && IGtQ[m, 0]
Int[Cosh[(a_.) + (b_.)*(x_)]*CoshIntegral[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[Sinh[a + b*x]*(CoshIntegral[c + d*x]/b), x] - Simp[d/b Int[Sinh[a + b*x]*(Cosh[c + d*x]/(c + d*x)), x], x] /; FreeQ[{a, b, c, d}, x]
Int[Cosh[(a_.) + (b_.)*(x_)]*CoshIntegral[(c_.) + (d_.)*(x_)]*((e_.) + (f_. )*(x_))^(m_.), x_Symbol] :> Simp[(e + f*x)^m*Sinh[a + b*x]*(CoshIntegral[c + d*x]/b), x] + (-Simp[d/b Int[(e + f*x)^m*Sinh[a + b*x]*(Cosh[c + d*x]/( c + d*x)), x], x] - Simp[f*(m/b) Int[(e + f*x)^(m - 1)*Sinh[a + b*x]*Cosh Integral[c + d*x], x], x]) /; FreeQ[{a, b, c, d, e, f}, x] && IGtQ[m, 0]
Int[CoshIntegral[(c_.) + (d_.)*(x_)]*((e_.) + (f_.)*(x_))^(m_.)*Sinh[(a_.) + (b_.)*(x_)], x_Symbol] :> Simp[(e + f*x)^m*Cosh[a + b*x]*(CoshIntegral[c + d*x]/b), x] + (-Simp[d/b Int[(e + f*x)^m*Cosh[a + b*x]*(Cosh[c + d*x]/( c + d*x)), x], x] - Simp[f*(m/b) Int[(e + f*x)^(m - 1)*Cosh[a + b*x]*Cosh Integral[c + d*x], x], x]) /; FreeQ[{a, b, c, d, e, f}, x] && IGtQ[m, 0]
Time = 0.62 (sec) , antiderivative size = 84, normalized size of antiderivative = 0.75
method | result | size |
derivativedivides | \(\frac {\frac {b^{3} x^{3} \operatorname {Chi}\left (b x \right )^{2}}{3}-2 \,\operatorname {Chi}\left (b x \right ) \left (\frac {b^{2} x^{2} \sinh \left (b x \right )}{3}-\frac {2 b x \cosh \left (b x \right )}{3}+\frac {2 \sinh \left (b x \right )}{3}\right )+\frac {b x \cosh \left (b x \right )^{2}}{3}-\frac {5 \cosh \left (b x \right ) \sinh \left (b x \right )}{6}-\frac {5 b x}{6}+\frac {2 \,\operatorname {Shi}\left (2 b x \right )}{3}}{b^{3}}\) | \(84\) |
default | \(\frac {\frac {b^{3} x^{3} \operatorname {Chi}\left (b x \right )^{2}}{3}-2 \,\operatorname {Chi}\left (b x \right ) \left (\frac {b^{2} x^{2} \sinh \left (b x \right )}{3}-\frac {2 b x \cosh \left (b x \right )}{3}+\frac {2 \sinh \left (b x \right )}{3}\right )+\frac {b x \cosh \left (b x \right )^{2}}{3}-\frac {5 \cosh \left (b x \right ) \sinh \left (b x \right )}{6}-\frac {5 b x}{6}+\frac {2 \,\operatorname {Shi}\left (2 b x \right )}{3}}{b^{3}}\) | \(84\) |
1/b^3*(1/3*b^3*x^3*Chi(b*x)^2-2*Chi(b*x)*(1/3*b^2*x^2*sinh(b*x)-2/3*b*x*co sh(b*x)+2/3*sinh(b*x))+1/3*b*x*cosh(b*x)^2-5/6*cosh(b*x)*sinh(b*x)-5/6*b*x +2/3*Shi(2*b*x))
\[ \int x^2 \text {Chi}(b x)^2 \, dx=\int { x^{2} {\rm Chi}\left (b x\right )^{2} \,d x } \]
\[ \int x^2 \text {Chi}(b x)^2 \, dx=\int x^{2} \operatorname {Chi}^{2}\left (b x\right )\, dx \]
\[ \int x^2 \text {Chi}(b x)^2 \, dx=\int { x^{2} {\rm Chi}\left (b x\right )^{2} \,d x } \]
\[ \int x^2 \text {Chi}(b x)^2 \, dx=\int { x^{2} {\rm Chi}\left (b x\right )^{2} \,d x } \]
Timed out. \[ \int x^2 \text {Chi}(b x)^2 \, dx=\int x^2\,{\mathrm {coshint}\left (b\,x\right )}^2 \,d x \]