How does the chain rule let you differentiate and integrate a function nested inside another, such as a bracket raised to a power or a sine of a linear expression?
Differentiating composite functions with the chain rule, including expressions of the form a function of a linear expression and sine and cosine of a linear expression, and reversing the process to integrate functions of the form (ax + b) to the n, sin(ax + b) and cos(ax + b).
A focused answer to the SQA Higher Mathematics chain rule content, covering how to differentiate composite functions including powers of brackets and trigonometric functions of a linear expression, and how to reverse the chain rule to integrate (ax + b) to the n, sin(ax + b) and cos(ax + b).
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
The SQA wants you to differentiate a composite function, one function nested inside another, using the chain rule, and then to reverse the process to integrate functions of the form , and . At Higher the inside function is almost always a simple expression such as or , so the chain rule reduces to a quick "differentiate the outside, multiply by the inside derivative" routine, and integration reverses it by dividing by that inside derivative.
The chain rule
A composite function is built by feeding one function into another. Writing , the inside function acts first and the outside function acts on the result. The power rule alone cannot differentiate correctly, because the variable is wrapped inside a bracket; the chain rule supplies the missing factor.
The single most reliable way to apply it is to name the outside and the inside before you start, differentiate the outside, then tack on the inside derivative as a multiplier.
Trigonometric composites
The chain rule handles and of a linear expression in exactly the same way. The outside derivatives are the standard ones, and (in radians), and the inside derivative is the multiplier.
Reversing the chain rule to integrate
Because integration undoes differentiation, the chain rule run backwards tells you how to integrate a bracket raised to a power, or a sine or cosine of a linear expression. The key idea is that differentiation multiplies by the inside derivative , so integration must divide by it.
Examples in context
When a model gives a quantity as a function of a scaled or shifted variable, the chain rule is what lets you find its rate of change. If the height of a tide is modelled by metres, then the rate at which the height changes is metres per unit time, where the factor comes straight from the chain rule. Reversing the process, an engineer who knows a velocity of the form recovers displacement by integrating, dividing by the inside derivative to get .
Try this
Q1. Differentiate . [3 marks]
- Cue. Outside derivative , inside derivative , so .
Q2. Find . [2 marks]
- Cue. , dividing by the inside derivative and remembering the constant.
Exam-style practice questions
Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
SQA Higher 20193 marksDifferentiate with respect to .Show worked answer →
Identify the outside function as and the inside as (1 mark for recognising the composite structure).
Differentiate the outside, keeping the inside untouched: (1 mark).
Multiply by the derivative of the inside, which is : (1 mark). Markers reward the outside derivative, the inside derivative, and the product of the two; the most common dropped mark is forgetting the factor .
SQA Higher 20214 marksFind .Show worked answer →
Recognise this as a reverse chain rule: integrating brings a factor of and turns sine into (1 mark for the strategy).
The integral of is because the inside derivative is , so we divide by (1 mark).
Multiply by the constant : (1 mark).
Add the constant of integration: (1 mark). Markers reward the form, the division by , the multiplication by , and the constant of integration; omitting loses the final mark.
Related dot points
- Differentiation of polynomial, root and reciprocal functions and of sine and cosine, the gradient of a curve and the equation of a tangent, increasing and decreasing functions, and stationary points and their nature.
A focused answer to the SQA Higher Mathematics differentiation content, covering differentiating polynomial, root, reciprocal and trigonometric functions, the gradient of a curve and the tangent equation, increasing and decreasing functions, and stationary points and their nature.
- Integration as the reverse of differentiation, the indefinite integral of polynomial and trigonometric functions with the constant of integration, the definite integral, and the use of integration to find the area under a curve and the area between two curves.
A focused answer to the SQA Higher Mathematics integration content, covering integration as the reverse of differentiation, the indefinite integral of polynomial and trigonometric functions, the constant of integration, the definite integral, and finding the area under a curve and between two curves.
- Completing the square and the properties of the quadratic, the discriminant and the nature of the roots, the condition for a quadratic to be always positive or always negative, the factor and remainder theorems, and solving and sketching polynomials.
A focused answer to the SQA Higher Mathematics polynomials and quadratics content, covering completing the square, the discriminant and the nature of the roots, the always positive or always negative condition, the factor and remainder theorems, and solving and sketching polynomials.
- Using differentiation to find the optimal value in optimisation problems, the greatest and least values of a function on a closed interval, rates of change, and the motion of a particle through displacement, velocity and acceleration.
A focused answer to the SQA Higher Mathematics applying differential calculus content, covering optimisation problems, the greatest and least values on a closed interval, rates of change, and the displacement, velocity and acceleration of a moving particle.
- Using integration to find the area enclosed between a curve and a line or between two curves, the area below the x-axis, recovering displacement from velocity, and using a definite integral to evaluate an accumulated quantity in context.
A focused answer to the SQA Higher Mathematics applying integral calculus content, covering the area between a curve and a line or between two curves, the area below the x-axis, recovering displacement from velocity, and evaluating an accumulated quantity with a definite integral.
- Solving trigonometric equations in degrees and radians over a given interval, using the CAST diagram and the symmetry of the graphs, the trigonometric identities, and equations that reduce to a quadratic in a single trigonometric ratio.
A focused answer to the SQA Higher Mathematics trigonometric equations content, covering solving equations in degrees and radians over a given interval, the CAST diagram and graph symmetry, the trigonometric identities, and equations that reduce to a quadratic in one ratio.
Sources & how we know this
- SQA Higher Mathematics Course Specification — SQA (2018)
- Higher Mathematics - Course overview and resources — SQA (2024)