Welcome to the World of Differentiation!

Ever wondered how a speedometer calculates your speed at a single exact moment? Or how architects determine the steepest part of a curved roof? That’s differentiation in action! In this chapter, we are going to learn how to measure rates of change. Think of it as "zooming in" on a curve until it looks like a straight line so we can find its gradient.

1. What is a Derivative?

In your earlier math classes, you found the gradient (slope) of a straight line using \( \text{gradient} = \frac{\text{change in } y}{\text{change in } x} \). However, for a curve, the gradient is constantly changing!

The derivative, written as \( \frac{dy}{dx} \) or \( f'(x) \), tells us the gradient of the tangent to the curve at any specific point.

The "Zoom" Analogy

Imagine you are looking at a circle. From far away, it's curvy. But if you were an ant standing on that circle and you zoomed in 1,000 times, the ground beneath your feet would look perfectly flat. The derivative is the slope of that "flat" line at the exact point where you are standing.

Key Terms to Remember:

Tangent: A straight line that just touches a curve at a single point.
Normal: A line that is perpendicular (at 90 degrees) to the tangent.
Rate of Change: How fast \( y \) is changing compared to \( x \).

Quick Review: Differentiation is just a fancy way of finding the steepness of a curve at a specific point.

2. The Golden Rule: Differentiating \( x^n \)

Don't worry, you don't have to do complex drawings to find gradients. There is a simple power rule you can use every time!

If \( y = x^n \), then \( \frac{dy}{dx} = nx^{n-1} \).

Step-by-Step Process:

1. Multiply: Bring the current power (the exponent) down to the front.
2. Subtract: Take 1 away from the power.

Example: Differentiate \( y = x^5 \).
Step 1: Bring the 5 to the front: \( 5x \)
Step 2: Subtract 1 from the power: \( 5x^4 \)
So, \( \frac{dy}{dx} = 5x^4 \).

Handling Constants and Multiple Terms

If there is a number in front of the \( x \), just multiply it by the power. If there are multiple terms, differentiate them one by one.

Example: Differentiate \( f(x) = 3x^2 + 5x - 3 \).
- For \( 3x^2 \): \( 2 \times 3 = 6 \), and power becomes 1. Result: \( 6x \).
- For \( 5x \): (Remember \( x \) is \( x^1 \)). \( 1 \times 5 = 5 \), power becomes 0. Since \( x^0 = 1 \), result: \( 5 \).
- For \( -3 \): The gradient of a constant (a flat line) is 0. Result: \( 0 \).
Final Answer: \( f'(x) = 6x + 5 \).

Common Mistake to Avoid:

Students often forget that the derivative of a plain number (like 7 or -10) is zero. If it doesn't have an \( x \) attached to it, it doesn't change, so its rate of change is 0!

Did you know? Differentiation is often called "finding the derivative from first principles" when we look at the limit of the gradient as the distance between two points shrinks to zero.

3. Preparing Expressions for Differentiation

Sometimes equations look scary because they have fractions or square roots. Before you differentiate, you must rewrite them as powers of \( x \).

The Prerequisite Checklist:

- Surds: Rewrite \( \sqrt{x} \) as \( x^{1/2} \) and \( \sqrt[3]{x} \) as \( x^{1/3} \).
- Fractions: Rewrite \( \frac{1}{x^n} \) as \( x^{-n} \).
- Brackets: Expand brackets first! You cannot differentiate \( (x+2)(x-3) \) directly in P1; multiply it out to \( x^2 - x - 6 \) first.

Example: Differentiate \( y = \frac{x^2 + 5x - 3}{3\sqrt{x}} \).
First, split the fraction and rewrite the square root:
\( y = \frac{x^2}{3x^{1/2}} + \frac{5x}{3x^{1/2}} - \frac{3}{3x^{1/2}} \)
Use laws of indices (subtract powers):
\( y = \frac{1}{3}x^{3/2} + \frac{5}{3}x^{1/2} - x^{-1/2} \)
Now you can apply the power rule!

Key Takeaway: Always rewrite your expression into the form \( ax^n + bx^m... \) before you start differentiating.

4. Tangents and Normals

Since the derivative \( \frac{dy}{dx} \) gives us the gradient (m), we can find the equation of the line touching the curve.

To find the equation of a Tangent:

1. Differentiate the function to get \( \frac{dy}{dx} \).
2. Substitute the \( x \)-value of your point into \( \frac{dy}{dx} \) to find the gradient, \( m \).
3. Use the formula: \( y - y_1 = m(x - x_1) \).

To find the equation of a Normal:

The normal is perpendicular to the tangent. This means its gradient is the negative reciprocal.
If the tangent gradient is \( m \), the normal gradient is \( -\frac{1}{m} \).
Then use \( y - y_1 = -\frac{1}{m}(x - x_1) \).

Memory Aid: Tangent = "Same gradient." Normal = "Flip it and change the sign!"

5. Second Order Derivatives: \( f''(x) \)

Don't let the name scare you! The second derivative just means "differentiate twice." It is written as \( \frac{d^2y}{dx^2} \) or \( f''(x) \).
If \( \frac{dy}{dx} \) is the rate of change of \( y \), then \( \frac{d^2y}{dx^2} \) is the rate at which the gradient itself is changing. In physics, if \( y \) is position, the first derivative is velocity and the second is acceleration!

Quick Review: To find \( \frac{d^2y}{dx^2} \), simply take your answer for \( \frac{dy}{dx} \) and differentiate it again using the same power rule.

6. Stationary Points (Maxima and Minima)

A stationary point occurs when the gradient of the curve is zero (the curve is perfectly flat for a split second). This happens at the top of a hill or the bottom of a valley.

How to find them:

1. Find \( \frac{dy}{dx} \).
2. Set \( \frac{dy}{dx} = 0 \).
3. Solve for \( x \).
4. Substitute \( x \) back into the original equation to find the \( y \)-coordinate.

Is it a Maximum or a Minimum?

You can use the second derivative \( \frac{d^2y}{dx^2} \) to test the nature of the point:
- If \( \frac{d^2y}{dx^2} > 0 \), it is a Minimum (looks like a smile/valley).
- If \( \frac{d^2y}{dx^2} < 0 \), it is a Maximum (looks like a frown/hill).

Encouraging Phrase: It feels counter-intuitive that "positive" means "minimum," but think of it this way: a positive second derivative means the gradient is increasing (turning from negative to positive), which only happens at the bottom of a curve!

7. Increasing and Decreasing Functions

Sometimes a question will ask where a function is "increasing" or "decreasing."
- Increasing: The gradient is positive (\( \frac{dy}{dx} > 0 \)). The graph is going "uphill."
- Decreasing: The gradient is negative (\( \frac{dy}{dx} < 0 \)). The graph is going "downhill."

Key Takeaway: For these questions, you differentiate, set up an inequality with 0, and solve for \( x \).

Summary Checklist

- Did I rewrite roots and fractions as powers? (e.g., \( x^{1/2} \) or \( x^{-1} \))
- Did I multiply by the power and then subtract 1 from the power?
- If I need a gradient at a point, did I plug the \( x \)-value into my derivative?
- If I'm looking for a stationary point, did I set \( \frac{dy}{dx} = 0 \)?
- For the normal, did I use the perpendicular gradient rule \( m_1m_2 = -1 \)?