Introduction to Differentiation Rules
In your previous calculus lessons, you learned how to differentiate simple power functions like \(f(x) = x^2\). However, mathematical models in the real world are rarely that simple! Often, functions are multiplied, divided, or nested inside one another. To handle these, we use three essential "tools": the Chain Rule, the Product Rule, and the Quotient Rule.
Think of these rules as "recipes." If you follow the steps in order, you can find the derivative of even the most intimidating-looking function. Don't worry if it seems like a lot of symbols at first; with a bit of practice, these rules become second nature.
1. The Chain Rule: Functions Inside Functions
The Chain Rule is used for composite functions. These are functions where one expression is tucked inside another, written as \(y = f(g(x))\).
The Concept: Imagine an onion. To get to the center, you have to peel the outer layer first. The Chain Rule works the same way: you differentiate the "outside" function first, then multiply it by the derivative of the "inside" function.
The Formula:
If \(y = f(u)\) and \(u = g(x)\), then:
\(\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}\)
Step-by-Step Process:
1. Identify the outer function (the "shell") and the inner function (the "filling").
2. Differentiate the outer function, leaving the inner function exactly as it is.
3. Multiply your result by the derivative of the inner function.
Example: Differentiate \(y = (3x^2 + 1)^5\)
- Inner function: \(u = 3x^2 + 1\) \(\implies \frac{du}{dx} = 6x\)
- Outer function: \(y = u^5\) \(\implies \frac{dy}{du} = 5u^4\)
- Multiply them: \(\frac{dy}{dx} = 5(3x^2 + 1)^4 \times 6x = 30x(3x^2 + 1)^4\)
Quick Tip: A common mistake is forgetting to differentiate the "inside." Always ask yourself: "Is there an expression inside this function?" If yes, you must use the Chain Rule!
Key Takeaway:
Chain Rule: Differentiate the outside, keep the inside the same, then multiply by the derivative of the inside.
2. The Product Rule: Functions Multiplying
The Product Rule is used when you have two different functions of \(x\) multiplied together, such as \(y = u \times v\).
The Formula:
If \(y = uv\), then:
\(y' = uv' + vu'\)
(Where \(u'\) and \(v'\) are the derivatives of \(u\) and \(v\)).
Memory Aid: Many students find this rhyme helpful: "Left-D-Right plus Right-D-Left."
(The left function times the derivative of the right, plus the right function times the derivative of the left).
Example: Differentiate \(y = x^2 \sin(x)\)
- Let \(u = x^2\) \(\implies u' = 2x\)
- Let \(v = \sin(x)\) \(\implies v' = \cos(x)\)
- Apply the rule: \(y' = (x^2)(\cos x) + (\sin x)(2x)\)
- Simplify: \(y' = x^2 \cos x + 2x \sin x\)
Did you know? You cannot just differentiate both parts and multiply them. For example, the derivative of \(x^2 \times x^3\) is not \(2x \times 3x^2\). If you used that logic, you'd get \(6x^3\), but we know \(x^2 \times x^3 = x^5\), and its derivative is actually \(5x^4\)! This is why the Product Rule is so important.
Key Takeaway:
Product Rule: \((1st \times \text{derivative of } 2nd) + (2nd \times \text{derivative of } 1st)\).
3. The Quotient Rule: Functions Dividing
The Quotient Rule is used when one function is divided by another, written as \(y = \frac{u}{v}\). This is often the rule students find most complex because of the fraction.
The Formula:
If \(y = \frac{u}{v}\), then:
\(y' = \frac{vu' - uv'}{v^2}\)
Mnemonic: This is a classic! Think of the top function as "High" and the bottom as "Low":
"Low-D-High minus High-D-Low, over the square of what's below."
Example: Differentiate \(y = \frac{e^x}{x}\)
- High (\(u\)): \(e^x\) \(\implies u' = e^x\)
- Low (\(v\)): \(x\) \(\implies v' = 1\)
- Apply the rule: \(y' = \frac{(x)(e^x) - (e^x)(1)}{x^2}\)
- Simplify: \(y' = \frac{e^x(x - 1)}{x^2}\)
Common Pitfalls to Avoid:
- The Order Matters: Because there is a minus sign in the numerator, you must start with \(vu'\). If you flip them, your answer will have the wrong sign.
- Forgetting the Square: Don't forget to square the entire denominator \(v^2\).
- Not Simplifying: IB examiners often expect you to factorize the numerator (like taking out \(e^x\) in the example above).
Key Takeaway:
Quotient Rule: Use the "Low-D-High" rhyme and always remember the \(v^2\) on the bottom.
4. Summary for SL and HL Students
While the rules stay the same, the functions you apply them to change depending on your level.
For SL Students:
You will mostly use these rules with:
- Polynomials (\(x^n\))
- Sine and Cosine (\(\sin x, \cos x\))
- Exponential and Natural Log functions (\(e^x, \ln x\))
For HL Students:
You will be expected to apply these same rules to a wider variety of functions, including:
- Tangent, Secant, Cosecant, and Cotangent (\(\tan x, \sec x, \csc x, \cot x\))
- Inverse Trig functions (\(\arcsin x, \arccos x, \arctan x\))
- General exponential and log functions (\(a^x, \log_a x\))
Quick Review Box:
- Chain Rule: \(f'(g(x)) \times g'(x)\)
- Product Rule: \(uv' + vu'\)
- Quotient Rule: \(\frac{vu' - uv'}{v^2}\)
Final Advice for Success
When you see a complex differentiation problem, take a deep breath and label everything. Write down what \(u\) is, what \(v\) is, and find their individual derivatives first before plugging them into the formula. This small step prevents simple algebraic errors and helps you earn "method marks" even if you make a calculation mistake later on!
For more on how these derivatives are used to find slopes or optimize shapes, see the chapters on Tangents and Normals or Optimization.