2 Derivatives

2.3 Basic Differentiation Rules

The derivative is a powerful tool but is admittedly awkward given its reliance on limits. Fortunately, one thing mathematicians are good at is abstraction. For instance, instead of continually finding derivatives at a point, we abstracted and found the derivative function.

Let’s practice abstraction on linear functions, y=mx+b. What is y? Without limits, recognize that linear functions are characterized by being functions with a constant rate of change (the slope). The derivative, y, gives the instantaneous rate of change; with a linear function, this is constant, m. Thus y=m.

Let’s abstract once more. Let’s find the derivative of the general quadratic function, f(x)=ax2+bx+c. Using the definition of the derivative, we have:

f(x) =limh0a(x+h)2+b(x+h)+c-(ax2+bx+c)h
=limh0ah2+2ahx+bhh
=limh0(ah+2ax+b)
=2ax+b.

So if y=6x2+11x-13, we can immediately compute y=12x+11.

In this section (and in some sections to follow) we will learn some of what mathematicians have already discovered about the derivatives of certain functions and how derivatives interact with arithmetic operations. We start with a theorem.

Theorem 2.3.1 Derivatives of Common Functions
1.  Constant Rule: ddx(c)=0, 2.  Power Rule: ddx(xn)=nxn-1,
  where c is a constant.   where n is any real number.
3.  ddx(sinx)=cosx 4.  ddx(cosx)=-sinx
5.  ddx(ex)=ex 6.  ddx(lnx)=1x

This theorem starts by stating an intuitive fact: constant functions have a rate of change of zero, as they are constant. Therefore their derivative is 0. The proof is left as an exercise.

The theorem then states some fairly amazing things.

In Part 2, the Power Rule states that the derivatives of functions of the form y=xn where 𝐧 is ANY real number are very straightforward: multiply by the power, then subtract 1 from the power. This allows us to differentiate Power Functions, Root Functions, and functions with irrational exponents. The work we have done so far only allows us to prove the Power Rule when n is a non-negative integer, which is presented here. We will provide proofs for other values of n as we add the necessary tools to our knowledge of calculus.

  • Proof of Differentiation Power Rule when n is a non-negative integer


    If n=0, then f(x)=x0=1 (except when x=0, when the expression is indeterminate). This means that

    f(x)=limh01-1h=limh00h=0=0x0-1

    as claimed. Now let f(x)=xn, where n+. By the definition of derivative,

    f(x) =limh0(x+h)n-xnh
    =limh0(x+h)n-xnh  use the Binomial Theorem to expand (x+h)n
    =limh0(n0)xn+(n1)hxn-1+(n2)h2xn-2++(nn-1)hn-1x+(nn)hn-xnh
    =limh0(n1)hxn-1+(n2)h2xn-2++(nn-1)hn-1x+(nn)hnh
    =limh0h[(n1)xn-1+(n2)hxn-2++(nn-1)hn-2x+(nn)hn-1]h, divide h
    =limh0[(n1)xn-1+(n2)hxn-2++(nn-1)hn-2x+(nn)hn-1],
    =nxn-1  since (n1)=n

We proved Theorem 2.3.1 part 3 in Section 2.1 and part 4 is left as an exercise. In parts 5 and 6 we see something incredible about the functions y=ex and y=lnx. We will use these rules freely, unfortunately their proofs will have to wait until we know a few more calculus techniques.

Let’s practice using this theorem.

Example 2.3.1 Using Theorem 2.3.1 to find, and use, derivatives

Let f(x)=x3.

  1. (a)

    Find f(x).

  2. (b)

    Find the equation of the line tangent to the graph of f at x=-1.

  3. (c)

    Use the tangent line to approximate (-1.1)3.

  4. (d)

    Sketch f, f and the found tangent line on the same axis.

