3.608 \(\int x^m \log (x) \, dx\)

Optimal. Leaf size=26 \[ \frac{x^{m+1} \log (x)}{m+1}-\frac{x^{m+1}}{(m+1)^2} \]

[Out]

-(x^(1 + m)/(1 + m)^2) + (x^(1 + m)*Log[x])/(1 + m)

________________________________________________________________________________________

Rubi [A]  time = 0.0101041, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {2304} \[ \frac{x^{m+1} \log (x)}{m+1}-\frac{x^{m+1}}{(m+1)^2} \]

Antiderivative was successfully verified.

[In]

Int[x^m*Log[x],x]

[Out]

-(x^(1 + m)/(1 + m)^2) + (x^(1 + m)*Log[x])/(1 + m)

Rule 2304

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log[c*x^
n]))/(d*(m + 1)), x] - Simp[(b*n*(d*x)^(m + 1))/(d*(m + 1)^2), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rubi steps

\begin{align*} \int x^m \log (x) \, dx &=-\frac{x^{1+m}}{(1+m)^2}+\frac{x^{1+m} \log (x)}{1+m}\\ \end{align*}

Mathematica [A]  time = 0.0080626, size = 19, normalized size = 0.73 \[ \frac{x^{m+1} ((m+1) \log (x)-1)}{(m+1)^2} \]

Antiderivative was successfully verified.

[In]

Integrate[x^m*Log[x],x]

[Out]

(x^(1 + m)*(-1 + (1 + m)*Log[x]))/(1 + m)^2

________________________________________________________________________________________

Maple [A]  time = 0.007, size = 34, normalized size = 1.3 \begin{align*}{\frac{x\ln \left ( x \right ){{\rm e}^{m\ln \left ( x \right ) }}}{1+m}}-{\frac{x{{\rm e}^{m\ln \left ( x \right ) }}}{{m}^{2}+2\,m+1}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^m*ln(x),x)

[Out]

1/(1+m)*x*ln(x)*exp(m*ln(x))-1/(m^2+2*m+1)*x*exp(m*ln(x))

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m*log(x),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 2.08615, size = 59, normalized size = 2.27 \begin{align*} \frac{{\left ({\left (m + 1\right )} x \log \left (x\right ) - x\right )} x^{m}}{m^{2} + 2 \, m + 1} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m*log(x),x, algorithm="fricas")

[Out]

((m + 1)*x*log(x) - x)*x^m/(m^2 + 2*m + 1)

________________________________________________________________________________________

Sympy [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**m*ln(x),x)

[Out]

Exception raised: TypeError

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{m} \log \left (x\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^m*log(x),x, algorithm="giac")

[Out]

integrate(x^m*log(x), x)