A.1 Derivatives of Constant, Linear, & Power Functions

Let's use Desmos to explore derivatives of the most basic of functions: I. Constant; II. Linear; and III. Power Functions. We'll develop a simple rule to quickly determine each, and the of course practice using each rule to quickly find the derivative.

I. Constant Functions

We consider first constant functions: 𝑓(𝑥) =𝑐, where 𝑐 is a constant.

Exploration 1: Compare derivatives of constant functions

Consider the graphs of two constant functions, 𝑓(𝑥) =20 and 𝑔(𝑥) = 80. To develop the derivative of constant functions, consider two of them: f(x) = 20 and g(x) = -80

To start focus on the rate at which the first function, 𝑦 =𝑓(𝑥), is changing. (Hint: when you vary the input of the function just a little, how does the function's output change? What does this tell you about the derivative?) Then imagine the graph of the corresponding derivative function, 𝑓(𝑥) : what does this graph look like?

Now think about 𝑑𝑦𝑑𝑥 for each point on the second graph 𝑦 =𝑔(𝑥), and imagine the graph of the corresponding derivative function, 𝑔(𝑥). What is its shape? How does it differ from the graph of 𝑓(𝑥), if at all?

When you have your answers in mind, open the area below to use the interactive Desmos calculator to check your reasoning.

As Exploration 1 demonstrates,

Derivative of Constant Functions

If 𝑓(𝑥) =𝑐, where 𝑐 is a constant, then 𝑓(𝑥) =0.

Here are three ways to make sense of this result:

  • The derivative is the rate of change of the function. Since the function 𝑓(𝑥) =𝑐 never changes, its rate of change is zero.
  • The value of the derivative at any point is the slope of the tangent line to the curve 𝑦 =𝑓(𝑥) at that point. The graph of a constant function is a horizontal line, which has zero slope; hence the derivative is zero everywhere.
  • We can obtain this result using the definition of the derivative:
  • We have 𝑓(𝑥) =𝑐, and 𝑓(𝑥 +) =𝑐. (The function's output is 𝑐 regardless of input.) Hence 𝑓(𝑥)=lim0𝑓(𝑥+)𝑓(𝑥)=lim0𝑐𝑐=lim00=0

Let's do one quick Practice Problem to help solidify this result:

Practice Problem 1
Consider the function 𝑓(𝑥) =𝜋. Then 𝑓(𝑥) =
(A) 𝜋(B) 𝜋1(C) 1(D) 0(E) none of these

II. Linear Functions

Let's consider next linear functions, which we'll write in the familiar form 𝑓(𝑥) =𝑚𝑥 +𝑏.

Exploration 2: Compare derivatives of linear functions

To develop the derivative of linear functions, consider two of them: f1 and f2 have the same slope, but different y-intercepts: f1(x) = 2x + 3 and f2(x) = 2x -3

Examine the graphs of the two linear functions 𝑓1(𝑥) and 𝑓2(𝑥). The two lines have the same slope, but 𝑓1 has a y-intercept of 𝑏1 = +3 while 𝑓2 has a y-intercept of 𝑏2 = 3. Imagine the graphs of the corresponding derivative functions 𝑓1(𝑥) and 𝑓2(𝑥). What are their shapes? How do they differ, if at all?

To develop the derivative of linear functions, consider another two of them: f1 and f3 have the same y-intercept, but different slopes: f1(x) = 2x+3 and f3(x) = -2x+3

Next, examine the graphs of the two linear functions 𝑓1(𝑥) and 𝑓3(𝑥). They have the same y-intercept, but 𝑓1 has a slope of 𝑚1 = +2 while 𝑓3 has a slope of 𝑚3 = 2. Imagine the graphs of the corresponding derivative functions, 𝑓1(𝑥) and 𝑓3(𝑥). What are their shapes? How do they differ, if at all?

When you have your answers in mind, open the are below to use an interactive Desmos calculator to check your reasoning.

As Exploration 2 demonstrates,

Derivative of Linear Functions

If 𝑓(𝑥) =𝑚𝑥 +𝑏, where 𝑚 and 𝑏 are constants, then 𝑓(𝑥) =𝑚.

Here are three ways to make sense of this result:

  • The derivative is the rate of change of the function. By definition, a linear function changes at the constant rate given by its slope, m. The function's y-intercept doesn't matter; that value just tells us one point on the line, (0,𝑏), and does nothing to affect the rate of change.

    We can visualize this result more clearly by tying it back to Leibniz notation, as shown in the following graph.

  • The value of the derivative at any point is the slope of the tangent line to the curve at that point. For a linear function, the tangent line to the "curve" is the line itself. Hence the derivative is simply equal to the line's slope.

  • We can obtain this result using the definition of the derivative:

    We have 𝑓(𝑥) =𝑚𝑥 +𝑏, so

    𝑓(𝑥+)=𝑚(𝑥+)+𝑏=𝑚𝑥+𝑚+𝑏

    Hence

    𝑓(𝑥)=lim0𝑓(𝑥+)𝑓(𝑥)=lim0(𝑚𝑥+𝑚+𝑏)(𝑚𝑥+𝑏)=lim0𝑚=lim0𝑚=𝑚
Let's again do one quick Practice Problem to help ingrain this result:
Practice Problem 2
Consider the function 𝑓(𝑥) =52𝑥 9. Then 𝑓(𝑥) =
(A) 0(B) 52(C) 51(D) 9(E) none of these

III. Power Functions

Let's consider now functions of the form 𝑓(𝑥) =𝑥𝑛, such as 𝑥2, 𝑥3, 𝑥1/2 =𝑥, and 𝑥1 =1/𝑥. We've actually computed each of those particular derivative functions earlier. [We'll add these links once we make Chapter 3 available.] We've provided those results below, in both graphical and equation form.

To develop the derivative of power functions, consider the graphs of the following functions and their derivatives. a: f(x) = x^2, f'(x) = 2x. b: f(x) = x^3, f'(x) = 3x^2. c: f(x) = sqrt(x) = x^(1/2), f'(x) = (1/2)x^(-1/2). d: f(x) = 1/x = x^(-1), f'(x) = -x^(-2). Do you notice a pattern in how the derivative functions are related to the original functions? Look at this table for more examples, and the last entry, which shows how to summarize the pattern: 𝑓(𝑥):𝑥3𝑥2𝑥1𝑥0𝑥1𝑥2𝑥3𝑥𝑛𝑓(𝑥):3𝑥42𝑥3𝑥201(𝑥0)2𝑥(1)3𝑥2𝑛𝑥𝑛1 Of course the fact that we can recognize a pattern from a small set of examples is not sufficient for us to conclude that the pattern always holds; instead, we must prove that we have in fact developed a rule we can trust, or determine when the rule holds and when it doesn't. Using the tools we already have, we can in fact prove that the pattern holds for any positive integer value of n:

Proof that if 𝑓(𝑥) =𝑥𝑛, then 𝑓(𝑥) =𝑛𝑥𝑛1 for positive integer values of n.

Hence we have shown that, for integer values of n, the derivative of the function 𝑓(𝑥) =𝑥𝑛 is

𝑓(𝑥)=𝑛𝑥𝑛1

The rule also holds for negative integer values of n, but we must wait until later in the course when we have more tools to be able to prove that this is so. [Link to proof to be added.]

Furthermore, later we'll also be able to show [Link to be added] that the rule also holds for fractional values of n, such as:

𝑓(𝑥):𝑥2/3𝑥1/2𝑥1/2𝑥2/3𝑥𝑛𝑓(𝑥):23𝑥5/312𝑥3/212𝑥1/223𝑥1/3𝑛𝑥𝑛1

But wait, there's more [Link again to be added]: the rule also holds for decimal values of n that can be expressed as a fraction (e.g., 0.4 =410) — meaning all rational values of n — such as:

𝑓(𝑥):𝑥0.4𝑥0.2𝑥0.2𝑥0.4𝑥𝑛𝑓(𝑥):0.4𝑥1.40.2𝑥1.20.2𝑥0.80.4𝑥0.6𝑛𝑥𝑛1

And finally, the rule also holds [Final link to be added] for non-rational values of n (values that cannot be expressed as a fraction) such as 𝜋, e, and 2:

𝑓(𝑥):𝑥𝜋𝑥𝑒𝑥2𝑥𝑛𝑓(𝑥):𝜋𝑥𝜋1𝑒𝑥𝑒12𝑥21𝑛𝑥𝑛1

Hence, the rule holds for all real values of n. Although we haven't proven it fully yet, from this point onward we will use the general rule, known as the Power Rule:

Power Rule

If 𝑓(𝑥) =𝑥𝑛, then 𝑓(𝑥) =𝑛𝑥𝑛1.

As you can imagine, you will use this rule quite frequently. Happily it's easy to use, and remember!

You can see the graph of 𝑓(𝑥) =𝑥𝑛 and its derivative 𝑓(𝑥) =𝑛𝑥𝑛1 in the following Exploration.

Exploration 3: Graphs of 𝑓(𝑥) =𝑥𝑛 and its derivative 𝑓(𝑥) =𝑛𝑥𝑛1

The upper graph below shows the function 𝑓(𝑥) =𝑥𝑛. Initially 𝑛 =3, so 𝑓(𝑥) =𝑥3, but you can change the value using the slider to any value such that 6 𝑛 6.

The graph underneath shows the derivative function 𝑓(𝑥) =𝑛𝑥𝑛1. It will automatically update as you change n in the upper graph.

The first three Practice Problems below are straightforward applications of the Power Rule. The next few provide practice at "find the derivative" as the first step in writing the equation for a tangent line to a curve, one of the most common homework (and exam!) questions you'll encounter.

Practice Problem 3
Consider the function 𝑔(𝑥) =𝑥4. Then 𝑔(𝑥) = (A) 𝑥3(B) 𝑥5(C) 4𝑥3(D) 4(E) none of these
Practice Problem 4
Consider the function 𝑦(𝑡) =𝑡99. Then 𝑦(1) = (A) 0(B) 99(C) 98(D) 1(E) none of these Hint: First find the derivative 𝑦(𝑡). Then substitute 𝑡 =1 to find 𝑦(1).
Practice Problem 5
Consider the function (𝑥) =1𝑥3. Then (𝑥) = (A) 3𝑥2(B) 13𝑥4(C) 3𝑥4(D) 13𝑥2(E) none of these Hint: Recall that 1𝑥𝑛 =𝑥𝑛.
Practice Problem 6
An equation for the tangent line to the curve 𝑦 =𝑥5 at 𝑥 =1 is (A) 𝑦=5𝑥(B) 𝑦1=5(𝑥1) (C) 𝑦1=5𝑥1(D) 𝑦+1=5(𝑥+1)(E) none of these
Practice Problem 7
The value of the slope of the tangent line to the curve 𝑦 =𝑥1/3 at the point (8,2) is (A) 0(B) 112(C) 16(D) 12(E) none of these

Let's revisit a problem from Chapter 1, where we found the linear approximation to 16.2. At that point, we had to simply tell you the rate at which the function changes at 𝑥 =16, but now you can find that rate for yourself!

Practice Problem 8

Consider the square-root function 𝑓(𝑥) =𝑥. You know that 𝑓(16) =16 =4.

Using our linear approximation method, the approximate value of 16.2 is (A) 4.02(B) 4.0249(C) 4.025(D) 4.0125(E) none of these [Hint: First, find the rate at which the function 𝑓(𝑥) =𝑥 changes at 𝑥 =16. Then if you need to review linear approximations, go here.]
View/Hide Solution

Our solution requires the rate at which the function changes at 𝑥 =16, which is 𝑓(16).

We thus need the Power Rule, as applied to 𝑓(𝑥) =𝑥 =𝑥1/2:

𝑓(𝑥)=𝑥=𝑥1/2𝑓(𝑥)=12𝑥1/2=121𝑥𝑓(16)=12116=18=0.125

That's the rate we simply had to provide back in Chapter 1, but now we know how to compute it. Once we have this rate, the solution is identical to that from Chapter 1:

𝑓 value at 16+𝑑𝑥¯¯¯¯𝑓(16+𝑑𝑥)𝑓 value at 16𝑓(16)+(rate at 𝑥=16)(𝑑𝑥)¯¯¯¯¯¯ small change 𝑑𝑓𝑓(16+0.2)4+(0.125)(0.2)=4+0.025=4.025 (C)

For reference, the actual numeric value to 6 decimal places is 16.2 =4.02492236.

You can use the interactive Desmos graph below to explore this result graphically. Once again, visuals for dx and df will appear once you have zoomed-in sufficiently, which you must do to start. You can also try out different values of dx by using the slider beneath the graph.

On the next screen we'll add to our toolkit of derivatives we can quickly compute, by examining the exponential function 𝑎𝑥.


Of course if you have questions or thoughts about anything on this screen, please let us know on the Forum!


The Upshot

    The derivatives of the following functions are:

  1. Constant Function: If 𝑓(𝑥) =𝑐, where c is a constant, then 𝑓(𝑥) =0.
  2. Linear Function: If 𝑓(𝑥) =𝑚𝑥 +𝑏, then 𝑓(𝑥) =slope =𝑚.
  3. Power Rule: If 𝑓(𝑥) =𝑥𝑛, then 𝑓(𝑥) =𝑛𝑥𝑛1.