Solution

  1. (a)

    The Power Rule states that if f(x)=x3, then f(x)=3x2.

  2. (b)

    To find the equation of the line tangent to the graph of f at x=-1, we need a point and the slope. The point is (-1,f(-1))=(-1,-1). The slope is f(-1)=3. Thus the tangent line has equation y=3(x-(-1))+(-1)=3x+2.

    margin: -2-112-4-224xy Figure 2.3.1: A graph of f(x)=x3, along with its derivative f(x)=3x2 and its tangent line at x=-1. Λ
  3. (c)

    We can use the tangent line to approximate (-1.1)3 as -1.1 is close to -1. We have

    (-1.1)3(-1)3+3(-1.1-(-1))=-1+3(-.1)=-1.3.

    We can easily find the actual answer; (-1.1)3=-1.331.

  4. (d)

Theorem 2.3.1 gives useful information, but we will need much more. For instance, using the theorem, we can easily find the derivative of y=x3, but it does not tell how to compute the derivative of y=2x3, y=x3+sinx, nor y=x3sinx. The following theorem helps with the first two of these examples (the third is answered in the next section).

Theorem 2.3.2 Properties of the Derivative

Let f and g be differentiable on an open interval I and let c be a real number. Then:

  1. (a)

    Sum/Difference Rule:
      ddx(f(x)±g(x))=ddx(f(x))±ddx(g(x))=f(x)±g(x)

  2. (b)

    Constant Multiple Rule:
      ddx(cf(x))=cddx(f(x))=cf(x).

  • Proof of Sum Rule for Differentiation


    Let f and g be differentiable on an open interval I and let c be a real number,

    ddx(f(x)+g(x)) =limh0[f(x+h)+g(x+h)]-[f(x)+g(x)]h
    =limh0[f(x+h)-f(x)]+[g(x+h)-g(x)]h
    =limh0[f(x+h)-f(x)]h+limh0g(x+h)-g(x)h
    =f(x)+g(x)

Theorem 2.3.2 allows us to find the derivatives of a wide variety of functions. It can be used in conjunction with the Power Rule to find the derivatives of any polynomial. Recall in Example 2.1.4 that we found, using the limit definition, the derivative of f(x)=3x2+5x-7. We can now find its derivative without expressly using limits:

ddx(3x2+5x+7) =3ddx(x2)+5ddx(x)+ddx(7)
=32x+51+0
=6x+5.

We were a bit pedantic here, showing every step. Normally we would do all the arithmetic and steps in our head and readily find ddx(3x2+5x+7)=6x+5.

Example 2.3.2 Using Theorems 2.3.1 and 2.3.2 to find derivatives

Use Theorems 2.3.1 and 2.3.2 to differentiate

1. g(x)=(x2+1)3    2. f(x)=lnx8

SolutionGiven the differentiation rules we have thus far, our only option for finding g(x) is to first multiply g(x) out and then apply the sum and power rules. We see that

g(x)=x6+3x4+3x2+1

thus,

g(x)=6x5+12x3+6x.

To differentiate f(x) we will first need to use the Laws of Logarithms to expand f as

f(x) =lnx8
=lnx12-ln8
=12lnx-ln8

so that,

f(x)=121x-0=12x.
Example 2.3.3 Using the tangent line to approximate a function value

Let f(x)=sinx+2x+1. Approximate f(3) using an appropriate tangent line.

SolutionThis problem is intentionally ambiguous; we are to approximate using an appropriate tangent line. How good of an approximation are we seeking? What does appropriate mean?

In the “real world,” people solving problems deal with these issues all time. One must make a judgment using whatever seems reasonable. In this example, the actual answer is f(3)=sin3+7, where the real problem spot is sin3. What is sin3?

Since 3 is close to π, we can assume sin3sinπ=0. Thus one guess is f(3)7. Can we do better? Let’s use a tangent line as instructed and examine the results; it seems best to find the tangent line at x=π.

Using Theorem 2.3.1 we find f(x)=cosx+2. The slope of the tangent line is thus f(π)=cosπ+2=1. Also, f(π)=2π+17.28. So the tangent line to the graph of f at x=π is y=1(x-π)+2π+1=x+π+1x+4.14. Evaluated at x=3, our tangent line gives y=3+4.14=7.14. Using the tangent line, our final approximation is that f(3)7.14.

Using a calculator, we get an answer accurate to 4 places after the decimal: f(3)=7.1411. Our initial guess was 7; our tangent line approximation was more accurate, at 7.14.

