Topics in this sectionDifferentiation2 topics
- Introduction to Derivatives
- Rules of Differentiation
Imagine you are on a motorcycle ride from Juba towards the Nile. At the start of a straight road section, your odometer reads 0 km, and after 1 hour it reads 40 km. Your average speed over that hour is 40 km/h. But what if you wanted to know your speed at exactly the moment you passed a particular boma (village) — not your average over a whole hour, but the exact speed at that single point? This is the same problem mathematicians face when they want the gradient of a curve at a single point.
In this study note, you will learn how to move from the average rate of change (the gradient of a straight line) to the instantaneous rate of change (the gradient of a curve). This leads to one of the most important ideas in mathematics: the derivative.
Consider a curved road described by the function y=x2+1. At a particular point P on this curve, we want to know how steep the road is. To estimate this, we can draw a straight line from point P to another nearby point Q on the curve. This straight line is called a secant line.
The gradient (slope) of a secant line is calculated the same way as any straight line:
msecant=xQ−xPyQ−yP
As point Q gets closer and closer to point P, the secant line begins to look more and more like the true slope of the curve at P. When Q is infinitely close to P, the secant line becomes the tangent line — the line that just "touches" the curve at that point without crossing it.
Finding the Gradient Using Limits
Let us find the gradient of the curve y=x2+1 at the point P where x=2.
- Let the x-coordinate of point Q be 2+h, where h is a small number.
- The y-coordinate of Q is (2+h)2+1=4+4h+h2+1=5+4h+h2.
- The y-coordinate of P is 22+1=5.
Now the gradient of the secant is:
msecant=(2+h)−2(5+4h+h2)−5=h4h+h2=4+h
As h gets smaller and smaller (closer to zero), the value of 4+h gets closer to 4. Using limits, we write:
limh→0(4+h)=4
So the gradient of the tangent (the instantaneous rate of change) at x=2 is 4.
The process of finding the gradient of a tangent to a curve is called differentiation, and the result is called the derivative of the function.
There are several ways to write the derivative:
- f′(x) — read as "f prime of x"
- dxdy — read as "dy over dx"
- y′ — read as "y prime"
All three notations mean the same thing: the gradient function that tells you the instantaneous rate of change at any point x.
If you differentiate many different power functions, you will notice a pattern:
| Function y | Derivative dxdy |
|---|---|
| y=x2 | 2x |
| y=x3 | 3x2 |
| y=x4 | 4x3 |
| y=x | 1 |
| y=x0 | 0 (since x0=1) |
The pattern is clear: for y=xn, the derivative is nxn−1.
This is called the power rule. It works for any real number n:
dxd(xn)=nxn−1
Worked Examples Using the Power Rule
Example 1: Differentiate y=x6
Using the power rule with n=6:
dxdy=6x6−1=6x5
Example 2: Differentiate y=3x2
Here we have a coefficient (the number 3). The rule is: dxd(axn)=anxn−1
dxdy=3×2x2−1=6x
Example 3: Differentiate y=x−2
Using the power rule with n=−2:
dxdy=−2x−2−1=−2x−3=−x32
Example 4: Differentiate y=x
Remember that x=x1/2. Using the power rule:
dxdy=21x1/2−1=21x−1/2=2x1
Example 5: Differentiate y=x21
Rewrite as y=x−2:
dxdy=−2x−3=−x32
The Constant Rule
The derivative of any constant (a number on its own) is zero.
If y=5, then dxdy=0.
This makes sense: a horizontal line has no steepness.
The Sum and Difference Rule
The derivative of a sum (or difference) is the sum (or difference) of the derivatives.
If y=x3+x2, then:
dxdy=dxd(x3)+dxd(x2)=3x2+2x
Worked Example: Combining the Rules
Differentiate f(x)=3x2−7x
Step 1: Differentiate each term separately.
- dxd(3x2)=3×2x=6x
- dxd(−7x)=−7×1x0=−7
Step 2: Add the results.
f′(x)=6x−7
Once we can find the derivative, we can find the equation of the tangent line at any point on a curve. Here are the steps:
- Find the derivative of the function.
- Substitute the x-coordinate of the given point into the derivative to get the gradient of the tangent.
- Use the straight-line equation y−y1=m(x−x1), where (x1,y1) is the point and m is the gradient.
- Simplify to make y the subject.
Worked Example: Tangent to a Curve
Find the equation of the tangent to f(x)=x3−3x2+x−1 at the point where x=3.
Step 1: Find the function value at x=3:
f(3)=33−3(3)2+3−1=27−27+3−1=2
So the point is (3,2).
Step 2: Differentiate:
f′(x)=3x2−6x+1
Step 3: Find the gradient at x=3:
f′(3)=3(3)2−6(3)+1=27−18+1=10
So the tangent has gradient m=10 and passes through (3,2).
Step 4: Use y−y1=m(x−x1):
y−2=10(x−3)
y−2=10x−30
y=10x−28
The equation of the tangent is y=10x−28.
The normal to a curve at a point is the line that is perpendicular (at right angles) to the tangent at that point. If the gradient of the tangent is mtangent, then the gradient of the normal is:
mnormal=−mtangent1
This is because perpendicular lines have gradients that multiply to −1.
Worked Example: Tangent and Normal
Find the equations of the tangent and normal to y=x2+1 at x=1.
Step 1: Find the point.
When x=1, y=12+1=2. So the point is (1,2).
Step 2: Differentiate: dxdy=2x.
Step 3: Find the gradient of the tangent at x=1:
mtangent=2(1)=2
Step 4: Find the gradient of the normal:
mnormal=−21
Step 5: Write both equations.
Tangent: y−2=2(x−1), which simplifies to y=2x.
Normal: y−2=−21(x−1), which simplifies to y=−21x+25.
In South Sudan, understanding derivatives has practical uses in everyday life. For example, if a water tanker in Wau is filling a circular reservoir, the rate at which the water level rises changes as the reservoir fills — this is a rate of change that can be analysed using derivatives. Similarly, a mechanic in Malakal adjusting an engine knows that small changes in fuel input cause changing effects on engine performance; this non-constant relationship is exactly what differentiation helps describe. Engineers working on the new roads around Juba use derivative calculations to determine the correct banking angles on curves, ensuring vehicles can travel safely at different speeds.
Question
What is the derivative of y=x6?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet