Optimal. Leaf size=220 \[ -\frac{a^2 \text{Chi}(2 a+2 b x)}{2 b^3}-\frac{a^2 \log (a+b x)}{2 b^3}-\frac{\text{Chi}(2 a+2 b x)}{b^3}-\frac{2 x \text{Chi}(a+b x) \sinh (a+b x)}{b^2}+\frac{2 \text{Chi}(a+b x) \cosh (a+b x)}{b^3}-\frac{a \text{Shi}(2 a+2 b x)}{b^3}+\frac{a x}{2 b^2}-\frac{\log (a+b x)}{b^3}+\frac{\cosh ^2(a+b x)}{4 b^3}+\frac{\cosh (2 a+2 b x)}{2 b^3}+\frac{a \sinh (a+b x) \cosh (a+b x)}{2 b^3}-\frac{x \sinh (a+b x) \cosh (a+b x)}{2 b^2}+\frac{x^2 \text{Chi}(a+b x) \cosh (a+b x)}{b}-\frac{x^2}{4 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.697265, antiderivative size = 220, normalized size of antiderivative = 1., number of steps used = 21, number of rules used = 14, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.875, Rules used = {6549, 6742, 2635, 8, 3310, 30, 3312, 3301, 6543, 5617, 6741, 2638, 3298, 6547} \[ -\frac{a^2 \text{Chi}(2 a+2 b x)}{2 b^3}-\frac{a^2 \log (a+b x)}{2 b^3}-\frac{\text{Chi}(2 a+2 b x)}{b^3}-\frac{2 x \text{Chi}(a+b x) \sinh (a+b x)}{b^2}+\frac{2 \text{Chi}(a+b x) \cosh (a+b x)}{b^3}-\frac{a \text{Shi}(2 a+2 b x)}{b^3}+\frac{a x}{2 b^2}-\frac{\log (a+b x)}{b^3}+\frac{\cosh ^2(a+b x)}{4 b^3}+\frac{\cosh (2 a+2 b x)}{2 b^3}+\frac{a \sinh (a+b x) \cosh (a+b x)}{2 b^3}-\frac{x \sinh (a+b x) \cosh (a+b x)}{2 b^2}+\frac{x^2 \text{Chi}(a+b x) \cosh (a+b x)}{b}-\frac{x^2}{4 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6549
Rule 6742
Rule 2635
Rule 8
Rule 3310
Rule 30
Rule 3312
Rule 3301
Rule 6543
Rule 5617
Rule 6741
Rule 2638
Rule 3298
Rule 6547
Rubi steps
\begin{align*} \int x^2 \text{Chi}(a+b x) \sinh (a+b x) \, dx &=\frac{x^2 \cosh (a+b x) \text{Chi}(a+b x)}{b}-\frac{2 \int x \cosh (a+b x) \text{Chi}(a+b x) \, dx}{b}-\int \frac{x^2 \cosh ^2(a+b x)}{a+b x} \, dx\\ &=\frac{x^2 \cosh (a+b x) \text{Chi}(a+b x)}{b}-\frac{2 x \text{Chi}(a+b x) \sinh (a+b x)}{b^2}+\frac{2 \int \text{Chi}(a+b x) \sinh (a+b x) \, dx}{b^2}+\frac{2 \int \frac{x \cosh (a+b x) \sinh (a+b x)}{a+b x} \, dx}{b}-\int \left (-\frac{a \cosh ^2(a+b x)}{b^2}+\frac{x \cosh ^2(a+b x)}{b}+\frac{a^2 \cosh ^2(a+b x)}{b^2 (a+b x)}\right ) \, dx\\ &=\frac{2 \cosh (a+b x) \text{Chi}(a+b x)}{b^3}+\frac{x^2 \cosh (a+b x) \text{Chi}(a+b x)}{b}-\frac{2 x \text{Chi}(a+b x) \sinh (a+b x)}{b^2}-\frac{2 \int \frac{\cosh ^2(a+b x)}{a+b x} \, dx}{b^2}+\frac{a \int \cosh ^2(a+b x) \, dx}{b^2}-\frac{a^2 \int \frac{\cosh ^2(a+b x)}{a+b x} \, dx}{b^2}-\frac{\int x \cosh ^2(a+b x) \, dx}{b}+\frac{\int \frac{x \sinh (2 (a+b x))}{a+b x} \, dx}{b}\\ &=\frac{\cosh ^2(a+b x)}{4 b^3}+\frac{2 \cosh (a+b x) \text{Chi}(a+b x)}{b^3}+\frac{x^2 \cosh (a+b x) \text{Chi}(a+b x)}{b}+\frac{a \cosh (a+b x) \sinh (a+b x)}{2 b^3}-\frac{x \cosh (a+b x) \sinh (a+b x)}{2 b^2}-\frac{2 x \text{Chi}(a+b x) \sinh (a+b x)}{b^2}-\frac{2 \int \left (\frac{1}{2 (a+b x)}+\frac{\cosh (2 a+2 b x)}{2 (a+b x)}\right ) \, dx}{b^2}+\frac{a \int 1 \, dx}{2 b^2}-\frac{a^2 \int \left (\frac{1}{2 (a+b x)}+\frac{\cosh (2 a+2 b x)}{2 (a+b x)}\right ) \, dx}{b^2}-\frac{\int x \, dx}{2 b}+\frac{\int \frac{x \sinh (2 a+2 b x)}{a+b x} \, dx}{b}\\ &=\frac{a x}{2 b^2}-\frac{x^2}{4 b}+\frac{\cosh ^2(a+b x)}{4 b^3}+\frac{2 \cosh (a+b x) \text{Chi}(a+b x)}{b^3}+\frac{x^2 \cosh (a+b x) \text{Chi}(a+b x)}{b}-\frac{\log (a+b x)}{b^3}-\frac{a^2 \log (a+b x)}{2 b^3}+\frac{a \cosh (a+b x) \sinh (a+b x)}{2 b^3}-\frac{x \cosh (a+b x) \sinh (a+b x)}{2 b^2}-\frac{2 x \text{Chi}(a+b x) \sinh (a+b x)}{b^2}-\frac{\int \frac{\cosh (2 a+2 b x)}{a+b x} \, dx}{b^2}-\frac{a^2 \int \frac{\cosh (2 a+2 b x)}{a+b x} \, dx}{2 b^2}+\frac{\int \left (\frac{\sinh (2 a+2 b x)}{b}+\frac{a \sinh (2 a+2 b x)}{b (-a-b x)}\right ) \, dx}{b}\\ &=\frac{a x}{2 b^2}-\frac{x^2}{4 b}+\frac{\cosh ^2(a+b x)}{4 b^3}+\frac{2 \cosh (a+b x) \text{Chi}(a+b x)}{b^3}+\frac{x^2 \cosh (a+b x) \text{Chi}(a+b x)}{b}-\frac{\text{Chi}(2 a+2 b x)}{b^3}-\frac{a^2 \text{Chi}(2 a+2 b x)}{2 b^3}-\frac{\log (a+b x)}{b^3}-\frac{a^2 \log (a+b x)}{2 b^3}+\frac{a \cosh (a+b x) \sinh (a+b x)}{2 b^3}-\frac{x \cosh (a+b x) \sinh (a+b x)}{2 b^2}-\frac{2 x \text{Chi}(a+b x) \sinh (a+b x)}{b^2}+\frac{\int \sinh (2 a+2 b x) \, dx}{b^2}+\frac{a \int \frac{\sinh (2 a+2 b x)}{-a-b x} \, dx}{b^2}\\ &=\frac{a x}{2 b^2}-\frac{x^2}{4 b}+\frac{\cosh ^2(a+b x)}{4 b^3}+\frac{\cosh (2 a+2 b x)}{2 b^3}+\frac{2 \cosh (a+b x) \text{Chi}(a+b x)}{b^3}+\frac{x^2 \cosh (a+b x) \text{Chi}(a+b x)}{b}-\frac{\text{Chi}(2 a+2 b x)}{b^3}-\frac{a^2 \text{Chi}(2 a+2 b x)}{2 b^3}-\frac{\log (a+b x)}{b^3}-\frac{a^2 \log (a+b x)}{2 b^3}+\frac{a \cosh (a+b x) \sinh (a+b x)}{2 b^3}-\frac{x \cosh (a+b x) \sinh (a+b x)}{2 b^2}-\frac{2 x \text{Chi}(a+b x) \sinh (a+b x)}{b^2}-\frac{a \text{Shi}(2 a+2 b x)}{b^3}\\ \end{align*}
Mathematica [A] time = 0.369797, size = 134, normalized size = 0.61 \[ -\frac{4 \left (a^2+2\right ) \text{Chi}(2 (a+b x))+4 a^2 \log (a+b x)-8 \text{Chi}(a+b x) \left (\left (b^2 x^2+2\right ) \cosh (a+b x)-2 b x \sinh (a+b x)\right )+8 a \text{Shi}(2 (a+b x))-4 a b x+8 \log (a+b x)-2 a \sinh (2 (a+b x))+2 b x \sinh (2 (a+b x))-5 \cosh (2 (a+b x))+2 b^2 x^2}{8 b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.066, size = 199, normalized size = 0.9 \begin{align*}{\frac{{x}^{2}{\it Chi} \left ( bx+a \right ) \cosh \left ( bx+a \right ) }{b}}-2\,{\frac{x{\it Chi} \left ( bx+a \right ) \sinh \left ( bx+a \right ) }{{b}^{2}}}+2\,{\frac{{\it Chi} \left ( bx+a \right ) \cosh \left ( bx+a \right ) }{{b}^{3}}}-{\frac{x\cosh \left ( bx+a \right ) \sinh \left ( bx+a \right ) }{2\,{b}^{2}}}+{\frac{a\cosh \left ( bx+a \right ) \sinh \left ( bx+a \right ) }{2\,{b}^{3}}}-{\frac{{x}^{2}}{4\,b}}+{\frac{ax}{2\,{b}^{2}}}+{\frac{3\,{a}^{2}}{4\,{b}^{3}}}+{\frac{5\, \left ( \cosh \left ( bx+a \right ) \right ) ^{2}}{4\,{b}^{3}}}-{\frac{\ln \left ( bx+a \right ) }{{b}^{3}}}-{\frac{{\it Chi} \left ( 2\,bx+2\,a \right ) }{{b}^{3}}}-{\frac{a{\it Shi} \left ( 2\,bx+2\,a \right ) }{{b}^{3}}}-{\frac{{a}^{2}\ln \left ( bx+a \right ) }{2\,{b}^{3}}}-{\frac{{a}^{2}{\it Chi} \left ( 2\,bx+2\,a \right ) }{2\,{b}^{3}}} \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 x^{2}{\rm Chi}\left (b x + a\right ) \sinh \left (b x + a\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x^{2} \operatorname{Chi}\left (b x + a\right ) \sinh \left (b x + a\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \sinh{\left (a + b x \right )} \operatorname{Chi}\left (a + b x\right )\, dx \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 x^{2}{\rm Chi}\left (b x + a\right ) \sinh \left (b x + a\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]