01 / 22

Differentiation
Rules

Master the essential rules for finding derivatives: power rule, trigonometric, exponential, logarithmic, and the product, quotient, and chain rules.

IB Mathematics AA

What Is Differentiation?

Differentiation is the process of finding the derivative of a function. The derivative \( f'(x) \) tells us the instantaneous rate of change of \( f(x) \) at any point: it is the slope of the tangent line to the curve.

The Derivative as a Tangent Slope

x y P
\( f(x) \)
tangent at P
\( \text{slope} = f'(a) = 0 \)

At any point P on the curve \( y = f(x) \), the derivative \( f'(a) \) gives the exact slope of the tangent line. Differentiation rules let us compute this slope algebraically, without limits every time.

Why Do We Need Differentiation Rules?

Speed
Evaluating limits from first principles is slow. Rules give instant results for any standard function.
Composition
Real-world functions are built from simpler pieces. Rules like product, quotient, and chain let us differentiate combinations.
Applications
Optimization, rates of change, kinematics, and curve sketching all depend on quick, accurate differentiation.

The Basic Derivative Rules

1
Constant Rule: \( \dfrac{d}{dx}[c] = 0 \)
2
Power Rule: \( \dfrac{d}{dx}[x^n] = nx^{n-1} \) for any \( n \in \mathbb{R} \)
3
Constant Multiple: \( \dfrac{d}{dx}[cf(x)] = c \cdot f'(x) \)
4
Sum/Difference: \( \dfrac{d}{dx}[f \pm g] = f'(x) \pm g'(x) \)

Derivatives of Transcendental Functions

\( \sin x \) and \( \cos x \)
\( \dfrac{d}{dx}[\sin x] = \cos x \)
\( \dfrac{d}{dx}[\cos x] = -\sin x \)
\( e^x \)
\( \dfrac{d}{dx}[e^x] = e^x \)
The exponential function is its own derivative.
\( \ln x \)
\( \dfrac{d}{dx}[\ln x] = \dfrac{1}{x} \)
Defined for \( x > 0 \).

Visualizing \( \dfrac{d}{dx}[\sin x] = \cos x \)

x x
\(\sin x\)
\(\cos x\)
-π π -π π max

The Product Rule

1
Identify the two factors: \( f(x) \) and \( g(x) \).
2
Differentiate each factor separately to get \( f'(x) \) and \( g'(x) \).
3
Apply the formula: "derivative of the first times the second, plus the first times derivative of the second."

The Quotient Rule

Memory mnemonic: "Low D-High minus High D-Low, over the square of what's below." Here High = numerator \( f \), Low = denominator \( g \), and D = derivative.

The Chain Rule

\( x \)
input
\( g(x) \)
inner
\( f(g(x)) \)
\( g'(x) \)
×
\( f'(g(x)) \)

Product vs Quotient vs Chain

Product Quotient Chain
When to use \( f \cdot g \) \( \dfrac{f}{g} \) \( f(g(x)) \)
Formula \( f'g + fg' \) \( \dfrac{f'g - fg'}{g^2} \) \( f'(g) \cdot g' \)
Key idea Both vary Subtract, not add Peel layers
Example \( x \sin x \) \( \dfrac{\sin x}{x} \) \( \sin(x^2) \)

How to Apply Differentiation Rules

1
Identify the structure: Is the function a sum, product, quotient, or composition?
2
Choose the correct rule: Sum/difference for added terms, product for multiplied pieces, quotient for fractions, chain for nested functions.
3
Label the parts: Write out \( f(x), g(x), f'(x), g'(x) \) explicitly before substituting.
4
Substitute and simplify: Plug into the formula, then factor or collect terms.
5
Check: Does the result make sense? Can you verify with a specific value?

Example 1: Power Rule

Find \( \dfrac{d}{dx}\!\left[3x^5 - 2x^3 + 7x - 4\right] \).

1
Structure: Sum/difference of power terms. Apply term-by-term.
2
\( \dfrac{d}{dx}[3x^5] = 3 \cdot 5x^4 = \) \( 15x^4 \)
3
\( \dfrac{d}{dx}[-2x^3] = -2 \cdot 3x^2 = \) \( -6x^2 \)
4
\( \dfrac{d}{dx}[7x] = \) \( 7 \), and \( \dfrac{d}{dx}[-4] = \) \( 0 \)

Example 2: Product Rule

Differentiate \( y = x^2 \sin x \).

1
Identify factors: \( f(x) = x^2 \), \( g(x) = \sin x \)
2
Derivatives: \( f'(x) = 2x \), \( g'(x) = \cos x \)
3
Apply formula: \( y' = f'g + fg' = 2x \sin x + x^2 \cos x \)

Example 3: Chain Rule

Differentiate \( y = e^{3x^2 + 1} \).

1
Outer function: \( f(u) = e^u \), so \( f'(u) = e^u \)
2
Inner function: \( g(x) = 3x^2 + 1 \), so \( g'(x) = 6x \)
3
Chain rule: \( y' = f'(g(x)) \cdot g'(x) = e^{3x^2+1} \cdot 6x \)

Common Mistakes

✕ Forgetting the Chain Rule
Writing \( \dfrac{d}{dx}[\sin(3x)] = \cos(3x) \) instead of \( 3\cos(3x) \). Always multiply by the inner derivative.
✕ Wrong Sign in Quotient Rule
Using \( f'g + fg' \) in the numerator. The quotient rule has a minus: \( f'g - fg' \).
✕ Product Instead of Chain
Treating \( \sin(x^2) \) as \( \sin x \cdot x^2 \). This is a composition, not a product.
✕ Power Rule on \( e^x \)
Writing \( \dfrac{d}{dx}[e^x] = xe^{x-1} \). The power rule is for \( x^n \), not \( n^x \). \( \dfrac{d}{dx}[e^x] = e^x \).

Summary of All Rules

Function Derivative
\( x^n \)\( nx^{n-1} \)
\( \sin x \)\( \cos x \)
\( \cos x \)\( -\sin x \)
\( e^x \)\( e^x \)
\( \ln x \)\( \dfrac{1}{x} \)
\( f \cdot g \)\( f'g + fg' \)
\( \dfrac{f}{g} \)\( \dfrac{f'g - fg'}{g^2} \)
\( f(g(x)) \)\( f'(g(x)) \cdot g'(x) \)

Question 1 of 5

What is \( \dfrac{d}{dx}\!\left[4x^3 - x + 2\right] \)?

Question 2 of 5

Differentiate \( y = x \cdot e^x \). What is \( \dfrac{dy}{dx} \)?

Question 3 of 5

What is \( \dfrac{d}{dx}\!\left[\ln(5x)\right] \)?

Question 4 of 5

Differentiate \( y = \dfrac{\sin x}{x} \). Which expression is \( \dfrac{dy}{dx} \)?

Question 5 of 5

Find \( \dfrac{d}{dx}\!\left[\cos(x^3)\right] \).