Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

2.1: Derivatives of Polynomial Functions

( \newcommand{\kernel}{\mathrm{null}\,}\)

Learning Objectives
  • State the constant, constant multiple, and Power Rules.
  • Apply the Sum and Difference Rules to combine derivatives.
  • Extend the Power Rule to functions with negative and rational exponents.
  • Combine the differentiation rules to find the derivative of a polynomial or rational function.
  • Use derivatives of polynomials for applications in the sciences, engineering, and business.
  • Combine previous knowledge of tangent lines with derivatives of polynomials.

CRC-Logo-Vertical-RGB.png
Hawk A.I. Section-Specific Tutor
Please note that, to access the Hawk A.I. Tutor, you will need a (free) OpenAI account.

Finding derivatives of functions by using the definition of the derivative can be a lengthy and, for certain functions, a rather challenging process. For example, previously we found thatddx(x)=12xby using a process that involved multiplying an expression by a conjugate before evaluating a limit.

The process that we could use to evaluate ddx(3x) using the definition, while similar, is more complicated.

In this section, we develop rules for finding derivatives that allow us to bypass this process. We begin with the basics.

The Basic Rules

The functions f(x)=c and g(x)=xn where n is a positive integer are the building blocks from which all polynomials and rational functions are constructed. To find derivatives of polynomials and rational functions efficiently without resorting to the limit definition of the derivative, we must first develop formulas for differentiating these basic functions.

The Constant Rule

We first apply the limit definition of the derivative to find the derivative of the constant function, f(x)=c. For this function, both f(x)=c and f(x+h)=c, so we obtain the following result:f(x)=limh0f(x+h)f(x)h=limh0cch=limh00h=limh00(Before evaluating the limit, perform any simple arithmetic. Zero over something nonzero is zero.)=0.The rule for differentiating constant functions is called the Constant Rule. It states that the derivative of a constant function is zero; that is, since a constant function is a horizontal line, the slope, or the rate of change, of a constant function is 0. We restate this rule in the following theorem.

Theorem: The Constant Rule

Let c be a constant. If f(x)=c, then f(x)=0.

Alternatively, we may express this rule asddx(c)=0.

Example 2.1.1: Applying the Constant Rule

Find the derivative of f(x)=8.

Solution

This is just a one-step application of the rule: f(x)=0.

Checkpoint 2.1.1

Find the derivative of g(x)=3.

Answer

0

The Power Rule

During our exploration of the limit definition of the derivative, we showed thatddx(x2)=2x and ddx(x1/2)=12x1/2.At this point, you might see a pattern beginning to develop for derivatives of the form ddx(xn). We continue our examination of derivative formulas by differentiating power functions of the form f(x)=xn where n is a positive integer. We develop formulas for derivatives of this type of function in stages, beginning with positive integer powers. Before stating and proving the general rule for derivatives of functions of this form, we take a look at a specific case, ddx(x3), as the technique used in this case is essentially the same as the technique used to prove the general case.

Example 2.1.2: Differentiating x3

Find ddx(x3).

Solution

ddx(x3)=limh0(x+h)3x3h=limh0x3+3x2h+3xh2+h3x3h(distributing)=limh03x2h+3xh2+h3h(combining like terms)=limh0h(3x2+3xh+h2)h(factoring)=limh0h(3x2+3xh+h2)h1(canceling like factors)=limh0(3x2+3xh+h2)D.S.=3x2

Checkpoint 2.1.2

Find ddx(x4).

Answer

ddx(x4)=4x3

As we shall see, the procedure for finding the derivative of the general form f(x)=xn is very similar. Although it is often unwise to draw general conclusions from specific examples, we note that when we differentiate f(x)=x3, the derivative becomes the product of the original power and x to a power one less than it was before. A lot of students think of it as follows:

When you take the derivative of xn, you move the power to the front and subtract 1 from the exponent.

The following theorem states that the Power Rule holds for all positive integer powers of x.

Theorem: The Power Rule (positive integer exponents only)

Let n be a positive integer. If f(x)=xn, thenf(x)=nxn1.Alternatively, we may express this rule asddx(xn)=nxn1.

Proof

