Differentiation from first principles
In a nutshell
Differentiation from first principles is a method of calculating the gradient function f′(x) from an original function f(x). The gradient function f′(x) can be found by considering the gradient formula, together with two pairs of coordinates which are a small distance, h, away from each other.
The gradient formula
When two points are joined up to make a chord, the gradient of the chord can be calculated by using the coordinates of the two points A(x1,y1) and B(x2,y2).
The gradient is given by:
m=ΔxΔy=x2−x1y2−y1
Consider the function f(x), where a point A has co-ordinates (x,f(x)) and point B has coordinates a small distance, h, away, giving B((x+h),f(x+h)).
The gradient is given by:
m=hf(x+h)−f(x)
To find the gradient at A, consider bringing the point B closer and closer to A. As B approaches A, the gradient of the chord will get closer to the gradient of the curve at A. It is possible to bring B closer to A by making h smaller until it approaches 0. The gradient of the curve at A is defined as the limiting value of the gradient of AB as h approaches 0, and is written as:
f′(x)=h→0lim hf(x+h)−f(x)
Differentiating from first principles
Using this rule is called differentiating from first principles. It can be used to find the derivative or gradient function in algebraic terms, or it can be applied to find the numerical value of the gradient at a particular point.
PROCEDURE
1.
| Use the function f(x) to find the value of f(x+h). |
2.
| Substitute f(x) and f(x+h) into f′(x)=h→0lim hf(x+h)−f(x). |
3.
| Simplify the numerator and factorise by taking out h. |
4.
| Cancel h and find f′(x) in terms of x and h. |
5.
| Find the limiting value of f′(x) as h→0. |
Example 1
Use differentiation from first principles to find the derivative of f(x)=x3.
For the function f(x)=x3, find f(x+h).
f(x+h)=(x+h)3
Multiply out and simplify.
f(x+h)=x3+3x2h+3xh2+h3
Note: (x+h)3 can be evaluated by expanding triple brackets or using the binomial expansion.
Substitute f(x) and f(x+h) into f′(x)=h→0limhf(x+h)−f(x) and simplify.
f′(x)f′(x)f′(x)f′(x)f′(x)=h→0lim hf(x+h)−f(x)=h→0lim hx3+3x2h+3xh2+h3−x3=h→0lim h3x2h+3xh2+h3=h→0lim hh(3x2+3xh+h2)=h→0lim3x2+3xh+h2
Find the limiting value of f′(x) as h→0. As h→0, 3xh→0 and h2→0.
f′(x)=3x2
Therefore, the derivative of f(x)=x3 is f′(x)=3x2.
Example 2
The point A(2,9) lies on the curve y=x2+5. Use differentiation from first principles to find the gradient at A.
Find f(2).
f(x)f(2)=x2+5=22+5=9
Find f(2+h).
f(x+h)f(2+h)=(x+h)2+5=(2+h)2+5=4+4h+h2+5=9+4h+h2
Substitute f(2) and f(2+h) into f′(x)=h→0limhf(x+h)−f(x).
f′(2)f′(2)f′(2)f′(2)f′(2)=h→0lim hf(2+h)−f(2)=h→0lim h9+4h+h2−9=h→0lim h4h+h2=h→0lim hh(4+h)=h→0lim (4+h)
Find the limiting value of f′(2). As h→0, 4+h→4.
f′(2)=4
Therefore, the gradient of the curve at y=x2+5 at A(2,9) is 4.