Math glossary

Antiderivatives: Definition, Rules, and Worked Examples

Reverse derivative rules to find antiderivatives. Learn the power rule, choose the constant, and use six worked examples to check your answers.

TL;DR

An antiderivative of ff is a function FF whose derivative is ff. Reverse familiar derivative rules, add CC to describe all antiderivatives on an interval, and differentiate your result to check it.

Key Points

  • An indefinite integral describes a family of antiderivatives on an interval.
  • The power rule raises the exponent by one and then divides by the new exponent.
  • For 1/x1/x, use ln|x|+C\ln|x|+C on an interval that avoids zero.
  • An initial condition determines the constant when one particular function is required.
  • A definite integral with limits gives a number when its bounds and integrand are fixed.

What is an antiderivative?

If F′(x)=f(x)F'(x)=f(x) on an interval, then FF is an antiderivative of ff on that interval. For example, x3x^3 is an antiderivative of 3x23x^2 because differentiating x3x^3 returns 3x23x^2. The function x3−8x^3-8 works as well since the derivative of a constant is zero.

The indefinite integral collects these functions:

∫f(x)dx=F(x)+C.\int f(x)\,dx=F(x)+C.

Here ff is the integrand, dxdx says the variable is xx, and CC can be any real constant. OpenStax derives the general form from the mean value theorem. If two differentiable functions have the same derivative throughout an interval, their difference has derivative zero and must be constant throughout that interval. OpenStax, Antiderivatives

Three vertically shifted parabolas with equations x squared plus one, x squared, and x squared minus one have parallel tangent segments at x equals one
Changing the constant shifts the graph vertically. At the same input, each of these three curves has identical slope.

What are the main rules for finding antiderivatives?

Start with linearity. Integrate the terms of a sum or difference separately. A constant multiplier can stay in front while you integrate. Because differentiating a sum or a constant multiple reverses those same steps, these rules can be verified term by term.

For a power xnx^n with n≠−1n\ne-1, use the following rule on an interval where the expression is defined and differentiable:

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

When n=−1n=-1, the new exponent would be zero, so the rule would require division by zero. The derivative of ln|x|\ln|x| is 1/x1/x wherever x≠0x\ne0. On the positive and negative intervals, the constants can be chosen independently because zero separates them.

Integrand One antiderivative Condition
1/x1/x ln|x|\ln\lvert x\rvert x≠0x\ne0 on the chosen interval
exe^x exe^x Any real xx
axa^x ax/lnaa^x/\ln a a>0a>0 and a≠1a\ne1
sinx\sin x −cosx-\cos x Angles in radians
cosx\cos x sinx\sin x Angles in radians
sec2x\sec^2x tanx\tan x An interval where cosx≠0\cos x\ne0
csc2x\csc^2x −cotx-\cot x An interval where sinx≠0\sin x\ne0
1/(1+x2)1/(1+x^2) arctanx\arctan x Any real xx
1/1−x21/\sqrt{1-x^2} arcsinx\arcsin x −1<x<1-1<x<1

The last two integrands have inverse-trigonometric antiderivatives. Integrating an expression that already contains an inverse trig function, such as ∫arctanxdx\int\arctan x\,dx, is a different task. Choose integration by parts or another integration formula when the basic table does not match. The arctangent guide explains the inverse function and its output interval.

How do you choose a strategy for an unfamiliar integrand?

  1. Simplify first. Expand manageable sums or rewrite fractional roots as powers if that exposes a basic rule.
  2. Identify an inner function and look beside it for its derivative. When both appear, try substitution. For example, e3x−2e^{3x-2} can use u=3x−2u=3x-2, with dx=du/3dx=du/3.
  3. Look for a product or an inverse trig function that simplifies when differentiated. Integration by parts may work if the other factor is easy to integrate.
  4. Verify the proposed answer by differentiating. Your derivative should reproduce the integrand on the stated interval.

Some continuous functions have antiderivatives that cannot be written as a finite combination of familiar elementary functions. For example, e−x2e^{-x^2} has the antiderivative defined by the integral from 0 to xx of e−t2dte^{-t^2}\,dt. The fundamental theorem yields its derivative. A numerical method such as the trapezoidal rule can estimate the value of a definite integral when no elementary formula is available.

How does an antiderivative relate to a definite integral?

The indefinite integral ∫f(x)dx\int f(x)\,dx describes functions. A definite integral ∫abf(x)dx\int_a^b f(x)\,dx gives signed accumulation from aa to bb. For continuous ff on [a,b][a,b], you can take any antiderivative FF and compute

∫abf(x)dx=F(b)−F(a).\int_a^b f(x)\,dx=F(b)-F(a).

Adding the same constant to both endpoint values changes neither their difference nor the result. If ff is a velocity, that difference gives change in position, and negative velocities contribute negative displacement. To calculate total distance, integrate the absolute value of velocity or split the interval wherever its sign changes. OpenStax, Integration Formulas and the Net Change Theorem