For f(x)=xn where n is a positive integer, we havef(x)=limh0(x+h)nxnh.Since(x+h)n=xn+nxn1h+(n2)xn2h2+(n3)xn3h3++nxhn1+hn,we see that(x+h)nxn=nxn1h+(n2)xn2h2+(n3)xn3h3++nxhn1+hn.Next, divide both sides by h:(x+h)nxnh=nxn1h+(n2)xn2h2+(n3)xn3h3++nxhn1+hnh.Thus,(x+h)nxnh=nxn1+(n2)xn2h+(n3)xn3h2++nxhn2+hn1.Finally,f(x)=limh0(nxn1+(n2)xn2h+(n3)xn3h2++nxhn2+hn1)=nxn1.

Q.E.D.

Example 2.1.3: Applying the Power Rule

Find the derivative of the function f(x)=x10 by applying the Power Rule.

Solution

Using the Power Rule with n=10, we obtainf(x)=10x101=10x9.

Checkpoint 2.1.3

Find the derivative of f(x)=x7.

Answer

f(x)=7x6

This theorem holds for all powers (not just positive integers). Despite being unable to prove it at this point in the course, we allow ourselves the luxury of using it.

Theorem: The Power Rule (General Version)

Let nR. If f(x)=xn,thenddx(xn)=nxn1.

Caution

As a reminder, we have yet to prove the previous theorem. We are allowing ourselves the ability to use it for now. Still, I promise this fact will be proved rigorously when we have better mathematical "technology."

Example 2.1.4: Using the Extended Power Rule

Find ddx(x4).

Solution

By applying the extended Power Rule with k=4, we obtainddx(x4)=4x41=4x5.

Example 2.1.5: Using the Extended Power Rule and the Constant Multiple Rule

Use the extended Power Rule and the Constant Multiple Rule to find f(x)=6x2.

Solution

It may seem tempting to use the Quotient Rule to find this derivative, and it would undoubtedly be correct. However, it is far easier to differentiate this function by first rewriting it as f(x)=6x2.f(x)=ddx(6x2)=ddx(6x2)(Laws of Exponents)=6ddx(x2)(Constant Multiple Rule)=6(2x3)(Power Rule)=12x3(simplifying)

Checkpoint 2.1.5

Find the derivative of g(x)=1x7 using the extended Power Rule.

Answer

g(x)=7x8.

Example 2.1.6: Applying the General Power Rule

Differentiate each of the following functions.

  1. f(x)=1x18
  2. g(x)=5x3
Solutions
  1. Following the Mathematical Mantra, we handle any Algebra before performing Calculus. This function can be rewritten as f(x)=x18. Applying the General Power Rule, we getddx[f(x)]=18x181=18x19
  2. Again, following the Mathematical Mantra, we simplify this function first.ddx(5x3)=ddx(x3/5)=35x3/51=35x2/5

Before stepping into the next subsection, a critical warning needs to be issued.

Caution

The Power Rule only applies to algebraic functions of the form y=xn. It does not apply to functions that raise a constant to a variable power, such as f(x)=3x. That is,ddx(3x)x3x1.

The Sum, Difference, and Constant Multiple Rules

We find our next differentiation rules by looking at derivatives of sums, differences, and constant multiples of functions. Just as when we work with functions, there are rules that make it easier to find derivatives of functions that we add, subtract, or multiply by a constant. These rules are summarized in the following theorem.

Theorem: Sum, Difference, and Constant Multiple Rules

Let f(x) and g(x) be differentiable functions and k be a constant. Then, each of the following equations holds.

Sum Rule. The derivative of the sum of a function f and a function g is the same as the sum of the derivative of f and the derivative of g.ddx(f(x)+g(x))=ddx(f(x))+ddx(g(x));that is,for s(x)=f(x)+g(x),s(x)=f(x)+g(x).

Difference Rule. The derivative of the difference of a function f and a function g is the same as the difference of the derivative of f and the derivative of g :ddx(f(x)g(x))=ddx(f(x))ddx(g(x));that is,for d(x)=f(x)g(x),d(x)=f(x)g(x).

Constant Multiple Rule. The derivative of a constant k multiplied by a function f is the same as the constant multiplied by the derivative:ddx(kf(x))=kddx(f(x));that is,for m(x)=kf(x),m(x)=kf(x).

