Skip to main content
Physics LibreTexts

3.3: Integration by Parts

  • Page ID
    34527
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    If the integrand consists of two factors, and you know the antiderivative of one of the factors, you can integrate by parts by shifting the derivative onto the other factor: \[\int_a^b dx \; f(x) \, \frac{dg}{dx} \;=\; \Big[\,f(x)\, g(x)\,\Big]_a^b - \int_a^b \frac{df}{dx}\, g(x).\] The first term on the right hand side is a constant denoting \([f(a)g(a) - f(b)g(b)]\). Hopefully, the integral in the second term is easier to solve than the original integral.

    Judicious use of integration by parts is a key step for solving many integrals. For example, consider \[\int_a^b dx\; x \, e^{\gamma x}.\] The integrand consists of two factors, \(x\) and \(e^{\gamma x}\); we happen to know the antiderivative of both factors. Integrating by parts lets us replace one of these factors with its antiderivative, while applying an additional derivative on the other factor. The smart thing to do is to apply the derivative on the \(x\) factor, and the antiderivative on the \(e^{\gamma x}\): \[\begin{align} \int_a^b dx\; x\, e^{\gamma x} \;&=\; \left[\;x\, \frac{e^{\gamma x}}{\gamma}\, \right]_a^b - \int_a^b dx\; \frac{e^{\gamma x}}{\gamma} \\ &=\; \left[\;x\, \frac{e^{\gamma x}}{\gamma} - \frac{e^{\gamma x}}{\gamma^2} \,\right]_a^b.\end{align}\] Whenever we finish doing an integral, it is good practice to double-check the result by making sure the dimensions match up. Note that \(\gamma\) has units of inverse \(x\), so the integral on the left-hand side has units of \(x^2\). The solution on the right hand side has two terms, with units \(x/\gamma\) and \(1/\gamma^2\); both of these are equivalent to units of \(x^2\), which is what we need!


    This page titled 3.3: Integration by Parts is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Y. D. Chong via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?