We can help you get into your dream school.

Start Magoosh SAT or Magoosh ACT Prep today!

Christopher Wirick

AP Calculus: Computing the Antiderivatives of Functions and Polynomials

Warm-up: Keeping with the theme of volume of solids of revolution, try this multiple choice question, which should need only understanding of the geometric meaning of the definite integral as a measurement of volume.

Question: A solid is generated by revolving the region enclosed by the function y =2sqrt{x}, and the lines x =2, x =3, y =1 about the x-axis. Which of the following definite integrals gives the volume of the solid? (Hint: Draw a picture)


Calculating the Antiderivatives of an Integrand

When we look at an integral int{a}{b}{f(x) dx}we call the values a, b the bounds of integration, while we call the function f(x) the integrand. The goal when computing an integral is to first compute an antiderivative F(x) for the integrand, for then the fundamental theorem of calculus will allow us to evaluate the right side of  int{a}{b}f(x)dx = {F(b) - F(a)}, which is much easier to evaluate than taking a limit of Riemann sums as discussed in the previous post.

Therefore we need to learn how to compute antiderivatives in order to learn how to compute integrals.


The method for computing antiderivatives of a function f(x) usually consists recognizing it as the derivative of some function that you know F(x).

We need a little background now, because we are going to develop a toolkit for computing antiderivatives. A set is an unordered collection of objects. We can describe the elements of set inside of curly brackets: The integers bbZ = {lbrace}..., -2, -1 0, 1, 2, 3, ...{rbrace }, , the real numbers bbRare everything in between. When there are no bounds of integration on an integral, we call int{ }{ }{f(x) dx}an indefinite integral. The indefinite integral of a continuous function is the set of antiderivatives  for the integrand  so int{ }{ }{f(x) dx} = {lbrace}F:F is an antiderivate for f {rbrace} (the set notation is read as “the set of F such that F is an antiderivative for f.”

So there is more than one antiderivative for a continuous function f? Actually, the number of antiderivatives for a continuous function is actually uncountable, and certainly infinite. To see this we need two laws for derivatives: The derivative of a sum of differentiable functions is the sum of the derivatives, and the derivative of a constant function is 0. Recall that a function f(x) is differentiable if the limit ctaoaf_img3 exists for every point x in the domain of f, and we write this value as f'(x).

Let f(x), g(x) be differentiable functions, then we can see using the definition of the derivative that

ctaoaf_img4Next, we want to suppose that our function g(x)= c for some c epsilon bbRi.e. for some real number c,) then the derivative is zero at every point x:

ctaoaf_img5Now we see why there are so many antiderivatives of an arbitrary continuous function f(x): Let F(x) be any antiderivative of f(x). This means that F'(x) = f(x) for every x in the domain of f. But then F(x) + c  where c is a real number is also an antiderivative for f , since we have that


Where the first equal sign uses the sum rule for derivatives and the second equal sign uses the fact that the derivative of a constant function is zero.

Therefore we write that the indefinite integral of a continuous function is a set of antiderivatives that differ by a real constant:


Solution to warm-up: A

Calculating the Antiderivatives of a Polynomial



(Find the solution at the conclusion)

Today we want to discuss the computation of the antiderivatives of a polynomial function. Polynomials, as you might recall, are sums and differences of different powers of the independent variable. Some functions that are polynomials:


Some functions that are NOT polynomials:


Notice that H, G, are very similar functions to h, g, so it is important to verify if you are dealing with non-polynomial functions (like e^x , log(x), sin(x)) or simply constants (like e^{37} , log(40), sin(3)). We now want to understand how to compute the indefinite integral of one of these polynomial functions—which means finding antiderivatives of polynomial functions.

In order to understand antiderivatives, we must first understand derivatives—so the first question we ask is:

What is the derivative of the function f(x) = x^n?

We can answer this question by computing the limit from the definition:


Now what is (x + h)^n? If we recall the binomial formula (and Pascal’s triangle) we see that ctaoap_img5

Substituting this back into the limit we see that:


Since all the terms in the numerator have a power of “h”, then we can cancel and are left with:


Now since the only term without an “h” is the first term, when h right 0 we see that all that we are left with is nx^{n-1}. Therefore we have that


We now have figured out the derivatives of all sorts of functions! We have that (x^2)‘ = 2x, (x^3)‘ = 3x^{2} etc. The last pieces of information that we need to know, which I will not prove because it requires advanced structures, is that the integral of a sum of continuous functions is the sum of the integrals. Therefore if f(x), g(x) are continuous:


and given a real number  and a continuous function f(x), the integral of (c.f)(x) is times the integral of f(x):


This allows us to compute the integral of a sum of polynomial functions, since computing the integral will consist of finding antiderivatives for each term in the sum and then adding them together. This means we only need to know the antiderivative of x^n. Since a polynomial takes the form {a_n}{x^n} +{a_{n-1}}{x^{n-1}} + ... + {a_1{x}} + a_0}, where the a_n is a sequence of real constants, we can compute the integral of one as follows:


So what is the function F that is an antiderivative of  f(x)= x^n?  It will have the form F(x)= cx^{n+1}, and we can solve for  by differentiating, so that f(x) = c.(n+1).{x^n}. Therefore we have that


Therefore the antiderivatives for x^nare as follows:


where c  is an arbitrary real constant.

Warm-up Solution: C

Improve your SAT or ACT score, guaranteed. Start your 1 Week Free Trial of Magoosh SAT Prep or your 1 Week Free Trial of Magoosh ACT Prep today!

magoosh logo checks

About Christopher Wirick

In addition to blogging about AP Calculus, Oakland resident Chris Wirick has played the oboe in Beijing and Berlin, studied math and cognitive science (the other CS) at Cal Berkeley, and can’t stop gardening, cooking and eating new foods.

Leave a Reply

Magoosh blog comment policy: To create the best experience for our readers, we will approve and respond to comments that are relevant to the article, general enough to be helpful to other students, concise, and well-written! :) If your comment was not approved, it likely did not adhere to these guidelines. If you are a Premium Magoosh student and would like more personalized service, you can use the Help tab on the Magoosh dashboard. Thanks!