Proof

We provide only the proof of the Sum Rule here. The rest follow similarly.

For differentiable functions f(x) and g(x), we set s(x)=f(x)+g(x). Using the limit definition of the derivative we haves(x)=limh0s(x+h)s(x)h.By substituting s(x+h)=f(x+h)+g(x+h) and s(x)=f(x)+g(x), we obtains(x)=limh0(f(x+h)+g(x+h))(f(x)+g(x))h.Rearranging and regrouping the terms, we haves(x)=limh0(f(x+h)f(x)h+g(x+h)g(x)h).We now apply the Sum Law for limits and the definition of the derivative to obtains(x)=limh0f(x+h)f(x)h+limh0g(x+h)g(x)h=f(x)+g(x).

Q.E.D.

Example 2.1.7: Applying the Constant Multiple Rule

Find the derivative of g(x)=3x2 and compare it to the derivative of f(x)=x2.

Solution

We use the Power Rule directly:g(x)=ddx(3x2)=3ddx(x2)=3(2x)=6x.Since f(x)=x2 has derivative f(x)=2x, we see that the derivative of g(x) is 3 times the derivative of f(x). This relationship is illustrated in Figure 2.1.1.

Two graphs are shown. The first graph shows g(x) = 3x2 and f(x) = x squared. The second graph shows g’(x) = 6x and f’(x) = 2x. In the first graph, g(x) increases three times more quickly than f(x). In the second graph, g’(x) increases three times more quickly than f’(x).
Figure 2.1.1: The derivative of g(x) is 3 times the derivative of f(x).

Example 2.1.8: Applying Basic Derivative Rules

Find the derivative of f(x)=2x5+7.

Solution

We begin by applying the rule for differentiating the sum of two functions, followed by the rules for differentiating constant multiples of functions and the rule for differentiating powers. To better understand the sequence in which the differentiation rules are applied, we use Leibniz notation throughout the solution:f(x)=ddx(2x5+7)=ddx(2x5)+ddx(7)(Sum Rule)=2ddx(x5)+ddx(7)(Constant Multiple Rule)=2(5x4)+0(Power and Constant Rules)=10x4(simplifying)

Checkpoint 2.1.8

Find the derivative of f(x)=2x36x2+3.

Answer

f(x)=6x212x.

The following example illustrates that we can use several rules within a single problem. It also emphasizes the need to pay attention to the Mathematical Mantra.

Example 2.1.9

Compute the derivative of g(x)=x2+3x34x+xx+x(x21)2.

Solution

ddx(x2+3x34x+xx+x(x21)2)=ddx(x2+3x24+1x+x(x42x2+1))=ddx(x2+3x24+1x+x52x3+x)=ddx(x52x3+4x2+x+x1/24)=5x46x2+8x+112x3/2

Synthesis Topic: Tangent Lines and Their Equations

Example 2.1.10: Finding the Equation of a Tangent Line

Find the equation of the line tangent to the graph of f(x)=x24x+6 at x=1.

Solution

To find the equation of the tangent line, we need a point and a slope. To find the point, computef(1)=124(1)+6=3.This gives us the point (1,3). Since the slope of the tangent line at 1 is f(1), we must first find f(x). Using the definition of a derivative, we havef(x)=2x4so the slope of the tangent line is f(1)=2. Using the point-slope formula, we see that the equation of the tangent line isy3=2(x1).Putting the equation of the line in slope-intercept form, we obtainy=2x+5.

Checkpoint 2.1.10

Find the equation of the line tangent to the graph of f(x)=3x211 at x=2. Use the point-slope form.

Answer

y=12x23

Example 2.1.11: Determining Where a Function Has a Horizontal Tangent

Find the x-value(s) where the graph of f(x)=2x3+6x290x+21 has horizontal tangents.

Solution

To find the values of x for which f(x) has a horizontal tangent line, we must solve f(x)=0.f(x)=6x2+12x90=6(x2+2x15)=6(x3)(x+5)Hence, f has horizontal tangent lines at x=3 and x=5.

Checkpoint 2.1.11

Find the values of x for which the line tangent to the graph of f(x)=4x23x+2 has a tangent line parallel to the line y=2x+3.

