Grade 12
Course ContentDifferentiation
Habari Mwanafunzi! Unlocking the Secrets of Change: Your Guide to Differentiation
Welcome to one of the most powerful topics in all of mathematics: Calculus! Today, we're diving into its first major pillar – Differentiation. Forget just finding 'x'. We are about to learn how to describe the world in motion. How fast is a matatu accelerating from 0 to 60? How quickly is the price of unga changing? How can a farmer get the biggest shamba with the least amount of fencing? Differentiation gives us the tools to answer these questions precisely. So, take a deep breath, and let's begin this exciting journey!
What is Differentiation, Really? It's All About the Gradient!
You remember from your earlier maths classes how to find the gradient (or slope) of a straight line, right? It's the "rise over run".
m = (Change in y) / (Change in x) = (y₂ - y₁) / (x₂ - x₁)
But what about a curve? The steepness is always changing! At the bottom of a valley, it's flat. On the side of a hill, it's steep. Differentiation is the magic that lets us find the exact gradient of a curve at any single point. This "gradient at a point" is called the derivative.
Imagine a winding road up the Ngong Hills. The gradient is the steepness of the road right where your car is at that very moment. We find this by drawing a straight line that just "touches" the curve at that point. This line is called a tangent.
/
/ <-- The Tangent Line (Its gradient is what we want)
* . . . . . . . A curve (like a hill)
/ .
/ .
/ .
.
Image Suggestion: A dynamic digital painting of the winding road going up the Ngong Hills in Kenya. At one of the sharpest bends, a sleek, modern car is paused. A glowing, semi-transparent straight line (the tangent) is shown touching the road just at the car's front wheels, illustrating the instantaneous gradient. The background shows the beautiful Rift Valley landscape at sunset.
Finding the Derivative from First Principles (The Foundation)
Before we learn the quick shortcuts, we must understand why it works. This is called differentiating from "First Principles." We imagine two points on the curve that are incredibly close to each other. Let's call them P and Q.
- Point P has coordinates `(x, f(x))`.
- Point Q is a tiny distance, `h`, away on the x-axis. So its coordinates are `(x + h, f(x + h))`.
The gradient of the line connecting P and Q (this line is called a chord) is:
Gradient of PQ = [f(x + h) - f(x)] / [(x + h) - x]
= [f(x + h) - f(x)] / h
Now, for the magic! To find the gradient at the single point P, we slide point Q closer and closer to P until the distance `h` becomes almost zero. In calculus, we call this "finding the limit as h approaches 0".
The derivative, written as `f'(x)` or `dy/dx`, is defined as:
f'(x) = lim [ (f(x + h) - f(x)) / h ]
h→0
Let's try it with a simple function: `f(x) = x²`
1. Start with the formula:
f'(x) = lim [ ((x + h)² - x²) / h ]
h→0
2. Expand (x + h)²:
f'(x) = lim [ (x² + 2xh + h² - x²) / h ]
h→0
3. Simplify by cancelling x²:
f'(x) = lim [ (2xh + h²) / h ]
h→0
4. Factor out h from the top:
f'(x) = lim [ h(2x + h) / h ]
h→0
5. Cancel h from top and bottom:
f'(x) = lim [ 2x + h ]
h→0
6. Now, let h become 0:
f'(x) = 2x + 0
f'(x) = 2x
So, the derivative of `x²` is `2x`. This means for the curve `y = x²`, you can find the gradient at any point by just plugging the x-value into `2x`. At x=3, the gradient is 2(3) = 6. Easy, right?
The Shortcuts! Rules of Differentiation
While First Principles is the foundation, it's slow. Mathematicians developed faster rules for us to use. Cheza na namba! (Play with the numbers!)
1. The Power Rule
This is your best friend in differentiation. For any function of the form `y = axⁿ`:
If y = axⁿ, then dy/dx = anxⁿ⁻¹
In simple English: Bring the power down to multiply, then reduce the power by one.
- If `y = x⁴`, `dy/dx = 4x³`
- If `y = 5x³`, `dy/dx = 5 * 3x² = 15x²`
- If `y = 7x` (which is `7x¹`), `dy/dx = 7 * 1x⁰ = 7` (since `x⁰=1`)
- If `y = 10` (a constant, which is `10x⁰`), `dy/dx = 10 * 0x⁻¹ = 0`. The gradient of a flat horizontal line is always zero!
2. The Sum/Difference Rule
This rule is simple: just differentiate each term separately.
If `y = 3x² + 4x - 5`, then:
dy/dx = d/dx(3x²) + d/dx(4x) - d/dx(5)
= 6x + 4 - 0
= 6x + 4
3. The Product Rule (For multiplying functions)
When you have two functions of x multiplied together, like `y = u * v`:
dy/dx = u(dv/dx) + v(du/dx)
Example: Differentiate `y = x²(3x + 1)`. Let `u = x²` and `v = 3x + 1`.
- `du/dx = 2x`
- `dv/dx = 3`
dy/dx = (x²)(3) + (3x + 1)(2x)
= 3x² + 6x² + 2x
= 9x² + 2x
4. The Quotient Rule (For dividing functions)
When you have one function divided by another, `y = u / v`:
dy/dx = [v(du/dx) - u(dv/dx)] / v²
A good way to remember this is: "Low d-High minus High d-Low, over the square of what's below!"
Real-World Applications: Where Differentiation Shines!
This isn't just theory. We use it everywhere!
1. Velocity and Acceleration
If an object's displacement (distance from start) `s` is a function of time `t`, then:
- Velocity (v) is the rate of change of displacement: `v = ds/dt`
- Acceleration (a) is the rate of change of velocity: `a = dv/dt`
A new PSV on the Thika Superhighway has its displacement from the starting toll station modelled by the equation `s(t) = t³ + 2t²`, where `s` is in metres and `t` is in seconds. What is its velocity and acceleration after 4 seconds?
Velocity: `v(t) = ds/dt = 3t² + 4t`. At t=4s, `v(4) = 3(4)² + 4(4) = 3(16) + 16 = 48 + 16 = 64 m/s`.
Acceleration: `a(t) = dv/dt = 6t + 4`. At t=4s, `a(4) = 6(4) + 4 = 24 + 4 = 28 m/s²`.
2. Optimization (Finding the Best Value)
At the very top of a hill (a maximum) or the very bottom of a valley (a minimum), the ground is flat for a moment. This means the gradient is zero. We can use this amazing fact to find the best possible outcome in a situation.
Image Suggestion: A vibrant, colorful illustration of a Kenyan farmer, a woman in a kitenge headwrap, thoughtfully planning her shamba. She has a roll of wire fence. The image shows the layout of a rectangular kuku (chicken) pen against a long stone wall. One side of the rectangle is the wall, so she only needs to fence three sides. The illustration should have mathematical annotations, like 'x' for the width and 'y' for the length, floating near the fences.
A farmer has 100 metres of fencing to make a rectangular kuku pen against a long, straight stone wall. What is the maximum possible area she can enclose?
x +---+ | | y | | +---+ WALLWWWWWWWWWWWWWWWW
- Perimeter to fence: `2x + y = 100`. So, `y = 100 - 2x`.
- Area `A = x * y`. Substitute `y`: `A = x(100 - 2x) = 100x - 2x²`.
- To find the maximum area, we need to find where the rate of change of Area is zero. We differentiate `A` with respect to `x`: `dA/dx = 100 - 4x`.
- Set the derivative to zero to find the turning point: `100 - 4x = 0`.
- Solving for x: `4x = 100`, so `x = 25` metres.
- Find y: `y = 100 - 2(25) = 100 - 50 = 50` metres.
- Maximum Area = `25m * 50m = 1250 m²`.
By using calculus, the farmer can be certain she is building the biggest possible pen for her kuku with the material she has!
Your Turn!
You have just learned one of the most fundamental tools in science, engineering, and economics. It might seem like a lot, but practice is key. Start with the Power Rule, get comfortable with it, and then move on to the others. Remember, every complex problem is just a series of simple steps. You've got this!
Next up, we will look at the reverse of differentiation: Integration! But for now, master the art of finding the rate of change.
Pro Tip
Take your own short notes while going through the topics.