Optimal. Leaf size=22 \[ \frac{a^{m x} b^{n x}}{m \log (a)+n \log (b)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0263098, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {2287, 2194} \[ \frac{a^{m x} b^{n x}}{m \log (a)+n \log (b)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2287
Rule 2194
Rubi steps
\begin{align*} \int a^{m x} b^{n x} \, dx &=\int e^{x (m \log (a)+n \log (b))} \, dx\\ &=\frac{a^{m x} b^{n x}}{m \log (a)+n \log (b)}\\ \end{align*}
Mathematica [A] time = 0.0135011, size = 22, normalized size = 1. \[ \frac{a^{m x} b^{n x}}{m \log (a)+n \log (b)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 23, normalized size = 1.1 \begin{align*}{\frac{{a}^{mx}{b}^{nx}}{m\ln \left ( a \right ) +n\ln \left ( b \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.91508, size = 53, normalized size = 2.41 \begin{align*} \frac{a^{m x} b^{n x}}{m \log \left (a\right ) + n \log \left (b\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.654854, size = 42, normalized size = 1.91 \begin{align*} \begin{cases} \frac{a^{m x} b^{n x}}{m \log{\left (a \right )} + n \log{\left (b \right )}} & \text{for}\: m \neq - \frac{n \log{\left (b \right )}}{\log{\left (a \right )}} \\b^{n x} x e^{- n x \log{\left (b \right )}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.14874, size = 439, normalized size = 19.95 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]