Substitution Integral Calculator – U-Substitution Made Easy


Substitution Integral Calculator

This substitution integral calculator helps you apply the u-substitution method step-by-step. Enter your original integral, your chosen ‘u’, and its derivative to see the transformed integral.



The function you want to integrate. Use JavaScript math functions like Math.sin(), Math.pow(), etc.


The part of the function you are replacing with ‘u’.


The derivative of your ‘u’ substitution with respect to x.


For definite integrals, enter the lower bound.


For definite integrals, enter the upper bound.

What is a Substitution Integral Calculator?

A substitution integral calculator is a specialized tool designed to simplify the process of integration by substitution, a technique also known as u-substitution. This method is the counterpart to the chain rule in differentiation. It’s used to transform a complex integral into a simpler one by changing the variable of integration. This calculator does not find the final answer but performs the critical transformation step, showing you how the integral looks in terms of ‘u’.

The Substitution (U-Substitution) Formula

The core principle of integration by substitution is to find a part of the integrand that is the derivative of another part. The formula is:

∫ f(g(x)) * g'(x) dx = ∫ f(u) du

This transformation simplifies the problem significantly, often turning an unsolvable integral into a basic one. Our u-substitution calculator helps you manage these variables.

Variable Explanations
Variable Meaning Unit Typical Range
f(g(x)) The composite outer function. Unitless (Function) Any valid mathematical function.
g(x) The inner function, which you will substitute with ‘u’. Unitless (Function) Any differentiable function.
g'(x) dx The derivative of the inner function, which becomes ‘du’. Unitless (Differential) Derivative of g(x).
u The new variable of integration. Unitless The output values of g(x).

Practical Examples

Example 1: Indefinite Integral

  • Input Integral: ∫ 2x * cos(x²) dx
  • Substitution (u): u = x²
  • Derivative (du): du = 2x dx
  • Transformed Integral: Using a substitution integral calculator, this becomes ∫ cos(u) du, which is easily integrated to sin(u) + C.
  • Final Answer: sin(x²) + C

Example 2: Definite Integral

  • Input Integral: ∫ from 0 to 1 of (x+1)³ dx
  • Substitution (u): u = x+1, so du = dx
  • New Limits: When x=0, u=1. When x=1, u=2.
  • Transformed Integral: The problem changes to ∫ from 1 to 2 of u³ du. This is much simpler to compute.

How to Use This Substitution Integral Calculator

  1. Enter the Integrand: Type the function you wish to integrate into the ‘Original Integrand f(x)’ field. Use standard JavaScript syntax for math expressions (e.g., Math.pow(x, 2) for x²).
  2. Define Your Substitution: In the ‘Substitution u = g(x)’ field, enter the part of your function you are setting as ‘u’.
  3. Provide the Derivative: Enter the corresponding derivative ‘du/dx’ in its field.
  4. Set Limits (Optional): If you are working with a definite integral, provide the lower and upper bounds.
  5. Calculate: Click the “Calculate” button. The tool will display the transformed integral in terms of ‘u’, along with the new limits if applicable. For help with derivatives, see our derivative calculator.

Key Factors That Affect Substitution

  • Choice of ‘u’: The success of the method hinges entirely on choosing the right ‘u’. A good choice simplifies the integral; a poor choice can make it more complex.
  • Presence of g'(x): The method works best when the derivative of ‘u’ (or a constant multiple of it) is also present in the integrand.
  • Definite Integral Limits: For definite integrals, you must change the limits of integration from ‘x’ values to ‘u’ values. Forgetting this is a common mistake.
  • Function Complexity: Highly nested functions might require multiple rounds of substitution.
  • Algebraic Manipulation: Sometimes, you need to algebraically manipulate the integrand to make the g'(x) term appear.
  • Completing the Square: For some integrals involving quadratics, you may need to complete the square before a suitable substitution becomes apparent.

Frequently Asked Questions (FAQ)

What is u-substitution?
U-substitution (or integration by substitution) is a technique for finding integrals by changing the variable of integration to simplify the problem.
Why doesn’t this calculator give me the final answer?
This substitution integral calculator is a learning tool designed to perform the substitution step, which is often the most challenging part. It shows you the transformed integral, which you can then solve using standard integration rules.
What if the derivative du/dx is not exactly in the integral?
If the derivative is off by a constant multiplier, you can adjust for it. For example, if you need 2x dx but only have x dx, you can write x dx = (1/2) du and pull the 1/2 outside the integral.
What’s the most common mistake with u-substitution?
Forgetting to substitute back to the original variable ‘x’ for indefinite integrals, or forgetting to change the limits of integration for definite integrals.
Can I use this for any integral?
No, this method only works for integrals that fit the form ∫ f(g(x)) * g'(x) dx. For other types, you may need different methods like integration by parts.
How do I choose ‘u’?
Look for a function ‘inside’ another function. Often, ‘u’ is the inner function, like the expression inside a power, under a square root, or in the exponent.
Does this calculator handle definite integrals?
Yes, if you provide lower and upper limits, the calculator will compute the new limits in terms of ‘u’.
Is this the same as the reverse chain rule?
Yes, integration by substitution is effectively the chain rule for differentiation, but applied in reverse.

Related Tools and Internal Resources

Explore more of our calculus tools and resources to enhance your understanding.

© 2026 Your Website. All rights reserved. An educational tool for calculus students.


Leave a Reply

Your email address will not be published. Required fields are marked *