Course Content
Measurement, Precision, and Spatial Geometry
Learn how to represent quantities precisely and understand the geometric principles that describe two- and three-dimensional space. This chapter introduces exact and approximate numbers, angle relationships, and geometric solids.
0/6
Coordinate Geometry and Vector-Based Models
Explore how space can be divided and represented mathematically using coordinates, vectors, and diagrams. The focus is on modeling spatial relationships and lines in 2D and 3D.
0/6
Linear Models and Constant Rate of Change
Learn to model relationships with constant rates of change through linear functions, inverse functions, and arithmetic sequences. Regression techniques are introduced for analyzing real data.
0/5
Foundations of Probability and Uncertainty
An introduction to the mathematics of chance. Students learn how to calculate, represent, and interpret probabilities using diagrams, formulas, and systematic reasoning.
0/3
Polynomial and Power Function Models
Explore how quadratic, cubic, and power functions model different real-world patterns. Emphasis is placed on interpreting graphs, solving equations, and understanding functional relationships.
0/4
Exponential, Logarithmic, and Growth Models
Discover how exponential growth, decay, and logarithmic relationships describe processes such as population growth, finance, and natural phenomena.
0/5
Trigonometric Models and Complex Numbers
This chapter unites trigonometric and complex number concepts to model periodic behavior and extend the number system beyond the real line.
0/5
Matrices for Data, Transformations, and Systems
Learn how matrices can represent and solve systems of equations, model transformations, and analyze steady-state systems in data and applied contexts.
0/6
Differential Calculus and Instantaneous Change
Understand how derivatives measure change and describe motion, growth, and optimization. Students master differentiation rules and explore real-world applications.
0/3
Integration, Areas, and Introductory Differential Equations
Study the reverse process of differentiation — integration — and its uses in calculating areas, solving differential equations, and modeling change in dynamic systems.
0/5
Motion in Two and Three Dimensions
Model motion and change using vectors and calculus. Topics include velocity, acceleration, and systems of coupled differential equations.
0/3
Random Variables and Probability Distributions
Examine how random variables model uncertainty. This chapter covers binomial, Poisson, and continuous distributions, along with mean and variance analysis.
0/6
Statistical Tests and Validity Measures
Learn how to evaluate hypotheses and test data reliability using Spearman’s correlation, chi-squared tests, and hypothesis testing for various distributions.
0/6
Graph Theory and Network Optimization
Discover how graphs represent real-world networks. Students analyze routes, connections, and efficiencies using graph algorithms and optimization methods.
0/5
IB Maths AI HL Course (Early Bird Access; Continuous Updates) | 24-Month Access

Section Navigation

Section Overview

This section masters the advanced toolkit of differentiation: the Chain, Product, and Quotient Rules. You will move beyond simple power functions to differentiate trigonometric, exponential, and logarithmic expressions, providing the mathematical engine for Paper 2 and Paper 3 modeling of periodic, growth, and decay phenomena.

Why This Matters for AIHL Exams

  • Complex Functionality: Real-world AI HL models rarely use simple polynomials. You’ll need these rules to differentiate cost functions like $$\frac{e^x}{x}$$ or oscillation models like $$x\sin(x)$$.
  • The “e” Advantage: Understanding why the derivative of $$e^x$$ is simply itself is a core conceptual requirement for modeling population growth and radioactive decay.
  • Multi-Step Derivations: Paper 2 questions often require you to differentiate a complex quotient to find stationary points or optimize a rate of change.

High-Score Focus (Level 6–7 Insight)

  • The “Inside” Function Oversight: In the Chain Rule, students frequently forget to multiply by the derivative of the inner function (e.g., differentiating $$\sin(2x)$$ as $$\cos(2x)$$ instead of $$2\cos(2x)$$). This is a fatal Level 5 error.
  • Quotient Rule Order: The numerator of the Quotient Rule is $$v u’ – u v’$$. Reversing the order of subtraction results in a sign error that invalidates your subsequent optimization steps.
  • Radians Only: All trigonometric calculus in the IB assumes $$x$$ is in radians. If you use degree mode on your GDC for these derivatives, your numerical answers will be incorrect.

By the End of This Section, You Should Be Able To:

Apply the Chain Rule to differentiate composite and nested functions.
Identify when to use the Product vs. Quotient Rule for algebraic efficiency.

Interpret the derivatives of $$\sin x$$, $$\cos x$$, and $$e^x$$ within physical models.

Model growth rates using the derivatives of natural logarithms and exponentials.
Analyze complex functions to find exact equations for tangents or stationary points using combined differentiation rules.

