Learn to apply chain, product, and quotient rules through clear examples and targeted practice.
International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL
Calculus
IB Mathematics: Analysis and Approaches SL — Study topic SL 5.4
Differentiation describes how quickly a function changes. Before using these rules, recall that the derivative of a function y=f(x) is written f′(x) or dxdy, and gives the gradient of the graph at a point. You may already know basic derivatives such as dxd(xn)=nxn−1 and dxd(sinx)=cosx, where angles are measured in radians. The rules in this lesson extend that work when expressions are built from functions that are composed, multiplied, or divided. In each case, first identify the structure; then apply the matching rule and simplify carefully.
What you will learn
Recognise when a function is composed, multiplied, or divided and select the matching differentiation rule.
Apply the chain, product, and quotient rules accurately, using appropriate prerequisite derivatives.
Check a derivative using a graphing calculator or numerical estimate and interpret it in context.
1. Recognise the structure before differentiating
A function can be built in different ways. In y=(3x−2)4, one function is placed inside another: the inner expression is 3x−2, and the outer operation is raising that result to the fourth power. This is a composition, so use the chain rule.
In y=x2sinx, two functions are multiplied, so use the product rule. In y=x2+4x+1, one function is divided by another, so use the quotient rule. These rules are not interchangeable: choosing based on the visible structure helps prevent errors.
The chain rule connects the rate of change of an outer function to the rate of change of its inner input. The product rule accounts for both factors changing. The quotient rule accounts for changes in both the numerator and denominator.
Composition: one expression is an input to another; use the chain rule.
Multiplication: both factors may vary; use the product rule.
Division: both numerator and denominator may vary; use the quotient rule.
2. The three rules and how to use them
For a composition y=f(g(x)), differentiate the outer function while keeping the inner expression in place, then multiply by the derivative of the inner expression. This is the chain rule. For example, the power rule combined with the chain rule gives the derivative of (g(x))n as n(g(x))n−1g′(x).
For a product y=u(x)v(x), differentiate the first factor and multiply by the second, then add the first factor multiplied by the derivative of the second. Keep the two terms: differentiating only one factor misses part of the change.
For a quotient y=v(x)u(x), subtract the numerator function multiplied by the derivative of the denominator from the denominator function multiplied by the derivative of the numerator. Divide by the square of the original denominator. The rule applies only where v(x)=0.
These rules often appear together. For instance, a product may contain a composite power. Differentiate the overall product with the product rule, then apply the chain rule within the derivative of a factor. Parentheses help keep track of each function and its derivative.
Chain: outer derivative, then multiply by inner derivative.
Product: first derivative times second, plus first times second derivative.
Quotient: denominator times numerator derivative minus numerator times denominator derivative, all over denominator squared.
3. Check meaning and use technology purposefully
The derivative is also a gradient. If a graphing calculator displays a tangent at a chosen input, its gradient should agree with the derivative evaluated at that input. A numerical estimate can provide a useful check, but it does not replace showing the rule and algebra that produce the derivative.
A practical check is to graph the original function and its derivative, then compare the derivative value at a selected input with the tangent gradient on the original graph. Alternatively, use a calculator's numerical derivative feature at that same input. Record the input and retain enough displayed digits before rounding.
When a function describes a context, the derivative's units are output units per input unit. For example, if distance is measured in metres and time in seconds, its derivative has units of metres per second. The rules do not change; the interpretation and units come from the model.
A derivative value should match the local tangent gradient.
Use technology to check a result, not as an unexplained substitute for differentiation.
Check any denominator restriction and state units when the function models a quantity.
Worked example
Chain rule with a power
Differentiate y=(3x−2)4 and find the gradient when x=1.
Identify the inner expression
The outer operation raises an input to the fourth power, and the input is 3x−2. Differentiate the outer power first, then multiply by the derivative of the inner expression.
y′=4(3x−2)3⋅3
Simplify and evaluate
The constant factor from the inner derivative is 3, so the derivative simplifies to 12(3x−2)3. At x=1, the inner expression is 1.
y′(1)=12(3−2)3=12
Answer: The derivative is y′=12(3x−2)3, and the gradient at x=1 is 12.
Check: A graphing calculator should show a tangent gradient of 12 for the original curve at x=1. The chain-rule factor of 3 is essential because the inner expression changes three times as fast as x.
Worked example
Product rule with a trigonometric factor
Differentiate y=x2sinx and find y'atx=2π.
Assign the factors
Set u=x2 and v=sinx. Their derivatives are u′=2x and v′=cosx. Apply the product rule because the two expressions are multiplied.
y′=u′v+uv′=2xsinx+x2cosx
Evaluate at the stated input
At x=2π, the sine value is 1 and the cosine value is 0. Substitution leaves the first term only.
y′(2π)=2(2π)(1)+(2π)2(0)=π
Answer: The derivative is y′=2xsinx+x2cosx, and its value at x=2π is π.
Check: In radians, a numerical derivative near x=1.571 should be close to 3.142. This is consistent with π to three significant figures.
Worked example
Quotient rule and domain
Differentiate f(x)=x2+4x+1 and find the derivative at x=0.
Set numerator and denominator
Let u=x+1 and v=x2+4. Then u′=1 and v′=2x. The denominator x2+4 is positive for every real x, so the function is defined on the real numbers.
f′(x)=(x2+4)2(x2+4)(1)−(x+1)(2x)
Simplify and evaluate
Expand only the numerator and combine like terms. At x=0, the numerator is 4 and the denominator is 16.
f′(x)=(x2+4)24−x2−2x,f′(0)=41
Answer: The derivative is f′(x)=(x2+4)24−x2−2x, and f′(0)=41.
Check: The function is increasing locally at x=0 because its derivative there is positive. A calculator's tangent-gradient or numerical-derivative value at zero should be approximately 0.25.
Common mistakes and how to avoid them
For a composite power, differentiating the outer power but forgetting the derivative of the inside expression.
Correction: After differentiating the outer function, multiply by the derivative of its entire inner expression.
Differentiating a product by multiplying the derivatives of its factors.
Correction: Use u′v+uv′; the product rule has two terms.
Reversing the subtraction in the quotient rule or forgetting to square the denominator.
Correction: Use vu′−uv′ in the numerator and v2 in the denominator, then check that the original denominator is nonzero.
Treating a calculator's decimal derivative as the full solution.
Correction: Show the applicable rule and algebra first; use the calculator value as a check and round only at the end.
Lesson summary
Identify whether the function is composed, multiplied, or divided before differentiating.
Apply the chain rule to a composition, the product rule to a product, and the quotient rule to a quotient.
Simplify with care, respect denominator restrictions, and check a derivative against a tangent gradient or numerical estimate.
Check your understanding
Question 1
What is the derivative of y=(2x+1)3?
6(2x+1)2
3(2x+1)2
6(2x+1)3
3(2x+1)2+2
Show answer and explanation
6(2x+1)2
The outer derivative is 3(2x+1)2 and the inner derivative is 2, giving 6(2x+1)2.
Question 2
For y=xcosx, which expression is the derivative?
cosx−xsinx
−sinx
x(−sinx)
cosx+xsinx
Show answer and explanation
cosx−xsinx
The product rule gives 1⋅cosx+x⋅(−sinx), which is cosx−xsinx.
Question 3
For g(x)=x+2x, what is g′(x)?
(x+2)22
x+21
(x+2)2x
x+22
Show answer and explanation
(x+2)22
The quotient rule gives (x+2)2(x+2)(1)−x(1)=(x+2)22, for x=−2.
Key terms
Derivative
The rate of change of a function with respect to its input; graphically, it is the gradient of the tangent at a point.
Composition
A function formed by using one function's output as the input to another, such as (3x−2)4.
Inner function
The expression supplied as the input to the outer function in a composition.
Tangent
A line that gives the local direction of a curve at a point; its gradient equals the derivative there.
Tutor support for SL 5.4 · Apply chain, product, and quotient rules
Working on SL 5.4 · Apply chain, product, and quotient rules in IB AA SL? Bring the question and your own attempt. In a live session, you can show each step of your attempt and compare it with a worked example. Ask about the first step that does not make sense, then try a similar question yourself.
برای مبحث SL 5.4 · بهکارگیری قاعده زنجیرهای، ضرب و خارجقسمت در درس IB AA SL، سؤال و تلاش خود را همراه بیاورید. در جلسه میتوانید گامهای تلاش خود را نشان دهید و آن را با یک نمونهٔ حلشده مقایسه کنید. راهنمای معلم ریاضی را ببینید یا جلسهٔ معارفهٔ رایگان ۳۰ دقیقهای درخواست کنید. زمان جلسه پس از پذیرش معلم قطعی میشود.
About this lesson and its review
Published by DoAssignment. This reviewed lesson follows International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL, study topic SL 5.4. It is a study resource, not an official curriculum publication.
Before publication, content is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability. Errors can still occur, so corrections are welcomed.