Integrals: functions and by parts

Integrals of exponential functions

The integral of exe^x is ex+Ce^x+C, and the integral of axa^x is axln⁡a+C\dfrac{a^x}{\ln a}+C.

∫ex dx=ex+C,∫ax dx=axlog⁡a+C\begin{gathered} \int e^x\,dx=e^x+C, \\[4pt] \int a^x\,dx=\frac{a^x}{\log a}+C \end{gathered}

exe^x stays exe^x whether you differentiate or integrate. For base aa, differentiation multiplies by ln⁡a\ln a, so integration divides by it.

∫ax dx=axln⁡a+C\int a^x\,dx=\frac{a^x}{\ln a}+C

When the exponent is linear, as in e2xe^{2x}, remember to divide by the coefficient of xx.

Examples

  1. 01What is the value?∫01ex dx\displaystyle \int_{0}^{1} e^{x}\,dxAnswerHide
    Answere−1\displaystyle e-1

    Steps

    1. exe^{x} integrates to exe^{x}; subtract the lower end from the upper
    2. e1−e0\displaystyle e^{1}-e^{0}=e−1\displaystyle = e-1
    3. We subtract e0=1e^{0}=1, so the answer is not ee itself
  2. 02What goes in □?∫ax dx=ax□\displaystyle \int a^{x}\,dx = \frac{a^{x}}{\square}AnswerHide
    Answerlog⁡ea\displaystyle \log_e a

    Steps

    1. Differentiating axa^{x} multiplies by log⁡ea\log_e a; integrating divides by it instead
    2. axlog⁡ealog⁡ea\displaystyle \frac{a^{x}\log_e a}{\log_e a}=ax\displaystyle = a^{x}
    3. That cancels back, so □\square is log⁡ea\log_e a
  3. 03What is this?∫ex dx\displaystyle \int e^{x}\,dxAnswerHide
    Answerex+C\displaystyle e^{x}+C

    Steps

    1. exe^{x} is the function that differentiating leaves alone, so integrating leaves it alone too
    2. f(x)\displaystyle f(x)=ex\displaystyle = e^{x}f′(x)\displaystyle f'(x)=ex\displaystyle = e^{x}
    3. The power rule does not apply: in exe^{x} the xx is the exponent, not the base
  4. 04Integrate∫ex dx\displaystyle \int e^x \, dxAnswerHide
    Answerex+C\displaystyle e^x + C
  5. 05What is this?∫3x dx\displaystyle \int 3^{x}\,dxAnswerHide
    Answer3xlog⁡e3+C\displaystyle \frac{3^{x}}{\log_e 3}+C

    Steps

    1. Differentiating 3x3^{x} brings out a factor of log⁡e3\log_e 3
    2. f(x)\displaystyle f(x)=3x\displaystyle = 3^{x}f′(x)\displaystyle f'(x)=3xlog⁡e3\displaystyle = 3^{x}\log_e 3
    3. Integration runs the other way, so divide by that factor in advance
    4. 3xlog⁡e3log⁡e3\displaystyle \frac{3^{x}\log_e 3}{\log_e 3}=3x\displaystyle = 3^{x}
    5. It cancels and we are back. Differentiating multiplies; integrating divides
  6. 06What is this?∫5x dx\displaystyle \int 5^{x}\,dxAnswerHide
    Answer5xlog⁡e5+C\displaystyle \frac{5^{x}}{\log_e 5}+C

    Steps

    1. Differentiating 5x5^{x} brings out a factor of log⁡e5\log_e 5
    2. f(x)\displaystyle f(x)=5x\displaystyle = 5^{x}f′(x)\displaystyle f'(x)=5xlog⁡e5\displaystyle = 5^{x}\log_e 5
    3. Integration runs the other way, so divide by that factor in advance
    4. 5xlog⁡e5log⁡e5\displaystyle \frac{5^{x}\log_e 5}{\log_e 5}=5x\displaystyle = 5^{x}
    5. It cancels and we are back. Differentiating multiplies; integrating divides

FAQ

What is ∫e2x dx\int e^{2x}\,dx?
12e2x+C\dfrac{1}{2}e^{2x}+C. Differentiation multiplies by the inside coefficient 2, so integration divides by 2.

Published 2026-09-03 · Updated 2026-10-14