Suggested Study Path

  1. Master the Chain Rule first; it is the most common “component” in larger problems.
  2. Practice the Product and Quotient Rules until the formula application is automatic.
  3. Study the Trigonometric and Exponential worked examples to recognize standard forms.
  4. Attempt the Combined Rule example (Chain + Product) to reach Level 7 proficiency.
  5. Review the TOK reflection on the logic of fraction-like Leibniz notation.

Study Metrics

Core: 50–70 mins

Practice: 90–150 mins

Exam Priority: ★★★★★

 


 

Chain Rule, Product/Quotient, and Beyond

 

Composite functions and products of functions appear frequently in advanced mathematics.To differentiate these, we cannot simply rely on the basic power rules; we require specific techniques known as the Chain Rule and the Product Rule.

Differentiating Composites

 

Consider the function \( y = (2x^2 – 5)^2 \). This function is differentiable for all real numbers \( x \in \mathbb{R} \).

 

1. Expand the brackets to write \( y \) as a polynomial. Differentiate this resulting polynomial to find \( \displaystyle\frac{dy}{dx} \).

 

2. Observe that \( y \) is a composite function. Let \( u(x) \) be the “inside” function, such that \( u(x) = 2x^2 – 5 \).

 

  • Write \( y \) as a function of \( u \).
  • Find \( \displaystyle\frac{dy}{du} \) and \( \displaystyle\frac{du}{dx} \).
  • Calculate the product \( \displaystyle\frac{dy}{du} \times \displaystyle\frac{du}{dx} \) in terms of \( x \).

 

3. Compare your result from question 1 with your result from question 2c. What do you notice?

 


 

The Chain Rule

 

The method used in the investigation above generalizes to all composite functions. When a function is “nested” inside another, we use the chain rule.

 

Formula: The Chain Rule

 

If \( y \) is a composite function where \( y = f(u) \) and \( u = g(x) \), then:

 

$$ \frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx} $$

 

TOK: Invention or Discovery?

 

If mathematics is a human creation, why do mathematical truths like the Chain Rule feel like objective facts rather than constructed rules?

 

Does the fact that \( \displaystyle\frac{dy}{du} \times \displaystyle\frac{du}{dx} \) works (looking like fraction cancellation, though conceptually different) suggest an underlying logical structure to the universe that we simply uncover?

 

Exam Tip

Treating the derivatives \( \displaystyle\frac{dy}{du} \) and \( \displaystyle\frac{du}{dx} \) like fractions is a useful memory aid. While they are not true fractions, this notation (Leibniz notation) helps visualize the “chain” connecting \( y \) to \( x \) via \( u \).

 


 

Worked Example

 

Find the derivative of the following functions:

 

a. \( y = \sqrt{3x^2 – 2} \)

b. \( f(x) = \displaystyle\frac{1}{2x+3} \)

 

Solution

 

a. Using the variable \( u \)

 

Identify the inside function and call it \( u \).

 

$$ u = 3x^2 – 2 \Rightarrow y = \sqrt{u} = u^{\frac{1}{2}} $$

 

Differentiate \( y \) with respect to \( u \), and \( u \) with respect to \( x \).

 

$$ \frac{dy}{du} = \frac{1}{2}u^{-\frac{1}{2}} \quad \text{and} \quad \frac{du}{dx} = 6x $$

 

Apply the Chain Rule:

 

$$ \frac{dy}{dx} = \frac{1}{2}u^{-\frac{1}{2}} \times 6x = \frac{3x}{\sqrt{3x^2 – 2}} $$

 

b. Using function notation

 

Identify the inner function \( u \) in the denominator.

 

$$ u = 2x + 3, \quad f(u) = \frac{1}{u} = u^{-1} $$

 

Find the derivatives:

 

$$ \frac{du}{dx} = 2, \quad \frac{df}{du} = -u^{-2} = -\frac{1}{u^2} $$

 

Combine using the chain rule:

 

$$ f'(x) = \frac{df}{du} \times \frac{du}{dx} $$

 

$$ f'(x) = -\frac{1}{u^2} \times 2 = -\frac{2}{(2x+3)^2} $$

 


 

The Product Rule

 

When differentiating the product of two functions, \( uv \), we cannot simply differentiate them separately and multiply.

 

For example, if \( y = 5x \times x^3 = 5x^4 \), we know \( \displaystyle\frac{dy}{dx} = 20x^3 \).

 

However, \( \displaystyle\frac{d(5x)}{dx} \times \displaystyle\frac{d(x^3)}{dx} = 5 \times 3x^2 = 15x^2 \). This is clearly incorrect. We need a specific rule.

 

 

Formula: The Product Rule

 