What does an initial condition do?

Knowing a derivative tells you how a quantity changes, but it leaves the starting level unknown. An initial condition supplies one input and its output, such as the amount of water in a tank at time zero. Find the family F+CF+C, substitute the supplied pair, and solve for CC. Then check both the derivative and the original condition.

Six Worked Antiderivative Examples

Example 1

Find ∫(12x3−6x+5)dx\int(12x^3-6x+5)\,dx.

  1. Integrate termwise to get 3x43x^4, −3x2-3x^2, and 5x5x.
  2. The family is 3x4−3x2+5x+C3x^4-3x^2+5x+C.
  3. Differentiating restores 12x3−6x+512x^3-6x+5.

Example 2

Find ∫(4/x−3/x2)dx\int (4/x-3/x^2)\,dx on the interval x<0x<0.

  1. The first term gives 4ln(−x)4\ln(-x) because −x-x is positive there.
  2. Rewrite −3/x2-3/x^2 as −3x−2-3x^{-2} and integrate to get 3/x3/x.
  3. The answer is 4ln(−x)+3/x+C4\ln(-x)+3/x+C. Differentiating gives 4/x−3/x24/x-3/x^2.

Example 3

Find ∫4cos(2x+1)dx\int 4\cos(2x+1)\,dx.

  1. An antiderivative has a sine term with the same inner angle.
  2. The inner derivative is 2, so divide the outside multiplier 4 by 2.
  3. Differentiate 2sin(2x+1)+C2\sin(2x+1)+C to recover 4cos(2x+1)4\cos(2x+1).

Example 4

Find ∫3/(1+9x2)dx\int 3/(1+9x^2)\,dx.

  1. The denominator equals 1+(3x)21+(3x)^2.
  2. Set u=3xu=3x, so du=3dxdu=3\,dx. The integral becomes ∫du/(1+u2)\int du/(1+u^2).
  3. The answer is arctan(3x)+C\arctan(3x)+C. Its derivative has numerator 3 by the chain rule.

Example 5

Water flows in at rate q′(t)=6t+2q'(t)=6t+2 litres per minute for t≥0t\ge0. The tank contains 18 litres initially. Find its level at four minutes.

  1. Integrate to find q(t)=3t2+2t+Cq(t)=3t^2+2t+C.
  2. Since q(0)=18q(0)=18, choose C=18C=18.
  3. At four minutes the tank contains 48+8+18=7448+8+18=74 litres. Its level increased by 56 litres.

Example 6

Use integration by parts to find ∫arctanxdx\int\arctan x\,dx.

  1. Choose u=arctanxu=\arctan x and dv=dxdv=dx, which give du=dx/(1+x2)du=dx/(1+x^2) and v=xv=x.
  2. The remaining integral is ∫x/(1+x2)dx\int x/(1+x^2)\,dx, which is 12ln(1+x2)\tfrac12\ln(1+x^2).
  3. The answer is xarctanx−12ln(1+x2)+Cx\arctan x-\tfrac12\ln(1+x^2)+C. Its derivative is arctanx\arctan x because the extra x/(1+x2)x/(1+x^2) terms cancel.

Common Mistakes With Antiderivatives

Mistake 1: Using the power rule for x−1x^{-1}

The new exponent would be zero. Use the logarithm rule and check that your interval excludes zero.

Mistake 2: Forgetting the inner multiplier

The derivative of sin(5x)\sin(5x) is 5cos(5x)5\cos(5x). If the integrand is cos(5x)\cos(5x), include a factor of 1/51/5 in the antiderivative.

Mistake 3: Losing the starting value

An integral of a rate over a fixed time gives the change. If the question asks for the final amount, add that change to the initial amount.

Try It Yourself

  1. Find ∫(8x3−2x)dx\int (8x^3-2x)\,dx.
  2. Find F(x)F(x) if F′(x)=2e2xF'(x)=2e^{2x} and F(0)=5F(0)=5.
  3. Evaluate ∫134xdx\int_1^3 4x\,dx using any antiderivative.

Answers. 1. 2x4−x2+C2x^4-x^2+C. 2. F(x)=e2x+4F(x)=e^{2x}+4. 3. The antiderivative 2x22x^2 gives 18−2=1618-2=16.

Conclusion

  • Try the common rules after simplifying the integrand.
  • Differentiate the proposed antiderivative across the intended interval.
  • Use an initial value for a particular function and endpoint subtraction for a definite integral.

Read More

Research Behind This Article

  1. OpenStax, Calculus Volume 1: Antiderivatives. OpenStax
  2. OpenStax, Calculus Volume 2: Integration Formulas and the Net Change Theorem. OpenStax
  3. New York City College of Technology, MAT 1575: Lesson 1, Antiderivatives. City Tech, CUNY
  4. University of Connecticut, Applied Calculus: Antiderivatives. University of Connecticut