AP Calculus AB and BC

Integral of x^n: The Power Rule for Antiderivatives

The integral of x^n is x^(n+1)/(n+1) + C, valid for every real exponent n except n = -1. Raise the exponent by one, then divide by the new exponent. At n = -1 the rule would divide by zero, and the antiderivative of 1/x is ln|x| + C instead.

xndx=xn+1n+1+C\int x^n\,dx = \frac{x^{n+1}}{n+1} + C

How the power rule for integrals works

To antidifferentiate a power of xx, raise the exponent by one and divide by that new exponent. This is the reverse of the derivative power rule, which multiplies by the exponent and drops it by one.

xndx=xn+1n+1+C,n1\int x^n\,dx = \frac{x^{n+1}}{n+1} + C, \quad n \neq -1

You do not have to trust the formula. Differentiate the answer and see whether the integrand comes back. The constant 1n+1\frac{1}{n+1} rides along, and the derivative power rule brings down a factor of n+1n+1 that cancels it.

ddx[xn+1n+1]=1n+1(n+1)xn=xn\frac{d}{dx}\left[\frac{x^{n+1}}{n+1}\right] = \frac{1}{n+1} \cdot (n+1)x^{n} = x^{n}

That cancellation is the whole proof, and it is also why the rule breaks exactly once. The step is legal only when n+10n + 1 \neq 0.

Check every antiderivative by differentiating

Antidifferentiation has a free verification step that differentiation does not: take the derivative of your answer and compare it with the integrand. On the AP exam this costs about ten seconds and catches a dropped coefficient or a mis-shifted exponent before it costs you the point.

Why the rule fails at n = -1

Substituting n=1n = -1 into the formula gives x00\frac{x^{0}}{0}, and dividing by zero is undefined. So the power rule says nothing at all about x1dx\int x^{-1}\,dx, and that integral needs a different antiderivative.

1xdx=lnx+C\int \frac{1}{x}\,dx = \ln|x| + C

The absolute value matters. lnx\ln x alone is defined only for x>0x > 0, but 1x\frac{1}{x} exists on both sides of the origin, and lnx\ln|x| has derivative 1x\frac{1}{x} for every x0x \neq 0. Note that no antiderivative bridges x=0x = 0, since 1x\frac{1}{x} is not continuous there, so the constant CC can differ on the two intervals.

One exception, not a family of them

Every other exponent is fine, including negative ones and fractions. x2dx=x1+C\int x^{-2}\,dx = -x^{-1} + C and xdx=x1/2dx=23x3/2+C\int \sqrt{x}\,dx = \int x^{1/2}\,dx = \frac{2}{3}x^{3/2} + C both come straight from the power rule. Only n=1n = -1 is special.

Where the power rule for integrals shows up on the AP exam

The rule is introduced in Unit 6, Topic 6.8 (Finding Antiderivatives and Indefinite Integrals: Basic Rules and Notation). Unit 6 carries a weighting of 15 to 20 percent on both AB and BC, the largest single unit on either exam.

It rarely appears bare. More often it is the last step after you have rewritten the integrand into powers of xx, or the step you take once a substitution has cleared the way.

  • Topic 6.7, evaluating definite integrals: find the antiderivative with the power rule, then apply the Fundamental Theorem of Calculus.
  • Topic 6.9, substitution: after a uu-substitution the integral usually collapses to undu\int u^n\,du, which is this rule in a different letter.
  • Topic 6.10, long division and completing the square: division turns an improper rational function into a polynomial plus a remainder, and the polynomial part integrates term by term with the power rule.
  • Topic 6.14, selecting techniques: recognizing that an integrand is already a sum of powers is what tells you no technique is needed.

Rewriting is the skill being tested as much as the rule itself. Roots and quotients hide powers, so convert before you integrate.

x3+2x2dx=(x+2x2)dx=x222x+C\int \frac{x^3 + 2}{x^2}\,dx = \int \left(x + 2x^{-2}\right)dx = \frac{x^2}{2} - \frac{2}{x} + C

Common mistakes with the integral of x^n

  • Applying the derivative rule by reflex. Antidifferentiating x4x^4 gives x55\frac{x^5}{5}, not 4x34x^3. Raise the exponent, do not lower it.
  • Forgetting to divide. Writing x5dx=x6+C\int x^5\,dx = x^6 + C leaves out the 16\frac{1}{6}. Differentiating your answer catches this instantly.
  • Using the power rule on 1x\frac{1}{x}. It produces x00\frac{x^0}{0}, which is undefined. The answer is lnx+C\ln|x| + C.
  • Dropping the absolute value in lnx\ln|x|, which quietly narrows the answer to x>0x > 0.
  • Omitting +C+ C on an indefinite integral. The antiderivative is a whole family of functions, and the missing constant is a standard scoring deduction.
  • Treating a composite as a simple power. (3x+1)4dx\int (3x+1)^4\,dx is not (3x+1)55\frac{(3x+1)^5}{5}, because the chain rule leaves an extra factor of 3. Substitute u=3x+1u = 3x+1 and divide by 3.

Every answer on this page is machine checked

An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you. The page states the general rule for every exponent n except -1, but a numeric check needs a concrete exponent, so it fixes n = 3: it verifies that the derivative of x^4/4 is x^3, which is the rule with n + 1 = 4.

Frequently asked questions

What is the integral of x^n?

xndx=xn+1n+1+C\int x^n\,dx = \frac{x^{n+1}}{n+1} + C for every real exponent nn except n=1n = -1. Raise the exponent by one and divide by the new exponent. For example, x3dx=x44+C\int x^3\,dx = \frac{x^4}{4} + C, and differentiating that returns x3x^3.

Why does the power rule for integrals exclude n = -1?

Because the formula divides by n+1n + 1. At n=1n = -1 that is division by zero, so the rule gives nothing. The correct antiderivative there is 1xdx=lnx+C\int \frac{1}{x}\,dx = \ln|x| + C, which you can confirm by differentiating lnx\ln|x|.

Does the power rule work for negative and fractional exponents?

Yes, for every exponent except 1-1. For instance x3dx=12x2+C\int x^{-3}\,dx = -\frac{1}{2}x^{-2} + C and x1/2dx=23x3/2+C\int x^{1/2}\,dx = \frac{2}{3}x^{3/2} + C. Rewrite roots and quotients as powers first, then apply the rule.

What is the integral of (ax + b)^n?

Substitute u=ax+bu = ax + b, so du=adxdu = a\,dx. The result is (ax+b)n+1a(n+1)+C\frac{(ax+b)^{n+1}}{a(n+1)} + C for n1n \neq -1. The extra 1a\frac{1}{a} is what the plain power rule misses, which is why (3x+1)4dx=(3x+1)515+C\int (3x+1)^4\,dx = \frac{(3x+1)^5}{15} + C.