IB MATHEMATICS: ANALYSIS AND APPROACHES • CALCULUS

Differentiation Rules — SL 5.3 Differentiation rules (power, sin, cos, e^x, ln x; product/quotient/chain) (as included)

Master the essential toolkit for finding derivatives of any function you'll encounter in IB Math AA.

Historical Context & Motivation

For centuries, mathematicians and scientists struggled with a fundamental question: how do you measure the rate at which something changes at a single instant? If a ball is rolling down a hill, you can measure its average speed over ten seconds, but what about its speed at exactly the three-second mark? This puzzle drove the development of calculus, and at the heart of calculus lies differentiation — the process of finding how fast a function's output changes relative to its input.

Early differentiation relied on going back to first principles every single time, computing limits of difference quotients for each new function. This was tedious and error-prone. Mathematicians gradually discovered shortcuts — differentiation rules — that let you find derivatives quickly and reliably. These rules form the backbone of IB Math AA SL 5.3 and are among the most important tools you'll ever learn in mathematics.

1665–1676
Newton & Leibniz Develop Calculus
Isaac Newton and Gottfried Wilhelm Leibniz independently developed the fundamental ideas of calculus, including the concept of the derivative. Newton called them "fluxions," while Leibniz introduced the dy/dx notation still used today.
1748
Euler's Introductio
Leonhard Euler published systematic treatments of exponential and trigonometric functions, establishing the derivatives of eˣ, sin x, and cos x as standard results that every student could apply.
1797
Lagrange Formalises the Derivative
Joseph-Louis Lagrange introduced the prime notation f′(x) and emphasized that differentiation rules — power, product, quotient, and chain — could be stated as general theorems applicable to broad classes of functions.
1821
Cauchy's Rigorous Limits
Augustin-Louis Cauchy placed the derivative on a rigorous footing using the formal limit definition, confirming that the differentiation rules discovered by earlier mathematicians were logically airtight.

The question these mathematicians answered was practical: can we find the derivative of any function without going back to the limit definition every time? The answer is yes — and the rules in SL 5.3 are precisely those shortcuts. Once you learn them, you can differentiate polynomials, trigonometric expressions, exponentials, logarithms, and complex combinations of these functions in seconds rather than minutes.

Core Principles & Definitions

Before diving into individual rules, it helps to understand the big picture. The derivative of a function f(x), written f′(x) or dy/dx, tells you the instantaneous rate of change of f at any point x. Every differentiation rule is simply a proven shortcut that lets you compute f′(x) without returning to the limit definition.

1

Basic Derivative Rules

The power rule, derivatives of sin x, cos x, eˣ, and ln x form the foundation. These are the building blocks for every other derivative you'll compute.
2

Linearity of Derivatives

You can differentiate term by term: the derivative of a sum is the sum of the derivatives, and constants can be pulled out front. This means d/dx [af(x) + bg(x)] = af′(x) + bg′(x).
3

Product & Quotient Rules

When two functions are multiplied or divided, you cannot simply differentiate each piece separately. The product rule and quotient rule handle these situations.
4

Chain Rule

When a function is composed inside another function — like sin(3x²) — you need the chain rule. It tells you to differentiate the "outer" function and multiply by the derivative of the "inner" function.
KEY TAKEAWAY
Think of differentiation rules like a mechanic's toolbox. The power rule is your wrench — you'll use it constantly. The product, quotient, and chain rules are your specialty tools for trickier jobs. Just as a mechanic doesn't rebuild the engine from scratch to change a spark plug, you don't go back to the limit definition for every derivative. You pick the right tool and apply it.

Visual Explanation — The Power Rule in Action

The diagram below shows how the power rule connects a function to its derivative. On the left you see f(x) = x³ (the original curve), and on the right you see f′(x) = 3x² (the derivative). Notice that wherever the original function is climbing steeply, the derivative has a large positive value, and wherever the original function levels off, the derivative crosses zero.

Left: the cubic function f(x) = x³ passes through the origin, decreasing for negative x and increasing for positive x. Right: its derivative f′(x) = 3x² is always non-negative, touching zero at x = 0 where the cubic briefly flattens. The yellow arrow represents the operation of differentiation — applying the power rule to transform the original into its rate-of-change function.

This visual pattern generalises to every function you'll meet. The derivative captures the slope of the tangent line at each point. When the original curve is steep, the derivative is large. When it's flat, the derivative is zero. When the curve is falling, the derivative is negative. Understanding this connection visually will help you check your algebraic work — if your derivative doesn't match the shape you'd expect, you know to look for a mistake.

Mathematical Framework — The Core Rules

Here are the fundamental differentiation rules you need for IB Math AA SL 5.3. Each rule tells you how to find the derivative of a particular type of function. Memorise these — they are given in the IB formula booklet, but speed comes from knowing them by heart.