Answer

58

Example 2.1.12

For what values a and b is the line 4x+y=b tangent to the curve y=ax2 when x=4?

Solution

Careful reading is important in Calculus. We know that, for some special values of a and b, the line 4x+y=b will be tangent to y=ax2 at x=4. This fact implies two important pieces of information:

  1. the slope of the line and the slope of the tangent line to the quadratic function will match at x=4, and
  2. the line and the parabola will share a common point at x=4.

Matching Slopes

To find the slope of the line, we place it in slope-intercept form.y=4x+bThus, the slope of the line is 4.To find the slope of the tangent line to y=ax2, we first compute the derivative.y=2axEvaluating this at x=4, we gety(4)=8a.Since the slope of the tangent line to the quadratic and the slope of the line are supposed to match at x=4,4=8aa=12.

Common Point

Since the line and the quadratic meet at x=4, their y-values will be the same. That is, at x=4, 4x+b=ax2. Therefore,4(4)+b=a(4)216+b=12(16)16+b=8b=8Thus, for the line and quadratic to meet and be tangent at x=4, we require a=12 and b=8.

Applications of Differentiation: Physics

As we have mentioned previously, if s(t) is the position of a particle at time t, then its velocity isv(t)=dsdtand its acceleration isa(t)=dvdt=ds2dt2.

Example 2.1.13: Ballistic Motion

A rocket is fired vertically upward. Its height in meters above the ground t seconds after launch is given byh(t)=4.9t2+154t+388.

  1. How high was the rocket when it was launched?
  2. How high is the rocket after 6 seconds?
  3. What is the velocity of the rocket after 6 seconds?
  4. What is the acceleration of the rocket after 6 seconds?
Solutions
  1. The initial height is given by h(0)=388. Therefore, the initial height of the rocket is 388 meters.
  2. h(6)=1,135.6. Therefore, the height of the rocket 6 seconds after launch is 1,135.6 meters.
  3. To compute the velocity, we need to find the derivative of h(t).v(t)=h(t)=9.8t+154Evaluating h at 6, we getv(6)=h(6)=9.8(6)+154=95.2.This means that the velocity of the rocket exactly 6 seconds after launch is 95.2 meters per second. Since this velocity is positive, the rocket is still climbing upward.
  4. To compute the acceleration, we need to find the derivative of the velocity.a(t)=v(t)=9.8Hence, the acceleration is always 9.8 meters per second squared. That is, the rocket is deceleratingat 9.8 meters per second squared the entire time. While this idea of "slowing down" makes sense on the rise, how can we make sense of it as the rocket begins to fall? Well, the negative acceleration implies the rocket's velocity is decreasing as the rocket rises. At some point, the velocity would have to hit 0. At that moment, the rocket begins its descent back to Earth. The velocity becomes negative as the distance between the rocket and the Earth decreases, and the rate of this descent increases (in the negative direction) until the rocket crashes into the ground. The negative acceleration acted to slow the ascent and speed the descent.

Applications of Differentiation: Business

Most individuals taking this course are moving into a STEM field - not business; however, it is always nice to know what the news channels imply when they mention revenue, cost, profit, marginal cost, etc. To simplify the conversation, I have decided to forgo any lengthy discussion and jump right to the point.

  • Revenue is the product of the price of the item and the number of items sold. Mathematically, R(n)=p(n)n, where p(n) is the price-demand function (the price the company charges when the market demands n items) and n is the number of items sold.
  • Profit is the difference between the revenue from sales and the cost of producing an item. Mathematically, P(n)=R(n)C(n), where R(n) is the revenue function and C(n) is the cost function.
  • Marginal cost is the change in the total cost that arises when the quantity produced is incremented. That is, it is the change in cost with respect to the number of items produced. Mathematically, MC(n)=dCdn, where C(n) is the cost function (i.e., the cost of producing n items).
  • Marginal profit is the change in the total profit that arises when the quantity produced is incremented. That is, it is the change in profit with respect to the number of items produced. Mathematically, MP(n)=dPdn, where P(n) is the profit function.
  • Marginal revenue is the change in the total revenue that arises when the quantity produced is incremented. That is, it is the change in revenue with respect to the number of items produced. Mathematically, MR(n)=dRdn, where R(n) is the revenue function.

