Cal11 calculator

Integral Calculator by Substitution

Reviewed by Calculator Editorial Team

Integral calculus is a powerful tool in mathematics and physics for finding areas under curves, solving differential equations, and analyzing functions. The substitution method, also known as integration by substitution, is one of the most fundamental techniques for evaluating integrals. This guide explains how to use substitution to solve integrals, provides a step-by-step calculator, and includes practical examples.

What is the substitution method?

The substitution method (u-substitution) is a technique for evaluating definite and indefinite integrals. It's based on the chain rule from differential calculus, allowing us to reverse the process of differentiation.

When a function is a composition of other functions, we can use substitution to simplify the integral. The basic steps are:

  1. Identify a substitution u that simplifies the integrand
  2. Express the differential du in terms of dx
  3. Rewrite the integral in terms of u
  4. Integrate with respect to u
  5. Substitute back to the original variable

Substitution Rule: If f(x) can be written as f(g(x)) and df/dx = g'(x), then:

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

The substitution method works best when the integrand contains a composite function, such as (3x² + 1)³ or sin(2x).

How to use substitution for integrals

Step-by-step process

  1. Choose a substitution: Select u to be a function of x that simplifies the integrand. Common choices are:
    • Inner functions of composite functions (e.g., u = 3x² + 1)
    • Trigonometric functions (e.g., u = sin x)
    • Exponential functions (e.g., u = e^x)
  2. Find du/dx: Differentiate u with respect to x to find du/dx. This gives you du in terms of dx.
  3. Rewrite the integral: Express the original integral in terms of u and du.
  4. Integrate: Integrate the simplified expression with respect to u.
  5. Substitute back: Replace u with the original substitution and simplify.

Common patterns

Here are some common integral patterns that work well with substitution:

Integrand Pattern Substitution Choice Example
f(g(x))g'(x) u = g(x) ∫3x²(3x² + 1)² dx
f'(x)/f(x) u = f(x) ∫(2x + 1)/(x² + x) dx
f(ax + b) u = ax + b ∫e^(2x + 3) dx
sin(θ)cos(θ) u = sinθ or cosθ ∫sin(2x)cos(2x) dx

Tip: When choosing a substitution, look for parts of the integrand that are both a function and its derivative. This often simplifies the integral significantly.

Worked examples

Example 1: Basic substitution

Find ∫(3x² + 1)³(6x) dx

  1. Let u = 3x² + 1
  2. Then du/dx = 6x ⇒ du = 6x dx
  3. Rewrite the integral: ∫u³ du
  4. Integrate: (u⁴)/4 + C
  5. Substitute back: (3x² + 1)⁴/4 + C

Example 2: Trigonometric substitution

Find ∫sin(2x)cos(2x) dx

  1. Let u = sin(2x)
  2. Then du/dx = 2cos(2x) ⇒ du = 2cos(2x) dx
  3. Rewrite the integral: (1/2)∫u du
  4. Integrate: (1/2)(u²/2) + C = u²/4 + C
  5. Substitute back: sin²(2x)/4 + C

Example 3: Exponential substitution

Find ∫e^(2x + 3) dx

  1. Let u = 2x + 3
  2. Then du/dx = 2 ⇒ du = 2 dx ⇒ dx = du/2
  3. Rewrite the integral: (1/2)∫e^u du
  4. Integrate: (1/2)e^u + C
  5. Substitute back: (1/2)e^(2x + 3) + C

Limitations and considerations

The substitution method has several important limitations:

  • It only works when the integrand contains a composite function
  • The substitution must be chosen carefully to simplify the integral
  • It may not work for all types of integrals (other methods like integration by parts may be needed)
  • For definite integrals, the limits must be adjusted when substituting

When to use substitution: Use substitution when the integrand is a product of a function and its derivative, or when it contains a composite function that can be simplified through substitution.

For integrals that don't fit the substitution pattern, consider other techniques like integration by parts, trigonometric identities, or partial fractions.

FAQ

What is the difference between substitution and integration by parts?
Substitution is used when the integrand contains a composite function, while integration by parts is used when the integrand is a product of two functions. Substitution is often simpler when applicable.
How do I know when to use substitution?
Look for integrands that contain a function and its derivative multiplied together, or composite functions that can be simplified through substitution.
Can substitution be used for definite integrals?
Yes, but you must also change the limits of integration to match the substitution. The new limits are found by evaluating the substitution at the original limits.
What if my substitution doesn't simplify the integral?
Try a different substitution or consider other integration techniques. Sometimes the integral may need to be rewritten before substitution can be applied.
Is substitution always exact?
Yes, substitution is an exact method when applied correctly. The result will be an antiderivative that is exact within the domain of the original function.