Differentiation Formulas

Click here for a printable version of this page.

Introduction

In the first section of this chapter, we saw the definition of the derivative, and we used it to compute several derivatives. As we saw in those examples, there was a fair amount of work involved in computing the necessary limits, even though the functions that we worked with were not terribly complicated.

For more intricate functions, using the definition of the derivative would be a very difficult task. Luckily for us, we won't have to use the definition very often. Although we will still need to use it on occasion, there is a large collection of formulas and properties that we can use to find derivatives more easily, and that will allow us to avoid using the definition whenever possible.

We will introduce most of these formulas over the course of the next several sections. We will start in this section with some of the basic properties and rules. These rules will allow us to find derivatives of polynomials and some other algebraic functions quickly, and to find the derivatives of sine and cosine.

Properties of Derivatives

The two properties we give below allow us to break functions into smaller pieces before tackling the derivative.

Sum/Difference Rule

$(f(x)\pm g(x))' = f'(x)\pm g'(x)$ OR $\displaystyle\frac{d}{dx}(f(x)\pm g(x)) = \displaystyle\frac{df}{dx}\pm \displaystyle\frac{dg}{dx}$

In other words, to differentiate a sum or difference, all we need to do is differentiate the individual terms and then put them back together with the appropriate signs. Note that this property is not limited to just two functions.


Proof of the Sum/Difference Property (for two functions)

The proof uses the definition of the derivative and some algebra. We'll start with the sum of two functions. First, put the sum of the functions into the definition of the derivative and rewrite the numerator a little:

$$\begin{align*} (f(x) + g(x))' &= \displaystyle\lim_{h\to 0} \displaystyle\frac{f(x+h) + g(x+h) - (f(x)+g(x))}{h}\\ &= \displaystyle\lim_{h\to 0} \displaystyle\frac{f(x+h) - f(x) + g(x+h) - g(x)}{h}\\ \end{align*}$$

Now break the expression into two fractions and recall that the limit of the sum is the sum of the limits. Using this fact, we see that we end up with the definition of the derivative for each of the two functions.

$$\begin{align*} (f(x) + g(x))' &= \displaystyle\lim_{h\to 0} \displaystyle\frac{f(x+h)-f(x)}{h} + \displaystyle\lim_{h\to 0} \displaystyle\frac{g(x+h)-g(x)}{h}\\ &= f'(x) + g'(x)\\ \end{align*}$$

The argument for the difference of two functions is nearly identical, so we will give it here without any explanation.

$$\begin{align*} (f(x) - g(x))' &= \displaystyle\lim_{h\to 0} \displaystyle\frac{f(x+h) - g(x+h) - (f(x) - g(x))}{h}\\ &= \displaystyle\lim_{h\to 0} \displaystyle\frac{f(x+h) - f(x) - (g(x+h) - g(x))}{h}\\ &= \displaystyle\lim_{h\to 0} \displaystyle\frac{f(x+h) - f(x)}{h} - \displaystyle\lim_{h\to 0} \displaystyle\frac{g(x+h) - g(x)}{h}\\ &= f'(x) - g'(x)\\ \end{align*}$$ Therefore, $(f(x)\pm g(x))' = f'(x)\pm g'(x).$

Constant Multiple Rule

$(cf(x))' = cf'(x)$ OR $\displaystyle\frac{d}{dx}(cf(x)) = c \displaystyle\frac{df}{dx},$ where $c$ is any number.

In other words, we can "factor" a constant multiplier out of a derivative if we need to.


Proof of the Constant Multiple Property

The proof uses the definition of the derivative and the fact that we can factor a constant multiple out of a limit.

$$(cf(x))' = \displaystyle\lim_{h\to 0} \displaystyle\frac{cf(x+h) - cf(x)}{h} = c\displaystyle\lim_{h\to 0} \displaystyle\frac{f(x+h) - f(x)}{h} = cf'(x)$$


Note that we have not included formulas for the derivative of compositions, products or quotients of functions here. We will take a look at these in the next two sections.

Basic Derivative Rules

The two rules below, when used with the properties we just saw, will allow us to compute quite a few derivatives.

Derivative of a Constant

If $f(x) = c,$ then $f'(x) = 0$ OR $\displaystyle\frac{d}{dx}(c) = 0.$

This property says that the derivative of any constant is zero.


Let $c$ be any number, define $f(x) = c,$ and use the definition of the derivative. $$f'(x) = \displaystyle\lim_{h\to 0} \displaystyle\frac{f(x+h) - f(x)}{h} = \displaystyle\lim_{h\to 0} \displaystyle\frac{c-c}{h} = \displaystyle\lim_{h\to 0} 0 = 0$$


Power Rule

If $f(x) = x^n,$ then $f'(x) = nx^{n-1}$ OR $\displaystyle\frac{d}{dx}(x^n) = nx^{n-1},$ where $n$ is any number.

All we are doing here is bringing the original exponent down to the front, multiplying by any constant that is already there, and then subtracting one from the original exponent on $x.$

Note that in order to use this rule, $n$ must be a number, it cannot be a variable. Also note that the base, $x,$ must be a variable, it cannot be a number. It will be tempting later to misuse the Power Rule when we run into some functions where the exponent isn't a number and/or the base isn't a variable. By then, though, we will have learned new rules for handling these kinds of functions.


Proof of the Power Rule for $n$ a Positive Integer

In the proof we give here, we need to assume that $n$ is a positive integer. The full proof of the Power Rule requires us to have read more of the Derivatives chapter, and so we will see that later in the chapter.

In this proof, we use the definition of the derivative and the Binomial Theorem. The Binomial Theorem tells us that $$(a+b)^n = \displaystyle\sum_{k=0}^{n} \left (\begin{array}{c} n\\ k\\ \end{array}\right ) a^{n-k}b^k$$ where $$\left (\begin{array}{c} n\\ k\\ \end{array} \right ) = \displaystyle\frac{n!}{k!(n-k)!}$$ are called the binomial coefficients and $n! = n(n-1)(n-2)\dots (2)(1)$ is the factorial.

Expanding the sum and using the definition of $\left (\begin{array}{c} n\\ k\\ \end{array} \right ),$ we can write $$\begin{align*} (a+b)^n &= \left(\begin{array}{c} n\\ 0\\ \end{array}\right )a^n + \left (\begin{array}{c} n\\ 1\\ \end{array}\right ) a^{n-1}b + \left (\begin{array}{c} n\\ 2\\ \end{array}\right ) a^{n-2}b^2 + \left (\begin{array}{c} n\\ 3\\ \end{array}\right ) a^{n-3}b^3 + \cdots + \left (\begin{array}{c} n\\ n-1\\ \end{array}\right ) ab^{n-1} + \left(\begin{array}{c} n\\ n\\\end{array}\right )b^n\\ &= a^n + na^{n-1}b + \displaystyle\frac{n(n-1)}{2!} a^{n-2}b^2 + \displaystyle\frac{n(n-1)(n-2)}{3!} a^{n-3}b^3 + \cdots + nab^{n-1} + b^n \\ \end{align*}$$

Now we can give the details of the proof. First, substitute $f(x) = x^n$ into the definition of the derivative and use the Binomial Theorem to expand the first term (here "$a$" is $x$ and "$b$" is $h$): $$\begin{align*} f'(x) &= \displaystyle\lim_{h\to 0}\displaystyle\frac{(x+h)^n - x^n}{h}\\ &= \displaystyle\lim_{h\to 0}\displaystyle\frac{\left (x^n + nx^{n-1}h + \frac{n(n-1)}{2!} x^{n-2}h^2 + \cdots + nxh^{n-1} + h^n\right ) - x^n}{h}\\ \end{align*}$$

Notice that we can subtract the two $x^n$ terms, and that leaves every term in the numerator with an $h$ in it. The $h$ can then be factored out and divided with the $h$ in the denominator. At this point, we can evaluate the limit.

$$\begin{align*} f'(x) & = \displaystyle\lim_{h\to 0} \displaystyle\frac{nx^{n-1}h + \frac{n(n-1)}{2!} x^{n-2}h^2 + \cdots + nxh^{n-1} + h^n}{h}\\ &= \displaystyle\lim_{h\to 0} nx^{n-1} + \displaystyle\frac{n(n-1)}{2!} x^{n-2}h +\cdots + nxh^{n-2} + h^{n-1}\\ &= nx^{n-1}\\ \end{align*}$$

Therefore, for any positive integer $n,$ if $f(x) = x^n,$ then $f'(x) = nx^{n-1}.$



Examples using the basic derivative rules

The properties we just learned allow us to find the derivative of a lot of different functions. Let's take a look at some of them.

