U-Substitution Calculator

Type an integrand that holds a function and its derivative, such as 2x cos(x^2).

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

Try

Result

You entered∫e3x dx\int e^{3x}\,dx

∫e3x dx=e3x3+C\displaystyle \int e^{3x}\,dx = \frac{e^{3x}}{3} + C
Show the work
  1. u-substitution

    Choose u=3xu = 3x, the inner function. Its derivative 33 is already in the integrand, so everything else becomes a function of uu alone.

    Using ∫f(g(x)) g′(x) dx=∫f(u) du\int f(g(x))\,g'(x)\,dx = \int f(u)\,du

    u=3xdu=3 dx\begin{gathered} u = 3x \\ du = 3\,dx \end{gathered}
  2. Rewrite in u

    Replace 3x3x by uu and 3 dx3\,dx by dudu.

    ∫e3x dx=∫eu3 du\int e^{3x}\,dx = \int \frac{e^{u}}{3}\,du
  3. Constant multiple rule

    The constant factor 13\frac{1}{3} can be moved outside the integral.

    Using ∫c f(x) dx=c∫f(x) dx\int c\,f(x)\,dx = c\int f(x)\,dx

    ∫eu3 du=13∫eu du\int \frac{e^{u}}{3}\,du = \frac{1}{3}\int e^{u}\,du
  4. Exponential rule

    This is one of the basic integrals, so the answer is read straight from the table.

    Using ∫ex dx=ex+C\int e^x\,dx = e^x + C

    ∫eu du=eu\int e^{u}\,du = e^{u}
  5. Substitute back

    Replace uu by 3x3x.

    eu3=e3x3\frac{e^{u}}{3} = \frac{e^{3x}}{3}
  6. Result

    An antiderivative is only defined up to a constant, so the constant of integration CC is added.

    ∫e3x dx=e3x3+C\int e^{3x}\,dx = \frac{e^{3x}}{3} + C

Worked examples