The derivative from first principles
First principles forms a difference quotient for a small change h and then takes its limit. Expand and subtract before cancelling h, because substituting zero for h in the original quotient is undefined
- Start with the limit definition The derivative is the limit of the difference quotient as h approaches zero \(\displaystyle f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}\)
- Expand the shifted function Replace x by x + h and expand all powers before subtracting f(x) \(\displaystyle \left(x+h\right)^{2}=x^{2}+2xh+h^{2}\)
- Subtract and cancel h For nonzero h, subtract the original function, factor out h and cancel the common factor before taking the limit \(\displaystyle \frac{h\left(2x+h\right)}{h}=2x+h,\quad h\ne0\)
- Take the limit last After cancellation, let h approach zero and then substitute any requested x-value \(\displaystyle \lim_{h\to0}\left(2x+h\right)=2x\)
Worked example
Use first principles to find g'(1) for the function below
- \(\displaystyle g(x+h)=\left(x+h\right)^{3}-2\left(x+h\right)+1=x^{3}+3x^{2}h+3xh^{2}+h^{3}-2x-2h+1\)Replace x by x + h and expand the cubic
- \(\displaystyle g(x+h)-g(x)=3x^{2}h+3xh^{2}+h^{3}-2h=h\left(3x^{2}+3xh+h^{2}-2\right)\)Subtract g(x), cancel matching terms and factor out h.
- \(\displaystyle \frac{g(x+h)-g(x)}{h}=3x^{2}+3xh+h^{2}-2\quad\Rightarrow\quad g'(x)=3x^{2}-2\)Cancel h and let h approach zero in the simplified quotient
- \(\displaystyle g'(1)=3\times1^{2}-2=1\)Substitute the target value of one into the derivative rule
Common mistakes
Difficulty levels
Questions about this topic
Why can h not be set to zero at the start?+
The difference quotient has h in the denominator, so substituting zero for h before simplifying gives division by zero
Why is the original function subtracted from the shifted function?+
The difference quotient measures the change in the output divided by the change in the input. Subtract the original output from the shifted output
Why does the first-principles result match the power rule?+
The limit definition proves the local rate of change. For polynomials, expanding and simplifying the quotient produces the same term-by-term power-rule derivative
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, Mathematical Methods, chapter 5: Differentiation