The chain rule and logarithms
The chain rule is the rule for compositions, and once you have it almost every function in the course is in reach. The logarithm arrives with it: , which here as in the course text means the natural logarithm, differentiates to , and logarithmic differentiation turns an ugly product, quotient or variable power into a sum before any differentiating happens.
In this topic
- Taught
- Before the midterm
- Questions
- 30
- Total marks
- 85
- Suggested time
- 132 min
- Difficulty
Introductory to Capstone
Show the 8 hardest
Key results
- The chain rule
When is differentiable at and is differentiable at .
- The derivative of the logarithm
The first for , the second for every .
- The logarithm of a function
When is differentiable at and .
- Laws of logarithms
For , and any constant .
- Logarithmic differentiation
When is differentiable at and ; if , use instead.
- Change of base
For a constant base with , and in the second.
Read the theoryUBC Math 100 §4.3 The chain ruleUBC Math 100 §4.4 Logarithmic differentiationCLP-1 §2.9 The chain ruleCLP-1 §2.10 The natural logarithm
Worked example
Let . Find at .
Strategy
Differentiate the outside function with the inside left alone, then multiply by the derivative of the inside. Substitute only at the end.
Working
Outer derivative first. The bracket is carried through unchanged.
The inner derivative is 6x. Multiply the constants.
Evaluate the inside at x = 1 before raising to the fourth power.
Substitute and compute. 4⁴ = 256.
Answer
The answer is 7680.
Check
y(0.999) ≈ 1016.35 and y(1.001) ≈ 1031.71, a rise of about 15.36 over a step of 0.002, a slope of 7680.
Where this goes wrong
Stopping at 5(3x² + 1)⁴ and forgetting the inner derivative, which gives 1280. The chain rule is a product of two derivatives, and the second one is easy to leave out.
On the paper
Name the inner function, write the outer derivative times the inner derivative before simplifying, and substitute the point last.
Leans on
The power rule, from Differentiation rules
Practice questions
5 of the 30, across every level. Open a solution to read the working, or answer the question yourself and it counts towards your progress.
- Introductory1 mark · 2 min
Let . Find .
Answer this questionStrategy
The function is a power of a linear expression. The chain rule gives the outer derivative times the inner derivative; the inner derivative is the constant 2.
Working
Outer derivative 4u³, inner derivative 2.
Substitute x = 0.
Answer
The answer is 8.
Check
Between x = −0.01 and x = 0.01, f goes from 0.98⁴ ≈ 0.9224 to 1.02⁴ ≈ 1.0824, a rise of about 0.16 over 0.02, so a slope of 8.
Where this goes wrong
Forgetting the inner derivative and answering 4. The factor of 2 from differentiating 2x + 1 is the whole point of the chain rule.
Leans on
The power rule, from Differentiation rules
Try a similar question
Let . Find at . - Introductory2 marks · 3 min
Let . Which of the following is ?
Answer this questionStrategy
Identify the composition, differentiate the outer function at the inner one, and multiply by the inner derivative.
Working
Outer: sin. Inner: x².
Derivative of sin is cos, evaluated at the inside; times the inner derivative 2x.
Answer
The answer is 2x times cosine of x squared.
Check
At x = √(π/2) the inside x² is π/2, where sine peaks at 1, so F′ must be 0 there, and 2x cos(x²) is.
Where this goes wrong
Choosing 2 sin x cos x, which is the derivative of (sin x)², a different function. Where the square sits, inside or outside the sine, changes everything.
Leans on
Parsing a composite formula, from Functions, graphs and inverses
Try a similar question
Let for . Find . - Standard3 marks · 4 min
Let , where is a differentiable function with and . Find .
Answer this questionStrategy
You never learn a formula for h; you only need its value and derivative at 8, which is where x³ lands when x = 2. Product rule outside, chain rule inside.
Working
Product rule; chain rule on h(x³).
Substitute x = 2, so x³ = 8.
Arithmetic.
Answer
The answer is negative 36.
Check
Take h(u) = 11 − u, which has h(8) = 3 and h′(8) = −1: then g = 11x² − x⁵ and g′(2) = 44 − 80 = −36.
Where this goes wrong
Writing the derivative of h(x³) as h′(x³) and dropping the 3x², or evaluating h′ at 2 rather than at 8. The chain rule evaluates the outer derivative at the inner value.
Leans on
The product rule, from Differentiation rules
Try a similar question
Let . Find . - Challenging4 marks · 6 min
Let . Use logarithmic differentiation to find .
Answer this questionStrategy
Take logarithms to move the variable exponent down as a multiplier, differentiate with the product and chain rules, then multiply through by the original function.
Working
x² + 1 > 0, so f(x) > 0 and log f(x) is defined. The log of a power brings the exponent down.
Differentiate both sides; the left is (log f)′ by the chain rule, the right by the product rule.
Evaluate at x = 1.
Multiply by f(1).
Answer
The answer is 2 natural log 2 plus 2, about 3.386.
Check
Holding the exponent at 1 gives a slope of 2, holding the base at 2 gives 2 log 2 ≈ 1.386, and the two effects add to 3.386.
Where this goes wrong
Treating the exponent as constant and writing x(x² + 1)x−1·2x, or treating the base as constant. With both varying, only logarithmic differentiation (or rewriting as ex log(x²+1)) is valid.
Leans on
Laws of logarithms, from Functions, graphs and inverses
Try a similar question
Let . Find . - Capstone5 marks · 9 min
Let be a differentiable function with for every , and . Let be the function below. Find .
Answer this questionStrategy
A variable base to a variable power calls for logarithmic differentiation. The logarithm brings the exponent down as a factor; the product rule and the chain rule, applied twice to log f(x²), do the rest, and only then are the values at x = 1 put in.
Working
The logarithm is defined because f > 0, and it brings the exponent down.
The product rule on the right; log f(x²) needs the chain rule twice, for log of f and for f of x².
At x = 1, x² = 1, so f(x²) = e and f′(x²) = 3.
Multiply back by g(1).
Answer
The answer is e plus 6, about 8.718.
Check
With f(t) = e · exp(3(t − 1)/e), which is positive everywhere and has f(1) = e and f′(1) = 3, the difference quotient (g(1.001) − g(0.999))/0.002 is about 8.7183.
Where this goes wrong
Using the power rule as if the exponent were fixed, which gives 6, or the rule for aˣ as if the base were fixed, which gives e. Both the base and the exponent vary, so logarithmic differentiation is needed, and the chain rule on f(x²) brings in the factor 2x.
Leans on
Laws of logarithms, from Functions, graphs and inverses
Try a similar question
Let . Use logarithmic differentiation to find .
Related topics
Needs
Differentiation rules
Power, sum, product and quotient rules, tangent lines and higher-order derivatives.
23 questions
Needs
Exponential and trigonometric functions
Derivatives of eˣ, aˣ, sine, cosine and tangent, and the limits behind them.
22 questions
Leads to
Implicit differentiation and inverse trigonometric functions
Differentiating relations, tangent lines to curves, and the derivatives of inverse and inverse trigonometric functions.
30 questions
Leads to
L’Hôpital’s rule
Indeterminate forms 0/0, ∞/∞, 0·∞, ∞−∞, 1∞, 00 and ∞0, and when the rule does not apply.
26 questions
29 questions
18 questions
Leads to
Linear approximation
Tangent-line estimates, whether they run high or low, and approximating a value without a calculator.
14 questions
Leads to
Exponential growth and decay
The differential equations y′ = ky and y′ = a − by: half-lives, doubling times, Newton’s law of cooling and inflow and outflow.
11 questions
Leads to
Functions of two variables and partial derivatives
Evaluating and reading functions of two variables, level curves, partial derivatives as marginal rates, and second partials.
15 questions
Leads to
Antiderivatives
Reversing differentiation, the constant of integration and initial conditions.
11 questions