Indefinite Integral Notes
These Indefinite Integral Notes explain how to find the antiderivative of a function, with the working shown line by line. The method first works out which rule of integration the function needs, since a power, a reciprocal, an exponential and a quotient are each undone differently, and only then does it apply that rule. The constant of integration is added at the end, because any constant vanishes when differentiated. Following the same pattern every time keeps the choice of rule visible.
Step-by-step method
- Set up the problem.
- Identify the integration rule that applies.
- Work through the steps of that rule.
- Simplify and add the constant of integration C.
Formula: Indefinite Integral
The indefinite integral F(x) + C stands for every function whose derivative is f(x). Pick the rule that fits and apply it.
Formula: Power Rule for Integration
Raise the power of x by one, then divide by the new power. This works for every power except -1.
Formula: Constant Rule for Integration
The integral of a number on its own is that number times x.
Formula: Constant Multiple Rule for Integration
A number multiplying a function moves outside the integral, and only the function is integrated.
Formula: Sum Rule for Integration
The integral of a sum is the sum of the integrals, so each term is integrated on its own and the results are added.
Formula: Difference Rule for Integration
The integral of a difference is the difference of the integrals, so each term is integrated on its own and the results are subtracted.
Formula: Integral of 1/x
The integral of 1 over x is the natural log of the absolute value of x. It is the one power the power rule cannot do.
Formula: Integral of e to the x
The function e to the x is its own integral.
Formula: Integral of a to the x
For any positive base a, the integral of a to the x is a to the x divided by the natural log of a.
Formula: Integral of sin(x)
The integral of sin(x) is minus cos(x).
Formula: Integral of cos(x)
The integral of cos(x) is sin(x).
Formula: Integral of sec squared of x
The integral of sec squared of x is tan(x).
Formula: Integral of csc squared of x
The integral of csc squared of x is minus cot(x).
Formula: Integral of sec(x)tan(x)
The integral of sec(x) times tan(x) is sec(x).
Formula: Integral of csc(x)cot(x)
The integral of csc(x) times cot(x) is minus csc(x).
Formula: Integral of tan(x)
The integral of tan(x) is the natural log of the absolute value of sec(x).
Formula: Integral of 1/(1 + x squared)
The integral of 1 over 1 plus x squared is arctan(x).
Formula: U Substitution
When the integral has a function inside another function, times the derivative of that inside, replace the inside with u.
Formula: Integration by Parts
For a product of two functions, pick u to differentiate and dv to integrate, then use uv minus the integral of v du.
Formula: Partial Fractions
A fraction whose bottom factors into brackets splits into simpler fractions, one for each bracket.
Useful Tips to Remember
An indefinite integral is the reverse of differentiation, so always add \(+C\), because a constant disappears when you differentiate. Choose the right method for the function: basic rules, substitution, integration by parts or partial fractions. Differentiating your answer should give back the original function, which is the best way to check it.
Required knowledge
- How to integrate a power of x, covered in the Power Rule Integration Calculator.
- How to integrate a number on its own, covered in the Constant Rule Integration Calculator.
- How a number in front of a function moves outside the integral, covered in the Constant Multiple Rule Integration Calculator.
- How to integrate a sum one term at a time, covered in the Sum Rule Integration Calculator.
- How to integrate a difference one term at a time, covered in the Difference Rule Integration Calculator.
- How to integrate 1/x, covered in the Reciprocal Rule Integration Calculator.
- How to integrate e to the x and a to the x, covered in the Exponential Integral Calculator.
- How to integrate the standard trigonometric forms, covered in the Trigonometric Integrals Calculator.
- How to integrate a function inside another function, covered in the U Substitution Calculator.
- How to integrate a product of two different kinds of functions, covered in the Integration by Parts Calculator.
- How to integrate a fraction by splitting it, covered in the Partial Fractions Integration Calculator.
- How to integrate square roots like the square root of a squared minus x squared, covered in the Trigonometric Substitution Calculator.
Where Are Indefinite Integrals Used?
An indefinite integral, or antiderivative, works backwards from a rate of change to find the original function, plus a constant \(C\). It is how physicists find position from velocity and velocity from acceleration, and how economists find total cost from marginal cost. Engineers use it to build formulas for the bending of beams and the charge in circuits, and it is the first step in solving many differential equations. A starting value, such as an initial position, then fixes the constant and gives the exact formula.
- Finding position from velocity and velocity from acceleration
- Working out total cost from marginal cost
- Solving differential equations in science
- Finding formulas for beam bending and electric charge
- Recovering a function from its gradient
Indefinite Integral Practice Problems
Example 1 integrates the polynomial \(x^5 - 3x^2\), and Example 2 integrates \(\sin x\). Examples 3 and 4 give you two more of the same kind to try, \(\int x^{4} + 2 x\, dx\) and \(\int \cos{\left(x \right)}\, dx\). Try each one yourself, remembering \(+C\), before checking.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Identify the integration rule that applies.
- Work through the steps of that rule.
- Simplify and add the constant of integration C.
Formula
Formula: Difference Rule for Integration
The integral of a difference is the difference of the integrals, so each term is integrated on its own and the results are subtracted.
Step 1
Step 1 - Set up the terms in the difference.
In this problem: We are integrating a difference. The separate terms are \(x^{5}\), \(3 x^{2}\).
Step 2
Step 2 - Write the difference rule for integration.
In this problem: The integral of a difference is the difference of the integrals.
Step 3
Step 3 - Split the integral across the subtraction signs.
In this problem: Apply the integral to each separated term, keeping each sign.
Step 4a
Step 4a - Integrate the separated term \(x^{5}\).
In this problem: The separated term is \(x^{5}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x^{5}\), so \(n = 5\).
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Substitute the exponent into the formula.
In this problem: Here \(n = 5\). Put it into the formula, but do not simplify yet.
Step 4
Step 4 - Solve and simplify, adding C.
In this problem: The new exponent is \(5 + 1 = 6\).
Final Answer
Step 4b
Step 4b - Integrate the separated term \(3 x^{2}\).
In this problem: The separated term is \(3 x^{2}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- If there is a number in front, move it out with the constant multiple rule.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x^{2}\), so \(n = 2\). The number \(3\) in front is a constant multiple.
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Move the number in front out with the constant multiple rule.
In this problem: \(3\) is a constant, so it moves outside the integral and the power rule only works on \(x^{2}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = 3\) and the function is \(x^{2}\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(3\) in front of the integral sign and leave \(x^{2}\) inside.
Final Answer
Step 4
Step 4 - Substitute the exponent into the formula.
In this problem: Here \(n = 2\). Put it into the formula, but do not simplify yet.
Step 5
Step 5 - Solve and simplify, adding C.
In this problem: The new exponent is \(2 + 1 = 3\).
Final Answer
Step 5
Step 5 - Combine the results and add the constant of integration C.
In this problem: Put the integral of each term back together, keeping the signs, and add one constant C.
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Identify the integration rule that applies.
- Work through the steps of that rule.
- Simplify and add the constant of integration C.
Formula
Formula: Integral of sin(x)
The integral of sin(x) is minus cos(x).
Step 1
Step 1 - Set up the problem.
In this problem: The trigonometric form is \(\sin{\left(x \right)}\).
Step 2
Step 2 - Write the integration rule for that form.
In this problem: Each standard trigonometric form has a known antiderivative.
Step 3
Step 3 - Apply the integration rule and add C.
In this problem: Put \(\sin{\left(x \right)}\) into the rule from Step 2.
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Identify the integration rule that applies.
- Work through the steps of that rule.
- Simplify and add the constant of integration C.
Formula
Formula: Sum Rule for Integration
The integral of a sum is the sum of the integrals, so each term is integrated on its own and the results are added.
Step 1
Step 1 - Set up the terms in the sum.
In this problem: We are integrating a sum. The separate terms are \(x^{4}\), \(2 x\).
Step 2
Step 2 - Write the sum rule for integration.
In this problem: The integral of a sum is the sum of the integrals.
Step 3
Step 3 - Split the integral across the addition signs.
In this problem: Apply the integral to each separated term, keeping each sign.
Step 4a
Step 4a - Integrate the separated term \(x^{4}\).
In this problem: The separated term is \(x^{4}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x^{4}\), so \(n = 4\).
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Substitute the exponent into the formula.
In this problem: Here \(n = 4\). Put it into the formula, but do not simplify yet.
Step 4
Step 4 - Solve and simplify, adding C.
In this problem: The new exponent is \(4 + 1 = 5\).
Final Answer
Step 4b
Step 4b - Integrate the separated term \(2 x\).
In this problem: The separated term is \(2 x\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- If there is a number in front, move it out with the constant multiple rule.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x\), so \(n = 1\). The number \(2\) in front is a constant multiple.
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Move the number in front out with the constant multiple rule.
In this problem: \(2\) is a constant, so it moves outside the integral and the power rule only works on \(x\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = 2\) and the function is \(x\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(2\) in front of the integral sign and leave \(x\) inside.
Final Answer
Step 4
Step 4 - Substitute the exponent into the formula.
In this problem: Here \(n = 1\). Put it into the formula, but do not simplify yet.
Step 5
Step 5 - Solve and simplify, adding C.
In this problem: The new exponent is \(1 + 1 = 2\).
Final Answer
Step 5
Step 5 - Combine the results and add the constant of integration C.
In this problem: Put the integral of each term back together, keeping the signs, and add one constant C.
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Identify the integration rule that applies.
- Work through the steps of that rule.
- Simplify and add the constant of integration C.
Formula
Formula: Integral of cos(x)
The integral of cos(x) is sin(x).
Step 1
Step 1 - Set up the problem.
In this problem: The trigonometric form is \(\cos{\left(x \right)}\).
Step 2
Step 2 - Write the integration rule for that form.
In this problem: Each standard trigonometric form has a known antiderivative.
Step 3
Step 3 - Apply the integration rule and add C.
In this problem: Put \(\cos{\left(x \right)}\) into the rule from Step 2.
Final Answer
Calculator and Practice Mode
Want to check your own working? The Indefinite Integral Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, Indefinite Integral Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.