Choosing u: What to Look For
Substitution is the chain rule run backwards, so look for the structure the chain rule would produce: an inner function whose derivative also appears as a factor. Scan the integrand for these four shapes, in this order:
- An expression inside a bracket, power, root, exponential or trig function. In the bracket content sits inside cosine, and its derivative is sitting right there as a factor.
- A denominator. In the quantity is under the root; its derivative matches the numerator up to the constant 2.
- An exponent. In the exponent differentiates to , and the stray is covered by the constant factor.
- A product where one factor is the derivative of the other. In , differentiating produces exactly the that accompanies it.
The decision rule in one line: if the integrand is a product of a function of and (a constant multiple of) , set .
Worked numbers make the test concrete. Take with , so . The integrand has no factor at all â the substitution fails, and this antiderivative is not expressible in elementary functions. Contrast : now , and the integral becomes . The only difference between the two integrals is a single factor of , and that factor is the whole method.
A substitution also has to be invertible enough to substitute back: is fine for writing the answer in terms of , even though it is not one-to-one on all of , because you only need to replace , not to change the integration variable twice.
General Method
- Choose a substitution
- Compute
- Rewrite the integral in terms of
- Integrate with respect to
- Substitute back
Step 3 is where errors concentrate: every occurrence of must be eliminated, including stray constants. If after substituting you still see , the choice of is wrong or the differential has not been fully converted. Step 5 has its own trap â leaving the answer as is incomplete for a CBSE answer sheet, since the question was asked in .
Example: Basic Substitution
Evaluate .
Differentiating the answer verifies it: , which is the original integrand.
Substituting in a Definite Integral
For a definite integral you have two options: substitute and back-substitute before plugging in limits, or â better â change the limits at the same time as the variable. If and corresponds to while corresponds to , then
Take . With : when , ; when , . The integral becomes . Doing it the long way, , the same number. The changed-limits route removes the back-substitution step entirely, which eliminates an entire class of sign and evaluation errors.
The conversion is worth tabulating when the substitution is not linear:
| Integral | Substitution | Old limits | New limits | Result |
|---|---|---|---|---|
| 0, 2 | 0, 4 | |||
| 1, e | 0, 1 | 1 | ||
| 0, 1 | 0, 1 |
Common Substitutions
Each of these is one substitution in disguise: for tangent, for cotangent, and for the secant integral. The two forms listed for differ by a constant â and have the same derivative, so they are both correct antiderivatives.
Example: Trigonometric Substitution
Evaluate .
A different but equally valid choice is , giving and after writing . Both routes return the same family of antiderivatives: their results differ by a constant, which is absorbed into . When two substitutions both work, pick the one that leaves a monomial in â it integrates in one line.
Example: More Complex Substitution
Evaluate .
Notice the constant 2 handled in step 1: converting to means the leftover becomes , not . Missing that halving is a 100% error in the final coefficient, and it survives all the way to the answer sheet because integration does not flag it.
Verifying Substitutions with Python
A computer algebra system performs the same bookkeeping symbolically, and a numerical quadrature confirms the size of the result â two independent checks against a wrong constant factor.
import sympy as sp
x, u = sp.symbols('x u')
integrand = 2 * x * sp.cos(x**2)
print(sp.integrate(integrand, x)) # sin(x**2)
print(sp.integrate(sp.cos(u), u)) # sin(u)
# Definite integral with substituted limits: u runs 0 -> 4
print(sp.integrate(sp.cos(u), (u, 0, 4)).evalf(6))
import math
def trapezoid(f, a, b, n=100000):
h = (b - a) / n
total = 0.5 * (f(a) + f(b))
for i in range(1, n):
total += f(a + i * h)
return total * h
original = trapezoid(lambda t: 2 * t * math.cos(t * t), 0, 2)
resubstituted = trapezoid(math.cos, 0, 4)
print(round(original, 6), round(resubstituted, 6))
Both numbers come out as : the original -integral and the changed-limit -integral agree, which is the numerical statement of the substitution theorem.
Common Mistakes
Choosing u but leaving an x factor in the integrand
Fix: Convert the differential completely: with u = x^2 + 1 write x dx = du/2 before integrating, so no x survives.
Forgetting to substitute back
Fix: Finish in the variable the question used â sin(u)/2 + C is incomplete; write sin(x^2 + 1)/2 + C.
Keeping the old limits after changing the variable
Fix: Either back-substitute before plugging in limits, or convert them with u = g(a) and u = g(b) â never mix the two.
Key Takeaways
- Substitution reverses the chain rule: set u = g(x) when the integrand holds a function together with its derivative.
- Rewrite the differential too â dx becomes du divided by g'(x) â and eliminate every leftover x.
- For definite integrals, changing the limits to u-values removes the back-substitution step entirely.
- Differentiating the finished answer is the fastest verification; it must reproduce the original integrand.