U-Substitution Calculator
This U-Substitution Calculator integrates a function by renaming an inner expression, and shows the working line by line. A part of the integrand is called u, its derivative is matched against the rest, and the integral is rewritten entirely in u so that a standard rule applies. Substituting back at the end returns the answer in x. Following the same pattern every time keeps the change of variable reversible.
Step-by-step method
- Set up the problem.
- Choose the inner function u and compute du.
- Rewrite the whole integral in terms of u.
- Integrate with respect to u.
- Substitute back to x and add C.
Formula:
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together 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.
- Choose the inner function u and compute du.
- Rewrite the whole integral in terms of u.
- Integrate with respect to u.
- Substitute back to x and add C.
Step 1
Step 1 - Set up the problem.
In this problem: We are integrating \(2 x \left(x^{2} + 1\right)^{5}\). It contains an inner function whose derivative also appears as a factor.
Step 2
Step 2 - Write the u-substitution formula.
In this problem: When the integrand is a composite times the derivative of its inside, substitute u for the inside.
Step 3
Step 3 - Choose the inner function u and compute du.
In this problem: Let \(u = x^{2} + 1\). Then \(du = 2 x \, dx\).
Step 4
Step 4 - Rewrite the whole integral in terms of u.
In this problem: The remaining factor becomes \(u^{5}\) in terms of u.
Step 5
Step 5 - Integrate with respect to u.
In this problem: Integrating gives \(\frac{u^{6}}{6}\).
Step 6
Step 6 - Substitute back to x and add C.
In this problem: Replace u with \(x^{2} + 1\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Choose the inner function u and compute du.
- Rewrite the whole integral in terms of u.
- Integrate with respect to u.
- Substitute back to x and add C.
Step 1
Step 1 - Set up the problem.
In this problem: We are integrating \(2 x \cos{\left(x^{2} \right)}\). It contains an inner function whose derivative also appears as a factor.
Step 2
Step 2 - Write the u-substitution formula.
In this problem: When the integrand is a composite times the derivative of its inside, substitute u for the inside.
Step 3
Step 3 - Choose the inner function u and compute du.
In this problem: Let \(u = x^{2}\). Then \(du = 2 x \, dx\).
Step 4
Step 4 - Rewrite the whole integral in terms of u.
In this problem: The remaining factor becomes \(\cos{\left(u \right)}\) in terms of u.
Step 5
Step 5 - Integrate with respect to u.
In this problem: Integrating gives \(\sin{\left(u \right)}\).
Step 6
Step 6 - Substitute back to x and add C.
In this problem: Replace u with \(x^{2}\).
Final Answer
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.