CHAPTER 02 — DIFFERENTIATION
PART 2: THE CHAIN RULE
Learn how to differentiate a function that contains another function.
1. Learning objectives
By the end of this lesson, you should be able to:
- recognise a composite function (a function inside another function);
- identify the inner and outer functions;
- state and apply the chain rule correctly;
- differentiate powers of brackets, roots and more complicated expressions;
- combine the chain rule with basic differentiation rules.
2. What is a composite function?
A composite function is formed when one function is placed inside another. For example, in y = (3x + 2)5, the expression 3x + 2 is inside the fifth-power operation.
Think of the expression as two layers:
- Inner function: the expression inside the brackets, here u = 3x + 2.
- Outer function: the operation performed on the inner expression, here y = u5.
3. The chain rule
If y = f(u) and u = g(x), then y is a function of x through u. The chain rule states:
Equivalently, if y = f(g(x)):
A particularly useful form is obtained when y = [u(x)]n:
A reliable four-step method
- Identify the expression inside the brackets and call it u.
- Differentiate the outer function with respect to u.
- Multiply by du/dx.
- Simplify the final expression carefully.
4. Fully worked examples
Example 1: A linear expression raised to a power
Differentiate y = (3x + 2)5.
Let u = 3x + 2. This is the expression inside the brackets.
du/dx = d(3x + 2)/dx = 3.
Since y = u5, differentiate with respect to u:
dy/du = 5u4.
By the chain rule, dy/dx = (dy/du)(du/dx).
dy/dx = 5u4 × 3 = 15u4.
Now substitute u = 3x + 2.
Example 2: A quadratic expression raised to a power
Differentiate y = (2x2 − 1)4.
Let u = 2x2 − 1.
du/dx = d(2x2 − 1)/dx = 4x.
Since y = u4, dy/du = 4u3.
dy/dx = (dy/du)(du/dx) = 4u3 × 4x = 16xu3.
Substitute u = 2x2 − 1.
Example 3: A square root function
Differentiate y = √(5x − 1).
y = √(5x − 1) = (5x − 1)1/2.
Let u = 5x − 1.
du/dx = d(5x − 1)/dx = 5.
Since y = u1/2, dy/du = (1/2)u−1/2.
dy/dx = (1/2)u−1/2 × 5 = (5/2)u−1/2.
Replace u by 5x − 1 and write the negative power as a square-root denominator.
For a real-valued function, the original square root requires 5x − 1 ≥ 0. The derivative formula applies where 5x − 1 > 0.
Example 4: A negative power
Differentiate y = (x2 + 4)−3.
Let u = x2 + 4, so that y = u−3.
du/dx = d(x2 + 4)/dx = 2x.
dy/du = −3u−4. The exponent −3 comes down as a multiplier, then decreases by 1.
dy/dx = (−3u−4)(2x) = −6xu−4.
Replace u by x2 + 4 and write with a positive power in the denominator.
Example 5: A cubic expression inside a square root
Differentiate y = √(x3 + 2x).
dy/dx = (1/2)(x3 + 2x)−1/2(3x2 + 2).
The derivative is defined where the expression under the square root is positive.
Example 6: Chain rule combined with a sum
Differentiate y = 3(2x − 1)4 + 7.
The constant multiplier 3 remains. The derivative of the constant 7 is zero.
5. Common mistakes to avoid
- Forgetting the inner derivative: the derivative of (3x + 2)5 is not just 5(3x + 2)4; it must also be multiplied by 3.
- Changing the bracket too early: keep the inner expression unchanged while differentiating the outer function.
- Dropping negative signs: for u−3, the outer derivative is −3u−4.
- Confusing the power rule and chain rule: when the base is more than x, multiply by the derivative of that base.
6. Practice exercises
Differentiate each function with respect to x. Show your steps, identify the inner function where appropriate, and simplify your answers.
- y = (x + 4)6
- y = (5x − 3)4
- y = (x2 + 1)3
- y = (3x2 − 2x)5
- y = √(4x + 7)
- y = (2x2 + 5)−2
- y = 7(3x − 1)3 − 6
- y = (x3 − 4x + 2)2
- y = 1/√(x + 3)
- y = √(2x2 − 5x + 6)
7. Answers
Attempt all the questions before opening the answers.
Reveal answers to Exercises 1–10
- dy/dx = 6(x + 4)5
- dy/dx = 20(5x − 3)3
- dy/dx = 6x(x2 + 1)2
- dy/dx = 5(3x2 − 2x)4(6x − 2)
- dy/dx = 2/√(4x + 7)
- dy/dx = −8x/(2x2 + 5)3
- dy/dx = 63(3x − 1)2
- dy/dx = 2(x3 − 4x + 2)(3x2 − 4)
- dy/dx = −1/[2(x + 3)3/2]
- dy/dx = (4x − 5)/[2√(2x2 − 5x + 6)]
8. Lesson summary
- The chain rule is used when one function is inside another.
- Differentiate the outer function while keeping the inner expression in place.
- Multiply by the derivative of the inner expression.
- Use the chain rule with positive, negative and fractional powers.
- Always simplify carefully and check signs and brackets.
Join the Conversation
Questions, ideas and mathematical discoveries are welcome here.
Post a Comment