Thus, when you hear "marginal [insert business phrasing here]," it means that you need to take the derivative of that "business phrasing." The result will represent the cost, profit, revenue, etcetera associated with one additional item being produced.

Example 2.1.14

Suppose a product's revenue function is given by R(q)=2q2+800q , where R(q) is in dollars and q is units sold. Also, its cost function is given by C(q)=153q+40,000, where C is in dollars and q is units produced. Find an expression for the item's marginal profit function (MP(q)) and use it to determine and interpret MP(220).

Solution

Marginal profit is the derivative of the profit function, which they did not explicitly hand us; however, we know that profit is revenue minus cost. Thus,P(q)=R(q)C(q)=2q2+800q(153q+40,000)=2q2+647q40,000.Therefore, the marginal profit function isMP(q)=P(q)=4q+647.Hence,MP(220)=233.This means that if the company produces and sells 220 units, its profit will drop by $233 if it sells another unit. This is usually tough for students to understand at first, so let's take a moment to dive a little deeper. The derivative, dPdq, is the rate of change of profit with respect to the number of units produced (and sold). Since dPdq(220)=233=2331, we can interpret this as losing $233 in profit per 1 unit produced and sold when we have produced and sold exactly 220 units.

It's important to note that marginal profit is not the profit. In fact, the profit if the company produces and sells 220 units is P(220)=5540. That is, the company is still making a profit of $5,540 at that moment, but producing more units will eat into those profits.

Your Turn

Formula One Grandstands

Formula One car races can be exhilarating to watch and attract a lot of spectators. Formula One track designers must ensure sufficient grandstand space around the track to accommodate these viewers. However, car racing can be dangerous, and safety considerations are paramount. The grandstands must be placed where spectators will not be in danger should a driver lose control of a car (Figure 2.1.2).

A photo of a grandstand next to a straightaway of a race track.
Figure 2.1.2: The grandstand next to a straightaway of the Circuit de Barcelona-Catalunya race track, where the spectators are not in danger.

Safety is especially a concern on turns. If a driver does not slow down enough before entering the turn, the car may slide off the racetrack. Normally, this results in a wider turn, which slows the driver down. But if the driver loses control completely, the car may fly off the track entirely, on a path tangent to the curve of the racetrack.

Suppose you are designing a new Formula One track. One section of the track can be modeled by the function f(x)=x3+3x2+x (Figure 2.1.3). The current plan calls for grandstands to be built along the first straightaway and around a portion of the first curve. The plans call for the front corner of the grandstand to be located at the point (1.9,2.8). We want to determine whether this location puts the spectators in danger if a driver loses control of the car.

This figure has two parts labeled a and b. Figure a shows the graph of f(x) = x3 + 3x2 + x. Figure b shows the same graph but this time with two boxes on it. The first box appears along the left-hand side of the graph, straddling the x-axis roughly parallel to f(x). The second box appears a little higher, also roughly parallel to f(x), with its front corner located at (−1.9, 2.8). Note that this corner is roughly in line with the direct path of the track before it started to turn.
Figure 2.1.3a: One section of the racetrack can be modeled by the function f(x)=x3+3x2+x.
Figure 2.1.3b: The front corner of the grandstand is located at (1.9,2.8).

  1. Physicists have determined that drivers are most likely to lose control of their cars as they are coming into a turn at the point where the slope of the tangent line is 1. Find the (x,y) coordinates of this point near the turn.
  2. Find the equation of the tangent line to the curve at this point.
  3. To determine whether the spectators are in danger in this scenario, find the x-coordinate of the point where the tangent line crosses the line y=2.8. Is this point safely to the right of the grandstand? Or are the spectators in danger?
  4. What if a driver loses control earlier than the physicists project? Suppose a driver loses control at the point (2.5,0.625). What is the slope of the tangent line at this point?
  5. If a driver loses control as described in part d, are the spectators safe?
  6. Should you proceed with the current design for the grandstand, or should the grandstands be moved?


This page titled 2.1: Derivatives of Polynomial Functions is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Roy Simpson.

Support Center

How can we help?