U-Substitution Calculator
This U-Substitution Calculator helps you solve integrals using the u-substitution method and shows each step clearly. It works by choosing a suitable inner expression for u, rewriting the integral in simpler form, and then integrating with respect to the new variable before substituting back. This makes it useful for checking answers, understanding how the method works, and practising calculus step by step.
Step-by-step method
- Write the integral.
- Choose a substitution u = g(x).
- Compute du and rewrite in terms of u.
- Integrate with respect to u.
- Substitute back and add + C.
Formula:
∫ f(g(x))·g′(x) dx = ∫ f(u) du
| xn+1 |
| n+1 |
| 1 |
| x |
Example 1: 2x*cos(x^2), x
Step 1 - Write the integral.
In this problem: We want to rewrite it into a u-integral.
Step 2 - Choose a substitution.
In this problem: Pick u as an inner function: u = x2.
Step 3 - Differentiate u.
In this problem: Compute du = (du/dx) dx.
Step 4 - Rewrite the integral in u.
In this problem: Replace g(x) with u and g'(x)dx with du.
Step 5 - Integrate with respect to u.
In this problem: Compute an antiderivative in u.
Step 6 - Substitute back to x.
In this problem: Replace u with x2.
Final answer: sin(x^2) + C
Example 2: x/(x^2+1), x
Step 1 - Write the integral.
In this problem: We want to rewrite it into a u-integral.
| 1 |
| x2 + 1 |
Step 2 - Choose a substitution.
In this problem: Pick u as an inner function: u = x2.
Step 3 - Differentiate u.
In this problem: Compute du = (du/dx) dx.
Step 4 - Rewrite the integral in u.
In this problem: Replace g(x) with u and g'(x)dx with du.
| 1 |
| x2 + 1 |
| 1 |
| 2 |
| 1 |
| u + 1 |
Step 5 - Integrate with respect to u.
In this problem: Compute an antiderivative in u.
| 1 |
| 2 |
| 1 |
| u + 1 |
| 1 |
| 2 |
Step 6 - Substitute back to x.
In this problem: Replace u with x2.
| 1 |
| 2 |
| 1 |
| 2 |
Final answer: log(2x^2 + 2)/2 + C
Sign up or login to get the full step solution for free!