This article was co-authored by wikiHow staff writer, Hannah Madden. Hannah Madden is a writer, editor, and artist currently living in Portland, Oregon. In 2018, she graduated from Portland State University with a B.S. in Environmental Studies. Hannah enjoys writing articles about conservation, sustainability, and eco-friendly products. When she isn’t writing, you can find Hannah working on hand embroidery projects and listening to music.
wikiHow marks an article as reader-approved once it receives enough positive feedback. In this case, several readers have written to tell us that this article was helpful to them, earning it our reader-approved status.
This article has been viewed 262,289 times.
Learn more...
Integration is the inverse operation of differentiation. It is commonly said that differentiation is a science, while integration is an art. The reason is because integration is simply a harder task to do - while a derivative is only concerned with the behavior of a function at a point, an integral, being a glorified sum, integration requires global knowledge of the function. So while there are some functions whose integrals can be evaluated using the standard techniques in this article, many more cannot.
We go over the basic techniques of single-variable integration in this article and apply them to functions with antiderivatives.
Steps
The Basics
-
1Understand the notation for integration. An integral consists of four parts.
- The is the symbol for integration. It is actually an elongated S.
- The function is called the integrand when it is inside the integral.
- The differential intuitively is saying what variable you are integrating with respect to. Because (Riemann) integration is just a sum of infinitesimally thin rectangles with a height of we see that refers to the width of those rectangles.
- The letters and are the boundaries. An integral does not need to have boundaries. When this is the case, we say that we are dealing with an indefinite integral. If it does, then we are dealing with a definite integral.
- Throughout this article, we will go over the process of finding antiderivatives of a function. An antiderivative is a function whose derivative is the original function we started with.
-
2Understand the definition of an integral. When we talk about integrals, we usually refer to Riemann integrals; in other words, summing up rectangles. Given a function a rectangle width of and an interval the area of the first rectangle is given by because it is just the base times the height (the value of the function). Similarly, the area of the second rectangle is Generalizing, we say the area of the ith rectangle is In summation notation, this can be represented in the following manner.
- If this is the first time you have seen a summation symbol, it may look scary...but it's not complicated at all. All this is saying is that we are summing up the area of rectangles. (The variable is known as a dummy index.) However, as you can guess, the area of all the rectangles is bound to be slightly different from the true area. We solve this by sending the number of rectangles to infinity. As we increase the number of rectangles, the area of all the rectangles better approximates the area under the curve. That's what the diagram above shows (see the tips for what the graph in the middle shows). The limit as is what we define as the integral of the function from to
- Of course, this limit has to exist in order for the integral to have any meaning. If such a limit does not exist on the interval, then we say that does not have an integral over the interval In this article (and in almost every physical application), we only deal with functions where these integrals exist.
Advertisement -
3Remember when evaluating indefinite integrals! One of the most common mistakes people can make is forgetting to add the constant of integration. The reason why this is needed is because antiderivatives are not unique. In fact, a function can have an infinite number of antiderivatives. They are allowed because the derivative of a constant is 0.
Power Rule
-
1Consider a monomial .
-
2Perform the power rule for integrals. This is the same power rule for derivatives, but in reverse.[1] We increase the power by 1, and divide by the new power. Don't forget to add the constant of integration
- To verify that this power rule holds, differentiate the antiderivative to recover the original function.
- The power rule holds for all functions of this form with degree except when We will see why later.[2]
-
3Apply linearity. Integration is a linear operator, which means that the integral of a sum is the sum of the integrals, and the coefficient of each term can be factored out, like so:
- This should be familiar because the derivative is also a linear operator; the derivative of a sum is the sum of the derivatives.
- Linearity does not apply just for integrals of polynomials. It applies to any integral where the integrand is a sum of two or more terms.
-
4Find the antiderivative of the function . This is a polynomial, so using the property of linearity and the power rule, the antiderivative can easily be computed. To find the antiderivative of a constant, remember that so the constant is really just the coefficient of
-
5Find the antiderivative of the function . This may seem like a function that defies our rules, but a moment's glance reveals that we can separate the fraction into three fractions and apply linearity and the power rule to find the antiderivative.[3]
- The common theme is that you must perform whatever manipulations in order to get the integral into a polynomial. From there, integration is easy. Judging whether the integral is easy enough to brute-force, or requires some algebraic manipulation first, is where the skill lies. [4]
Definite Integration
-
1Consider the integral below. Unlike the integration process in part 2, we also have bounds to evaluate at.
-
2Use the fundamental theorem of calculus. This theorem is in two parts. The first part was stated in the first sentence of this article: integration is the inverse operation of differentiation, so integrating and then differentiating a function recovers the original function. The second part is stated below. [5]
- Let be an antiderivative of Then
- This theorem is incredibly useful because it simplifies the integral and means that the definite integral is completely determined by just the values on its boundaries. There is no need to sum up rectangles anymore to compute integrals. All we need to do now is to find antiderivatives, and evaluate at the bounds!
-
3Evaluate the integral stated in step 1. Now that we have the fundamental theorem as a tool for solving integrals, we can easily calculate the value of the integral as defined above.
- Again, the fundamental theorem of calculus does not just apply to functions like The fundamental theorem can be used to integrate any function, as long as you can find an antiderivative.
-
4Evaluate the integral with the boundaries swapped. Let's see what happens here.
- We just obtained the negative of the answer we got before. This illustrates an important property of definite integrals. Swapping the boundaries negates the integral.
Antiderivatives of Common Functions
-
1Memorize the antiderivatives of exponential functions. In the following steps, we list commonly encountered functions like the exponential and trigonometric functions. All are widely encountered, so knowing what their antiderivatives are is crucial to building up integrating skills. Remember that indefinite integrals have an extra because the derivative of a constant is 0.
-
2Memorize the antiderivatives of trigonometric functions. These are just the derivatives applied backwards and should be familiar. The sines and cosines are encountered far more often and should definitely be memorized. Hyperbolic analogues are similarly found, though they are encountered less often.
-
3Memorize the antiderivatives of inverse trigonometric functions. These should not really be considered an exercise in "memorization." As long as you are familiar with the derivatives, then most of these antiderivatives should be familiar as well.
-
4Memorize the antiderivative of the reciprocal function. Previously, we said that the function or was an exception to the power rule. The reason is because the antiderivative of this function is the logarithmic function.
- (Sometimes, authors like to put the in the numerator of the fraction, so it reads like Be aware of this notation.)
- The reason for the absolute value in the logarithm function is subtle, and requires a more thorough understanding of real analysis in order to fully answer. For now, we will just live with the fact that the domains become the same when the absolute value bars are added.
-
5Evaluate the following integral over the given bounds. Our function is given as Here, we don't know the antiderivative of but we can use a trigonometric identity to rewrite the integrand in terms of a function which we know the antiderivative of - namely,
- If you need a decimal approximation, you can use a calculator. Here,
Integrals of Symmetric Functions
-
1Evaluate the integral of an even function. Even functions are functions with the property that In other words, you should be able to replace every with a and get the same function. An example of an even function is Another example is the cosine function. All even functions are symmetric about the y-axis. [6]
- Our integrand is even. We can immediately integrate by using the fundamental theorem of calculus, but if we look more carefully, we see that the bounds are symmetric about That means that the integral from -1 to 0 is going to give us the same value as the integral from 0 to 1. So what we can do is we can change the bounds to 0 and 1 and factor out a 2.
- It might not seem like much to do this, but we will immediately see that our work is simplified. After finding the antiderivative, notice that we only need to evaluate it at The antiderivative at will not contribute to the integral.
- In general, whenever you see an even function with symmetric boundaries, you should perform this simplification in order to make less arithmetic mistakes.
-
2Evaluate the integral of an odd function. Odd functions are functions with the property that In other words, you should be able to replace every with a and then get the negative of the original function. An example of an odd function is The sine and tangent functions are also odd. All odd functions are symmetric about the origin (imagine rotating the negative part of the function by 180° - it will then stack on top of the positive part of the function). If the bounds are symmetric, then the integral will be 0.
- We could evaluate this integral directly...or we can recognize that our integrand is odd. Furthermore, the boundaries are symmetric about the origin. Therefore, our integral is 0. Why is this the case? It is because the antiderivative is even. Even functions have the property that so when we evaluate at the bounds and then immediately implies that
- The properties of these functions are very potent in simplifying the integrals, but the boundaries must be symmetric. Otherwise, we will need to evaluate the old way.
U-Substitution
-
1See the main article on how to perform u-substitutions. U-substitution is a technique that changes variables with the hope of obtaining an easier integral. As we will see, it is the analogue of the chain rule for derivatives.
-
2Evaluate the integral of . What do we do when the exponent has a coefficient in it? We use u-substitution to change variables. It turns out that these kinds of u-subs are the easiest to perform, and they are done so often, the u-sub is often skipped. Nevertheless, we will show the entire process.
-
3Choose a and find . We choose so that we get a in the integrand, a function whose antiderivative we are familiar with - itself. Then we must replace with but we need to make sure that we are keeping track of our terms. In this example, so we need to divide the whole integral by to compensate.
-
4Evaluate and rewrite in terms of the original variable. For indefinite integrals, you must rewrite in terms of the original variable.
-
5Evaluate the following integral with the given boundaries. This is a definite integral, so we need to evaluate the antiderivative at the boundaries. We will also see that this u-sub is a case where you need to "back-substitute."
-
6Choose a and find . Make sure to change your boundaries as well according to your substitution. We choose so that we simplify the square root. Then and the bounds then go from 3 to 5. However, after replacing the with a we still have an in the integrand.
-
7Solve for in terms of and substitute. This is the back-substitution that we were talking about earlier. Our u-sub did not get rid of all the terms in the integrand, so we need to back-sub to get rid of it. We find that After simplifying, we get the following.
-
8Expand and evaluate. An advantage when dealing with definite integrals is that you do not need to rewrite the antiderivative in terms of the original variable before evaluating. Doing so would introduce needless complications.
Integration by Parts
-
1See the main article on how to integrate by parts. The integration by parts formula is given below. The main goal of integration by parts is to integrate the product of two functions - hence, it is the analogue of the product rule for derivatives. This technique simplifies the integral into one that is hopefully easier to evaluate.
-
2Evaluate the integral of the logarithm function. We know that the derivative of is but not the antiderivative. It turns out that this integral is a simple application of integration by parts.
-
3Choose a and and find and . We choose because the derivative is algebraic and therefore easier to manipulate. Then Therefore, and Substituting all of these into the formula, we obtain the following.
- We converted the integral of a logarithm into the integral of 1, which is trivial to evaluate.
-
4Evaluate.
Community Q&A
-
QuestionWhy do we use integration?DonaganTop AnswererIntegration is used to understand the cumulative effect of a mathematical formula. In physical terms, it's finding the area bounded in part by the graph of a quadratic equation.
-
QuestionHow can you integrate cos x?Community AnswerThere is no trick for integrating cos x. You just have to memorize that the antiderivative of cos x is sin x.
-
QuestionHow do I integrate x*log(sin x)?Community AnswerThere is no antiderivative that can be written in terms of elementary functions, so we cannot use the techniques in this article to integrate this function. However, if we assume the bounds are from 0 to π, we can substitute u = π - x to get π*∫log(sin u)du from 0 to π/2, since log(sin u) is symmetric about π/2. The integral can then be evaluated using the Beta function (this requires understanding of the Gamma function and its series expansions - see that article for details). ∫log(sin x)dx from 0 to π/2 = -π/2*log 2. The value of the original integral is therefore -π^2/2*log 2.
References
- ↑ https://www.cuemath.com/calculus/power-rule-of-integration/
- ↑ https://www.cuemath.com/calculus/power-rule-of-integration/
- ↑ https://web.ma.utexas.edu/users/m408n/CurrentWeb/LM4-9-4.php
- ↑ https://www.sparknotes.com/math/calcab/introductiontointegrals/section1/
- ↑ https://openstax.org/books/calculus-volume-1/pages/5-3-the-fundamental-theorem-of-calculus
- ↑ https://www.chegg.com/learn/calculus/calculus/integrals-of-symmetric-functions-in-calculus
About This Article
To integrate, you’ll typically be working with Riemann integrals, which is the summing up of rectangles. In order to sum up the area of rectangles, send the number of rectangles to infinity. As you increase the number of rectangles, the area of all the rectangles better approximates the area under the curve. The limit is what you’ll define as the integral of the function. This limit has to exist in order for the integral to have any meaning. To learn how to perform the power rule for integrals, keep reading!