- Integration by substitution (u-substitution) is the chain rule run backwards: it turns an awkward integral in \( x \) into a simple one in \( u \).
- Look for an “inside” function \( g(x) \) whose derivative \( g'(x) \) also appears (up to a constant) as a factor. Set \( u = g(x) \).
- Replace \( g'(x)\,dx \) by \( du \), integrate in \( u \), then substitute back, or, for a definite integral, change the limits to \( u \)-values.
- Real use: turning a rate (mg per hour, downloads per week) into a total.
- Always check your answer by differentiating it.
The case: how much of a tablet has been absorbed?
When you swallow a tablet, the medicine does not reach your bloodstream all at once. It dissolves, passes through the gut wall, and enters the blood at a rate that rises, peaks and then fades. Pharmacologists model that rate with smooth curves. In this illustrative model (it is a teaching example, not dosing guidance), a 60 mg tablet is absorbed at a rate of
milligrams per hour, where \( t \) is the time in hours after the tablet is taken. A nurse wants to know: how many milligrams have been absorbed after 2 hours, and how long it takes for half of the dose to get in?
The amount absorbed is the area under the rate curve, \( \int_0^2 60t\,e^{-t^2/2}\,dt \). None of the basic integration rules handles a product like \( t\,e^{-t^2/2} \) directly. But look closely: the exponent is \( -t^2/2 \), and its derivative is \( -t \), which is sitting right there in front. That is the signal for substitution.
The concept: spotting the hidden chain rule
When you differentiate a function of a function, the chain rule says: differentiate the outside, keep the inside, then multiply by the derivative of the inside. For example, \( \dfrac{d}{dt}\,e^{-t^2/2} = e^{-t^2/2} \times (-t) \). So any integral that looks like “outside function of the inside, times the derivative of the inside” must have come from a chain rule. Substitution undoes it.
The trick is to give the inside its own name, \( u \). The messy integral in \( t \) becomes a plain integral in \( u \) that you already know how to do. It is like changing currency: you convert to the one where the sum is easy, do the sum, and convert back.
The formula
where \( u = g(x) \) and \( du = g'(x)\,dx \). For a definite integral, the limits change with the variable:
Here \( g(x) \) is the inner function, \( g'(x) \) its derivative, \( f \) the outer function, and \( a \), \( b \) the original limits in \( x \). The new limits \( g(a) \) and \( g(b) \) are the values of \( u \) at those endpoints[1].
Why this formula fits the case
The integrand \( 60t\,e^{-t^2/2} \) has exactly the shape the formula needs: an outer function (the exponential) of an inner function \( -t^2/2 \), multiplied by something that is a constant times the inner function’s derivative. That is why substitution works here and why it works so cleanly.
It is the wrong first choice when the “derivative of the inside” is missing. For \( \int e^{-t^2/2}\,dt \), with no \( t \) in front, no substitution helps at all; that integral has no elementary answer and is found numerically (it is the normal distribution’s area)[2]. And for a product of two unrelated functions, such as \( t\,e^{-t} \), where neither factor is the derivative of something inside the other, integration by parts is the better tool.
Setting it up
- Choose \( u \): the inner function, \( u = -\dfrac{t^2}{2} \).
- Find \( du \): \( \dfrac{du}{dt} = -t \), so \( du = -t\,dt \), which means \( t\,dt = -du \).
- Change the limits: when \( t = 0 \), \( u = 0 \); when \( t = 2 \), \( u = -2 \).
- Units: the rate is in mg per hour and \( dt \) is in hours, so the integral is in mg.
Every piece of the old integral now has a replacement: \( e^{-t^2/2} \) becomes \( e^{u} \), \( t\,dt \) becomes \( -du \), and the limits 0 and 2 become 0 and \( -2 \).
Solving it
Find the amount absorbed in the first 2 hours, \( \displaystyle A = \int_0^2 60t\,e^{-t^2/2}\,dt \).
After 2 hours about 51.9 mg, or 86.5% of the dose, has been absorbed.
The same method also gives a general formula. The amount absorbed by time \( T \) is \( A(T) = 60\big(1-e^{-T^2/2}\big) \). Half the dose is 30 mg, so we need \( e^{-T^2/2} = 0.5 \), which gives \( T^2 = 2\ln 2 \), so \( T = \sqrt{2\ln 2} \approx 1.18 \) hours, a little over 70 minutes.
The second case is from business. The pattern is different: the derivative of the inside sits on top of a fraction, which leads to a logarithm.
A new study app is downloaded at a rate of \( d(t) = \dfrac{3000t}{t^2 + 16} \) downloads per week, \( t \) weeks after launch (illustrative figures). Find the total downloads in the first 4 weeks, and in weeks 4 to 12.
About 1,040 downloads arrive in the first month and about 2,414 more over the next eight weeks, so roughly 3,454 by week 12.
Use the substitution \( u = 2x + 1 \) to find the exact value of \( \displaystyle\int_0^4 x\sqrt{2x + 1}\,dx \).
The exact value is \( \dfrac{298}{15} \approx 19.87 \). Here the leftover \( x \) had to be written in terms of \( u \) as well; nothing in \( x \) may remain after substituting.
What the answer tells us
For the tablet, 51.9 mg out of 60 mg after 2 hours is sensible: the answer is positive, it is less than the full dose, and the units are milligrams. The formula \( A(T) = 60(1-e^{-T^2/2}) \) also tends to 60 as \( T \) grows, so the model never absorbs more than the tablet contains. The rate peaks at \( t = 1 \) hour, at \( 60e^{-1/2} \approx 36.4 \) mg per hour, and the half-dose time of about 1.18 hours comes just after that peak, which fits the shape of the curve.
For the app, the logarithm carries a business message. Because \( \ln \) grows slowly, each extra week adds fewer downloads than the last. Doubling the time window from 12 to 24 weeks would add only \( 1500\ln\dfrac{592}{160} \approx 1962 \) more downloads, fewer than the 2,414 of weeks 4 to 12. A marketing team reading this would plan a fresh push once growth flattens, rather than waiting for the curve to recover on its own.
Sensitivity is easy to read off the formula: the 1500 in front scales everything, so a campaign that raised the rate by 20% would raise every total by 20%. The 16 inside sets when the rate peaks (at \( t = \sqrt{16} = 4 \) weeks).
For the full toolkit, including when to switch to parts or partial fractions, see the Mathematics Made Simple textbook; for drill, the Mathematics Made Simple practice questions book has worked answers to every question.
Practice questions
EasyQ1. Find \( \int 2x\cos(x^2)\,dx \). Show worked answer
\( \int \cos u\,du = \sin u + C \).
Answer: \( \sin(x^2) + C \). Check: \( \dfrac{d}{dx}\sin(x^2) = 2x\cos(x^2) \).
EasyQ2. Find \( \int e^{5x-2}\,dx \). Show worked answer
\( \tfrac15\int e^{u}\,du = \tfrac15 e^{u} + C \).
Answer: \( \tfrac15 e^{5x-2} + C \).
MediumQ3. Find the exact value of \( \displaystyle\int_0^2 x^2\sqrt{x^3 + 1}\,dx \). Show worked answer
Limits: \( x = 0 \to u = 1 \); \( x = 2 \to u = 9 \).
\( \tfrac13\displaystyle\int_1^9 u^{1/2}\,du = \tfrac13 \cdot \tfrac23\big[u^{3/2}\big]_1^9 = \tfrac29(27-1) \).
Answer: \( \dfrac{52}{9} \approx 5.78 \).
MediumQ4. Find the exact value of \( \displaystyle\int_0^{\pi/2} \cos x\,e^{\sin x}\,dx \). Show worked answer
Limits: \( x = 0 \to u = 0 \); \( x = \pi/2 \to u = 1 \).
\( \displaystyle\int_0^1 e^{u}\,du = e-1 \approx 1.718 \).
ExamQ5. Oil leaks from a damaged tank at a rate of \( L(t) = \dfrac{48t}{\sqrt{t^2 + 16}} \) litres per hour, \( t \) hours after the damage. (a) Use the substitution \( u = t^2 + 16 \) to show that the oil lost in the first 3 hours is \( \displaystyle 24\int_{16}^{25} u^{-1/2}\,du \). [3] (b) Hence find the oil lost in the first 3 hours. [2] (c) Find the exact time at which a total of 96 litres has leaked. [3] Show worked answer
(b) \( 24\big[2u^{1/2}\big]_{16}^{25} = 48(5-4) \) [1] \( = 48 \) litres [1].
(c) Total by time \( T \): \( 48\big(\sqrt{T^2 + 16}-4\big) \) [1]. Set equal to 96: \( \sqrt{T^2 + 16} = 6 \), so \( T^2 = 20 \) [1] and \( T = 2\sqrt5 \approx 4.47 \) hours [1].
Frequently asked questions
How do I choose what to call \( u \)?
Pick the “inside” part: the expression inside a bracket, a root, an exponent or a denominator, whose derivative also appears as a factor (up to a constant). If the first choice does not get rid of every \( x \), try another.
Do I have to change the limits?
No, but it is usually quicker and examiners like it. The alternative is to find the antiderivative in \( u \), substitute back to \( x \), and then use the original limits. Both give the same answer; mixing them does not.
What if the derivative is out by a constant?
That is fine. Constants can be moved outside the integral, so \( 3000t\,dt = 1500\,du \) is allowed. What you cannot fix is a missing variable factor, such as a missing \( t \).
How is substitution related to the chain rule?
It is the chain rule in reverse. Every substitution answer can be checked by differentiating it with the chain rule, which should give back the original integrand.
References
- Strang, G. and Herman, E. (2016) Calculus Volume 1, Section 5.5 “Substitution”. Houston, TX: OpenStax. https://openstax.org/details/books/calculus-volume-1
- Stewart, J., Clegg, D. and Watson, S. (2020) Calculus: Early Transcendentals, 9th edn, Section 5.5 “The Substitution Rule”. Boston, MA: Cengage.
- College Board (2020) AP Calculus AB and AP Calculus BC Course and Exam Description, Unit 6, topic 6.9. New York: College Board.
- Cambridge International (2024) Cambridge International AS & A Level Mathematics 9709: Syllabus for examination in 2026 and 2027, Pure Mathematics 3, topic 3.5 Integration. Cambridge: Cambridge University Press & Assessment.
- International Baccalaureate Organization (2019) Mathematics: analysis and approaches guide (first assessment 2021), SL 5.10 and AHL 5.16. Cardiff: IBO.

