Chain RuleWorksheet (80 Practice Problems with Step-by-Step Solutions)
Last Updated: February 22, 2026
Intermediate–Advanced⌛ Est. 3–4 Hours80 Problems
A complete, rigorous resource covering the Chain Rule for differentiation — from the intuition behind composite functions through advanced multi-layer applications, real-world physics problems, and exam-style multiple choice. Suitable for AP Calculus AB/BC, university Calculus I and II, and advanced secondary mathematics.
Introduction
Among all the rules of differentiation, the Chain Rule stands in a class of its own. It is simultaneously the most conceptually rich and the most practically indispensable rule in all of differential calculus. A student who fully understands the Chain Rule can differentiate an enormous range of functions — far beyond what the Power Rule, Product Rule, or Quotient Rule alone can handle. More importantly, the Chain Rule is the gateway to understanding implicit differentiation, related rates, and the entirety of multivariable calculus.
The central idea is beautifully simple: in real life, quantities frequently depend on other quantities that themselves depend on something else. The temperature inside a chemical reactor depends on the pressure, and the pressure depends on time. The position of a satellite depends on its orbital angle, and the orbital angle depends on time. The Chain Rule tells us precisely how to compute the rate of change of the final quantity with respect to the original variable, no matter how many intermediate layers of dependence exist.
Formally, suppose we have a composite function \(y = f(g(x))\). Here, \(g\) is the inner function and \(f\) is the outer function. The Chain Rule states that:
Differentiate the outer function at the inner function, then multiply by the derivative of the inner function.
There is an intuitive way to remember this. Think of the Chain Rule as an instruction: differentiate from the outside in, and multiply as you go. You peel away one layer of the composite at a time, differentiating each layer and multiplying the results together. This layered structure is what makes the Chain Rule so powerful and so widely applicable.
This worksheet is structured to take you from first principles through genuine mastery. The worked examples in Section 1 establish the fundamental technique. Sections 2 through 4 provide carefully graded practice problems — basic, intermediate, and challenging — designed to build both speed and confidence. Section 5 situates the Chain Rule in real-world contexts drawn from physics, engineering, and mathematical optimisation. Section 6 offers a mixed review and multiple-choice section mirroring AP Calculus and university exam formats. The complete answer key and detailed solutions appear at the end.
A word of advice before you begin: many students rush into computation before they have clearly identified the outer and inner functions. Slow down at the identification step. Once you can reliably see the structure of a composite function — once you can immediately say "the outer function is \(\sin(\cdot)\) and the inner function is \(x^3 + 2x\)" — the mechanics of the Chain Rule follow naturally. Invest in that identification step, and the rest will come.
Learning Objectives
State the Chain Rule in both prime notation and Leibniz notation and explain why it works.
Identify the outer and inner functions in any composite function.
Apply the Chain Rule to compositions involving power, trigonometric, exponential, and logarithmic functions.
Apply the Generalised Power Rule as a special case of the Chain Rule.
Apply the Chain Rule two or more times when a function has multiple layers of composition.
Combine the Chain Rule with the Product and Quotient Rules in multi-step differentiation problems.
Use the Chain Rule to solve tangent line, related rate, and optimisation problems in applied contexts.
Recognise common errors in Chain Rule applications and correct them.
Key Concepts & Formulae
1.1 The Chain Rule — Statement and Notations
Let \(g\) be differentiable at \(x\) and \(f\) be differentiable at \(g(x)\). Then the composite function \(h(x) = f(g(x))\) is differentiable at \(x\) and:
When the outer function is a power function, the Chain Rule specialises to the Generalised Power Rule, which is arguably the single most used derivative shortcut in calculus:
where \(u = g(x)\) is any differentiable function of \(x\) and \(n\) is any real number.
1.3 Chain Rule with Standard Functions
Combining the Chain Rule with the standard derivatives of common functions gives the following essential formulae:
Outer Function \(f(u)\)
Chain Rule Result \(\dfrac{d}{dx}[f(u)]\)
\(u^n\)
\(n\,u^{n-1}\cdot u'\)
\(e^u\)
\(e^u \cdot u'\)
\(a^u\)
\(a^u \ln a \cdot u'\)
\(\ln u\)
\(\dfrac{u'}{u}\)
\(\log_a u\)
\(\dfrac{u'}{u\ln a}\)
\(\sin u\)
\(\cos u\cdot u'\)
\(\cos u\)
\(-\sin u\cdot u'\)
\(\tan u\)
\(\sec^2 u\cdot u'\)
\(\sec u\)
\(\sec u\tan u\cdot u'\)
\(\csc u\)
\(-\csc u\cot u\cdot u'\)
\(\cot u\)
\(-\csc^2 u\cdot u'\)
\(\arcsin u\)
\(\dfrac{u'}{\sqrt{1-u^2}}\)
\(\arctan u\)
\(\dfrac{u'}{1+u^2}\)
\(\sqrt{u}\)
\(\dfrac{u'}{2\sqrt{u}}\)
1.4 How to Identify Composite Functions
The key question is: what is the last operation applied to \(x\)? That operation defines the outer function. Everything fed into that operation is the inner function. For instance:
\(\sin(x^3)\): last operation is \(\sin\). Outer: \(\sin(u)\), Inner: \(u = x^3\).
\(e^{2x+1}\): last operation is the exponential. Outer: \(e^u\), Inner: \(u = 2x+1\).
\((3x^2-1)^5\): last operation is raising to the 5th power. Outer: \(u^5\), Inner: \(u = 3x^2-1\).
\(\ln(\cos x)\): last operation is \(\ln\). Outer: \(\ln(u)\), Inner: \(u = \cos x\).
\(\sqrt{x^2+4}\): last operation is square root. Outer: \(\sqrt{u}\), Inner: \(u = x^2+4\).
Find the equation of the tangent line to \(y = (x^2 - 3)^3\) at \(x = 2\).
Differentiate
\(y' = 3(x^2-3)^2\cdot 2x = 6x(x^2-3)^2\)
Evaluate at \(x=2\)
\(y'(2) = 6(2)(4-3)^2 = 12\cdot1 = 12\). This is the slope.
\(y(2) = (4-3)^3 = 1\). Point: \((2,1)\).
Write Equation
\(y - 1 = 12(x-2)\implies y = 12x - 23\)
Tangent line: \(y = 12x - 23\)
Common Mistakes to Avoid
Forgetting to multiply by the derivative of the inner function — the single most frequent error.
Differentiating the inner function rather than evaluating the outer derivative at the inner function.
Stopping after one application when there are multiple nested layers of composition.
Confusing when to use the Product Rule (two independent functions multiplied) versus the Chain Rule (one function nested inside another).
Writing \(\sin'(g(x))\) when the correct form is \(\cos(g(x))\) — remember that \(\sin' = \cos\).
Practice Problems
Part A — Basic Chain Rule (Problems 1–20)
Apply the Chain Rule to each composite function. Identify the outer and inner function clearly before computing. Express all answers in simplified form.
Differentiate \(f(x) = (2x + 3)^5\).
Differentiate \(g(x) = (x^2 - 4)^3\).
Differentiate \(h(x) = (1 - x)^7\).
Differentiate \(f(x) = \sqrt{3x + 1}\).
Differentiate \(g(x) = \sqrt{x^2 + 9}\).
Differentiate \(h(x) = \dfrac{1}{(x^2 + 1)^2}\).
Differentiate \(f(x) = e^{4x}\).
Differentiate \(g(x) = e^{-x^2}\).
Differentiate \(h(x) = e^{3x^2 - x}\).
Differentiate \(f(x) = \sin(2x)\).
Differentiate \(g(x) = \cos(x^3)\).
Differentiate \(h(x) = \tan(5x)\).
Differentiate \(f(x) = \ln(3x)\).
Differentiate \(g(x) = \ln(x^2 + 4)\).
Differentiate \(h(x) = \ln(\sin x)\).
Differentiate \(f(x) = (4x^3 - 1)^{10}\).
Differentiate \(g(x) = \sec(x^2)\).
Differentiate \(h(x) = \sqrt[3]{x^2 - 5}\).
Differentiate \(f(x) = 2^{3x}\).
Differentiate \(g(x) = \arctan(2x)\).
Part B — Intermediate Problems (Problems 21–45)
These problems involve multiple-term inner functions, combinations of rules, and compositions requiring careful multi-step work. Show all intermediate steps.
Differentiate \(f(x) = \sin^3(x)\). (Hint: rewrite as \([\sin x]^3\).)
Differentiate \(h(x) = \tan\!\left(\arcsin(x)\right)\). Simplify using a right-triangle argument after differentiating.
Part C — Challenging Problems (Problems 46–65)
Advanced compositions, multiple nested layers, second derivatives, tangent lines, critical points, and proof-style questions. These are characteristic of university midterm and final examination problems.
Find the equation of the tangent line to \(y = \sqrt{4 - x^2}\) at \(x = 1\).
Find the equation of the tangent line to \(y = e^{-x^2/2}\) at \(x = 0\). (This is the standard normal kernel.)
At what values of \(x\) does \(f(x) = \sin(2x)\) have horizontal tangent lines on \([0, 2\pi]\)?
Find the critical points of \(g(x) = x^2 e^{-x}\) by setting \(g'(x) = 0\).
Find all \(x\) where \(h(x) = (x^2-1)^3\) has horizontal tangent lines.
Find \(f''(x)\) for \(f(x) = e^{2x}\).
Find \(g''(x)\) for \(g(x) = \sin(3x)\).
Find \(h''(x)\) for \(h(x) = \ln(x^2+1)\).
Prove that \(\dfrac{d}{dx}\left[\ln|f(x)|\right] = \dfrac{f'(x)}{f(x)}\), for \(f(x) \neq 0\). (This is the log-differentiation foundation.)
Use the Chain Rule to find \(\dfrac{d}{dx}\left[a^x\right]\) by writing \(a^x = e^{x\ln a}\) and differentiating. State the result as a formula.
If \(y = f(x^2)\) and \(f'(u) = \sqrt{u+1}\), find \(\dfrac{dy}{dx}\) at \(x = 2\).
Given that \(g(2) = 3\), \(g'(2) = -1\), \(f(3) = 5\), and \(f'(3) = 4\), find \(\dfrac{d}{dx}\left[f(g(x))\right]\) at \(x = 2\).
Differentiate \(f(x) = x^x\) using logarithmic differentiation. (Write \(y = x^x\), take \(\ln\) of both sides, differentiate implicitly.)
Differentiate \(y = (x^2+1)^{\sin x}\) using logarithmic differentiation.
Let \(F(x) = f(g(h(x)))\) where \(f\), \(g\), and \(h\) are all differentiable. Write an expression for \(F'(x)\) in terms of \(f'\), \(g'\), and \(h'\). Then evaluate \(F'(1)\) given \(h(1)=2\), \(h'(1)=3\), \(g(2)=4\), \(g'(2)=-1\), \(f'(4)=6\).
Real-World Applications
3.1 Physics: Kinematics and Rates of Change
The Chain Rule is the mathematical foundation of the relationship between position, velocity, and acceleration in physics. Whenever a physical quantity depends on an intermediate variable that itself depends on time, the Chain Rule is the natural tool for computing rates of change.
Physics Applications (Problems 66–70)
Projectile with Air Resistance. The height of a projectile subject to mild air resistance is modelled by \(h(t) = 50e^{-0.1t}\sin(2t)\) metres, where \(t\) is in seconds.
(a) Find \(h'(t)\), the vertical velocity at time \(t\).
(b) Evaluate \(h'(0)\) and \(h'(\pi/4)\). Interpret the sign of each answer.
Temperature in a Cooling Rod. The temperature along a metal rod changes with position \(x\) (cm) according to \(T(x) = 80e^{-0.05x^2}\) °C. Find \(T'(x)\) and determine the rate of temperature change at \(x = 2\) cm.
Oscillating Spring. A mass on a spring has position \(s(t) = 3\cos(4\pi t)\) cm at time \(t\) seconds. Find the velocity \(v(t) = s'(t)\) and the acceleration \(a(t) = s''(t)\). Verify that \(a(t) = -16\pi^2 s(t)\), which is the equation of simple harmonic motion.
Intensity of Sound. The intensity of a sound wave decays as \(I(r) = \dfrac{I_0}{r^2}\), where \(r\) is the distance from the source. If the source is moving so that \(r(t) = 2 + 3t\) metres, find \(\dfrac{dI}{dt}\) using the Chain Rule: \(\dfrac{dI}{dt} = \dfrac{dI}{dr}\cdot\dfrac{dr}{dt}\).
Electric Circuit. The charge on a capacitor in an RC circuit is \(Q(t) = Q_0\left(1 - e^{-t/RC}\right)\), where \(R\) and \(C\) are positive constants. Find the current \(I(t) = \dfrac{dQ}{dt}\) and interpret its behaviour as \(t \to \infty\).
3.2 Engineering: Optimisation and Structural Analysis
Engineering Applications (Problems 71–75)
Beam Deflection. The deflection of a simply supported beam under a distributed load is approximated by \(y(x) = A\sin\!\left(\dfrac{\pi x}{L}\right)\), where \(L\) is the beam length and \(A\) is the maximum deflection. Find \(y'(x)\) (the slope of the beam) and \(y''(x)\) (proportional to the bending moment).
Signal Attenuation. The amplitude of a signal transmitted through a medium decreases according to \(A(d) = A_0 e^{-\alpha d}\), where \(d\) is the depth in metres and \(\alpha > 0\) is the attenuation coefficient. Find \(\dfrac{dA}{dd}\) and express it as a multiple of \(A(d)\). What does this tell you about exponential decay?
Fluid Flow: Poiseuille's Law. The velocity of a viscous fluid in a pipe of radius \(R\) is \(v(r) = v_{\max}\!\left(1 - \dfrac{r^2}{R^2}\right)\), where \(r\) is the radial distance from the centre. Find \(v'(r)\). At what radius is the speed decreasing most rapidly?
Chemical Reaction Rate. The concentration of a reactant follows \(C(t) = \dfrac{C_0}{(1+kt)^2}\), where \(k\) is the rate constant. Find \(\dfrac{dC}{dt}\) using the Generalised Power Rule and interpret the sign of the result.
Angle of Elevation. A surveillance camera is mounted 10 m above ground level. An object moves horizontally at ground level at 3 m/s. When the object is 10 m from the point directly below the camera, the angle of elevation \(\theta\) satisfies \(\tan\theta = \dfrac{10}{x}\). Use the Chain Rule to find \(\dfrac{d\theta}{dt}\) at that instant.
Mixed Review & Multiple Choice
Part D — Multiple Choice (Problems 76–80)
Circle the best answer. These questions mirror AP Calculus AB/BC and university midterm examination formats. No calculator assumed.
If \(f(x) = (3x-1)^4\), then \(f'(x) =\)
(A) \(4(3x-1)^3\)
(B) \(12(3x-1)^3\)
(C) \(12(3x-1)^4\)
(D) \(4x(3x-1)^3\)
The derivative of \(y = e^{\sin x}\) is:
(A) \(e^{\sin x}\)
(B) \(e^{\cos x}\)
(C) \(\cos x \cdot e^{\sin x}\)
(D) \(\cos x \cdot e^{\cos x}\)
If \(g(x) = \ln(x^3 + 1)\), then \(g'(1) =\)
(A) \(\dfrac{1}{2}\)
(B) \(\dfrac{3}{2}\)
(C) \(3\ln 2\)
(D) \(\ln 2\)
Given \(h(x) = \sqrt{f(x)}\) and \(f(4) = 9\), \(f'(4) = 6\), then \(h'(4) =\)
(A) \(1\)
(B) \(3\)
(C) \(\dfrac{1}{3}\)
(D) \(\dfrac{1}{6}\)
Which of the following functions requires the Chain Rule but NOT the Product Rule to differentiate?
(A) \(y = x\sin x\)
(B) \(y = x^2 e^x\)
(C) \(y = \sin(x^2)\)
(D) \(y = x^2 \ln x\)
Quick Answer Key
Answers to all 80 problems. Full step-by-step solutions follow below.
We know from the Pythagorean identity that \(\tan^2 x + 1 = \sec^2 x\), so \(\tan^2 x + \sec^2 x\) is not a standard identity that simplifies to zero. Let us differentiate directly.
(A) \(x\sin x\): Product Rule needed. (B) \(x^2 e^x\): Product Rule needed. (C) \(\sin(x^2)\): only Chain Rule (one function nested in another — no product). (D) \(x^2\ln x\): Product Rule needed.
Answer: (C) — \(y = \sin(x^2)\)
Frequently Asked Questions
What is the Chain Rule in calculus, and what is it used for?
The Chain Rule is the differentiation rule for composite functions — functions of the form \(f(g(x))\), where one function is nested inside another. It states that \(\dfrac{d}{dx}[f(g(x))] = f'(g(x))\cdot g'(x)\): differentiate the outer function at the inner function and multiply by the derivative of the inner function. In practice, the Chain Rule is one of the most frequently used rules in all of calculus, appearing whenever quantities depend on intermediate variables. It underlies implicit differentiation, related rates, the Fundamental Theorem of Calculus for composite integrands, and the backpropagation algorithm used to train modern neural networks.
How do I know when to use the Chain Rule versus the Product Rule?
The key distinction is structural. If two functions are multiplied together as independent factors — like \(x^2\cdot\sin x\) — use the Product Rule. If one function is nested inside another — like \(\sin(x^2)\), where \(x^2\) is the argument of sine — use the Chain Rule. Some expressions require both: for instance, \(x^2\sin(3x)\) needs the Product Rule for the overall product, and the Chain Rule for the factor \(\sin(3x)\). The mental test is simple: ask "are these two functions combined by multiplication (Product Rule) or by substitution/composition (Chain Rule)?"
What is the Generalised Power Rule and how does it relate to the Chain Rule?
The Generalised Power Rule is simply the Chain Rule applied when the outer function is a power: \(\dfrac{d}{dx}[u^n] = n\,u^{n-1}\cdot u'\), where \(u\) is any differentiable function of \(x\). It is the Chain Rule specialised to the most common outer function students encounter. For example, \(\dfrac{d}{dx}[(x^2+1)^5] = 5(x^2+1)^4\cdot 2x = 10x(x^2+1)^4\). Recognising this as a special case of the Chain Rule — rather than memorising a separate formula — is the conceptually clean approach. Most basic Chain Rule problems in a Calculus I course are Generalised Power Rule problems.
How do I apply the Chain Rule when there are three or more nested functions?
Apply the Chain Rule repeatedly, working from the outermost layer inward, and multiply all the derivatives together. For \(F(x) = f(g(h(x)))\), the rule is \(F'(x) = f'(g(h(x)))\cdot g'(h(x))\cdot h'(x)\). The pattern always follows the same principle: each derivative is evaluated at the remaining layers of the function below it, and all derivatives are multiplied in sequence. A useful mnemonic is to think of the Chain Rule as peeling an onion: you work from the outer skin inward, one layer at a time, multiplying each derivative as you go.
What are the most common Chain Rule mistakes, and how can I avoid them?
By far the most common error is forgetting to multiply by the derivative of the inner function — computing \(\cos(x^2)\) instead of \(-2x\sin(x^2)\) when differentiating \(\cos(x^2)\), for example. A reliable habit is to always write the inner function explicitly as \(u\), compute \(u'\), and then check that you have included the factor \(u'\) in your final answer. Other common errors include applying the Chain Rule to a product (use the Product Rule instead), stopping after one application when there are multiple composition layers, and misidentifying which function is outer versus inner. Practising with the \(u\)-substitution notation before moving to mental calculations is strongly recommended for beginners.
How is the Chain Rule connected to the Leibniz notation \(dy/dx\)?
One of the most elegant aspects of the Leibniz notation is that the Chain Rule looks literally like fraction cancellation: if \(y = f(u)\) and \(u = g(x)\), then \(\dfrac{dy}{dx} = \dfrac{dy}{du}\cdot\dfrac{du}{dx}\). The "\(du\)" terms appear to cancel, leaving \(\dfrac{dy}{dx}\). While this is not a rigorous justification (since \(dy\), \(du\), \(dx\) are not independent fractions), it is a powerful mnemonic that motivates the structure of the rule. In multivariable calculus, the Chain Rule in Leibniz form extends naturally to partial derivatives: \(\dfrac{\partial z}{\partial x} = \dfrac{\partial z}{\partial u}\cdot\dfrac{\partial u}{\partial x} + \dfrac{\partial z}{\partial v}\cdot\dfrac{\partial v}{\partial x}\), etc.
Does the Chain Rule work for implicit differentiation?
Yes. Implicit differentiation is an application of the Chain Rule. When we differentiate an expression like \(y^2\) with respect to \(x\), we treat \(y\) as a function of \(x\) and apply the Chain Rule: \(\dfrac{d}{dx}[y^2] = 2y\cdot\dfrac{dy}{dx}\). The factor \(\dfrac{dy}{dx}\) appears because differentiating the outer function \((\cdot)^2\) gives \(2y\), and then the Chain Rule requires multiplying by the derivative of the inner function \(y\) with respect to \(x\). Every step of implicit differentiation involving a function of \(y\) is an application of the Chain Rule. For further practice with implicit differentiation, visit the full worksheets library at DerivativeCalculus.com.
Where can I find more chain rule practice problems and a derivative calculator?
You can find additional worksheets on the Power Rule, Product Rule, Quotient Rule, implicit differentiation, related rates, and more at DerivativeCalculus.com/worksheets.html. The main site at DerivativeCalculus.com also features a step-by-step derivative calculator that can verify your Chain Rule answers and show intermediate working. For self-study, work through this worksheet in order, check each answer immediately, and revisit any problem type you miss more than once.
Click the button below to print or save this worksheet as a PDF. The complete step-by-step solutions will be included in the printout automatically.
🧮
✨ Free Tool — 2026
Want More Worksheets? Generate Unlimited Free Math Worksheets!
Instantly create printable worksheets on any topic — derivatives, algebra, fractions & more. Includes full answer keys. No signup needed.