Rules for differentiation
Theory
Differentiating a polynomial uses three rules: the power rule \(\dfrac{d}{dx}x^{n}=n\,x^{n-1}\), the constant-multiple rule, and the sum/difference rule — so a polynomial is differentiated one term at a time. The derivative of a constant is \(0\), and evaluating \(f'(a)\) gives the gradient of the curve at that point.
The derivative \(f'(x)\) (also written \(\dfrac{dy}{dx}\)) gives the gradient of the curve \(y=f(x)\) at each value of \(x\). For a positive-integer power of \(x\), the power rule applies: bring the index down as a multiplier and reduce it by one, \(\dfrac{d}{dx}x^{n}=n\,x^{n-1}\). For example \(\dfrac{d}{dx}x^{5}=5x^{4}\), and since \(x=x^{1}\), \(\dfrac{d}{dx}x=1\).
A constant multiple is carried straight through, \(\dfrac{d}{dx}\big(a\,f(x)\big)=a\,f'(x)\), and sums and differences are differentiated term by term, \(\dfrac{d}{dx}\big(f(x)\pm g(x)\big)=f'(x)\pm g'(x)\). Together these let you differentiate any polynomial one term at a time: \(\dfrac{d}{dx}(a x^{n})=a n\,x^{n-1}\).
The derivative of a constant is \(0\), because a constant function is a horizontal line with zero gradient — so the constant term of a polynomial disappears when you differentiate. Substituting \(x=a\) into \(f'(x)\) gives the number \(f'(a)\), the gradient of the tangent to \(y=f(x)\) at \(x=a\); the tangent line then follows from \(y-y_{1}=m(x-x_{1})\).
The power rule for a positive-integer index — multiply by the index, then reduce it by one:
The constant-multiple rule and the sum/difference rule — differentiate a polynomial term by term:
The derivative of a constant is zero, and evaluating the derivative at \(x=a\) gives the gradient there:
How to differentiate a polynomial
- Write each term as a power of \(x\). Put every term in the form \(a\,x^{n}\); read a bare \(x\) as \(x^{1}\) and a lone number as the constant term.
- Apply the power rule term by term. For each \(a\,x^{n}\), multiply by the index and reduce it by one to get \(a n\,x^{n-1}\).
- Handle the constant term. A constant differentiates to \(0\), so it simply drops out; a linear term \(ax\) becomes \(a\).
- Combine. Add the term derivatives to write \(f'(x)\), the derivative of the whole polynomial.
- Gradient or tangent. To find a gradient, substitute the \(x\)-value into \(f'(x)\); for a tangent line use \(y-y_{1}=m(x-x_{1})\) with \(m=f'(a)\) and the point.
| \(\dfrac{dy}{dx}\) | \(=\) | \(6\,x^{6-1}\) |
| \(=\) | \(6x^{5}\) |
| \(\dfrac{dy}{dx}\) | \(=\) | \(0\) |
| \(\dfrac{d}{dx}(4x^{3})\) | \(=\) | \(12x^{2}\) |
| \(\dfrac{d}{dx}(2x^{2})\) | \(=\) | \(4x\) |
| \(\dfrac{d}{dx}(-5x)\) | \(=\) | \(-5\) |
| \(\dfrac{d}{dx}(8)\) | \(=\) | \(0\) |
| \(\dfrac{dy}{dx}\) | \(=\) | \(12x^{2}+4x-5\) |
| \(f'(x)\) | \(=\) | \(3x^{2}-4\) |
| \(f'(2)\) | \(=\) | \(3(2)^{2}-4\) |
| \(=\) | \(12-4=8\) |
| \(\dfrac{dy}{dx}\) | \(=\) | \(2x-4\) |
| \(m=\left.\dfrac{dy}{dx}\right|_{x=3}\) | \(=\) | \(2(3)-4=2\) |
| \(y\) | \(=\) | \((3)^{2}-4(3)+3=0\) |
| \(y-0\) | \(=\) | \(2(x-3)\) |
| \(y\) | \(=\) | \(2x-6\) |
Common pitfalls
Frequently asked questions
What is the power rule for differentiation?
The power rule: \(\dfrac{d}{dx}x^{n}=n\,x^{n-1}\). Bring the index down as a multiplier and reduce it by one, e.g. \(\dfrac{d}{dx}x^{5}=5x^{4}\).
How do you differentiate a polynomial?
Differentiate one term at a time — apply the power rule to each term, carry constant multiples through, and the constant term becomes \(0\). So \(\dfrac{d}{dx}(4x^{3}+2x^{2}-5x+8)=12x^{2}+4x-5\).
What is the derivative of a constant?
Zero. A constant is a horizontal line with gradient \(0\), so \(\dfrac{d}{dx}(c)=0\) and the constant term disappears when you differentiate.
What is the derivative of x, and of a term like 5x?
Since \(x=x^{1}\), \(\dfrac{d}{dx}x=1\); a constant multiple is carried through, so \(\dfrac{d}{dx}(5x)=5\). In general \(\dfrac{d}{dx}(ax)=a\).
How do you find the gradient of a curve at a point?
Differentiate, then substitute the point: \(f'(a)\) is the gradient at \(x=a\). For \(f(x)=x^{2}-4x+3\), \(f'(x)=2x-4\), so \(f'(3)=2\).
How do you find the equation of a tangent to a polynomial?
Find the gradient \(m=f'(a)\), then use \(y-y_{1}=m(x-x_{1})\). For \(y=x^{2}-4x+3\) at \((3,0)\), \(m=2\) and the tangent is \(y=2x-6\).