Integrals: functions and by parts

Integration by substitution

Integration by substitution sets part of the integrand to t=g(x)t=g(x) and uses dt=g′(x) dxdt=g'(x)\,dx to rewrite the integral in tt alone.

∫f(g(x)) g′(x) dx=∫f(t) dt(t=g(x))\begin{gathered} \int f(g(x))\,g'(x)\,dx \\[4pt] =\int f(t)\,dt\quad(t=g(x)) \end{gathered}

For ∫2x(x2+3)3 dx\int 2x(x^2+3)^3\,dx, set the inside of the brackets to t=x2+3t=x^2+3. Then dtdx=2x\frac{dt}{dx}=2x, so dt=2x dxdt=2x\,dx, and 2x dx2x\,dx is replaced by dtdt.

∫2x(x2+3)3 dx=∫t3 dt=t44+C=(x2+3)44+C\begin{gathered} \int 2x(x^2+3)^3\,dx \\[4pt] =\int t^3\,dt \\[4pt] =\frac{t^4}{4}+C \\[4pt] =\frac{(x^2+3)^4}{4}+C \end{gathered}

The steps are: choose tt, find dtdt and remove dxdx, integrate in tt, and substitute back to xx. For expressions with 1−x2\sqrt{1-x^2}, the substitution x=sin⁡θx=\sin\theta is also used.

Examples

  1. 01Which one can be solved with the substitution t=x2+1t=x^{2}+1?\displaystyle A∫2x(x2+1)3 dx\displaystyle \int 2x(x^{2}+1)^{3}\,dxB∫1x2+1 dx\displaystyle \int \frac{1}{x^{2}+1}\,dxC∫2x dx\displaystyle \int 2x\,dxD∫x2(x+1)3 dx\displaystyle \int x^{2}(x+1)^{3}\,dxAnswerHide
    Answer∫2x(x2+1)3 dx\displaystyle \int 2x(x^{2}+1)^{3}\,dx

    Steps

    1. Substitution works when the derivative of the inside is already multiplied in. Differentiating tt gives
    2. t\displaystyle t=x2+1\displaystyle = x^{2}+1dtdx\displaystyle \frac{dt}{dx}=2x\displaystyle = 2x
    3. ∫2x(x2+1)3 dx\int 2x(x^{2}+1)^{3}\,dx has that 2x2x, so it turns into dtdt. The others do not, so nothing turns into dtdt
  2. 02In dt=□ dxdt = \square\,dx, what goes in □?∫2x(x2+3)3 dx,t=x2+3\displaystyle \begin{gathered} \displaystyle \int 2x(x^{2}+3)^{3}\,dx, \\[6pt] \displaystyle t=x^{2}+3 \end{gathered}AnswerHide
    Answer2x\displaystyle 2x

    Steps

    1. Differentiate the tt we set, with respect to xx
    2. t\displaystyle t=x2+3\displaystyle = x^{2}+3dtdx\displaystyle \frac{dt}{dx}=2x\displaystyle = 2x
    3. That 2x2x is what dt=2x dxdt = 2x\,dx means; the constant 33 vanishes when differentiated
  3. 03Substitute back to xx:∫2x(x2+3)3 dx=t44+C,t=x2+3\displaystyle \begin{gathered} \displaystyle \int 2x(x^{2}+3)^{3}\,dx = \frac{t^{4}}{4}+C, \\[6pt] \displaystyle t=x^{2}+3 \end{gathered}AnswerHide
    Answer(x2+3)44+C\displaystyle \frac{(x^{2}+3)^{4}}{4}+C

    Steps

    1. Just put back what tt stood for
    2. t\displaystyle t=x2+3\displaystyle = x^{2}+3t44\displaystyle \frac{t^{4}}{4}=(x2+3)44\displaystyle = \frac{(x^{2}+3)^{4}}{4}
    3. The power was on tt, so it lands on the whole bracket. Do not multiply by 2x2x; it was already used up as dtdt
  4. 04Rewrite as an integral in tt:∫2x(x2+2)3 dx,t=x2+2,  dt=2x dx\displaystyle \begin{gathered} \displaystyle \int 2x(x^{2}+2)^{3}\,dx, \\[6pt] \displaystyle t=x^{2}+2,\; dt=2x\,dx \end{gathered}AnswerHide
    Answer∫t3 dt\displaystyle \int t^{3}\,dt

    Steps

    1. (x2+2)3(x^{2}+2)^{3} becomes t3t^{3}, and the whole 2x dx2x\,dx becomes dtdt
    2. The 2x2x is absorbed into dtdt, so it does not stay in front; and neither does dxdx
    3. ∫t3 dt\displaystyle \int t^{3}\,dt=t44+C\displaystyle = \frac{t^{4}}{4}+C
  5. 05In dt=□ dxdt = \square\,dx, what goes in □?∫2x(x2+4)3 dx,t=x2+4\displaystyle \begin{gathered} \displaystyle \int 2x(x^{2}+4)^{3}\,dx, \\[6pt] \displaystyle t=x^{2}+4 \end{gathered}AnswerHide
    Answer2x\displaystyle 2x

    Steps

    1. Differentiate the tt we set, with respect to xx
    2. t\displaystyle t=x2+4\displaystyle = x^{2}+4dtdx\displaystyle \frac{dt}{dx}=2x\displaystyle = 2x
    3. That 2x2x is what dt=2x dxdt = 2x\,dx means; the constant 44 vanishes when differentiated
  6. 06Rewrite as an integral in tt:∫2x(x2+3)4 dx,t=x2+3,  dt=2x dx\displaystyle \begin{gathered} \displaystyle \int 2x(x^{2}+3)^{4}\,dx, \\[6pt] \displaystyle t=x^{2}+3,\; dt=2x\,dx \end{gathered}AnswerHide
    Answer∫t4 dt\displaystyle \int t^{4}\,dt

    Steps

    1. (x2+3)4(x^{2}+3)^{4} becomes t4t^{4}, and the whole 2x dx2x\,dx becomes dtdt
    2. The 2x2x is absorbed into dtdt, so it does not stay in front; and neither does dxdx
    3. ∫t4 dt\displaystyle \int t^{4}\,dt=t55+C\displaystyle = \frac{t^{5}}{5}+C

FAQ

Q1What should I set as tt?AnswerHide
A
Choose the part whose derivative appears as a factor outside. In 2x(x2+3)32x(x^2+3)^3, the factor 2x2x is the derivative of x2+3x^2+3, so set t=x2+3t=x^2+3.
Q2Do I have to substitute back to xx?AnswerHide
A
For an indefinite integral, yes: the answer is written in xx, so replace tt with x2+3x^2+3. For a definite integral, you can change the limits to values of tt instead and skip substituting back.

Published 2026-10-13 · Updated 2026-10-13