Derivative of Polynomial Functions

There are a few rules to remember to find the derivative of a function. Before we hop into those rules, we will start by finding the derivative of some basic functions.

Suppose we have the function

f ( x ) = c

where c is a constant, real number. Based on the definition of a derivative,

f ( x ) = lim h 0 f ( x + h ) f ( x ) h = lim h 0 c c h = 0

This shows us that the derivative of any constant is 0.

Now let’s consider three functions:

f ( x ) = x 2

f ( x ) = x

f ( x ) = 1 x

Let’s use the definition of a derivative to find the derivative of each function.

Here’s the first function:

f ( x ) = lim h 0 f ( x + h ) f ( x ) h = lim h 0 ( x + h ) 2 x 2 h = lim h 0 x 2 + 2 x h + h 2 x 2 h = lim h 0 x 2 + 2 x h + h 2 x 2 h h h = lim h 0 ( 2 x + h ) = 2 x

From this example, we can see that the derivative of a second-degree polynomial is found by decreasing the power of x by 1 and then multiplying x by the original exponent.

How about roots? Let’s look at our second example.

f ( x ) = lim h 0 f ( x + h ) f ( x ) h = lim h 0 x + h x h = lim h 0 ( x + h x ) ( x + h + x ) h ( x + h + x ) = lim h 0 x + h x h ( x + h + x ) = lim h 0 h h ( x + h + x ) = lim h 0 1 ( x + h + x ) = 1 ( x + x ) = 1 2 x = 1 2 x 1 2

If we remember that f ( x ) = x = x 1 2 , we can see a pattern similar to the derivative of f ( x ) = x 2 .

Finally, let’s look at a rational function. Here’s our third example:

f ( x ) = lim h 0 f ( x + h ) f ( x ) h = lim h 0 1 x + h 1 x h = lim h 0 x ( x + h ) x x + h ( x + h ) x h = lim h 0 h ( x + h ) x h = lim h 0 1 ( x + h ) x = 1 x 2 = x 2

One thing to remember for the second function is that f ( x ) = 1 x = x 1 . Can you see the pattern? We will now introduce the first rule of the derivative, which is the power rule.

The Power Rule

If a is any real number, then the derivative of the function f ( x ) = x a is

f ( x ) = a x a 1

If a = 1 , or if f ( x ) = x , then the derivative of it is

f ( x ) = 1 x 1 1 = 1

Let’s look at some examples. What is the derivative of f ( x ) = x 10 ? As we follow the power rule,

f ( x ) = 10 x 9

How about the derivatives of f ( x ) = x 3 4 and g ( x ) = 1 x 4  ? Remember that f ( x ) = x 3 4 = x 3 4 and g ( x ) = 1 x 4 = x 4 . As we follow the power rule,

f ( x ) = 3 4 x 3 4 1 = 3 4 x 1 4


g ( x ) = 4 x 4 1 = 4 x 5

We are going to introduce two more rules: the derivative of a function multiplied by a constant, and the derivative of a sum or difference of two functions.

Derivative of a Function Multiplied by a Constant

If a function is multiplied by a constant c , then the derivative of c f ( x ) is

d d x [ c f ( x ) ] = c d d x [ f ( x ) ]

Derivative of the Sum or Difference of Two Functions

If we are taking a derivative of f ( x ) + g ( x ) or f ( x ) g ( x ) with respect to x ,

d d x [ f ( x ) ± g ( x ) ] = d d x [ f ( x ) ] ± d d x [ g ( x ) ]

Practice

Let’s practice finding the derivative of polynomial functions. Can you find the derivatives of the following two functions?

f ( x ) = 3 x 4 2 x 2 + x 1

g ( x ) = 5 x 5

Here is the solution for the first function.

f ( x ) = 3 x 4 2 x 2 + x 1 = 4 3 x 4 1 2 2 x 2 1 + 1 x 1 1 0 = 12 x 3 4 x + 1

For the second function, since

g ( x ) = 5 x 5 = 5 x 5

the derivative with respect to x is

g ( x ) = 5 5 x 5 1 = 25 x 6 = 25 x 6

Derivative of an Exponential Function

Now, let’s look at the derivative of an exponential function. Since this is not meant to be a course for those who are going to study advanced mathematics, we will give you the following definition of the number e :

lim h 0 e h 1 h = 1

Given the above definition, we can find the derivative of a function f ( x ) = e x with respect to x .

f ( x ) = lim h 0 f ( x + h ) f ( x ) h = lim h 0 e x + h e x h = lim h 0 e x e h e x h = lim h 0 e x ( e h 1 ) h = e x lim h 0 e h 1 h = e x

In a later section of this topic (when we learn about the chain rule), we will discuss the derivative of the function f ( x ) = e g ( x ) .

Derivative of a Natural Log

Finally, what is the derivative of f ( x ) = ln x ?

f ( x ) = lim h 0 f ( x + h ) f ( x ) h = lim h 0 ln ( x + h ) ln x h = lim h 0 ln x + h x h ( Recall ln a ln b = ln a b ) = lim h 0 ln ( 1 + h x ) h = lim h 0 1 h ln ( 1 + h x ) = lim h 0 ln ( 1 + h x ) 1 h ( Recall c ln a = ln a c )

Now let n = h x  . So 1 h = 1 n x  , and as h approaches 0, n also approaches 0. Therefore, we have

f ( x ) = lim n 0 ln ( 1 + n ) 1 n 1 x = lim n 0 1 x ln ( 1 + n ) 1 n = 1 x lim n 0 ln ( 1 + n ) 1 n ( Recall lim n 0 ln ( 1 + n ) 1 n = e ) = 1 x ln e = 1 x

Given this result, the derivative of f ( x ) = log b x is

f ( x ) = 1 x ln b

This is because

f ( x ) = log b x = ln x ln b ( from the change of base formula ) = 1 ln b ln x

where 1 ln b   is a constant and the derivative of ln x is 1 x  .

Want to try our built-in assessments?


Use the Request Full Access button to gain access to this assessment.