The point is not “Here’s a cool way to do some math without a calculator.” Sure, that might be handy sometime, but your phone could probably give you the answer. Rather, the point is to say that tangent lines are a good way of approximating, and many scientists, engineers and mathematicians often face problems too hard to solve directly. So they approximate.

Higher Order Derivatives

The derivative of a function f is itself a function, therefore we can take its derivative. The following definition gives a name to this concept and introduces its notation.

Definition 2.3.1 Higher Order Derivatives

Let y=f(x) be a differentiable function on I.

  1. (a)

    The second derivative of f is:

    f′′(x)=ddx(f(x))=ddx(dydx)=d2ydx2=y′′.
  2. (b)

    The third derivative of f is:

    f′′′(x)=ddx(f′′(x))=ddx(d2ydx2)=d3ydx3=y′′′.
  3. (c)

    The nth derivative of f is:

    f(n)(x)=ddx(f(n-1)(x))=ddx(dn-1ydxn-1)=dnydxn=y(n).
margin: Note: Definition 2.3.1 comes with the caveat “Where the corresponding limits exist.” With f differentiable on I, it is possible that f is not differentiable on all of I, and so on. Λ

In general, when finding the fourth derivative and on, we resort to the f(4)(x) notation, not f′′′′(x); after a while, too many ticks is too confusing.

Let’s practice using this new concept.

Example 2.3.4 Finding higher order derivatives

Find the first four derivatives of the following functions:

1.f(x)=4x2  2.f(x)=sinx  3.f(x)=5ex

Solution

  1. (a)

    Using the Power and Constant Multiple Rules, we have: f(x)=8x. Continuing on, we have

    f′′(x)=ddx(8x)=8;f′′′(x)=0;f(4)(x)=0.

    Notice how all successive derivatives will also be 0.

  2. (b)

    We employ Theorem 2.3.1 repeatedly.

    f(x)=cosx;f′′(x)=-sinx;f′′′(x)=-cosx;f(4)(x)=sinx.

    Note how we have come right back to f(x) again. (Can you quickly figure what f(23)(x) is?)

  3. (c)

    Employing Theorem 2.3.1 and the Constant Multiple Rule, we can see that

    f(x)=f′′(x)=f′′′(x)=f(4)(x)=5ex.

Interpreting Higher Order Derivatives

What do higher order derivatives mean? What is the practical interpretation?

Our first answer is a bit wordy, but is technically correct and beneficial to understand. That is,

The second derivative of a function f is the rate of change of the rate of change of f.

One way to grasp this concept is to let f describe a position function. Then, as stated in Key Idea 2.2.1, f describes the rate of position change: velocity. We now consider f′′, which describes the rate of velocity change. Sports car enthusiasts talk of how fast a car can go from 0 to 60 mph; they are bragging about the acceleration of the car.

We started this chapter with amusement-park riders free-falling with position function f(t)=-16t2+150. It is easy to compute f(t)=-32t ft/s and f′′(t)=-32 (ft/s)/s. We may recognize this latter constant; it is the acceleration due to gravity. In keeping with the unit notation introduced in the previous section, we say the units are “feet per second per second.” This is usually shortened to “feet per second squared,” written as “ft/s2.”

It can be difficult to consider the meaning of the third, and higher order, derivatives. The third derivative is “the rate of change of the rate of change of the rate of change of f.” That is essentially meaningless to the uninitiated. In the context of our position/velocity/acceleration example, the third derivative is the “rate of change of acceleration,” commonly referred to as “jerk.”

Make no mistake: higher order derivatives have great importance even if their practical interpretations are hard (or “impossible”) to understand. The mathematical topic of series makes extensive use of higher order derivatives.

Exercises 2.3

 