If \( y = uv \) where \( u \) and \( v \) are differentiable functions of \( x \), then:

 

$$ \frac{dy}{dx} = u\frac{dv}{dx} + v\frac{du}{dx} $$

 


 

Worked Example

 

Use the product rule to find \( f'(x) \) if \( f(x) = (x^2 + 2x)(\frac{1}{x} + 3) \).

 

Solution

 

Define \( u(x) \) and \( v(x) \) and find their individual derivatives.

 

$$ \text{Let } u(x) = x^2 + 2x \Rightarrow u'(x) = 2x + 2 $$

 

$$ \text{Let } v(x) = \frac{1}{x} + 3 = x^{-1} + 3 \Rightarrow v'(x) = -x^{-2} = -\frac{1}{x^2} $$

 

Apply the product rule formula: \( u v’ + v u’ \).

 

$$ f'(x) = (x^2 + 2x)\left(-\frac{1}{x^2}\right) + \left(\frac{1}{x} + 3\right)(2x + 2) $$

 

Expand and simplify:

 

$$ f'(x) = \left(-1 – \frac{2}{x}\right) + \left(2 + \frac{2}{x} + 6x + 6\right) = 6x + 7 $$

 


 

Worked Example

 

Find the derivative of \( y = (x^2 – 4)^2(x^3 – 1)^4 \).

 

Solution

 

This problem requires both the chain rule (to differentiate the individual parts) and the product rule (to combine them).

 

First, find \( \displaystyle\frac{du}{dx} \) and \( \displaystyle\frac{dv}{dx} \) using the chain rule.

 

$$ u = (x^2 – 4)^2 \Rightarrow \frac{du}{dx} = 2(x^2-4)(2x) = 4x(x^2-4) $$

 

$$ v = (x^3 – 1)^4 \Rightarrow \frac{dv}{dx} = 4(x^3-1)^3(3x^2) = 12x^2(x^3-1)^3 $$

 

Now, apply the product rule \( \displaystyle\frac{dy}{dx} = u\displaystyle\frac{dv}{dx} + v\displaystyle\frac{du}{dx} \).

 

$$ \frac{dy}{dx} = (x^2-4)^2 [12x^2(x^3-1)^3] + (x^3-1)^4 [4x(x^2-4)] $$

 

To simplify, factor out the common terms: \( 4x(x^2-4)(x^3-1)^3 \).

 

$$ \frac{dy}{dx} = 4x(x^2-4)(x^3-1)^3 \left[ 3x(x^2-4) + (x^3-1) \right] $$

 

$$ = 4x(x^2-4)(x^3-1)^3 (3x^3 – 12x + x^3 – 1) $$

 

$$ = 4x(x^2-4)(x^3-1)^3 (4x^3 – 12x – 1) $$

 


 

The Quotient Rule

 

Definition/Formula: The Quotient Rule

 

If \( u \) and \( v \) are differentiable functions of \( x \) and if \( y = \displaystyle\frac{u}{v} \), then:

 

$$ \frac{dy}{dx} = \frac{v \frac{du}{dx} – u \frac{dv}{dx}}{v^2} $$

 

for \( v(x) \neq 0 \). This formula is provided in your formula booklet.

 

TOK: Reasoning in Mathematics

 

We often discover rules by observing patterns (inductive reasoning), but in mathematics, these rules must be proven to be universally true (deductive reasoning).

 

What is the difference between inductive and deductive reasoning? Why is a proof required for a rule like the quotient rule to be accepted as mathematical fact?

 

Worked Example

 

Consider the function \( y = \displaystyle\frac{x^2 + 3}{x + 1} \) for \( x \neq -1 \).

a. Find \( \displaystyle\frac{dy}{dx} \).

b. Find the equation of the normal to the curve at the point \( (-2, -7) \).

 

Solution

 

Part a: Applying the Quotient Rule

 

First, identify the numerator as \( u \) and the denominator as \( v \):

 

$$ u = x^2 + 3 \quad \Rightarrow \quad \displaystyle\frac{du}{dx} = 2x $$

 

$$ v = x + 1 \quad \Rightarrow \quad \displaystyle\frac{dv}{dx} = 1 $$

 

Substitute these into the quotient rule formula:

 

$$ \frac{dy}{dx} = \frac{(x+1)(2x) – (x^2+3)(1)}{(x+1)^2} $$

 

Expand the numerator and simplify:

 

$$ \frac{dy}{dx} = \frac{2x^2 + 2x – x^2 – 3}{(x+1)^2} $$

 

$$ \frac{dy}{dx} = \frac{x^2 + 2x – 3}{(x+1)^2} $$

 

Part b: Equation of the Normal

 

To find the gradient of the tangent, substitute \( x = -2 \) into the derivative found in part a:

 

$$ m_{\text{tangent}} = \frac{(-2)^2 + 2(-2) – 3}{(-2+1)^2} $$

 

$$ m_{\text{tangent}} = \frac{4 – 4 – 3}{(-1)^2} = \frac{-3}{1} = -3 $$

 

The gradient of the normal is the negative reciprocal of the tangent gradient:

 

$$ m_{\text{normal}} = -\frac{1}{-3} = \frac{1}{3} $$

 

Using the point-slope form \( y – y_1 = m(x – x_1) \) with the point \( (-2, -7) \):

 

$$ y – (-7) = \frac{1}{3}(x – (-2)) $$

 

$$ y + 7 = \frac{1}{3}x + \frac{2}{3} $$

 

$$ y = \frac{1}{3}x – \frac{19}{3} $$

 

Exam Tip

 

It is important to select the most efficient technique.

 

  • Avoid rearranging a quotient into a product (e.g., \( y = (x^2+3)(x+1)^{-1} \)) unless you are confident manipulating negative indices. The quotient rule naturally provides a common denominator, which is often useful for later parts of a question (like finding stationary points).

 

  • However, if the numerator is a constant (e.g., \( y = \displaystyle\frac{2}{x^2+3} \)), you should use the Chain Rule by rewriting it as \( y = 2(x^2+3)^{-1} \), as this is faster than the quotient rule.

 


 

Derivatives of Trigonometric Functions

 

Key Idea: Investigation

 

If you graph the function \( y = \sin x \) and estimate the gradient of the tangent at various points, you will observe a pattern:

 

  • At \( x=0 \), the gradient is 1.
  • At \( x=\frac{\pi}{2} \), the gradient is 0.
  • At \( x=\pi \), the gradient is -1.

 

If you plot these gradient values, they form the curve of \( y = \cos x \). This leads us to the standard derivatives for trigonometric functions.

 

Definition/Formula: Trigonometric Derivatives

 

For \( x \) in radians:

 

  • If \( f(x) = \sin x \), then \( f'(x) = \cos x \)
  • If \( f(x) = \cos x \), then \( f'(x) = -\sin x \)
  • If \( f(x) = \tan x \), then \( f'(x) = \displaystyle\frac{1}{\cos^2 x} \) (or \( \sec^2 x \))

 

Note: When differentiating trigonometric functions, angles must always be in radians.

 

TOK: Intuition vs Rigour

 

Euler made significant advances in analysis using intuition before calculus was placed on a solid theoretical foundation by Cauchy and others. Some work was simply not possible until the rigorous definitions of limits were established.

 

What does this suggest about the roles of intuition and imagination in mathematics compared to strict logical proof?

 

Worked Example

 

Use the chain rule to find the derivative of:

a. \( y = \sin(2x) \)

b. \( y = \cos(4t) \)

 

Solution

 

Part a

 

Let \( u = 2x \), so \( y = \sin u \).

 

Differentiating these parts:

 

$$ \frac{du}{dx} = 2, \quad \frac{dy}{du} = \cos u $$

 

Using the chain rule \( \frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx} \):

 

$$ \frac{dy}{dx} = (\cos 2x) \times 2 = 2\cos(2x) $$

 

Part b

 

Let \( u = 4t \), so \( y = \cos u \).

 

Differentiating gives:

 

$$ \frac{du}{dt} = 4, \quad \frac{dy}{du} = -\sin u $$

Using the chain rule:

 

$$ \frac{dy}{dt} = (-\sin 4t) \times 4 = -4\sin(4t) $$

 

Exam Tip

 

These forms appear so frequently that it is useful to learn the general standard results:

 

  • \( \displaystyle\frac{d}{dx}(\sin(ax)) = a\cos(ax) \)
  • \( \displaystyle\frac{d}{dx}(\cos(ax)) = -a\sin(ax) \)

 

Worked Example

 

Find the derivative of \( y = \displaystyle\frac{\cos x}{x^2} \).

 

Solution

 

Since this is a fraction involving functions of \( x \), we use the Quotient Rule.

 

Identify \( u \) and \( v \):

 

$$ u = \cos x \quad \Rightarrow \quad \frac{du}{dx} = -\sin x $$

 

$$ v = x^2 \quad \Rightarrow \quad \frac{dv}{dx} = 2x $$

 

Apply the formula \( \displaystyle\frac{dy}{dx} = \frac{v u’ – u v’}{v^2} \):

 

$$ \frac{dy}{dx} = \frac{(x^2)(-\sin x) – (\cos x)(2x)}{(x^2)^2} $$

 

Simplify the expression. We can factorize \( -x \) from the numerator:

 

$$ \frac{dy}{dx} = \frac{-x^2\sin x – 2x\cos x}{x^4} $$

 

$$ \frac{dy}{dx} = \frac{-x(x\sin x + 2\cos x)}{x^4} $$

 

$$ \frac{dy}{dx} = -\frac{x\sin x + 2\cos x}{x^3} $$

 


 

 

Exponential and Logarithmic Functions

 

Key Idea: The Special Number e

 

If you graph \( y = 2^x \) and \( y = 3^x \), you will find that the derivative of \( 2^x \) is slightly lower than the function itself, while the derivative of \( 3^x \) is slightly higher.

 

There exists a unique number between 2 and 3, called \( e \) \( (\approx 2.718) \), where the function and its derivative are identical.

 

Definition/Formula: Exp & Log Derivatives

 

  • If \( f(x) = e^x \), then \( f'(x) = e^x \)
  • If \( f(x) = \ln x \), then \( f'(x) = \frac{1}{x} \)

 

Using the chain rule, a common general form is \( \displaystyle\frac{d}{dx}(e^{ax}) = ae^{ax} \).

 


 

Worked Example

 

Find the derivative of:

a. \( y = x \ln x \)

b. \( f(x) = \sin(\ln x) \)

 

Solution

 

Part a:

This is a product of two functions \( u = x \) and \( v = \ln x \).

 

$$ \frac{du}{dx} = 1, \quad \frac{dv}{dx} = \frac{1}{x} $$

 

Apply the Product Rule \( (uv’ + vu’) \):

 

$$ \frac{dy}{dx} = x\left(\frac{1}{x}\right) + (\ln x)(1) = 1 + \ln x $$

 

Part b:

This is a composite function requiring the Chain Rule.

 

Let \( u = \ln x \), so \( f(u) = \sin u \).

 

$$ \frac{du}{dx} = \frac{1}{x}, \quad \frac{df}{du} = \cos u $$

 

Combine terms:

 

$$ f'(x) = \cos(u) \times \frac{1}{x} = \frac{\cos(\ln x)}{x} $$

 


 

Worked Example

 

Find the derivative of \( y = e^{4x} \) with respect to \( x \).

 

Solution

 

We can view this as a composite function and apply the Chain Rule.

 

Let the exponent be the inner function \( u \):

 

$$ u = 4x \quad \Rightarrow \quad \frac{du}{dx} = 4 $$

Now, \( y \) becomes a function of \( u \):

 

$$ y = e^u \quad \Rightarrow \quad \frac{dy}{du} = e^u $$

 

Apply the chain rule formula \( \displaystyle\frac{dy}{dx} = \displaystyle\frac{dy}{du} \times \displaystyle\frac{du}{dx} \):

 

$$ \frac{dy}{dx} = e^u \times 4 $$

 

Substitute \( u = 4x \) back into the expression:

 

$$ \frac{dy}{dx} = 4e^{4x} $$

 


 

Exam Tip

 

This result is a specific case of the general standard derivative:

 

$$ \frac{d}{dx}(e^{kx}) = ke^{kx} $$

 

You are expected to recognize and use this standard form directly in exams without writing out the full substitution steps every time.

 

TOK: History and Notation

 

Euler made significant advances in analysis using \( e \) and intuition before calculus was placed on a solid theoretical foundation by Cauchy. Some results were used successfully long before they were rigorously proven.

Does the effectiveness of a mathematical tool justify its use before we fully understand why it works?

 

🎯 Examiner’s Radar: Advanced Differentiation Strategy

📋 Paper Mapping

  • Paper 2 (Optimization): You will often need the Quotient Rule to find the derivative of a cost or surface area function. The examiner expects you to set $$f'(x) = 0$$ to find “exact” stationary points.
  • Paper 3 (Complex Modeling): Expect “nested” functions (e.g., $$e^{-0.5t} \sin(2t)$$). This requires combining the Product Rule with the Chain Rule. Missing a single constant here invalidates the entire model.

💡 Scoring Secrets

  • The “Show That” Trap: If a question says “Show that $$f'(x) = \dots$$”, you must write the unsimplified Quotient Rule formula with your $$u,\, v,\, u’,\, v’$$ substitutions first to earn the Method (M1) mark.
  • GDC vs. Algebra: In Paper 2, if the question asks for the “rate of change at $$x=3$$”, use your GDC’s numerical derivative function ($$d/dx|_{x=3}$$) to save time and avoid algebraic errors.
0% Complete