Differentiate each of the following functions, using the properties of derivatives.

  1. $f(x) = 15x^{100} - 3x^{12} + 5x -46$
  2. $g(t) = 2t^6 + 7t^{-6}$
  3. $y=8z^3 - \displaystyle\frac{1}{3z^5} + z-23$
  4. $T(x) = \sqrt{x} + 9\sqrt[3]{x^7} - \displaystyle\frac{2}{\sqrt[5]{x^2}}$
  5. $h(x) = x^{\pi} - x^{\sqrt{2}}$

  1. In this example, we have the sum or difference of four terms. Using the first property above, we will differentiate each of the terms and put them back together again with the proper sign. Also, for each term with a multiplicative constant, remember that all we need to do is "factor" out the constant using the second property, then take the derivative using the power rule. For the last term, since it is a constant, its derivative is zero. $$\begin{align*} f'(x) &= 15(100)x^{99} - 3(12)x^{11}+5(1)x^0 - 0\\ &= 1500x^{99}-36x^{11}+5\\ \end{align*}$$

    Notice that in the third term, the exponent was one, so upon subtracting one from the original exponent, we are left with a new exponent of zero. Recall that $x^0 = 1$ for any $x\neq 0.$


  2. The point of this problem is to make sure that you deal with negative exponents correctly. Here is the derivative: $$\begin{align*} g'(t) &= 2(6)t^5 + 7(-6) t^{-7}\\ &= 12t^5 - 42 t^{-7}\\ \end{align*}$$

    Make sure that you deal with the exponents in these cases correctly, especially the negative exponents. It is an easy mistake to "go the other way" when subtracting one from a negative exponent and say the derivative is $-6t^{-5}$ instead of $-6t^{-7}.$


  3. In this function, the second term is not set up correctly for us to use the power rule. The power rule requires that the term be a variable raised to a power only, it cannot be in the denominator of a fraction. So, prior to differentiating, we need to rewrite the second term in a form that we can deal with: $$y=8z^3-\frac13 z^{-5} + z-23$$

    Note that we left the 3 in the denominator and only moved the variable to the numerator. Remember that the only thing an exponent applies to is what is immediately to its left. If we had wanted the 3 to move up as well, we'd have written $$\displaystyle\frac{1}{(3z)^5}.$$ So be careful with this! It's a very common mistake to move the 3 into the numerator as well at this stage.

    Now that we've gotten the function rewritten into a form that allows us to use the power rule, we can differentiate the function. Here is the derivative: $$\frac{dy}{dz} = 24z^2 + \frac53 z^{-6} +1$$


  4. All of the terms in this function have roots in them. In order to use the power rule, we need to convert all the roots to fractional exponents. Again, remember that the power rule requires us to have a variable raised to an exponent that's a number, and that it cannot be in the denominator of a fraction. Here is the function written in a "proper" form for the power rule: $$\begin{align*} T(x) &= x^{\frac12} + 9(x^7)^{\frac13} - \displaystyle\frac{2}{(x^2)^{\frac15}}\\ &= x^{\frac12} +9x^{\frac73} - \displaystyle\frac{2}{x^{\frac25}}\\ &= x^{\frac12} +9x^{\frac73} - 2x^{-\frac25}\\ \end{align*}$$

    Notice that in the last two terms we combined the exponents. You should always do this with this kind of term. Also, don't forget to move the expression in the denominator of the third term to the numerator. We can now take the derivative: $$\begin{align*} T'(x) &= \frac12 x^{-\frac12} + 9\left (\frac73\right ) x^{\frac43} - 2\left (-\frac25\right )x^{-\frac75}\\ &= \frac12x^{-\frac12} + \frac{63}{3}x^{\frac43}+\frac45x^{-\frac75}\\ &= \frac12x^{-\frac12} + 21x^{\frac43}+\frac45x^{-\frac75}\\ \end{align*}$$

    Make sure that you can deal with fractional exponents. You will see a lot of them!


  5. In all of the previous examples, the exponents have been integers or fractions. That is usually what we'll see in this class. However, the exponent only needs to be a number, so don't worry about problems like this one. They work exactly the same way. $$h'(x) = \pi x^{\pi - 1} - \sqrt{2} x^{\sqrt{2}-1}$$

    The answer looks a little messy, but this is the correct answer; we don't convert the exponents to decimals. Problems like this are not terribly difficult, they just look that way initially.



There is a general rule about derivatives that you will need to get into the habit of using. When you see a radical expression (like $\sqrt[3]{x^7}$ in part (d) above), you should always convert the radical to a fractional exponent (like $x^{7/3}$) and then simplify exponents as much as possible before taking the derivative. Following this rule will save you a lot of grief in the future.

Pro-tip: Use the exponent property $\sqrt[n]{x^m} = x^{m/n}$ to rewrite radical expressions as exponents before differentiating.



When we wrote down the properties above we noted that we hadn't included a rule for products or quotients, and that we would see rules for them later. That doesn't mean that we can't differentiate any product or quotient at this point. There are some that we can do without a special rule. We just need to use some algebra first.

Differentiate each of the following functions.

  1. $y=\sqrt[3]{x^2}(2x-x^2)$
  2. $h(t) = \displaystyle\frac{2t^5+t^2-5}{t^2}$

  1. In this function we can't just differentiate the $\sqrt[3]{x^2},$ differentiate the $2x-x^2$ and then multiply the two back together. That just won't work. We'll discuss this in detail in a future section, so if you're not sure you believe that it won't work, hold on for a bit. We'll be looking at this soon, and will see an example that shows why it won't work.

    It is still possible to take the derivative, though. All we need to do is convert the radical to a fractional exponent (as we should anyway) and then multiply this through the expression in parentheses. $$y=x^{\frac23}(2x-x^2) = 2x^{\frac53}-x^{\frac83}$$

    Now we can differentiate the function: $$\frac{dy}{dx} = \frac{10}{3}x^{\frac23} - \frac83 x^{\frac53}$$


  2. Similar to the first part, we cannot just differentiate the numerator and denominator separately then put them back together as a fraction. Again, if you're not sure you believe this, hold on a bit. We'll take a more detailed look at this in a future section.

    What we can do is simplify this expression as follows: $$h(t) = \frac{2t^5}{t^2} + \frac{t^2}{t^2} - \frac{5}{t^2} = 2t^3 + 1 -5t^{-2}$$

    This is now a function that we can differentiate using the power rule. $$h'(t) = 6t^2 + 10t^{-3}$$



So, as we saw in this example, there are a few products and quotients that we can differentiate. If we can first do some simplification, the functions will sometimes simplify into a form that can be differentiated using the properties and rules in this section.



Many of the functions we have differentiated in the last couple of examples are not polynomials; they have exponents that are negative or are fractions. We were able to use the power rule to find their derivatives, and could also keep taking higher order derivatives, although the coefficients and exponents could become very messy.

When the function is a true polynomial, though, there is an interesting pattern in the higher order derivatives.

Find the fifth derivative of the polynomial $$p(x) = 2x^4-5x^3+x^2+7x-13$$


Since the function is a polynomial, we will use the power rule. Notice that each of the derivatives is again a polynomial, so we may use the power rule each time we take a derivative.

The derivatives of $p(x)$ are as follows:

\begin{align*} p'(x) &= 8x^3-15x^2+2x+7\\ p''(x) &= 24x^2-30x+2\\ p'''(x) &= 48x -30\\ p^{(4)}(x) &= 48\\ p^{(5)}(x) &= 0\\ \end{align*}


What we saw in this last example illustrates a general fact about polynomials.

If $p(x)$ is a polynomial of degree $n$ (i.e. the largest exponent in the polynomial is $n$) then $$p^{(k)}(x) = 0\hspace{.25in} \text{for } k\geq n+1$$


Before moving on to the next section, let's work a few examples to remind us once again of some of the interpretations of the derivative.

Is $f(x) = 2x^3 + \displaystyle\frac{300}{x^3}+4$ increasing, decreasing or not changing at $x=-2$?


We know that the rate of change of a function is given by the derivative, so all we need to do is rewrite the function (to deal with the second term) and then take the derivative. $$f(x) = 2x^3 +300x^{-3} +4 \Rightarrow f'(x) = 6x^2 -900 x^{-4} = 6x^2 - \frac{900}{x^4}$$

Note that we rewrote the last term in the derivative back as a fraction. This is not something we've done up to this point, and is only being done here to help with the evaluation in the next step. It is often easier to evaluate a function with positive exponents.

So, upon evaluating the derivative, we find $$f'(-2) = 6(4) - \frac{900}{16} = -\frac{129}{4}$$

Since the derivative at $x=-2$ is negative, the function is decreasing at $x=-2.$



Write the equation of the tangent line to the graph of $f(x) = 4x - 8\sqrt{x}$ at $x=16.$


Recall that the equation of a tangent line has the form $$y=f(a)+f'(a)(x-a)$$

