Welcome to Differentiation from First Principles!
In this chapter, we are going to peel back the curtain of Calculus. You might already know the "shortcut" rule for differentiating \(x^2\) to get \(2x\), but have you ever wondered why it works? Differentiation from first principles is the formal mathematical way to prove how we find the gradient of a curve at any point.
Don't worry if this seems a bit abstract at first. We are essentially just taking the simple "rise over run" formula you learned for straight lines and applying a bit of "mathematical magic" to make it work for curves!
The Big Idea: From Chords to Tangents
To understand differentiation, we need to talk about gradients. For a straight line, the gradient is constant. But for a curve, the gradient changes at every single point.
Imagine you are looking at a curve. If you pick two points on that curve and draw a straight line between them, that line is called a chord. The gradient of that chord is an estimate of the curve's gradient. Now, imagine moving those two points closer and closer together. As the distance between them becomes almost zero, the chord turns into a tangent—a line that just touches the curve at a single point.
The Analogy: The Google Maps Zoom
Think of a curved road on a map. If you are zoomed out, it looks very curvy. But if you keep zooming in on one tiny spot, eventually that tiny section of the road looks like a perfectly straight line. Differentiation is simply the math of zooming in until the curve looks straight!
Quick Review: Gradient of a straight line
Before we start, remember that the gradient (\(m\)) between two points \((x_1, y_1)\) and \((x_2, y_2)\) is:
\(m = \frac{y_2 - y_1}{x_2 - x_1}\)
The Formal Definition
In A Level Maths, we use a specific formula to represent this "zooming in" process. We call the horizontal distance between our two points \(h\). We want to see what happens as \(h\) gets smaller and smaller, eventually reaching zero.
The derivative, denoted as \(f'(x)\) or \(\frac{dy}{dx}\), is defined as:
\(f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}\)
Breaking down the symbols:
1. \(f(x + h) - f(x)\): This is the "Change in \(y\)" (the rise).
2. \(h\): This is the "Change in \(x\)" (the run).
3. \(\lim_{h \to 0}\): This means "the limit as \(h\) tends to zero." It’s our way of saying the points are getting infinitely close together.
Key Takeaway: Differentiation from first principles is just the gradient formula applied to two points that are getting closer and closer together.
Step-by-Step: Differentiating \(x^n\)
The OCR syllabus requires you to be able to do this for small positive integer powers of \(x\) (up to \(x^4\)). Let’s walk through the most common example: \(f(x) = x^2\).
Example: Prove that the derivative of \(x^2\) is \(2x\).
Step 1: Write down the general formula.
\(f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}\)
Step 2: Substitute your function into the formula.
Since \(f(x) = x^2\), then \(f(x+h) = (x+h)^2\).
\(f'(x) = \lim_{h \to 0} \frac{(x + h)^2 - x^2}{h}\)
Step 3: Expand the brackets.
Remember: \((x+h)^2 = x^2 + 2xh + h^2\).
\(f'(x) = \lim_{h \to 0} \frac{x^2 + 2xh + h^2 - x^2}{h}\)
Step 4: Simplify the numerator.
The \(x^2\) and \(-x^2\) cancel out!
\(f'(x) = \lim_{h \to 0} \frac{2xh + h^2}{h}\)
Step 5: Divide by \(h\).
Divide every term in the numerator by \(h\).
\(f'(x) = \lim_{h \to 0} (2x + h)\)
Step 6: Apply the limit.
As \(h\) goes to zero, the term with \(h\) just disappears.
\(f'(x) = 2x\)
Did you know?
This method was developed independently by Sir Isaac Newton and Gottfried Wilhelm Leibniz in the 17th century. They actually had a huge argument (the "Calculus Controversy") over who invented it first!
Common Mistake Alert!
1. Forgetting the "lim" notation: You must keep writing \(\lim_{h \to 0}\) on every line until the very last step where you actually set \(h\) to zero. If you drop it too early, you lose marks!
2. Expansion errors: Be careful when expanding \((x+h)^3\) or \((x+h)^4\). Use Pascal's Triangle or the Binomial Expansion to help you.
Quick tip: \((x+h)^3 = x^3 + 3x^2h + 3xh^2 + h^3\).
First Principles for Trig (Stage 2)
If you are a Stage 2 learner, you also need to know how to do this for \(\sin x\) and \(\cos x\). This feels a bit more complex because it requires two specific trig identities:
1. Small Angle Approximations: As \(h \to 0\), \(\sin h \approx h\) and \(\cos h \approx 1 - \frac{h^2}{2}\).
2. Addition Formulae: \(\sin(x+h) = \sin x \cos h + \cos x \sin h\).
The logic is the same:
You expand \(\sin(x+h)\) using the identity, substitute the small angle approximations, cancel out the terms, and you'll find that the derivative of \(\sin x\) is \(\cos x\).
Summary Box: The Process
1. Setup: Write the limit formula.
2. Substitute: Put in your specific function.
3. Expand: Multiply out all brackets.
4. Cancel: The terms without an \(h\) in them should cancel out.
5. Divide: Divide through by \(h\).
6. Limit: Let \(h = 0\) and see what's left!
Final Encouragement
Differentiation from first principles can feel like a lot of algebra, but it is one of the most powerful "proofs" in your toolkit. Once you master the step-by-step process of expanding and cancelling, you'll find it becomes very repetitive (in a good way!). Keep practicing those expansions, and don't forget your \(\lim_{h \to 0}\) notation!