Optimal. Leaf size=28 \[ \frac{a^{k x}}{k \log (a)}-\frac{a^{l x}}{l \log (a)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0209691, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ \frac{a^{k x}}{k \log (a)}-\frac{a^{l x}}{l \log (a)} \]
Antiderivative was successfully verified.
[In] Int[a^(k*x) - a^(l*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 1.13873, size = 19, normalized size = 0.68 \[ \frac{a^{k x}}{k \log{\left (a \right )}} - \frac{a^{l x}}{l \log{\left (a \right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(a**(k*x)-a**(l*x),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0106356, size = 28, normalized size = 1. \[ \frac{a^{k x}}{k \log (a)}-\frac{a^{l x}}{l \log (a)} \]
Antiderivative was successfully verified.
[In] Integrate[a^(k*x) - a^(l*x),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.002, size = 29, normalized size = 1. \[{\frac{{a}^{kx}}{k\ln \left ( a \right ) }}-{\frac{{a}^{lx}}{l\ln \left ( a \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(a^(k*x)-a^(l*x),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.38007, size = 38, normalized size = 1.36 \[ \frac{a^{k x}}{k \log \left (a\right )} - \frac{a^{l x}}{l \log \left (a\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(a^(k*x) - a^(l*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.216226, size = 38, normalized size = 1.36 \[ -\frac{a^{l x} k - a^{k x} l}{k l \log \left (a\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(a^(k*x) - a^(l*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.558248, size = 29, normalized size = 1.04 \[ \begin{cases} \frac{a^{k x}}{k \log{\left (a \right )}} & \text{for}\: k \log{\left (a \right )} \neq 0 \\x & \text{otherwise} \end{cases} - \begin{cases} \frac{a^{l x}}{l \log{\left (a \right )}} & \text{for}\: l \log{\left (a \right )} \neq 0 \\x & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(a**(k*x)-a**(l*x),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.198384, size = 38, normalized size = 1.36 \[ \frac{a^{k x}}{k{\rm ln}\left (a\right )} - \frac{a^{l x}}{l{\rm ln}\left (a\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(a^(k*x) - a^(l*x),x, algorithm="giac")
[Out]