So, we will need the derivative of the function (don't forget to rewrite the radical!): $$f(x) = 4x-8x^{\frac12} \hspace{.25in}\Rightarrow\hspace{.25in} f'(x) = 4-4x^{-\frac12} = 4 - \frac4{x^{\frac12}}$$

Again, we eliminated the negative exponent in the derivative solely for the sake of evaluation. Now we need to evaluate the function and the derivative at the point in question, where $x = 16.$ $$f(16) = 64-8(4) = 32\hspace{.25in} f'(16) = 4 - \frac44 = 3$$

The tangent line then has the equation $$y=32 +3(x-16) = 3x-16$$



The position (in meters) of an object at any time $t$ (in minutes) is given by $$s(t) = 2t^3 - 21t^2 + 60t -10$$

  1. Determine when the object is moving to the right and when the object is moving to the left.
  2. Find the acceleration of the object at any time $t.$
  3. Find the acceleration of the object when $t = 3$ minutes.

  1. In order to know for certain which direction the object is moving, we need to have the velocity of the object. Recall that if the velocity is positive, then the object is moving to the right, and if the velocity is negative, then the object is moving to the left.

    We need the derivative in order to find the velocities of the object at different times. The derivative, and hence the velocity function, is $$s'(t) = 6t^2 - 42t +60 = 6(t^2 - 7t +10) = 6(t-2)(t-5)$$

    The reason for factoring the derivative will be apparent shortly.

    We need to determine where the derivative is positive and where it is negative. There are several ways to do this. The method that we tend to prefer is the following.

    Since polynomials are continuous functions, we know from the Intermediate Value Theorem that if the derivative changes sign, then it must pass through zero. So, if we know where the derivative is zero, then we know the only points at which the derivative might change sign.

    We can see from the factored form of the derivative that it will be zero at $t=2$ and $t=5.$ Let's graph these points on a number line:

    Basic number line with a scale  from  t = 0 to t = 6. It is divided into three sections by vertical dashed lines at t=2 and t=5.

    We can see that these two points divide the number line into three distinct pieces. For $x$ values in each of these pieces, we know that the derivative will be the same sign because the derivative can only change sign at the two points that are used to divide the number line into intervals.

    Therefore, all we need to do is to check the derivative at a test point in each interval. The derivative will have the same sign at every point in that interval as at the test point. Here is the number line with the test points and results shown:

    Basic number line with a scale from t=0 to t=6 that is divided into three sections by vertical dashed lines at t=2 and t=5.  In the interval t < 2, the derivative is positive at the test point  t=1.  In the interval 2 < t < 5, the derivative is negative at the test point  t=3.  In the interval t > 5, the derivative is positive at the test point  t=6.

    We now know the intervals in which the derivative is positive and negative:

      positive: $\hspace{.1in} -\infty \lt t\lt 2\hspace{.2in} \&\hspace{.2in} 5\lt t\lt \infty$

    negative: $\hspace{.1in}2\lt t \lt 5$

    We included the negative $t$ values here because we have the information, even though they may not make much sense in the context of this problem. We can now answer the question. The object is moving to the right and to the left in the following intervals:

    moving to the right: $\hspace{.1in}-\infty \lt t\lt 2\hspace{.2in} \& \hspace{.2in} 5\lt t\lt\infty$

        moving to the left: $\hspace{.1in}2\lt t\lt 5$


  2. In the last section we learned that one interpretation of the second derivative is acceleration, when the function represents the position of an object. So we need to find the second derivative of $s(t).$ We also learned in the last section that the second derivative of a function $s(t)$ is the derivative of $s'(t).$

    $$s''(t) = \frac{d}{dt}(s'(t)) = 12t - 42$$

    Thus the acceleration of the object at any time $t$ is given by $12t - 42.$


  3. To find the acceleration when $t=3,$ we just need to substitute $t=3$ into the acceleration function. $$s''(3) = 36 - 42 = -6$$ The acceleration of the object at $t=3$ is $-6$ meters per minute per minute.


Make sure that you can do the kind of work we just did in the first part of this example. You will be asked numerous times over the course of the next two chapters to determine where functions are positive and/or negative. If you need some review or want to practice these kinds of problems, you should check out the Solving Inequalities section of the Algebra/Trig Review.

Derivatives of Sine and Cosine

Two other fundamental rules of derivatives are those for finding the derivatives of sine and cosine. We will prove those and work some examples here, then you will learn the derivatives of the other four trig functions in a later section.

Before we can prove the rules for the derivatives of sine and cosine, we need to learn a couple of limits involving these functions.

Two Trigonometric Limits

  1. $\displaystyle\lim_{\theta\to 0}\frac{\sin\theta}{\theta} = 1$


    Proof

    This version of the proof of this limit uses the Squeeze Theorem. In order to set up the Squeeze Theorem, we will use facts about similar triangles and some facts from trigonometry. We will first look at the limit as $\theta$ approaches zero from the right.

    We'll start by assuming that $0\leq \theta \leq \frac{\pi}{2}.$ Since $\theta$ is approaching zero, it's okay to assume that $\theta$ is not too large (we can assume $\theta$ is less than any finite value we like; we are choosing $\frac{\pi}{2}$ here). Also, since we are only looking at the right-hand limit, we have $\theta\geq 0.$

    Consider the diagram below, in which we show the angle $\theta$ within the unit circle. We have also circumscribed the unit circle by a regular octagon. The points $A$ and $C$ are the midpoints of two sides of the octagon, and these sides are tangent to the circle at the points $A$ and $C.$ Call the vertex of the octagon where these two sides meet, $B.$

    In this sketch there is a blue circle with a black octagon circumscribing it. The center of the circle and octagon is labeled

    Because the octagon circumscribes the circle, the circumference of the circle is less than the perimeter of the octagon. Also, the length of the arc of the circle from $A$ to $C$ is less than the length along the octagon from $A$ to $C.$ Now because we're going to be primarily interested in just this "slice" of the figure, let's look at it on its own.

    This sketch shows the sector of the unit circle made by the angle theta from the previous sketch. It includes two sides of the octagon from the previous sketch, with endpoints labeled

    With the points as labeled in this diagram, we denote the length of the arc of the circle by arc$AC,$ and the lengths of the two sides of the octagon by $|AB|$ and $|BC|.$ Then the observation about lengths that we made above can be written as $$\text{arc}AC < |AB|+|BC|$$

    Now extend the segments $AB$ and $OC$ until they meet, and call the point of intersection $D.$ Since segment $AB$ is tangent to the circle at $A,$ the radius $OA$ and the segment $AD$ are perpendicular. So the triangle $\triangle OAD$ is a right triangle.

    In this sketch, the segments AB and OC are extended until they meet at a point labeled,

    Since the segment $BC$ is tangent to the circle at $C,$ it is perpendicular to the radius of the circle, $OC.$ So the triangle $\triangle BCD$ is also a right triangle. The hypotenuse of this triangle is $BD,$ and since the hypotenuse is the longest side of a right triangle, we have $|BC| < |BD|.$ We also notice that $|AB|+|BD|=|AD|.$ Combining these facts with our observation above, we see that \begin{align} \text{arc}AC &< |AB|+|BC|\\ &< |AB|+|BD|\\ &= |AD|\\ \end{align}

    Next we can use right triangle trigonometry in $\triangle OAD$ to write $|AD| = |AO| \tan\theta.$ This gives \begin{align} \text{arc}AC &< |AD|\\ &= |AO| \tan\theta\\ &= \tan\theta\\ \end{align} In the last line above, we used the fact that $|AO| = 1.$ The next thing we need to recall is that the length of an arc of a circle equals the radius of the circle times the angle (in radians) that traces out (or "subtends") the arc of the circle. In the diagram above, this means that $$\text{arc}AC = |AO| \theta = \theta$$ where we again use the fact that $|AO| = 1.$ Putting these facts together, we can now say that $$\theta = \text{arc}AC < \tan\theta = \frac{\sin\theta}{\cos\theta}$$ which, after rearranging a little, yields $$\cos\theta < \frac{\sin\theta}{\theta}$$ We'll come back to this fact in a moment. Now let's add a couple more line segments to the figure above. Connect $A$ and $C$ with a line segment and drop the perpendicular from $C$ to segment $OA.$ Call the point where this segment meets $OA,$ $E.$ Here is the new figure:

    This figure is the same as the previous figure, with a line segment added from point A to point C, and a segment down from point C that meets side OA in a right angle. The intersection point is labeled,

    Notice that $$|CE|<|AC|<\text{arc}AC$$ Also note that $\triangle COE$ is a right triangle with hypotenuse length $|CO| = 1.$ Using the trigonometry of this triangle, we have $$|CD| = |CO|\sin\theta=\sin\theta$$ We now have $$\sin\theta = |CE| < \text{arc}AC = \theta$$ which we can rewrite to say $$\frac{\sin\theta}{\theta} < 1$$ Previously, we showed that $$\cos\theta < \frac{\sin\theta}{\theta}$$ Now putting these last two statements together, we see that $$\cos\theta < \frac{\sin\theta}{\theta} < 1$$ provided that $0\leq \theta\leq \frac{\pi}{2}.$

    Since $\displaystyle\lim_{\theta\to 0^+} (1) = 1$ and $\displaystyle\lim_{\theta\to 0^+} \cos\theta = 1,$ the Squeeze Theorem now says that $$\lim_{\theta\to 0^+}\frac{\sin\theta}{\theta} = 1$$

    Now we need to handle the left-hand limit. When $\theta$ approaches zero from the left, it is coming through negative values. Now, sine is an odd function, which means that $\sin(-\theta) = -\sin\theta.$ So $$\frac{\sin(-\theta)}{-\theta} = \frac{-\sin\theta}{-\theta} = \frac{\sin\theta}{\theta}$$ In other words, if we approach zero from the left (through negative values of $\theta)$ then we'll have the same values in the function as if we had approached from the right (through positive values of $\theta$). This tells us that $$\lim_{\theta\to 0^-}\frac{\sin\theta}{\theta} = 1$$

    Since the two one-sided limits are the same, we may conclude that $$\lim_{\theta\to 0}\frac{\sin\theta}{\theta} = 1$$


  2. $\displaystyle\lim_{\theta\to 0}\frac{\cos\theta -1}{\theta} = 0$


    Proof

    Notice that if we multiply $\displaystyle\frac{\cos\theta - 1}{\theta}$ by the conjugate of the numerator, we can then use the trigonometric identity $\sin^2\theta + \cos^2\theta = 1.$

    \begin{align*} \lim_{\theta\to 0}\frac{\cos\theta -1}{\theta} &= \lim_{\theta\to 0}\frac{(\cos\theta -1)(\cos\theta +1)}{\theta(\cos\theta +1)}\\ &=\lim_{\theta\to 0} \frac{\cos^2\theta -1}{\theta(\cos\theta +1)}\\ \end{align*} So we have \begin{align*} \lim_{\theta\to 0}\frac{\cos\theta -1}{\theta} &= \lim_{\theta \to 0} \frac{-\sin^2\theta}{\theta(\cos\theta +1)}\\ &= \lim_{\theta \to 0} \frac{\sin\theta}{\theta}\frac{-\sin\theta}{\cos\theta +1}\\ &= \lim_{\theta \to 0} \frac{\sin\theta}{\theta} \lim_{\theta \to 0}\frac{-\sin\theta}{\cos\theta +1}\\ \end{align*}

    At this point, because we just proved the first limit and the second can be taken directly, we're pretty much done. All we need to do is take the limits.

    $$\lim_{\theta\to 0}\frac{\cos\theta -1}{\theta} = \lim_{\theta\to 0}\frac{\sin\theta}{\theta} \lim_{\theta\to 0} \frac{-\sin\theta}{\cos\theta +1} = (1)(0) = 0$$


A quick note here. Students often ask why we use radians instead of degrees in Calculus. The proof we just did shows the reason: if the angles are in degrees, then the limit involving sine is not 1 and this changes the derivative formulas for sine and cosine. The formulas would pick up an extra constant that would just get in the way of our work, so we use radians to avoid that.

Why radians and not degrees? Basically, convenience.

Before we look at the derivatives of sine and cosine, let's work some limit problems that these two new formulas allow us to do.

Evaluate each of the following limits.

  1. $\displaystyle\lim_{\theta\to 0}\displaystyle\frac{\sin\theta}{6\theta}$
  2. $\displaystyle\lim_{x\to 0}\displaystyle\frac{\sin(6x)}{x}$
  3. $\displaystyle\lim_{x\to 0}\displaystyle\frac{x}{\sin(7x)}$
  4. $\displaystyle\lim_{t\to 0}\displaystyle\frac{\sin(3t)}{\sin(8t)}$
  5. $\displaystyle\lim_{x\to 4}\displaystyle\frac{\sin(x-4)}{x-4}$
  6. $\displaystyle\lim_{z\to 0}\displaystyle\frac{\cos(2z)-1}{z}$

  1. There really isn't a whole lot to this limit. In fact, it's only here to contrast with the next example so that you can see the difference in how these work. In this case, since there is only a 6 in the denominator, we'll just factor it out and then use the limit fact that we proved above.

    $$\lim_{\theta\to 0} \frac{\sin\theta}{6\theta} = \frac16\lim_{\theta \to 0} \frac{\sin\theta}{\theta} = \frac16 (1) = \frac16$$

  2. Now, in this case we cannot just factor the 6 out of the argument of the sine function. We'll need to figure out another way to deal with it. To do this, we need to notice that in the limit rule we proved above, $\displaystyle\lim_{\theta\to 0}\frac{\sin\theta}{\theta}=1,$ the argument of the sine is identical to the denominator (i.e. they are both $\theta$). So we need to make the denominator match the argument of the sine function. We can do this by multiplying the numerator and the denominator by 6 as follows:

    $$\lim_{x\to 0}\frac{\sin(6x)}{x} = \lim_{x\to 0}\frac{6\sin(6x)}{6x} = 6\lim_{x\to 0} \frac{\sin(6x)}{6x}$$

    Note that we factored the 6 in the numerator out of the limit. At this point, while it may not look like it, we can use the limit rule to finish the limit.

    To see how, let's do a change of variables. A change of variables is really just a renaming of portions of the problem to make them look more like something we know how to deal with. They can't always be done, but sometimes, such as in this case, they really simplify the problem.

    The change of variables here is to let $\theta = 6x$ and then notice that as $x\to 0,$ we also have $\theta \to 6(0) = 0.$ When doing a change of variables in a limit, we need to change all the $x$'s into $\theta$'s (and that includes the one in the limit).

    Doing the change of variables on this limit gives

    \begin{align*} \lim_{x\to 0}\frac{\sin(6x)}{x} &= 6\lim_{x\to 0}\frac{\sin(6x)}{6x}\hspace{.5in} \text{let }\theta = 6x\\ &= 6\lim_{\theta\to 0}\frac{\sin(\theta)}{\theta}\\ &= 6(1)\\ &= 6\\ \end{align*}

    And there we are. Note that we didn't really need to do a change of variables here. All we really need to notice is that the argument of the sine is the same as the denominator, and then we can use the rule. A change of variables, in this case, is really only needed to make it clear that the rule really does work on a problem like this.


  3. We appear to have a problem here, in that the function we're taking the limit of is "upside down" compared to the limit rule. To put things right, we need to see that we can rewrite the fraction as follows:

    $$\frac{x}{\sin(7x)} = \frac{1}{\frac{\sin(7x)}{x}}$$

    This may look like we've made things worse until we remember a nice property of limits that allows us to distribute the limit to numerator and denominator.

    \begin{align*} \lim_{x\to 0}\frac{x}{\sin(7x)} &= \lim_{x\to 0}\frac{1}{\frac{\sin(7x)}{x}}\\ &= \frac{\lim_{x\to 0} (1)}{\displaystyle\lim_{x\to 0}\frac{\sin(7x)}{x}}\\ &= \frac{1}{\displaystyle\lim_{x\to 0}\frac{\sin(7x)}{x}}\\ \end{align*}

    So we see that we do end up needing to do a limit that uses the rule. This limit is just like the one in the previous problem, but this time we'll do it without writing out the change of variables. All we need to do is multiply the numerator and denominator by 7. Here is the work.

    \begin{align*} \lim_{x\to 0}\frac{x}{\sin(7x)} &= \frac{1}{\displaystyle\lim_{x\to 0}\frac{7\sin(7x)}{7x}}\\ &= \frac{1}{7\displaystyle\lim_{x\to 0}\frac{\sin(7x)}{7x}}\\ &= \frac{1}{(7)(1)}\\ &= \frac17\\ \end{align*}

  4. At first glance, this limit looks nothing like the limit in the rule. However, by doing a little rewriting, it can be thought of as a combination of the limits in the previous two problems. First, we'll split up the fraction as follows:

    $$\lim_{t\to 0}\frac{\sin(3t)}{\sin(8t)} = \lim_{t\to 0}\frac{\sin(3t)}{1}\frac{1}{\sin(8t)}$$

    Now the limit rule requires a $t$ in the denominator of the first fraction and in the numerator of the second. This can be achieved by multiplying the whole thing by $\frac{t}{t}$ (which is just 1 after all, and so won't change the problem) and then rearranging as follows:

    \begin{align*} \lim_{t\to 0}\frac{\sin(3t)}{\sin(8t)} &= \lim_{t\to 0} \frac{\sin(3t)}{1} \frac{1}{\sin(8t)}\frac{t}{t}\\ &= \lim_{t\to 0}\frac{\sin(3t)}{t}\frac{t}{\sin(8t)}\\ &= \left(\lim_{t\to 0}\frac{\sin(3t)}{t}\right)\left(\lim_{t\to 0}\frac{t}{\sin(8t)}\right)\\ \end{align*}

    At this point we can see that this really is two limits that we've seen before. On the second limit, we observe that it doesn't really matter whether the sine is in the numerator or the denominator. As long as the argument of the sine is the same as what's in the other part of the fraction, the limit is one. So we multiply the first limit by $\frac33$ and the second by $\frac88$ and proceed as we did previously.

    Here is the work for this limit.

    \begin{align*} \lim_{t\to 0}\frac{\sin(3t)}{\sin(8t)} &= \left(\lim_{t\to 0}\frac{3\sin(3t)}{3t}\right) \left(\lim_{t\to 0}\frac{8t}{8\sin(8t)}\right)\\ &= \left(3\lim_{t\to 0}\frac{\sin(3t)}{3t}\right) \left(\frac18\lim_{t\to 0}\frac{8t}{\sin(8t)}\right)\\ &= (3)(1)\left(\frac18\right)(1)\\ &= \frac38\\ \end{align*}

  5. This limit resembles the one in the limit rule in that the argument of the sine is the same as the denominator. However, notice that in the limit, $x$ is approaching 4 rather than 0 as the rule requires. However, with a change of variables, we can rewrite this limit so that it matches the rule.

    We let $\theta = x-4$ and notice that as $x\to 4,$ we have $\theta\to 0.$ Therefore, after carrying out the change of variables, the limit becomes

    $$\lim_{x\to 4}\frac{\sin(x-4)}{x-4} = \lim_{\theta \to 0}\frac{\sin\theta}{\theta} = 1$$

  6. The previous parts of this example all used the limit rule involving sine. In this problem, though, we want to use the limit rule involving cosine. The procedure is similar to our work in the previous problems, so we will not add much explanation here.

    \begin{align*} \lim_{z\to 0}\frac{\cos(2z)-1}{z} &= \lim_{z\to 0}\frac{2(\cos(2z)-1)}{2z}\\ &= 2\lim_{z\to 0}\frac{\cos(2z)-1}{2z}\\ &= 2(0)\\ &= 0\\ \end{align*}

    All that is required to apply the limit rule is to have the argument of the cosine be identical to what is in the denominator.




Now we can return to our goal of differentiating sine and cosine. The proofs of these rules use the definition of the derivative, a trig identity and the new limit rules from above. We will include the proof of the first rule and leave the second for you to do on your own.

  1. The derivative of $y=\sin(x)$ is $y' = \cos(x)$ OR $\displaystyle\frac{d}{dx}(\sin(x)) = \cos(x).$

  2. Proof

    Our first step is to substitute the sine function into the definition of the derivative.

    $$\frac{d}{dx}(\sin(x)) = \lim_{h\to 0}\frac{\sin(x+h)-\sin(x)}{h}$$

    Since we cannot just set $h$ to zero to evaluate the limit (why not?), we need to use the sum identity for sines to expand $\sin(x+h).$ $$\sin(x+h) = \sin(x)\cos(h) + \cos(x)\sin(h)$$

    Doing this in the difference quotient above gives us

    \begin{align*} \frac{d}{dx}(\sin(x)) &= \lim_{h\to 0}\frac{\sin(x)\cos(h) + \cos(x)\sin(h) - \sin(x)}{h}\\ &= \lim_{h\to 0}\frac{\sin(x)(\cos(h)-1) + \cos(x)\sin(h)}{h}\\ &=\lim_{h\to 0} \sin(x)\frac{\cos(h) -1}{h} + \lim_{h\to 0} \cos(x)\frac{\sin(h)}{h}\\ \end{align*}

    As you can see, after substituting in the trig identity, we grouped the first and third terms together, then factored out a sine from both. We then broke the overall limit into two limits, each of which can be dealt with separately.

    Both of the limits here are limits as $h$ approaches zero. In the first limit, we have $\sin(x)$ and in the second we have $\cos(x).$ As $h$ moves towards zero, there is no effect on $x.$ So since both $\sin(x)$ and $\cos(x)$ are functions of only $x,$ they are unaffected by the limit. That is, as far as the limits are concerned, these two functions are constants and can be factored out of their respective limits. Doing this yields

    $$\frac{d}{dx}(\sin(x)) = \sin(x)\lim_{h\to 0}\frac{\cos(h) -1}{h} +\cos(x)\lim_{h\to 0}\frac{\sin(h)}{h}$$

    At this point all we need to do is use the new limit rules, which give us

    $$\frac{d}{dx}(\sin(x)) = \sin(x)(0) + \cos(x)(1) = \cos(x)$$

    Therefore, $\displaystyle\frac{d}{dx}(\sin(x)) = \cos(x).$


  3. The derivative of $y=\cos(x)$ is $y' = -\sin(x)$ OR $\displaystyle\frac{d}{dx}(\cos(x)) = -\sin(x).$

At this point, we cannot do very many derivatives involving sine and cosine. We will be able to do a lot more once we have derivative rules for composite functions, products, and quotients. The examples we can do combine the new derivative rules with the constant multiple rule and the power rule.

Find the derivatives of the following functions.
  1. $g(x) = 10\sin( x) - 3x^4 + x^{-3}$

  2. $r(t) = 5\cos (t) + 7\sin (t)$


  1. Here we have the sum or difference of three terms, and one of them is a multiple of sine. We may use the sum/difference rule here to handle the terms separately. In the first term, we combine the constant multiple rule with the derivative of sine. The derivative is then $$g'(x) = 10\cos (x) - 12x^3 -3x^{-4}$$


  2. To do this derivative, we just need to use the rules for the derivatives of sine and cosine, combined with the constant multiple rule. The sum/difference rule tells us that we can handle the two trig functions separately. The derivative is then $$r'(t) = -5\sin (t) + 7\cos (t)$$



Practice Problems

For problems 1 - 3, evaluate the limit.

  1. $\lim\limits_{z\to 0} \displaystyle\frac{\sin(10z)}{z}$


  2. We would like to use the first trigonometric limit from this section. In order to do so, we will multiply by $\frac{10}{10}$ to put the function into a form to which the rule applies.

    $$\lim_{z\to 0}\displaystyle\frac{\sin(10z)}{z} = \lim_{z\to 0} \displaystyle\frac{10\sin(10z)}{10z} = 10\lim_{z\to 0}\displaystyle\frac{\sin(10z)}{10z}=10(1) = 10$$

  3. $\lim\limits_{\alpha\to 0} \displaystyle\frac{\sin(12\alpha)}{\sin(5\alpha)}$


  4. In order to use the limit rule from this section, we first need to split the fraction, then we multiply each fraction by one in a carefully chosen form:

    $$\lim_{\alpha\to 0}\displaystyle\frac{\sin(12\alpha)}{\sin(5\alpha)} = \lim_{\alpha\to 0}\left [\displaystyle\frac{12\alpha\sin(12\alpha)}{12\alpha}\displaystyle\frac{5\alpha}{5\alpha\sin(5\alpha)}\right ]$$

    Then we rearrange one more time so that it is clear that we are dealing with three fractions:

    $$\lim_{\alpha\to 0}\displaystyle\frac{\sin(12\alpha)}{\sin(5\alpha)} = \lim_{\alpha\to 0}\left[\displaystyle\frac{12\alpha}{5\alpha} \displaystyle\frac{\sin(12\alpha)}{12\alpha} \displaystyle\frac{5\alpha}{\sin(5\alpha)}\right ]$$

    Now we can apply the limit rule:

    \begin{align} &= \lim_{\alpha\to 0}\left [\displaystyle\frac{12}{5} \displaystyle\frac{\sin(12\alpha)}{12\alpha} \displaystyle\frac{5\alpha}{\sin(5\alpha)}\right ]\\ &= \displaystyle\frac{12}{5}\left [\lim_{\alpha\to 0} \displaystyle\frac{\sin(12\alpha)}{12\alpha}\right ] \left [\lim_{\alpha\to 0} \displaystyle\frac{5\alpha}{\sin(5\alpha)}\right ] = \displaystyle\frac{12}{5} (1)(1) = \displaystyle\frac{12}{5}\\ \end{align}

  5. $\lim\limits_{x\to 0} \displaystyle\frac{\cos(4x)-1}{x}$


  6. This limit is close to the second limit rule we proved in this section. We just need to multiply by one in a useful form before we can apply the limit rule.

    $$\lim_{x\to 0}\displaystyle\frac{\cos(4x)-1}{x} = \lim_{x\to 0} \displaystyle\frac{4(\cos(4x)-1)}{4x} = 4\lim_{x\to 0} \displaystyle\frac{\cos(4x) - 1}{4x} = 4 (0) = 0$$

For problems 4 - 17, find the first derivative of the function.

  1. $f(x) = 6x^3-9x+4$


  2. Since this function is a polynomial, we will use the constant multiple rule and the power rule on each term, then combine them using the sum/difference rule. Also notice that since the last term is a constant, its derivative is 0. For this problem, we have $$f'(x) = (3)(6) x^{3-1} - (1)(9)x^{1-1} + 0 = 18x^2-9$$


  3. $y=2t^4 - 10t^2 +13t$


  4. Since this function is a polynomial, we will use the constant multiple rule and the power rule on each term, then combine them using the sum/difference rule. Doing this, we find $$\displaystyle\frac{dy}{dt} = 8t^3-20t+13$$


  5. $g(z) = 4z^7-3z^{-7}+9z$


  6. Remember that we can use the power rule whenever we take the derivative of a variable raised to a power that is a number (even a negative number). So we will again use the constant multiple rule and the power rule on each term here, then combine them with the sum/difference rule. Doing this, we find that $$g'(z)=(7)(4)z^{7-1} + (-7)(-3)z^{-7-1} +(1)(9)z^{1-1} = 28z^6+21z^{-8}+9$$


  7. $h(y)=y^{-4}-9y^{-3}+8y^{-2}+12$


  8. As with the last problem, we will apply the power rule and the constant multiple rule to each term, then combine them according to the sum/difference rule. The derivative of the last term is 0 because it's a constant. We find that $$h'(y)=-4y^{-5}+27y^{-4}-16y^{-3}$$


  9. $y=\sqrt{x} +8\sqrt[3]{x} - 2\sqrt[4]{x}$


  10. We will again use the rules we learned in this section, but remember that we first need to rewrite the roots as fractional exponents before we can apply the power rule. The rewritten function is $$y=x^{1/2}+8x^{1/3}-2x^{1/4}$$ The derivative is then $$\displaystyle\frac{dy}{dx} = \frac12 x^{-1/2} + \frac83 x^{-2/3} -\frac12 x^{-3/4} = \displaystyle\frac{1}{2\sqrt{x}} + \displaystyle\frac{8}{3\sqrt[3]{x^2}} - \displaystyle\frac{1}{2\sqrt[4]{x^3}}$$


  11. $f(x) = 10\sqrt[5]{x^3}-\sqrt{x^7} + 6\sqrt[3]{x^8}-3$


  12. First we will rewrite the function as $$f(x) = 10x^{3/5} - x^{7/2} +6x^{8/3}-3$$

    The derivative is then $$f'(x) = 6x^{-2/5} - \frac72 x^{5/2} +16 x^{5/3} = \displaystyle\frac{6}{\sqrt[5]{x^2}}-\frac72\sqrt{x^5}+16\sqrt[3]{x^5}$$


  13. $f(t) = \displaystyle\frac{4}{t} - \displaystyle\frac{1}{6t^3} + \displaystyle\frac{8}{t^5}$


  14. Here we first need to rewrite the function using negative exponents, so that we can then use the power rule. The rewritten function is $$f(t) = 4t^{-1} - \frac16 t^{-3} + 8t^{-5}$$

    And the derivative is $$f'(t) =-4 t^{-2} + \frac12 t^{-4} - 40 t^{-6} = \frac{-4}{t^2} + \frac{1}{2t^4} - \frac{40}{t^6}$$


  15. $R(z) = \displaystyle\frac{6}{\sqrt{z^3}} + \displaystyle\frac{1}{8z^4} - \displaystyle\frac{1}{3z^{10}}$


  16. We first rewrite the function so that there are no roots and all the variables are in the numerator with negative exponents. The rewritten function is $$R(z) = 6z^{-1/3} + \frac18 z^{-4} - \frac13 z^{-10}$$

    The derivative is then $$R'(z) = -2z^{-4/3} -\frac12 z^{-5} +\frac{10}{3} z^{-11},$$ which can be rewritten as $$R'(z) = -\frac{2}{z^{4/3}} -\frac{1}{2z^5} + \frac{10}{3z^{11}} = -\frac{2}{\sqrt[3]{z^4}} - \frac{1}{2z^5}+\frac{10}{3z^{11}}$$


  17. $z=x(3x^2 - 9)$


  18. For this one, we first need to distribute the $x,$ and write the function in the correct form for the power rule. The rewritten function is $$z=3x^3 - 9x$$ The derivative is then $$\frac{dz}{dt} = 9x^2 - 9$$


  19. $g(y) = (y-4)(2y+y^2)$


  20. Here we will distribute in order to write the function as a polynomial, so that we can use the power rule. The rewritten function is $$g(y) = 2y^2 + y^3 - 8y -4y^2 = y^3 - 2y^2 - 8y$$ The derivative is then $$g'(y) = 3y^2 - 4y - 8$$


  21. $h(x) = \displaystyle\frac{4x^3-7x+8}{x}$


  22. For this one, we will rewrite the function by dividing each term in the numerator by $x.$ The rewritten function is $$h(x) = 4x^2 - 7 + 8x^{-1}$$ Then the derivative is $$h'(x) = 8x -8x^{-2} = 8x- \frac{8}{x^2}$$


  23. $f(y) = \displaystyle\frac{y^5-5y^3+2y}{y^3}$


  24. Here again we divide each term in the numerator by the denominator, $y^3.$ The rewritten function is $$f(y) = y^2 - 5 + 2y^{-2}$$ The derivative is then $$f'(y) = 2y - 4y^{-3}$$


  25. $y=\displaystyle\frac{13\sin (x)}{7} + x(2x-4)$


  26. We first need to rewrite the function a little: $$y=\frac{13}{7} \sin (x) + 2x^2-4x$$ The derivative is then $$y' = \frac{13}{7}\cos (x) + 4x - 4$$


  27. $Q(t) = 8\sqrt{t} + \sqrt{3}\cos (t)$


  28. We need to rewrite the first term to eliminate the radical. The rewritten function is $$Q(t) = 8t^{1/2} +\sqrt{3}\cos (t)$$ The derivative is then $$Q'(t) = 4t^{-1/2} -\sqrt{3}\sin (t)$$


  29. Find the second derivative of each of the functions given below.
    1. $y = 2t^4 - 10t^2 + 13t$
    2. $h(y) = y^{-4} - 9y^{-3} +8y^{-2} + 12$
    3. $f(x) = 10\sqrt[5]{x^3} - \sqrt{x^7} + 6\sqrt[3]{x^8} - 3$
    4. $f(t) = \displaystyle\frac{4}{t} - \displaystyle\frac{1}{6t^3} + \displaystyle\frac{8}{t^5}$


    1. This function is the function from problem 2 above. In that problem, we found that the first derivative is $$\frac{dy}{dt}=8t^3 - 20t + 13,$$ so the second derivative is the derivative of this function. Using the power rule, we find that $$\frac{d^2y}{dt^2} = 24t^2 - 20$$

    2. This is the function from problem 4 above. There, we found that the first derivative is $$h'(y) = -4y^{-5} + 27y^{-4} - 16y^{-3}$$ The second derivative is the derivative of this function. Using the power rule, we find that $$h''(y) = 20y^{-6} -108 y^{-5} + 48 y^{-4}$$

    3. This is the function from problem 6 above. There, we found that the first derivative (after rewriting the function) is $$f'(x) = 6x^{-2/5} - \frac72 x^{5/2} + 16 x^{5/3}$$ The second derivative is the derivative of this function. Using the power rule, we find that $$f''(x) = -\frac{12}{5} x^{-7/5} - \frac{35}{4} x^{3/2} + \frac{80}{3} x^{2/3} = \frac{-12}{5\sqrt[5]{x^7}} - \frac{35}{4}\sqrt{x^3} + \frac{80}{3}\sqrt[3]{x^2}$$

    4. This is the function from problem 7 above. There, we found that the first derivative (after rewriting the function) is $$f'(t) = -4t^{-2} + \frac12 t^{-4} - 40t^{-6}$$ The second derivative is the derivative of this function. Using the power rule, we find that $$f''(t) = 8t^{-3} -2t^{-5} +240t^{-7} = \frac{8}{t^3} - \frac{2}{t^5} + \frac{240}{t^7}$$


    1. Find the second, third, and fourth derivatives of the sine function.

    2. Find the 105th derivative of the sine function.



    1. Since the first derivative of $\sin x$ is $\cos x,$ and the derivative of $\cos x$ is $-\sin x,$ we just need to keep track of minus signs as we take repeated derivatives of sine. If $y=\sin x,$ then the first four derivatives of sine are

      $$y' = \cos x \hspace{.2in} y'' = -\sin x \hspace{.2in} y''' = -\cos x \hspace{.2in} y^{(4)} = \sin x$$

    2. Notice that $105 = 4(26)+1.$ We saw in part (a) that the fourth derivative of sine is $\sin x,$ which means that if we keep taking derivatives, every fourth one will give us the sine function back. In between, the derivatives cycle through $\cos x, -\sin x,$ and $-\cos x.$ So since 105 is one more than a multiple of 4, the 105th derivative of sine is the same as the first derivative of sine, $y^{(105)}=\cos x.$


  30. Determine where, if anywhere, the function $f(x) = x^3 + 9x^2 - 48x +2$ is not changing.


  31. Recall that one of the interpretations of the derivative is that it gives the rate of change of the function. The function won't be changing if its rate of change is zero, so all we need to do is find out where the derivative is zero, if anywhere.

    Using the power rule, we find that the derivative is $$f'(x) = 3x^2 + 18x - 48 = 3(x^2 + 6x - 16) = 3(x -2)(x+8)$$

    Notice that we have factored the derivative in preparation for finding where it equals zero. $$f'(x) = 0 \Longleftrightarrow 3(x-2)(x+8) = 0$$ We can see from this that the derivative is zero at $x=2$ and $x=-8.$ Therefore, the function is not changing when $x=-8$ and again when $x=2.$


  32. Determine where, if anywhere, the function $y=2z^4-z^3-3z^2$ is not changing.


  33. Recall that one of the interpretations of the derivative is that it gives the rate of change of the function. The function won't be changing if its rate of change is zero, so all we need to do is find out where the derivative is zero, if anywhere.

    Using the power rule, we find that the derivative is $$\frac{dy}{dz} = 8z^3 - 3z^2 - 6z = z(8z^2 - 3z - 6)$$

    Notice that we have factored the derivative in preparation for finding where it equals zero. $$\frac{dy}{dz} = 0 \Longleftrightarrow z=0, 8z^2 - 3z - 6 = 0$$ This tells us immediately that the function is standing still when $z=0.$ We still need to solve $8z^2 - 3z - 6 = 0,$ though. For this, we'll use the quadratic formula. $$z = \frac{3\pm\sqrt{(-3)^2-4(8)(-6)}}{2(8)} = \frac{3\pm\sqrt{201}}{16}$$

    Therefore, the function is not changing when $z = 0,$ $z = \displaystyle\frac{3+\sqrt{201}}{16}\approx 1.07359$ and $z = \displaystyle\frac{3-\sqrt{201}}{16}\approx -0.69859.$


  34. The position of an object is given by $s(t) = 2+7\cos(t).$ Determine all the times when the object is not moving.


  35. The object is not moving at any time at which its velocity is zero. Since the velocity is given by the derivative of the position function, we need to take the derivative, set it equal to zero, and solve for $t.$

    $$s'(t) = -7\sin(t)$$

    The derivative, and therefore the velocity, is zero when $\sin(t) = 0$. The unit circle tells us that this will be whenever $$t= 0 + 2\pi n \hspace{.25in} \text{and}\hspace{.25in} t=\pi +2\pi n$$ for $n$ any integer.


  36. Write the equation of the tangent line to the graph of $g(x) = \displaystyle\frac{16}{x} - 4\sqrt{x}$ at $x=4.$


  37. Recall that one of the interpretations of the derivative is that it gives the slope of the tangent line to the graph of the function at any point. So, we will need to find the derivative. However, before we can do that, we need to rewrite the function. Here is the rewritten function and the derivative: $$g(x) = 16x^{-1} - 4x^{1/2} \Longrightarrow g'(x) = -16x^{-2} - 2x^{-1/2} = -\frac{16}{x^2} - \frac{2}{\sqrt{x}}$$

    Since we now need to evaluate the derivative at $x=4,$ we rewrote the derivative as rational expressions with roots. Now, evaluating at $x=4,$ we find that $$g(4) = \frac{16}{4} - 4\sqrt{4} = -4 \hspace{.25in} g'(x) = -\frac{16}{4^2} - \frac{2}{\sqrt{4}} = -2$$

    Now all we need to do is substitute $g(4)$ and $g'(4)$ into the equation of the tangent line. $$y=g(4) + g'(4)(x-4) = -4 - 2(x-4)$$

    Thus the equation of the tangent line is $y=-2x + 4.$


  38. Write the equation of the tangent line to the graph of $f(x) = 7x^4 +8x^{-6} +2x$ at $x=-1.$


  39. Recall that one of the interpretations of the derivative is that it gives the slope of the tangent line to the graph of a function at any point. So, we need to find the derivative of the function.

    Using the power rule, we find that $$f'(x) = 28x^3 - 48x^{-7} + 2 = 28x^3 - \frac{48}{x^7} +2$$

    Next we need to evaluate the function and the derivative at $x=-1.$$$f(-1) = 7+8-2 = 13\hspace{1.25in} f'(-1) = -28+48+2 = 22$$

    Now all we need to do is write down the equation of the tangent line. $$y=f(-1) + f'(-1)(x+1) = 13 + 22(x+1)$$ or $$y=22x+35$$


  40. Write the equation of the tangent line to the graph of $h(x) = \sin(x)$ at $x=\frac{\pi}{3}.$


  41. To find the slope of the tangent line, we'll need the derivative of $h(x) = \sin(x)$, $h'(x) = \cos(x)$. So, $m = h'(\frac{\pi}{3}) = \cos(\frac{\pi}{3}) = \frac12$. We also need the y-coordinate of the point on the line, $h(\frac{\pi}{3}) = \sin(\frac{\pi}{3}) = \frac{\sqrt{3}}{2}$. So, an equation of the tangent line is $y = \frac{\sqrt{3}}{2}+\frac12(x-\frac{\pi}{3})$.

  42. The position (in feet) of an object at any time $t$ (in seconds) is given by $s(t) = 3t^4 - 40t^3 + 126t^2 - 9.$
    1. Determine the velocity of the object at any time $t.$
    2. Are there any times at which the object is at rest?
    3. When is the object moving to the right and when is the object moving to the left?
    4. What is the acceleration of the object at $t = 1$?


    1. Recall that one of the interpretations of the derivative is that it gives the velocity function of an object. We've been given the position function of an object, so all we need to do is find its derivative, and we'll have the velocity of the object at any time $t.$

      The velocity function of the object is then $$v(t) = s'(t) = 12t^3 - 120t^2 + 252t = 12t(t-3)(t-7)$$

      Note that we factored the velocity function here for use in later parts of this problem.


    2. The position of the object will not change at any time that its velocity is zero. So we need to set the derivative equal to zero and solve for $t.$ $$s'(t) = 0 \Leftrightarrow 12t(t-3)(t-7) = 0$$ From this, we see that the object is not moving when $t = 0, t = 3$ or $t=7.$


    3. To answer this part, we need to know where the derivative is positive (and hence the object is moving to the right) or negative (and hence the object is moving to the left). Because the derivative is continuous, we know that the only places that it can change sign are where it is zero. So, as we did in Example 5 above, we will use the zeros of the derivative to split the number line into intervals, then find the sign of the derivative on each interval.

      Here is the number line for this problem:

      Basic number line with a scale from t=-2 to t=10 that is divided into four sections by vertical dashed lines at t=0, t=3, and t=7.  In the interval t < 0, the derivative is negative at the test point t=-1.  In the interval 0 < t < 3, the derivative is positive at the test point t=1.  In the interval 3< t < 7, the derivative is negative at the test point t=4. In the interval t>7, the derivative is positive at the test point t=8.

      From this, we deduce the following information:

      Moving right when   $0\lt t\lt 3$ or $7\lt t\lt\infty$

      Moving left when   $-\infty\lt t\lt 0$ or $3\lt t\lt 7$

      Note that depending upon your interpretation of $t$ as time, you may or may not have included the interval $-\infty \lt t\lt 0$ in the "moving left" answer.


    4. The acceleration of an object is the rate of change of its velocity. So we need to find the derivative of the velocity function. Recall that this is also the second derivative of the position function.

      So the acceleration function is then $$s''(t) = v'(t) = 36t^2 - 240t + 252$$ and the acceleration at $t = 1$ is $$s''(1) = v'(1) = 36-240+252 = 48 \text{ feet per second per second}$$


  43. Determine where the function $h(z) = 6 + 40z^3 - 5z^4 - 4z^5$ is increasing and where it is decreasing.



  44. Recall that one of the interpretations of the derivative is that it gives the rate of change of the function at any point. Since we are asked to find where the function is increasing and decreasing, we are talking about the rate of change of the function. So, we'll need the derivative. $$h'(z) = 120z^2 - 20z^3 - 20z^4 = -20z^2(z+3)(z-2)$$

    Note that the derivative was factored here for later steps. This doesn't really need to be done in general.

    To find the answer to this problem, we need to know where the derivative is positive (and hence the function is increasing) or negative (and hence the function is decreasing). Because the derivative is continuous, we know that the only places where it can change sign are where it is zero. So let's first find those points. $$h'(z) = 0 \Leftrightarrow -20z^2(z+3)(z-2) = 0 \Leftrightarrow z=0, z=-3, z=2$$

    Now we will use the zeros of the derivative to split the number line into intervals, then find the sign of the derivative on each interval. Here is the number line for this problem:

    Basic number line with a scale from z=-5 to z=5 that is divided into four sections by vertical dashed lines at z=-3, z=0, and z=2.  In the interval z < -3, the derivative is negative at the test point z=-4.  In the interval -3 < z < 0, the derivative is positive at the test point z=-1.  In the interval 0< z < 2, the derivative is positive at the test point z=1. In the interval z>2, the derivative is negative at the test point z=3.

    From this, we deduce the increasing/decreasing information.

    Increasing when   $-3\lt z\lt 0$ or $0\lt z\lt 2$

    Decreasing when   $-\infty \lt z\lt -3$ or $2\lt z\lt \infty$


  45. Determine where the function $R(x) = (x+1)(x-2)^2$ is increasing and where it is decreasing.


  46. Recall that one of the interpretations of the derivative is that it gives the rate of change of the function at any point. Since we are asked to find where the function is increasing or decreasing, we are talking about the rate of change of the function. So, we need the derivative. We will first need to multiply out the factors so that we can use the power rule. Here are the rewritten function and the derivative: $$R(x) = x^3 - 3x^2 +4\hspace{1.25in} R'(x) = 3x^2 - 6x=3x(x-2)$$ Note that the derivative was factored for use in later steps. This doesn't really need to be done in general.

    To answer the question, we need to know where the derivative is positive (and hence the function is increasing) or negative (and hence the function is decreasing). Because the derivative is continuous, we know that the only places it can change sign are where it is zero. So let's first find those points. $$R'(x) = 0 \Leftrightarrow 3x(x-2)=0 \Leftrightarrow x=0, x=2$$

    Now we will use the zeros of the derivative to split the number line into intervals, then find the sign of the derivative on each interval. Here is the number line for this problem:

    Basic number line with a scale from x=-2 to x=4 that is divided into three sections by vertical dashed lines at x=0 and x=2.  In the interval x < 0, the derivative is positive at the test point x=-1.  In the interval 0 < x < 2, the derivative is negative at the test point x=1.  In the interval x>2, the derivative is positive at the test point x=3.

    From this, we deduce the increasing/decreasing information.

    Increasing when   $-\infty\lt x\lt 0$ or $2\lt x\lt \infty$

    Decreasing when   $0\lt x\lt 2$


  47. Determine where, if anywhere, the tangent line to $f(x) = x^3 - 5x^2 + x$ is parallel to the line $y=4x+23.$


  48. Since two lines are parallel if they have the same slope, we need the slopes of the tangent lines to the graph of $f.$ Recall that this is one of the interpretations of the derivative, so we need to take the derivative of the function. $$f'(x) = 3x^2-10x+1$$

    The slope of the line $y=4x+23$ is 4, so we need to find any points where the slope of the tangent line to $f$ is 4. In other words, we need to solve $f'(x) = 4$ for $x.$ $$f'(x) = 4 \Leftrightarrow 3x^2 -10x +1 = 4 \Leftrightarrow 3x^2 - 10x -3 = 0$$

    This quadratic doesn't factor, so we use the quadratic formula to find $$x=\frac{10\pm \sqrt{136}}{6} = \frac{10\pm 2\sqrt{34}}{6} = \frac{5\pm \sqrt{34}}{3}$$

    So the tangent line is parallel to the line $y=4x+23$ at the points where $$x = \frac{5-\sqrt{34}}{3}\approx -0.276984 \hspace{1.25in} x=\frac{5+\sqrt{34}}{3}\approx 3.61032$$


  49. Determine where the function $f(x) = 4\cos(x)-x$ is increasing and where it is decreasing in the interval $[-2,7]$


  50. The function will be increasing wherever its rate of change is positive, and will be decreasing wherever its rate of change is negative. Since the derivative gives us the rate of change of a function, we need the derivative.

    $$f'(x) = -4\sin(x) - 1$$

    Next we need to know where the derivative is zero: $$-4\sin(x)-1 = 0\hspace{.25in} \Leftrightarrow \hspace{.25in} \sin(x) = -\frac14$$

    Using a calculator to solve for $x$, we find $$x=\arcsin\left(-\frac14\right) \approx -0.2527$$

    Recall that we can find an equivalent positive angle by adding $2\pi.$ So we also have $x\approx2\pi -0.2527 = 6.0305.$

    By looking at the unit circle, we see that $x\approx \pi +0.2527 = 3.3943$ is another solution.

    Putting these together, we see that the derivative will be zero at $$x\approx 6.0305 +2\pi n \hspace{.2in} \text{and}\hspace{.2in} x\approx 3.3943+2\pi n$$ for $n$ any integer.

    By testing a few values of $n$, we see that the first set of solutions only falls into the interval $[-2,7]$ for $n = -1$ and $n=0$, and the second set of solutions is only in the desired interval when $n = 0$.

    In the interval $[-2,7]$, the derivative is zero when $$x\approx -0.2527, 3.3943, 6.0305$$

    Now to find where the function is increasing and decreasing, we need to find the intervals over which the derivative is positive, and those over which it is negative. Because the derivative is continuous, the only places it can change sign are where the derivative is zero. We will test points in each of the intervals formed by the values we just found.

    From this, we deduce the increasing/decreasing information.

    Increasing when   $-2\leq x\lt -0.2527, 3.3943\lt x\lt 6.0305$

    Decreasing when   $-0.2527\lt x\lt 3.3943, 6.0305\lt x\leq 7$

    Note that because we only looked at what is happening in the interval $[-2,7]$, we can't say anything about the increasing/decreasing behavior of the function outside of this interval.


Assignment Problems

For problems 1 - 20, find the derivative of the given function, using the rules learned in this section.

  1. $g(x) = 8-4x^3+2x^8$
  2. $f(z) = z^{10} - 7z^5 + 2z^3 - z^2$
  3. $y=8x^4 - 10x^3-9x+4$
  4. $f(x) = 3x^{-4} + x^4 - 3x$
  5. $R(t) = 9t^{10} + 8t^{-10} +12$
  6. $h(y) = 3y^{-6} - 8y^{-3} + 9y^{-1}$
  7. $g(t) = t^{-7} + 2t^{-3} - 6t^{-2} + 8t^4 - 1$
  8. $z = \sqrt[6]{x} - 7\sqrt[4]{x} + 3\sqrt{x}$
  9. $f(x) = 7\sqrt[9]{x^4} - 2\sqrt{x^7} + \sqrt[3]{x^4}$
  10. $h(y) = 6\sqrt{y} + \sqrt[6]{y^5} + \displaystyle\frac{7}{\sqrt[9]{y^2}}$
  11. $g(z) = \displaystyle\frac{4}{z^2} + \displaystyle\frac{1}{7z^5} - \displaystyle\frac{1}{2z}$
  12. $y=\displaystyle\frac{2}{3t^9}+\displaystyle\frac{1}{7t^3}-9t^2-\sqrt{t^3}$
  13. $W(x) = x^3 - \displaystyle\frac{1}{x^6} + \displaystyle\frac{1}{\sqrt[5]{x^2}}$
  14. $g(w) = (w-5)(w^2 + 1)$
  15. $h(x) = \sqrt{x}(1-9x^3)$
  16. $f(t) = (3-2t^3)^2$
  17. $g(x) = (1+2x)(2-x+x^2)$
  18. $y=\displaystyle\frac{4-8x+2x^2}{x}$
  19. $Y(t) = \displaystyle\frac{t^4-2t^2+7t}{t^3}$
  20. $S(x) = \displaystyle\frac{w^2(2-w) + w^5}{3w}$

For problems 21 - 26, determine where, if anywhere, the function is not changing.

  1. $f(x) = 2x^3 - 9x^2 - 108x +14$
  2. $u(t) = 45 + 300t^2 + 20t^3 - 3t^4$
  3. $Q(t) = t^3 - 9t^2 + t-10$
  4. $h(w) = 2w^3+3w^2+4w+5$
  5. $g(x)=9+8x^2+3x^3-x^4$
  6. $G(z)=z^2(z-1)^2$
  7. Write the equation of the tangent line to the graph of $f(x) = 3x^5 - 4x^2 +9x -12$ at $x=-1.$
  8. Write the equation of the tangent line to the graph of $g(x) = \displaystyle\frac{x^2+1}{x}$ at $x=2.$
  9. Write the equation of the tangent line to the graph of $h(x) = 2\sqrt{x} - 8\sqrt[4]{x}$ at $x=16.$
  10. The position of an object at any time $t$ is given by $s(t) = 3t^4 - 44t^3 + 108t^2 + 20.$
    1. Determine the velocity of the object at any time $t.$
    2. Is the object ever at rest? If so, at what time(s) is it at rest?
    3. When is the object moving to the right and when is the object moving to the left?
  11. The position of an object at any time $t$ is given by $s(t) = 1-150t^3+45t^4-2t^5.$
    1. Determine the velocity of the object at any time $t.$
    2. Is the object ever at rest? If so, at what time(s) is it at rest?
    3. When is the object moving to the right and when is the object moving to the left?
  12. Determine where the function $f(x) = 4x^3-18x^2-336x+27$ is increasing and where it is decreasing.
  13. Determine where the function $g(w)=w^4+2w^3-15w^2-9$ is increasing and where it is decreasing.
  14. Determine where the function $V(t)=t^3-24t^2+192t-50$ is increasing and where it is decreasing.
  15. Determine the percentage of the interval $[-6,4]$ on which $f(x) = 7+10x^3-5x^4-2x^5$ is increasing.
  16. Determine the percentage of the interval $[-5,2]$ on which $f(x) = 3x^4-8x^3-144x^2$ is decreasing.
  17. Is $h(x)=3-x+x^2+2x^3$ increasing or decreasing more on the interval $[-1,1]$?
  18. Determine where, if anywhere, the tangent line to the graph of $f(x) = 12x^2-9x+3$ is parallel to the line $y=1-7x.$
  19. Determine where, if anywhere, the tangent line to the graph of $f(x)=8+4x+x^2-2x^3$ is perpendicular to the line $y=-\displaystyle\frac14 x+\displaystyle\frac83.$
  20. Determine where, if anywhere, the tangent line to the graph of $f(x) = \sqrt[3]{x}-8x$ is perpendicular to the line $y=2x-11.$
  21. Determine where, if anywhere, the tangent line to $f(x) = \displaystyle\frac{13x}{9} + \displaystyle\frac{1}{x}$ is parallel to the line $y=x.$



Determine whether each statement is true or false. Justify your answer.

  1. If $f(x) = \frac{1}{3x^2}$, then $f'(x) = -6x^{-3}$.
  2. $\lim\limits_{\theta \to 0}\frac{\cos(\theta)}{\theta} = 1$
  3. The function $f(x) = \sin(x)$ is increasing at $x = 0$ (use derivatives to justify your answer.