Integrals

U-Substitution Guide: How to Identify the Inner Function

Learn how to recognize u-substitution problems, choose the inner function, transform the integral, and check the result.

U-substitution is the reverse of the chain rule. It is useful when an integral contains a composite expression and another part of the integrand resembles the derivative of the inside expression. The goal is to replace a complicated expression with \(u\), convert the integral into a simpler form, solve it, and substitute back.

The key pattern

Look for something like \(g(x)\) inside a power, root, denominator, exponential, logarithm, or trigonometric function. Then look for \(g'(x)\) nearby. The derivative match does not need to be exact because constant factors can be adjusted. The variable part, however, must be compatible.

Inside function\(u=g(x)\)Differential\(du=g'(x)\,dx\)Returnsubstitute back to \(x\)
Substitution works when the entire integrand can be rewritten in terms of \(u\) and \(du\).

Worked example 1: direct match

Evaluate \(\int 2x(x^2+1)^5\,dx\). Choose \(u=x^2+1\) because it is the repeated inside expression. Then \(du=2x\,dx\), which appears in the integral. The problem becomes \(\int u^5\,du=u^6/6+C\). Substitute back: \((x^2+1)^6/6+C\).

Worked example 2: constant adjustment

Evaluate \(\int \cos(3x)\,dx\). Let \(u=3x\). Then \(du=3\,dx\), so \(dx=du/3\). The integral becomes \(1/3\int \cos u\,du\), which equals \(1/3\sin u+C\). Substitute back to get \(\sin(3x)/3+C\).

Worked example 3: logarithmic form

Evaluate \(\int \frac{2x}{x^2+4}\,dx\). Choose \(u=x^2+4\) because the denominator is the inside expression. Then \(du=2x\,dx\). The integral becomes \(\int 1/u\,du=\ln|u|+C\). Substitute back: \(\ln(x^2+4)+C\). Absolute value is not needed here because \(x^2+4\) is always positive.

How to know substitution fails

If an extra \(x\) remains after choosing \(u\), the substitution may be wrong. For example, choosing \(u=x^2+1\) in an integral that still leaves an isolated \(x^2\) may not simplify the problem unless \(x^2\) can be rewritten in terms of \(u\).

Common mistakes

The main mistakes are forgetting to replace \(dx\), failing to adjust constants, and forgetting to substitute back. In definite integrals, another choice appears: either change the bounds into \(u\)-bounds or substitute back before evaluating.

Calculator check

Use the Integral Calculator after attempting the setup. The important comparison is not only the answer; compare the selected inside function with your own choice.

Manual practice set

Create a list of inside functions before solving. Use \(x^2+1\), \(3x-5\), \(\sin x\), and \(\ln x\). For each one, write its derivative beside it. Then build integrals that contain both the inside expression and the derivative clue. This trains recognition instead of memorization.

For example, from \(u=x^2+1\) and \(du=2x\,dx\), create \(\int 2x(x^2+1)^4\,dx\), \(\int 2x/(x^2+1)\,dx\), and \(\int 2xe^{x^2+1}\,dx\). The outside function changes, but the substitution clue is the same.

Definite integral note

When bounds are present, you have two clean options. You can change the bounds into \(u\)-values and never return to \(x\), or you can solve the indefinite version, substitute back, and then evaluate the original bounds. Both are valid, but mixing the two approaches often creates errors.

Human review checklist

Verify that every remaining part of the integrand is written in terms of \(u\) and \(du\). Check constant adjustments carefully. If \(du=3dx\), the integral usually needs a factor of \(1/3\). After solving, differentiate the final answer in \(x\) to confirm the original integrand returns.

Internal study path

If the substitution does not simplify the integral, compare with Integration by Parts. If a denominator factors into rational pieces, use Partial Fractions. For quick rule lookup, keep Integration Rules and Formulas nearby.

Classroom-style activity

For each substitution problem, require students to write a sentence beginning with the words I chose \(u\) because. A strong answer identifies the inside expression and points to its derivative elsewhere in the integrand. A weak answer only says because it looks right. This writing step builds method awareness.

Create a failure example too. Try \(\int (x^2+1)^5\,dx\) and ask whether \(u=x^2+1\) finishes the problem. Since no \(2x\) factor appears, the substitution does not directly remove all \(x\) terms. Comparing successful and unsuccessful setups is one of the clearest ways to understand the method.

For human review, check the differential line and the return line. The differential line proves the transformed integral is legal. The return line proves the final answer is written in the original variable. Missing either line makes the explanation feel incomplete, even when the final answer is correct.

Editorial quality gate

This guide is designed to be used with a human check, not as a blind answer source. Before relying on any result, review the notation, the variable, the assumptions, and the final answer type. If a formula contains a bound, a domain restriction, an absolute value, or a convergence condition, that detail should appear in the written reasoning, not only in the final line.

For independent verification, use at least one manual test. Differentiate antiderivatives, substitute endpoints in definite integrals, compare signs with a quick graph estimate, or test a limit by direct substitution before using a special rule. When a calculator result disagrees with handwritten work, first check whether the input was interpreted correctly. Parentheses, variables, and bounds can change the entire problem.

The related calculator link is included for practice and comparison. A productive study workflow is to try the setup on paper, read the guide section that matches the method, run the calculator, and then explain any difference in your own words. That final explanation step is what turns a solved example into durable calculus understanding.

Before you move on

Close the guide by writing one original problem, one method clue, and one verification step. For example, the clue might be an inside derivative, an indeterminate form, a repeated factor, a variable bound, or a physical unit. The verification step might be differentiation, substitution, estimation, graph behavior, or comparison with a known formula. This short habit helps the article become active practice rather than passive reading.

For best results, revisit the examples after a break and solve them without looking at the steps. If the method still feels clear, the guide has done its job.

Reviewed learning resource

Written for calculus study, not answer copying

This guide is maintained by the Integralcalculator.info editorial team. It is designed to explain the method, show common mistakes, and help students compare calculator output with their own work.

Last updated
August 16, 2026
Corrections
Report an issue

About the author and review

Written by Integralcalculator.info Editorial Team. Our team builds calculus calculators and study guides for learners who want to check methods, not only final answers.

Reviewed by editorial math review. Guides are checked for formula clarity, calculator relevance, common student mistakes, and readable step-by-step reasoning.

Suggest a correction

Guide FAQ

How should I use this guide while studying?

Read the method first, try the worked example on paper, then use the related calculator page to compare your setup, steps, and final answer.

What is the most common mistake in this integral topic?

The most common issue is choosing a rule too quickly. Check whether the problem is indefinite, definite, improper, substitution-based, or better suited for integration by parts.

Can I rely on the calculator result alone?

Use automated results as a study check, not as the only source of truth. Review the interpretation, variable, bounds, domain, and each step before trusting the answer.

Which calculator is most related to this guide?

The related calculator is available at /calculus/integral-calculator, and the guide links to nearby topics when another method may be more appropriate.