Chem Math· Math-for-Chemists Hub
Atlas Chapter 5: Integration Interactive lesson

Integration Techniques

Substitution and integration by parts

Thermo / KineticsQuantum
Detail level

Two ways through a hard integral

Substitution and integration by parts

Most integrals you encounter in chemistry cannot be done by applying the power rule alone — the integrand is either a composite function (a function inside a function) or a product of unlike functions. Two techniques handle virtually every case at undergraduate level.

u-substitution undoes the chain rule. You spot an inner function whose derivative already appears alongside it in the integrand; replacing with (and with ) converts a difficult integral into a standard one.

Integration by parts undoes the product rule. Its formula, , trades the original integral for a (hopefully simpler) one involving the derivative of and the antiderivative of . In quantum chemistry this is the engine behind expectation value integrals such as .

Key formulas at a glance

u-substitution
Integration by parts
LIATE rule for by-parts
Choose u as: Logs, Inverse-trig, Algebraic,Trig, Exponential — whichever appears first in that list.
Standard result from sub
(let )
Why chemists need them
Integrating rate laws, evaluating expectation values like , and the Gaussian integrals that underpin partition functions all require these moves. Open the technique lab and watch the area accumulate as you drag the upper limit.
Changing limits on substitution
When , update the limits too:
LIATE priority for by-parts
Pick u first in order: Logs > Inverse-trig > Algebraic > Trig > Exponential. The remaining factor is dv.
By-parts applied twice
requires two rounds; each pass lowers the power of by one until the integral is standard.
∫ sin²(nπx/L) dx trick
Use to split into easy integrals. Over a full period the cosine term integrates to zero, giving .
Common pitfalls
  • Forgetting to change limits on substitution. If you substitute in a definite integral, the limits must change to and — or you must convert back to before evaluating.
  • Dropping the constant of integration in indefinite integrals. When using by-parts, also generates a constant; collect them all into a single at the end.
  • Wrong u/dv choice. Choosing and for makes harder, not easier. LIATE guides you to take (algebraic) instead.
  • Applying the power rule to n = −1. — the antiderivative is , not a power.

Technique lab

Switch between u-substitution and integration by parts — see the steps and drag the upper limit to accumulate the definite integral.

Technique:
01234500.100.200.300.400.50xf(x)
MethodReverses the chain rule
Step 1Let u = 1 + x²
Step 2then du = 2x dx, so x dx = ½ du
Step 3∫ ½ du/u = ½ ln|u| = ½ ln(1+x²)
upper limit b2.50
definite integral 0→b0.9905
Worked example 1u-substitution on a first-order rate law

The first-order rate law gives . Integrate both sides from to and from to , using the substitution , to derive the integrated rate law.

Worked example 2Integration by parts for ⟨x⟩ in the particle-in-a-box

For the ground state on , evaluate the expectation value and show it equals .

Worked examples

Pull both techniques together — try each before revealing the solution.

Worked example 3u-substitution: isothermal work integral

Derive the work formula for a reversible isothermal expansion using u-substitution: .

Worked example 4Integration by parts for ⟨x²⟩

Using the ground-state particle-in-a-box wavefunction, show that .

Worked example 5Standard Gaussian from a substitution

Partition functions for molecular translations require . Using the known result and the substitution , show that .

Worked example 6u-substitution with limit change: Beer–Lambert absorption

The fraction of light transmitted through a pathlength in an absorbing medium satisfies . Evaluate the definite integral using the substitution , being careful to change the limits.

Worked example 7Integration by parts applied twice for ⟨x²⟩ — full derivation

Using the ground-state particle-in-a-box wavefunction , carry out the full by-parts calculation to show .

ChallengeChallenge — ∫ sin²(nπx/L) dx over [0, L] from first principles

Without using any look-up table, evaluate for positive integer . Use this result to confirm the normalisation constant for the nth particle-in-a-box state.

Check yourself

Four quick questions on when and how to apply each technique.

Question 1 of 4 · Score 0

u-substitution is the reverse of which differentiation rule?

Choose an answer.