Basic Derivative Rules

POWER RULE
d/dx [xⁿ] = nxⁿ⁻¹
If f(x) = xⁿ where n is any real number, bring the exponent down as a coefficient and reduce the exponent by 1. For example, d/dx [x⁵] = 5x⁴.
TRIGONOMETRIC RULES
d/dx [sin x] = cos x d/dx [cos x] = −sin x
The derivative of sine is cosine, and the derivative of cosine is negative sine. The negative sign on the cosine derivative is a common source of errors — watch for it!
EXPONENTIAL RULE
d/dx [eˣ] = eˣ
The natural exponential function eˣ is its own derivative. This remarkable property is what makes e ≈ 2.718 so special in mathematics.
NATURAL LOGARITHM RULE
d/dx [ln x] = 1/x
The derivative of the natural logarithm is the reciprocal function 1/x. This is defined only for x > 0, just as ln x itself is only defined for positive x.

Combination Rules

PRODUCT RULE
d/dx [u · v] = u′v + uv′
If y = u(x) · v(x), then y′ = u′(x) · v(x) + u(x) · v′(x). Differentiate the first, multiply by the second, then add the first times the derivative of the second.
QUOTIENT RULE
d/dx [u/v] = (u′v − uv′) / v²
If y = u(x)/v(x), the derivative is (u′v − uv′)/v². Remember: it's "low d-high minus high d-low, over low squared." The subtraction order matters — it's not commutative.
CHAIN RULE
d/dx [f(g(x))] = f′(g(x)) · g′(x)
For a composite function, differentiate the outer function (evaluated at the inner function) and multiply by the derivative of the inner function. In Leibniz notation: dy/dx = (dy/du) × (du/dx).
📘 IB Tip
The IB formula booklet provides these rules, so you don't need to derive them from scratch on the exam. However, you must know when to apply each one. The chain rule is often used in combination with the product or quotient rule — practice recognising which rules are needed before you start writing.

Choosing the Right Rule — A Decision Flowchart

One of the biggest challenges students face is not the rules themselves, but knowing which rule to use. The flowchart below walks you through the decision process. Start at the top and follow the arrows based on the structure of your function.

Decision flowchart for selecting a differentiation rule. Start at the top with your function's structure. Note the dashed box at the bottom left: many IB exam questions require combining rules — for example, using the chain rule inside a product rule.
Common function types and the rules required to differentiate them
Function TypeExampleRule(s) Needed
Simple powerf(x) = 4x⁷Power rule
Single trig / exp / logf(x) = 3sin xBasic rule + constant multiple
Product of two functionsf(x) = x² · eˣProduct rule
Fraction of two functionsf(x) = sin x / xQuotient rule
Function inside a functionf(x) = eˢⁱⁿ ˣChain rule
Combinedf(x) = x · sin(3x)Product rule + chain rule

Worked Example — Differentiating a Combined Function

Let's work through a multi-rule problem step by step. Suppose we need to find the derivative of f(x) = x² · sin(3x). This involves both the product rule and the chain rule.

Find f′(x) where f(x) = x² · sin(3x)
1
Step 1 — Identify the StructureThe function is a product of two functions: u(x) = x² and v(x) = sin(3x). We will need the product rule: (uv)′ = u′v + uv′. Notice that v(x) = sin(3x) is itself a composite function (sine of 3x), so we'll need the chain rule when we differentiate v.
2
Step 2 — Find u′(x)Using the power rule on u(x) = x²:
u′(x) = 2x
3
Step 3 — Find v′(x) Using the Chain RuleFor v(x) = sin(3x), the outer function is sin(·) and the inner function is 3x. The derivative of sin(·) is cos(·), and the derivative of 3x is 3. By the chain rule: v′(x) = cos(3x) × 3.
v′(x) = 3cos(3x)
4
Step 4 — Apply the Product RuleNow substitute into the product rule formula: f′(x) = u′v + uv′ = (2x)(sin(3x)) + (x²)(3cos(3x)).
f′(x) = 2x sin(3x) + 3x² cos(3x)
5
Step 5 — Verify and SimplifyWe can factor out x if desired: f′(x) = x[2sin(3x) + 3x cos(3x)]. This is the final answer. As a quick check, when x = 0, f(0) = 0 and f′(0) = 0, which makes sense because the x² factor forces the function and its derivative to be zero at the origin.
f′(x) = x[2sin(3x) + 3x cos(3x)]
⚠️ Common Mistake Alert
Many students forget the chain rule inside the product rule. They correctly set up u′v + uv′ but then write the derivative of sin(3x) as cos(3x) instead of 3cos(3x). Always ask yourself: "Is there an inner function that needs differentiating?"

When to Use Each Rule — Strengths & Pitfalls

