# Derivatives of Polynomials

Polynomials are one of the simplest functions to differentiate. When taking derivatives of polynomials, we primarily make use of the power rule.

## Power Rule

\[\] For real numbers \(n\), and \(a\), the derivative of \(f(x)= a \cdot x^n \) is

\[ \frac{d}{dx} f(x) = na \cdot x ^{n-1}. \ _\square\]

Note that when \(a = 1\), the derivative of \(ax^n\) is just \(nx^{n-1}\).

#### Contents

## Derivatives of Linear Functions

Given a linear function \(f(x) = ax+b\), we use the property that differentiation is linear to show

\[ \frac{d}{dx} f(x) = \frac{d}{dx} ( ax + b ) = \frac{d}{dx} ( ax ) + \frac{d}{dx} (b) = a. \]

Thus, the derivative of a linear function is a constant.

## If \( f(x) = 3x + 2 \), what is \( f'(x) \)?

We have \( f'(x) = 3, \) the slope of the line. \(_\square\)

## If \( f(x) \) is a linear function such that \( f(1) = 2 \) and \( f'(3) = 4 \), what is \(f(x) \)?

Let \( f(x) \) be the linear function \(f(x)= ax + b \). Since \( f'(3) = 4 \), we have \( a = 4 \). Since \( f(1) = 2 \), we have \( 2 = 4 \times 1 + b \), implying \( b = - 2 \).

Thus, \( f(x) = 4x - 2 \). \( _\square \)

## If \(f(x)\) is a linear function with \(f(2)=10\) and \(f'(1)=4,\) what is the value of

\[\] \[f(0)+f'(0)?\]

Let \(f(x)\) be the linear function \(f(x) = ax + b\). Since \(a=f'(1)=4\), we have \(f(x) = 4x + b\). Then \(10 = f(2) = 4(2) + b\), implying \(b=2\). Therefore \(f(0) = 4(0) + 2 = 2\), \(f'(0) = a = 4\), and

\[ f(0) + f'(0) = 2 + 4 = 6. \ _\square\]

## Derivatives of Polynomials - Basic

## If \( f(x) = 3x^2 + 4x + 5 \), what is \( f'(1) \)?

We have \( f'(x) = 2 \times 3 x + 1 \times 4 = 6x + 4 \), which implies \( f'(1) = 10 \). \( _\square \)

## If \(f(x) = -3x^4 + 7x^3 - 6x^2 - \pi x + 5\), what is \(\frac{d}{dx} f(x)\)?

We have \[\begin{align} \frac{d}{dx} ( -3x^4 + 7x^3 - 6x^2 - \pi x + 5 ) &= (-3)(4) x^{4-1} + (7)(3) x^{3-1} - (6)(2) x^{2-1} - (\pi) (1) x^{1-1} + 0\\ &= -12x^3 + 21x^2 - 12x -\pi. \ _\square \end{align}\]

## If \(f(x) = (3x-2) ^4\), what is \( \frac{d}{dx} f(x) \)?

Note that \(f(x)\) is a polynomial but is not in the form given in the summary above. We will later see methods to differentiate this function directly, but to use the tools we have so far, we first expand the polynomial by the binomial theorem. This gives

\[\begin{align} f(x) &= (3x-2)^4 \\ &= (3x)^4 + 4(3x)^3(-2) + \frac{4 \cdot 3}{2} (3x)^2 (-2)^2 + \frac{4\cdot 3 \cdot 2}{1 \cdot 2 \cdot 3} (3x)(-2)^3 + (-2)^4\\ &= 81 x^4 - 216 x^3 + 216 x^2 - 96 x + 16, \end{align}\]

which implies

\[\begin{align} \frac{d}{dx} f(x) &= (81)(4)x^3 - (216)(3)x^2 + (216)(2) x - 96 \\ & = 324 x^3 - 648x^2 + 432 x - 96. \ _\square \end{align}\]

## If \(f(x) = x^3\), what is \(\displaystyle{\lim_ { h \rightarrow 0 } \frac{ f(2+h) - f(2) } { h }}\)?

Using the above formula, we have

\[\begin{align} \lim_ { h \rightarrow 0 } \frac{ f(2+h) - f(2) } { h } &= \lim_ { h \rightarrow 0 } \frac{ (2+h)^3 - 2^3 } { h }\\ &= 3 \times 2^{3-1}\\ &= 12. \ _\square \end{align}\]

## If \(\displaystyle{\lim_ { h \rightarrow 0 } \frac{ f(x+h) - f(x) } { h } = 4x^2}\), what is \(f'(2)\)?

Using the above formula, we know \(\displaystyle{\lim_ { h \rightarrow 0 } \frac{ f(x+h) - f(x) } { h }} = \frac{d}{dx}f(x) = f'(x) = 4x^2\). Then

\[\begin{align} f'(2) &=\lim_ { h \rightarrow 0 } \frac{ f(2+h) - f(2) } { h } \\ &= 4\times 2^2 \\ &= 16. \ _\square \end{align}\]

## If \(f(x) = x^2 + 4x\), what is \(\displaystyle{\lim_ { h \rightarrow 3 } \frac{ f(h) - f(3) } { h -3} }\)?

Note that \(\displaystyle{\lim_ { h \rightarrow 3 } \frac{ f(h) - f(3) } { h -3} }\) is not in the form given in the formula above. Thus, we use the substitution method in order to get a general formula. Substituting \(k\) for \(h - 3,\) we have

\[ \lim_ { h \rightarrow 3 } \frac{ f(h) - f(3) } { h -3} = \lim_ { k \rightarrow 0 } \frac{ f(3+k) - f(3) } {k}.\]

Then since \(\displaystyle{\lim_ { h \rightarrow 0 } \frac{ f(x+h) - f(x) } { h }} = \frac{d}{dx}f(x) = f'(x) = 2x + 4\), we have

\[\lim_ { k \rightarrow 0 } \frac{ f(3+k) - f(3) } {k}=f'(3) = 2 \times 3 + 4 = 10. \ _\square\]

## Derivatives of Polynomials - Intermediate

The derivative of the function \( x^n \), where \(n\) is a real number, is \( n x ^{n-1} \).

For a positive integer \(n\), we can prove this by first principles, using the binomial theorem:

\[\begin{align} \lim_ { h \rightarrow 0 } \frac{ ( x+h)^n - x^n } { h } & = \lim_{ h \rightarrow 0 } \frac{ [ x^n + n x^{n-1} h + n(n-1) x^{n-2} h^2 + \ldots + h^n ] - x^n } { h} \\ & = \lim_{h \rightarrow 0 } n x^{n-1} + n(n-1) x^{n-2} h + \ldots + h^{n-1}\\ & = n x^{n-1}. \end{align} \]

By linearity of differentiation we conclude that if \( f(x) = a_n x^n + a_{n-1} x^{n-1} + \ldots + a_2 x^2 + a_1 x + a_ 0 \), then

\[\frac{ d}{dx} f(x) = n a_n x^{n-1} + (n-1) a_{n-1} x^{n-1} + \ldots + 2 a_2 x + 1 a_1 x^0. \]

## If \( f(x) = (x^2 - 1 ) ( x^2 - 2x + 3) \), what is \( f'(1) \)?

Multiplying out, we get \( f(x) = x^4 - 2x^3 + 2x^2 + 2x - 3 \). Hence \( f'(x) = 4x^3 - 6x^2 + 4x + 2 \). Thus

\[ f'(1) = 4 - 6 + 4 + 2 = 4. \ _\square \]

Note: We can also use the product rule to differentiate this function, to conclude that\[ f'(x) = (x^2 - 1 ) ( 2x - 2 ) + ( 2x) ( x^2 - 2x + 3 ). \]

**Cite as:**Derivatives of Polynomials.

*Brilliant.org*. Retrieved from https://brilliant.org/wiki/derivatives-of-polynomials/