Terms and Concepts

  1. 1.

    What is the name of the rule which states that ddx(xn)=nxn-1, where n>0 is an integer?

  2. 2.

    What is ddx(lnx)?

  3. 3.

    Give an example of a function f(x) where f(x)=f(x).

  4. 4.

    Give an example of a function f(x) where f(x)=0.

  5. 5.

    The derivative rules introduced in this section explain how to compute the derivative of which of the following functions?

    • f(x)=3x2

    • g(x)=3x2-x+17

    • h(x)=5lnx

    • j(x)=sinxcosx

    • k(x)=ex2

    • m(x)=x

  6. 6.

    Explain in your own words how to find the third derivative of a function f(x).

  7. 7.

    Give an example of a function where f(x)0 and f′′(x)=0.

  8. 8.

    Explain in your own words what the second derivative “means.”

  9. 9.

    If f(x) describes a position function, then f(x) describes what kind of function? What kind of function is f′′(x)?

  10. 10.

    Let f(x) be a function measured in pounds, where x is measured in feet. What are the units of f′′(x)?

Problems

In Exercises 11–28., compute the derivative of the given function.

  1. 11.

    f(x)=7x2-5x+7

  2. 12.

    g(x)=14x3+7x2+11x-29

  3. 13.

    m(t)=9t5-18t3+3t-8

  4. 14.

    f(θ)=9sinθ+10cosθ

  5. 15.

    f(r)=6er

  6. 16.

    g(t)=10t4-cost+7sint

  7. 17.

    f(x)=2lnx-x

  8. 18.

    p(s)=14s4+13s3+12s2+s+1

  9. 19.

    h(t)=et-sint-cost

  10. 20.

    f(x)=ln(5x2)

  11. 21.

    f(t)=ln(17)+e2+sinπ/2

  12. 22.

    g(t)=(1+3t)2

  13. 23.

    g(x)=(2x-5)3

  14. 24.

    f(x)=(1-x)3

  15. 25.

    f(x)=(2-3x)2

  16. 26.

    h(x)=x5-2x3+x2x2

  17. 27.

    f(x)=x2+1x

  18. 28.

    g(θ)=1-sin2θcosθ

  1. 29.
    A property of logarithms is that logax=logbxlogba, for all bases a,b>0 and a,b1. (a) Rewrite this identity when b=e, i.e., using logex=lnx. (b) Use part (a) to find the derivative of y=logax. (c) Give the derivative of y=log10x.
  2. 30.

    Prove the Constant Rule: ddx(c)=0, where c is constant.

  3. 31.
    The figure shows the graphs of f, f, and f′′. Identify each curve and explain your choices.acbxy
  4. 32.
    The figure shows the graphs of f, f, f′′ and f′′′. Identify each curve and explain your choices.dcbaxy

In Exercises 33–38., compute the first four derivatives of the given function.

  1. 33.

    f(x)=x6

  2. 34.

    g(x)=2cosx

  3. 35.

    h(t)=t2-et

  4. 36.

    p(θ)=θ4-θ3

  5. 37.

    f(θ)=sinθ-cosθ

  6. 38.

    f(x)=1,100

  1. 39.
    The position of a object is described by s(t)=t4-4t2, t0, where s is in feet and t is in seconds. Find (a) the velocity and acceleration functions for the object, (b) the acceleration after 1.5 seconds, and (c) the time(s), in seconds, when the object is at rest.
  2. 40.
    The position of an object is described by s(t)=5et-5t, where s is in inches and t is in seconds. Find (a) the velocity and acceleration functions for the object, (b) the acceleration after 2 seconds, and (c) the acceleration when the object is at rest.

In Exercises 41–46., find the equations of the tangent line to the graph of the function at the given point.

  1. 41.

    f(x)=x3-x at x=1

  2. 42.

    f(t)=et+3 at t=0

  3. 43.

    g(x)=lnx at x=1

  4. 44.

    f(x)=4sinx at x=π/2

  5. 45.

    f(x)=-2cosx at x=π/4

  6. 46.

    f(x)=2x+3 at x=5

  1. 47.

    Find the two values of n so that the function y=xn satisfies the differential equation x2y′′+2xy-6y=0.

Review

  1. 48.

    Given that e0=1, approximate the value of e0.1 using the tangent line to f(x)=ex at x=0.

  2. 49.

    Approximate the value of (3.01)4 using the tangent line to f(x)=x4 at x=3.

Omni CMS