Each differentiation rule has its own strengths and common pitfalls. Understanding these will help you avoid the mistakes that cost marks on the IB exam.

Comparison of differentiation rules: strengths and common pitfalls
RuleStrengthsCommon Pitfalls
Power RuleFast, applies to any real exponent including fractions and negatives (e.g., x^(1/2) or x^(−1))Forgetting to rewrite roots and reciprocals as powers first: √x = x^(1/2), 1/x = x^(−1)
Trig RulesDirect, no rearranging needed; pattern is cyclic (sin → cos → −sin → −cos)Dropping the negative sign in d/dx [cos x] = −sin x; confusing sin and cos derivatives
eˣ and ln xeˣ is its own derivative — simplest rule to apply; ln x gives a clean reciprocalApplying these rules to aˣ or log_a(x) without using change-of-base or chain rule
Product RuleWorks for any product of two functions; formula is symmetric in structureWriting u′ × v′ instead of u′v + uv′; forgetting that constants still count (e.g., 5eˣ is 5 × eˣ)
Quotient RuleHandles any ratio of functions systematicallyGetting the subtraction order wrong (it must be u′v − uv′, not uv′ − u′v); forgetting to square the denominator
Chain RuleEssential for composite functions; can be chained multiple times for deeply nested compositionsForgetting the inner derivative entirely; this is the #1 error in IB differentiation questions
KEY TAKEAWAY
Think of the chain rule as peeling an onion. Each layer is a function wrapped around another. You differentiate the outermost layer first, then peel inward, multiplying by the derivative of each inner layer as you go. If you have sin(e^(2x)), that's three layers: sin(·), e^(·), and 2x. You need to multiply three derivatives together: cos(e^(2x)) × e^(2x) × 2.

Connection to Higher-Level Calculus

The differentiation rules you've learned in SL 5.3 are the foundation for everything that comes next in calculus. Whether you continue to HL Mathematics or encounter calculus in university, these rules are the tools you'll always rely on.

How SL 5.3 differentiation rules connect to advanced topics
SL 5.3 ConceptWhere It Leads (HL / University)
Power rule for xⁿGeneralised power rule for [f(x)]ⁿ using the chain rule; implicit differentiation where y is a function of x
Derivatives of sin x, cos xDerivatives of tan x, sec x, csc x, cot x; inverse trig derivatives; Taylor series for trig functions
Derivative of eˣDerivative of aˣ = aˣ ln a; differential equations involving exponential growth and decay
Product and quotient rulesIntegration by parts (which is the reverse of the product rule); partial fractions for integration
Chain ruleRelated rates; u-substitution in integration; multivariable chain rule in partial derivatives

If you pursue HL Mathematics, you'll also encounter implicit differentiation, where y is not written as an explicit function of x. Even there, the core rules are the same — you just apply them while treating y as a function of x and multiplying by dy/dx whenever you differentiate a y term (that's the chain rule in disguise!). The message is clear: mastering these rules now sets you up for every calculus topic you'll ever meet.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why the derivative of eˣ is special compared to the derivative of other exponential functions like 2ˣ or 10ˣ. What property makes e unique?
PROBLEM 2BASIC CALCULATION
Find the derivative of f(x) = 5x⁴ − 3cos x + ln x.
PROBLEM 3INTERMEDIATE
Differentiate g(x) = e²ˣ · cos x using the product rule and chain rule.
PROBLEM 4APPLIED
The height of a wave on a beach is modelled by h(t) = (t + 1) · sin(πt/6), where h is in metres and t is in seconds. Find the rate of change of height at t = 3 seconds.
PROBLEM 5CRITICAL THINKING
Let f(x) = ln(sin x) for 0 < x < π. Use the chain rule to find f′(x), then determine the value of x in the interval (0, π) where f′(x) = 0. Explain what this tells you about f(x) at that point.

Lesson Summary

IB Math AA SL 5.3 equips you with a complete toolkit for differentiation. The power rule (d/dx [xⁿ] = nxⁿ⁻¹) handles polynomials and fractional or negative exponents. The trigonometric rules give d/dx [sin x] = cos x and d/dx [cos x] = −sin x. The exponential rule (d/dx [eˣ] = eˣ) and the logarithmic rule (d/dx [ln x] = 1/x) complete the set of basic derivatives.

For combinations, the product rule (u′v + uv′) handles multiplied functions, the quotient rule ((u′v − uv′)/v²) handles divided functions, and the chain rule (f′(g(x)) · g′(x)) handles composite functions. Most IB exam questions require combining two or more of these rules. The key to success is recognising the structure of the function first, selecting the correct rule, and then carefully carrying out each step — especially remembering to multiply by the inner derivative when using the chain rule.

Varsity Tutors • IB Mathematics: Analysis and Approaches • Differentiation Rules — SL 5.3