Integrals: functions and by parts

Substitution for (ax+b)

To integrate (ax+b)n(ax+b)^n, raise the power by 1 and divide by n+1n+1 as for xnx^n, then multiply by 1a\frac{1}{a}.

∫(ax+b)n dx=1a⋅(ax+b)n+1n+1+C(a≠0, n≠−1)\begin{gathered} \int (ax+b)^{n}\,dx=\frac{1}{a}\cdot\frac{(ax+b)^{n+1}}{n+1}+C \\[4pt] (a\neq 0,\ n\neq -1) \end{gathered}

Setting t=ax+bt=ax+b gives dt=a dxdt=a\,dx, that is, dx=1a dtdx=\frac{1}{a}\,dt. This 1a\frac{1}{a} comes out in front as a coefficient.

∫(3x+2)3 dx=13∫t3 dt=(3x+2)412+C\begin{gathered} \int (3x+2)^{3}\,dx \\[4pt] =\frac{1}{3}\int t^{3}\,dt \\[4pt] =\frac{(3x+2)^{4}}{12}+C \end{gathered}

When you differentiate the answer, the chain rule multiplies by the derivative of the inside, aa. The 1a\frac{1}{a} is there to cancel it. When a=1a=1, 1a=1\frac{1}{a}=1, and the formula looks the same as the one for xnx^n.

Examples

  1. 01Integrate∫(3x+2)3 dx\displaystyle \int \left(3x + 2\right)^{3} \, dxAnswerHide
    Answer(3x+2)412+C\displaystyle \frac{\left(3x + 2\right)^{4}}{12} + C
  2. 02Integrate∫(3x+2)2 dx\displaystyle \int \left(3x + 2\right)^{2} \, dxAnswerHide
    Answer(3x+2)39+C\displaystyle \frac{\left(3x + 2\right)^{3}}{9} + C
  3. 03Integrate∫(x+2)3 dx\displaystyle \int \left(x + 2\right)^{3} \, dxAnswerHide
    Answer(x+2)44+C\displaystyle \frac{\left(x + 2\right)^{4}}{4} + C
  4. 04Integrate∫(x+3)4 dx\displaystyle \int \left(x + 3\right)^{4} \, dxAnswerHide
    Answer(x+3)55+C\displaystyle \frac{\left(x + 3\right)^{5}}{5} + C
  5. 05Integrate∫(2x+2)3 dx\displaystyle \int \left(2x + 2\right)^{3} \, dxAnswerHide
    Answer(2x+2)48+C\displaystyle \frac{\left(2x + 2\right)^{4}}{8} + C
  6. 06Integrate∫(x+1)2 dx\displaystyle \int \left(x + 1\right)^{2} \, dxAnswerHide
    Answer(x+1)33+C\displaystyle \frac{\left(x + 1\right)^{3}}{3} + C

FAQ

Q1Why does 1a\frac{1}{a} appear?AnswerHide
A
Differentiate the answer to check: {(3x+2)412}′=4(3x+2)3⋅312=(3x+2)3\left\{\frac{(3x+2)^{4}}{12}\right\}'=\frac{4(3x+2)^{3}\cdot 3}{12}=(3x+2)^{3}. The derivative of the inside produces a factor of 33, so you multiply by 13\frac{1}{3} in advance.
Q2What about n=−1n=-1?AnswerHide
A
This formula does not apply. Instead, ∫dxax+b=1alog⁡∣ax+b∣+C\int\frac{dx}{ax+b}=\frac{1}{a}\log|ax+b|+C. The 1a\frac{1}{a} still appears.

Published 2026-10-14 · Updated 2026-10-14