7.2 Differentiation from first principles — Learn
Prerequisites: expanding brackets such as ; simplifying an algebraic fraction; the limit definition of the derivative from Section 7.1.
By the end of this section you can: use the definition to differentiate a whole-number power of ; carry out the four steps of the method in order; and explain why is not set to zero until the division is complete.
1. The definition, one more time
Section 7.1 introduced the derivative as the limit of a chord gradient:
Differentiating from first principles means working out this limit with algebra, not with a table of numbers. Four steps do the job every time.
- Write down .
- Subtract .
- Divide by .
- Let tend to zero.
The order matters. Step 3 must happen before step 4, because appears in the denominator.
Example 1. Differentiate from first principles.
Write .
Subtract :
Divide by :
The division is safe because while we take the limit. Let :
So the derivative of is . At this gives , which agrees with the estimate in Section 7.1.
Example 2. Differentiate from first principles.
Expand using the binomial expansion:
Subtract :
Divide by :
Let . Every term still containing vanishes:
2. A constant multiple and a sum
The method works just as well when the function has more than one term.
Example 3. Differentiate from first principles.
Subtract :
Divide by :
Let :
Example 4. A constant function has a horizontal graph. Differentiate from first principles.
Here for every , so . Dividing by gives . The limit is , so . A horizontal line has gradient zero.
The same argument gives the derivative of any constant: it is zero.
3. Differentiating sine and cosine from first principles
The same definition gives the derivatives of and . Use the addition formula from Chapter 5:
Then
As tends to zero, tends to and tends to . Therefore
A similar argument starting from gives
The minus sign often goes missing. Section 7.3 uses these results in calculations.
Watch out. Three mistakes are common in this method.
Setting before dividing. If you put into you get , and then is meaningless. Divide by first, cancel it, and only then let tend to zero.
Expanding as . The bracket is a sum, not a product. For example, , and the middle term is essential. Use the binomial expansion or multiply out carefully.
Forgetting a term after dividing. Every term that still contains goes to zero in the limit. In Example 2 the terms and both vanish, leaving only . Re-check: after taking the limit, no should remain in the answer.
You should now be able to
- state the definition of the derivative as a limit;
- write down for a polynomial;
- carry out the four steps of differentiation from first principles;
- differentiate , and simple sums and multiples this way;
- explain why the constant function has derivative zero;
- state the derivatives of and from first principles.