Integrals: the basics

The formula for ∫x^n dx

The indefinite integral of xnx^n is xn+1n+1+C\frac{x^{n+1}}{n+1}+C: raise the exponent by 1 and divide by the new exponent (n1n\neq -1).

xndx=xn+1n+1+C(n1)\begin{gathered} \int x^n\,dx \\[4pt] =\frac{x^{n+1}}{n+1}+C\quad(n\neq -1) \end{gathered}

Differentiation brought the exponent down and reduced it by 1. Integration is the reverse: raise the exponent by 1 and divide by the new exponent.

x3dx=x44+C\int x^3\,dx=\frac{x^4}{4}+C

Checking is easy: differentiate your answer and see that you get back the original.

Examples

  1. 01Integratex2dx\displaystyle \int x^{2} \, dxAnswerHide
    Answer13x3+C\displaystyle \frac{1}{3}x^{3} + C
  2. 02Integratex5dx\displaystyle \int x^{5} \, dxAnswerHide
    Answer16x6+C\displaystyle \frac{1}{6}x^{6} + C
  3. 03Integratexdx\displaystyle \int x \, dxAnswerHide
    Answer12x2+C\displaystyle \frac{1}{2}x^{2} + C
  4. 04Integratex3dx\displaystyle \int x^{3} \, dxAnswerHide
    Answer14x4+C\displaystyle \frac{1}{4}x^{4} + C
  5. 05Integratex4dx\displaystyle \int x^{4} \, dxAnswerHide
    Answer15x5+C\displaystyle \frac{1}{5}x^{5} + C

FAQ

Q1What about n=1n=-1?Show answerHide
A
The denominator of the formula becomes 0, so it cannot be used. That case has its own formula: 1xdx=logx+C\int \frac{1}{x}\,dx=\log|x|+C.

Practice this pattern in the app, 5 problems a day.

Download on the App Store
This topic
The formula for ∫x^n dx

Published 2026-09-03 · Updated 2026-09-05