# 2.6: Using the Arithmetic of Derivatives – Examples

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

In this section we illustrate the computation of derivatives using the arithmetic of derivatives — Theorems 2.4.2, 2.4.3 and 2.4.5. To make it clear which rules we are using during the examples we will note which theorem we are using:

 $$\bullet \text{LIN}$$ to stand for “linearity” $$\frac{\mathrm{d} }{\mathrm{d} x}\{\alpha\,f(x)+\beta\,g(x)\} = \alpha\,f'(x)+\beta\,g'(x)$$ Theorem 2.4.2 $$\bullet \text{PR}$$ to stand for “product rule” $$\frac{\mathrm{d} }{\mathrm{d} x}\{f(x)\,g(x)\}=f'(x)\,g(x)+f(x)\,g'(x)$$ Theorem 2.4.3 $$\bullet \text{QR}$$ to stand for “quotient rule” $$\frac{\mathrm{d} }{\mathrm{d} x}\Big\{\frac{f(x)}{g(x)}\Big\}= \frac{f'(x)\,g(x)-f(x)\,g'(x)}{g(x)^2}$$ Theorem 2.4.5

##### Example 2.6.1 $$\frac{\mathrm{d} }{\mathrm{d} x} \{ 4x + 7 \}$$.

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x} \{ 4x + 7 \} &= 4 \cdot \frac{\mathrm{d} }{\mathrm{d} x} \{ x \} + 7 \cdot \frac{\mathrm{d} }{\mathrm{d} x} \{ 1 \} & \text{LIN}\\ &= 4 \cdot 1 + 7 \cdot 0 = 4 \end{align*}

where we have used LIN with $$f(x)=x\text{,}$$ $$g(x)=1\text{,}$$ $$\alpha=4\text{,}$$ $$\beta=7\text{.}$$

##### Example 2.6.2 $$\frac{\mathrm{d} }{\mathrm{d} x} \big\{ x ( 4x + 7) \big\}$$.

Continuing on from the previous example, we can use the product rule and the previous result to compute

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x} \big\{ x ( 4x + 7) \big\} &= x \cdot \frac{\mathrm{d} }{\mathrm{d} x} \{ 4x + 7 \} + (4x+7) \frac{\mathrm{d} }{\mathrm{d} x} \{ x \} & \text{PR}\\ &= x \cdot 4 + (4x+7) \cdot 1\\ &= 8x+7 \end{align*}

where we have used the product rule PR with $$f(x) =x$$ and $$g(x)=4x+7\text{.}$$

##### Example 2.6.3 $$\frac{\mathrm{d} }{\mathrm{d} x} \left\{ \frac{x}{4x + 7} \right \}$$.

In the same vein as the previous example, we can use the quotient rule to compute

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x} \left\{ \frac{x}{4x + 7} \right \} &= \frac{ (4x+7) \cdot \frac{\mathrm{d} }{\mathrm{d} x} \{x\} - x \cdot \frac{\mathrm{d} }{\mathrm{d} x} \{ 4x + 7 \} }{(4x+7)^2} & \text{QR}\\ &= \frac{ (4x+7) \cdot 1 - x \cdot 4 }{(4x+7)^2}\\ &= \frac{7}{(4x+7)^2} \end{align*}

where we have used the quotient rule QR with $$f(x) =x$$ and $$g(x)=4x+7\text{.}$$

Now for a messier example.

##### Example 2.6.4 Some examples should be messy.

Differentiate

\begin{align*} f(x)&=\frac{x}{2x+\frac{1}{3x+1}} \end{align*}

This problem looks nasty. But it isn't so hard if we just build it up a bit at a time.

• First, $$f(x)$$ is the ratio of

If we can find the derivatives of $$f_1(x)$$ and $$f_2(x)\text{,}$$ we will be able to get the derivative of $$f(x)$$ just by applying the quotient rule. The derivative, $$f'_1(x)=1\text{,}$$ of $$f_1(x)$$ is easy, so let's work on $$f_2(x)\text{.}$$
• The function $$f_2(x)$$ is the linear combination

If we can find the derivatives of $$f_3(x)$$ and $$f_4(x)\text{,}$$ we will be able to get the derivative of $$f_2(x)$$ just by applying linearity (Theorem 2.4.2). The derivative, $$f'_3(x)=1\text{,}$$ of $$f_3(x)$$ is easy. So let's work of $$f_4(x)\text{.}$$
• The function $$f_4(x)$$ is the ratio

$f_4(x)=\frac{1}{f_5(x)}\qquad\text{with}\qquad f_5(x)=3x+1 \nonumber$

If we can find the derivative of $$f_5(x)\text{,}$$ we will be able to get the derivative of $$f_4(x)$$ just by applying the special case the quotient rule (Corollary 2.4.6). The derivative of $$f_5(x)$$ is easy.
• So we have completed breaking down $$f(x)$$ into easy pieces. It is now just a matter of reversing the break down steps, putting everything back together, starting with the easy pieces and working up to $$f(x)\text{.}$$ Here goes.

\begin{align*} f_5(x)&=3x+1 \\ &&\hskip-1.3in \text{ so } \frac{\mathrm{d} }{\mathrm{d} x} f_5(x) &= 3\frac{\mathrm{d} }{\mathrm{d} x} x +\frac{\mathrm{d} }{\mathrm{d} x} 1 =3\cdot 1+0 = 3 & \text{LIN}\\ f_4(x)&=\frac{1}{f_5(x)}\\ &&\hskip-1.3in \text{ so } \frac{\mathrm{d} }{\mathrm{d} x} f_4(x)&=-\frac{f'_5(x)}{f_5(x)^2}=-\frac{3}{(3x+1)^2} & \text{QR}\\ f_2(x)&=2f_3(x)+f_4(x) \\ &&\hskip-1.3in \text{ so }\frac{\mathrm{d} }{\mathrm{d} x} f_2(x)&= 2f'_3(x)+ f'_4(x)=2-\frac{3}{(3x+1)^2} & \text{LIN}\\ f(x)&=\frac{f_1(x)}{f_2(x)}\\ &&\hskip-1.3in \text{ so }\frac{\mathrm{d} }{\mathrm{d} x} f(x)&=\frac{f'_1(x)f_2(x)-f_1(x)f'_2(x)}{f_2(x)^2} & \text{QR}\\ &&& =\frac{1\big[2x+\frac{1}{3x+1}\big]-x\big[2-\frac{3}{(3x+1)^2}\big]} {\big[2x+\frac{1}{3x+1}\big]^2} \end{align*}

Oof!
• We now have an answer. But we really should clean it up, not only to make it easier to read, but also because invariably such computations are just small steps inside much larger computations. Any future computations involving this expression will be a lot easier and less error prone if we clean it up now. Cancelling the $$2x$$ and the $$-2x$$ in

\begin{align*} 1\big[2x+\frac{1}{3x\!+\!1}\big] -x\big[2-\frac{3}{(3x\!+\!1)^2}\big] &=2x+\frac{1}{3x\!+\!1} -2x+\frac{3x}{(3x\!+\!1)^2}\\ &=\frac{1}{3x\!+\!1}+\frac{3x}{(3x\!+\!1)^2} \end{align*}

and multiplying both the numerator and denominator by $$(3x+1)^2$$ gives

\begin{align*} f'(x)&=\frac{\frac{1}{3x+1}+\frac{3x}{(3x+1)^2}} {\big[2x+\frac{1}{3x+1}\big]^2} \ \frac{(3x+1)^2}{(3x+1)^2}\\ &=\frac{(3x+1)+3x}{\big[2x(3x+1)+1\big]^2}\\ &=\frac{6x+1}{[6x^2+2x+1]^2}. \end{align*}

While the linearity theorem (Theorem 2.4.2) is stated for a linear combination of two functions, it is not difficult to extend it to linear combinations of three or more functions as the following example shows.

##### Example 2.6.5 Linearity of the derivative of three or more functions.

We'll start by generalising linearity to three functions.

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{a F(x)+ b G(x)+ c H(x)\big\} &=\frac{\mathrm{d} }{\mathrm{d} x}\big\{\ a \cdot [F(x)]\ +\ 1\cdot[b G(x)+c H(x)]\ \big\}\\ &=a F'(x)+\frac{\mathrm{d} }{\mathrm{d} x}\{b G(x)+c H(x)\}\\ &\qquad\text{by LIN with $\alpha=a, f(x)=F(x), \beta=1$,}\\ &\qquad\text{and } g(x)=b G(x)+c H(x)\\ &=a F'(x)+b G'(x)+c H'(x)\\ &\qquad\text{by LIN with } \alpha=b, f(x)=G(x), \beta=c,\\ &\qquad\text{and } g(x)=H(x) \end{align*}

This gives us linearity for three terms, namely (just replacing upper case names by lower case names)

\begin{gather*} \frac{\mathrm{d} }{\mathrm{d} x}\{af(x)+bg(x)+ch(x)\} =af'(x)+bg'(x)+ch'(x) \end{gather*}

Just by repeating the above argument many times, we may generalise to linearity for $$n$$ terms, for any natural number $$n\text{:}$$

\begin{align*} &\frac{\mathrm{d} }{\mathrm{d} x}\{a_1f_1(x)+a_2f_2(x)+\cdots+a_n f_n(x)\}\\ &\hskip0.5in=a_1f'_1(x)+a_2f'_2(x)+\cdots+a_n f'_n(x) \end{align*}

Similarly, while the product rule is stated for the product of two functions, it is not difficult to extend it to the product of three or more functions as the following example shows.

##### Example 2.6.6 Extending the product rule to more than two factors.

Once again, we'll start by generalising the product rule to three factors.

\begin{align*} &\frac{\mathrm{d} }{\mathrm{d} x}\{F(x)\,G(x)\,H(x)\} =F'(x)\,G(x)\,H(x) +F(x)\, \frac{\mathrm{d} }{\mathrm{d} x}\{G(x)\,H(x)\}\\ & \hskip1in\text{by PR with} f(x)=F(x) \text{ and } g(x)=G(x)H(x)\\ &\hskip0.5in=F'(x)\,G(x)\,H(x) +F(x)\, \big\{G'(x)\,H(x)+G(x)\,H'(x)\big\}\\ &\hskip1in\text{by PR with} f(x)=G(x) \text{ and } g(x)=H(x) \end{align*}

This gives us a product rule for three factors, namely (just replacing upper case names by lower case names)

\begin{gather*} \frac{\mathrm{d} }{\mathrm{d} x}\{f(x)\,g(x)\,h(x)\} = f'(x)\,g(x)\,h(x) +f(x)\,g'(x)\,h(x)+f(x)\,g(x)\,h'(x) \end{gather*}

Observe that when we differentiate a product of three factors, the answer is a sum of three terms and in each term the derivative acts on exactly one of the original factors. Just by repeating the above argument many times, we may generalise the product rule to give the derivative of a product of $$n$$ factors, for any natural number $$n\text{:}$$

We can also write the above as

\begin{align*} &\frac{\mathrm{d} }{\mathrm{d} x}\{f_1(x)\,f_2(x)\,\cdots\,f_n(x)\}\\ &\hskip0.5in= \left[ \frac{f_1'(x)}{f_1(x)}+ \frac{f_2'(x)}{f_2(x)}+ \cdots +\frac{f_n'(x)}{f_n(x)} \right] \cdot f_1(x)\,f_2(x)\,\cdots\,f_n(x) \end{align*}

When we differentiate a product of $$n$$ factors, the answer is a sum of $$n$$ terms and in each term the derivative acts on exactly one of the original factors. In the first term, the derivative acts on the first of the original factors. In the second term, the derivative acts on the second of the original factors. And so on.

If we make $$f_1(x) = f_2(x) = \cdots = f_n(x) = f(x)$$ then each of the $$n$$ terms on the right hand side of the above equation is the product of $$f'(x)$$ and exactly $$n-1$$ $$f(x)$$'s, and so is exactly $$f(x)^{n-1}\,f'(x)\text{.}$$ So we get the following useful result

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x} f(x)^n &= n\cdot f(x)^{n-1} \cdot f'(x). \end{align*}

This last result is quite useful, so let us write it as a lemma for future reference.

##### Lemma 2.6.7.

Let $$n$$ be a natural number and $$f$$ be a differentiable function. Then

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x} f(x)^n &= n\cdot f(x)^{n-1} \cdot f'(x). \end{align*}

This immediately gives us another useful result.

##### Example 2.6.8 Derivative of $$x^n$$.

We can now compute the derivative of $$x^n$$ for any natural number $$n\text{.}$$ Start with Lemma 2.6.7 and substitute $$f(x)=x$$ and $$f'(x)=1\text{:}$$

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x}x^n &= n \cdot x^{n-1} \cdot 1 = n\, x^{n-1} \end{align*}

Again — this is a result we will come back to quite a few times in the future, so we should make sure we can refer to it easily. However, at present this statement only holds when $$n$$ is a positive integer. With a little more work we can extend this to compute $$x^q$$ where $$q$$ is any positive rational number and then any rational number at all (positive or negative). So let us hold off for a little longer. Instead we can make it a lemma, since it will be an ingredient in quite a few of the examples following below and in constructing the final corollary.

##### Lemma 2.6.9 Derivative of $$x^n$$.

Let $$n$$ be a positive integer then

$\frac{\mathrm{d} }{\mathrm{d} x} x^n = n x^{n-1} \nonumber$

Back to more examples.

##### Example 2.6.10 Derivative of a polynomial.

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{2x^3+4x^5\big\} &=2\frac{\mathrm{d} }{\mathrm{d} x}\{x^3\}+4\frac{\mathrm{d} }{\mathrm{d} x}\{x^5\}\\ &\qquad\qquad\text{by LIN with } \alpha=2, f(x)=x^3, \beta=4 \text{ and } g(x)=x^5\\ &=2\{3x^2\}+4\{5x^4\}\\ \end{align*}

by Lemma 2.6.9, once with $$n=3\text{,}$$ and once with $$n=5$$

\begin{align*} &=6x^2+20x^4 \end{align*}

##### Example 2.6.11 Derivative of product of polynomials.

In this example we'll compute $$\frac{\mathrm{d} }{\mathrm{d} x}\big\{(3x+9)(x^2+4x^3)\big\}$$ in two different ways. For the first, we'll start with the product rule.

\begin{align*} &\frac{\mathrm{d} }{\mathrm{d} x}\big\{(3x+9)(x^2+4x^3)\big\}\\ &\hskip0.5in=\Big\{\frac{\mathrm{d} }{\mathrm{d} x}(3x+9)\Big\}\ (x^2+4x^3) +(3x+9)\ \frac{\mathrm{d} }{\mathrm{d} x}\{x^2+4x^3\}\\ &\hskip0.5in=\big\{3\times 1+9\times 0\big\}\ (x^2+4x^3) +(3x+9)\ \{2x+4(3x^2)\}\\ &\hskip0.5in=3(x^2+4x^3)+(3x+9)\ (2x+12x^2)\\ &\hskip0.5in=3x^2+12x^3+(6x^2+18x+36x^3+108x^2)\\ &\hskip0.5in=18x+117x^2+48x^3 \end{align*}

For the second, we expand the product first and then differentiate.

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{(3x+9)(x^2+4x^3)\big\} &=\frac{\mathrm{d} }{\mathrm{d} x}\big\{9x^2+39x^3+12x^4\big\}\\ &=9(2x)+39(3x^2)+12(4x^3)\\ &=18x+117x^2+48x^3 \end{align*}

##### Example 2.6.13 Derivative of a cube-root.

In this example, we'll use a little trickery to find the derivative of $$\root{3}\of{x}\text{.}$$ The trickery consists of observing that, by the definition of the cube root,

\begin{gather*} x= \left(\root{3}\of{x}\right)^3. \end{gather*}

Since both sides of the expression are the same, they must have the same derivatives:

\begin{gather*}\frac{\mathrm{d} }{\mathrm{d} x}\left\{x\right\} =\frac{\mathrm{d} }{\mathrm{d} x}\left(\root{3}\of{x}\right)^3. \end{gather*}

We already know by Theorem 2.2.4 that

\begin{gather*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{x\big\}=1 \end{gather*}

and that, by Lemma 2.6.7 with $$n=3$$ and $$f(x)=\root{3}\of{x}\text{,}$$

\begin{gather*} \frac{\mathrm{d} }{\mathrm{d} x}\big(\root{3}\of{x}\big)^3 = 3\ \big(\root{3}\of{x}\big)^2\cdot \frac{\mathrm{d} }{\mathrm{d} x}\big\{\root{3}\of{x}\big\} = 3\,x^{2/3}\cdot \frac{\mathrm{d} }{\mathrm{d} x}\big\{\root{3}\of{x}\big\}. \end{gather*}

Since we know that $$\frac{\mathrm{d} }{\mathrm{d} x}\left\{x\right\} = \frac{\mathrm{d} }{\mathrm{d} x}\left(\root{3}\of{x}\right)^3\text{,}$$ we must have

\begin{align*} 1=3x^{2/3}\cdot \frac{\mathrm{d} }{\mathrm{d} x}\big\{\root{3}\of{x}\big\}\\ \end{align*}

which we can rearrange to give the result we need

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{\root{3}\of{x}\big\} &=\tfrac{1}{3} x^{-2/3} \end{align*}
##### Example 2.6.14 Derivative of a positive rational power of $$x$$.

In this example, we'll use the same trickery as in Example 2.6.13 to find the derivative $$x^{p/q}$$ for any two natural numbers $$p$$ and $$q\text{.}$$ By definition of the $$q^{\rm th}$$ root,

\begin{gather*} x^p= \big(x^{p/q}\big)^q. \end{gather*}

That is, $$x^p$$ and $$\big(x^{p/q}\big)^q$$ are the same function, and so have the same derivative. So we differentiate both of them. We already know that, by Lemma 2.6.9 with $$n=p\text{,}$$

\begin{gather*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{x^p\big\}=p x^{p-1} \end{gather*}

and that, by Lemma 2.6.7 with $$n=q$$ and $$f(x)=x^{p/q}\text{,}$$

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{\big(x^{p/q}\big)^q\big\} & = q\ \big(x^{p/q}\big)^{q-1}\ \frac{\mathrm{d} }{\mathrm{d} x}\big\{x^{p/q}\big\} \end{align*}

Remember that $$(x^a)^b = x^{(a \cdot b)}\text{.}$$ Now these two derivatives must be the same. So

\begin{align*} p x^{p-1} &=q\cdot x^{(pq-p)/q} \frac{\mathrm{d} }{\mathrm{d} x}\big\{x^{p/q}\big\}\\ \end{align*}

and, rearranging things,

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{x^{p/q}\big\} & =\frac{p}{q} x^{p-1-(pq-p)/q}\\ & =\frac{p}{q} x^{(pq-q-pq+p)/q}\\ & =\frac{p}{q} x^{\frac{p}{q}-1} \end{align*}

So finally

$\frac{\mathrm{d} }{\mathrm{d} x} \left\{ x^{p/q} \right\} = \frac{p}{q} x^{\frac{p}{q} -1 } \nonumber$

Notice that this has the same form as Lemma 2.6.9, above, except with $$n=\frac{p}{q}$$ allowed to be any positive rational number, not just a positive integer.

##### Example 2.6.15 Derivative of $$x^{-n}$$.

In this example we'll use the quotient rule to find the derivative of $$x^{-m}\text{,}$$ for any natural number $$m\text{.}$$

By the special case of the quotient rule (Corollary 2.4.6) with $$g(x)=x^m$$ and $$g'(x)=mx^{m-1}$$

\begin{gather*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{x^{-m}\big\} =\frac{\mathrm{d} }{\mathrm{d} x}\bigg\{\frac{1}{x^m}\bigg\} =-\,\frac{mx^{m-1}}{{(x^m)}^2} =-m x^{-m-1} \end{gather*}

Again, notice that this has the same form as Lemma 2.6.9, above, except with $$n=-m$$ being a negative integer.

##### Example 2.6.16 Derivative of a negative rational power of $$x$$.

In this example we'll use the quotient rule to find the derivative of $$x^{-p/q}\text{,}$$ for any pair of natural numbers $$p$$ and $$q\text{.}$$ By the special case the quotient rule (Corollary 2.4.6) with $$g(x)=x^{\frac{p}{q}}$$ and $$g'(x)=\frac{p}{q}x^{\frac{p}{q}-1}\text{,}$$

\begin{gather*} \frac{\mathrm{d} }{\mathrm{d} x}\big\{x^{-\frac{p}{q}}\big\} =\frac{\mathrm{d} }{\mathrm{d} x}\bigg\{\frac{1}{x^{\frac{p}{q}}}\bigg\} =-\,\frac{\frac{p}{q}x^{\frac{p}{q}-1}}{{(x^{\frac{p}{q}})}^2} =-\frac{p}{q}\ x^{-\frac{p}{q}-1} \end{gather*}

Note that we have found, in Examples 2.2.2, 2.6.14 and 2.6.16, the derivative of $$x^a$$ for any rational number $$a\text{,}$$ whether 0, positive, negative, integer or fractional. In all cases, the answer is

##### Corollary 2.6.17 Derivative of $$x^a$$.

Let $$a$$ be a rational number, then

$\frac{\mathrm{d} }{\mathrm{d} x} x^a = a x^{a-1} \nonumber$

We shall show, in Example 2.10.5, that the formula $$\frac{\mathrm{d} }{\mathrm{d} x} x^a = a x^{a-1}$$ in fact applies for all real numbers $$a\text{,}$$ not just rational numbers.

Back in Example 2.2.9 we computed the derivative of $$\sqrt{x}$$ from the definition of the derivative. The above corollary (correctly) gives

\begin{align*} \frac{\mathrm{d} }{\mathrm{d} x} x^{\frac{1}{2}} &= \frac{1}{2} x^{-\frac{1}{2}} \end{align*}

but with far less work.

Here's an (optional) messy example.

##### Example 2.6.18 Optional messy example.

Find the derivative of

$f(x)=\frac{(\sqrt{x}-1)(2-x)(1-x^2)}{\sqrt{x}(3+2x)} \nonumber$

• As we seen before, the best strategy for dealing with nasty expressions is to break them up into easy pieces. We can think of $$f(x)$$ as the five–fold product

$f(x)=f_1(x)\cdot f_2(x)\cdot f_3(x)\cdot \frac{1}{f_4(x)}\cdot \frac{1}{f_5(x)} \nonumber$

with

\begin{align*} f_1(x)&=\sqrt{x}-1& f_2(x)&=2-x& f_3(x)&=1-x^2\\ f_4(x)&=\sqrt{x}& f_5(x)&=3+2x \end{align*}

• By now, the derivatives of the $$f_j$$'s should be easy to find:

\begin{align*} f'_1(x)&=\frac{1}{2\sqrt{x}}& f'_2(x)&=-1& f'_3(x)&=-2x\\ f'_4(x)&=\frac{1}{2\sqrt{x}}& f'_5(x)&=2 \end{align*}

• Now, to get the derivative $$f(x)$$ we use the $$n$$–fold product rule which was developed in Example 2.6.6, together with the special case of the quotient rule (Corollary 2.4.6).

\begin{align*} f'(x)&=f'_1f_2f_3\frac{1}{f_4}\frac{1}{f_5} +f_1f'_2f_3\frac{1}{f_4}\frac{1}{f_5} +f_1f_2f'_3\frac{1}{f_4}\frac{1}{f_5} -f_1f_2f_3\frac{f'_4}{f^2_4}\frac{1}{f_5}\\ & \hskip2.5in-f_1f_2f_3\frac{1}{f_4}\frac{f'_5}{f^2_5}\\ &=\Big[\frac{f'_1}{f_1}+\frac{f'_2}{f_2}+\frac{f'_3}{f_3}-\frac{f'_4}{f_4} -\frac{f'_5}{f_5}\Big]f_1f_2f_3\frac{1}{f_4}\frac{1}{f_5}\\ &=\bigg[\frac{1}{2\sqrt{x}(\sqrt{x}-1)} -\frac{1}{2-x}-\frac{2x}{1-x^2}-\frac{1}{2x} -\frac{2}{3+2x}\bigg]\\ & \hskip2.5in\frac{(\sqrt{x}-1)(2-x)(1-x^2)}{\sqrt{x}(3+2x)} \end{align*}

The trick that we used in going from the first line to the second line, namely multiplying term number $$j$$ by $$\frac{f_j(x)}{f_j(x)}$$ is often useful in simplifying the derivative of a product of many factors 1.

## Exercises

##### Exercise $$\PageIndex{1}$$

Spot and correct the error(s) in the following calculation.

\begin{align*} f(x)&=\frac{2x}{x+1}\\ f'(x)&=\frac{2(x+1)+2x}{(x+1)^2}\\ &=\frac{2(x+1)}{(x+1)^2}\\ &=\frac{2}{x+1} \end{align*}

##### Exercise $$\PageIndex{2}$$

True or false: $$\frac{\mathrm{d} }{\mathrm{d} x}\{2^x\}=x2^{x-1}\text{.}$$

##### Exercise $$\PageIndex{3}$$

Differentiate $$f(x)=\frac{2}{3}x^6+5x^4+12x^2+9$$ and factor the result.

##### Exercise $$\PageIndex{4}$$

Differentiate $$s(t)=3t^4+5t^3-\frac{1}{t}\text{.}$$

##### Exercise $$\PageIndex{5}$$

Differentiate $$x(y) = \left(2y+\frac{1}{y}\right)\cdot y^3\text{.}$$

##### Exercise $$\PageIndex{6}$$

Differentiate $$T(x) = \dfrac{\sqrt{x}+1}{x^2+3}\text{.}$$

##### Exercise $$\PageIndex{7}$$(✳)

Compute the derivative of $$\left(\dfrac{7x+2}{x^2+3}\right)\text{.}$$

##### Exercise $$\PageIndex{8}$$

What is $$f'(0)\text{,}$$ when $$f(x)=(3x^3+4x^2+x+1)(2x+5)\text{?}$$

##### Exercise $$\PageIndex{9}$$

Differentiate $$f(x)=\dfrac{3x^3+1}{x^2+5x}\text{.}$$

##### Exercise $$\PageIndex{10}$$(✳)

Compute the derivative of $$\left(\dfrac{3x^2+5}{2-x}\right)$$

##### Exercise $$\PageIndex{11}$$(✳)

Compute the derivative of $$\left(\dfrac{2-x^2}{3x^2+5}\right)\text{.}$$

##### Exercise $$\PageIndex{12}$$(✳)

Compute the derivative of $$\left(\dfrac{2x^3+1}{x+2}\right)\text{.}$$

##### Exercise $$\PageIndex{13}$$(✳)

For what values of $$x$$ does the derivative of $$\dfrac{\sqrt{x}}{1-x^2}$$ exist? Explain your answer.

##### Exercise $$\PageIndex{14}$$

Differentiate $$f(x)=\left(3\sqrt{x}+15\sqrt{x}+8\right)\left(3x^2+8x-5\right)\text{.}$$

##### Exercise $$\PageIndex{15}$$

Differentiate $$f(x)=\dfrac{(x^2+5x+1)(\sqrt{x}+\sqrt{x})}{x}\text{.}$$

##### Exercise $$\PageIndex{16}$$

Find all $$x$$-values where $$f(x)=\dfrac{1}{\frac{1}{5}x^5+x^4-\frac{5}{3}x^3}$$ has a horizontal tangent line.

##### Exercise $$\PageIndex{17}$$(✳)

Find an equation of a line that is tangent to both of the curves $$y = x^2$$ and $$y = x^2 - 2x + 2$$ (at different points).

##### Exercise $$\PageIndex{18}$$

[1998H] Find all lines that are tangent to both of the curves $$y=x^2$$ and $$y=-x^2+2x-5\text{.}$$ Illustrate your answer with a sketch.

##### Exercise $$\PageIndex{19}$$(✳)

Evaluate $$\displaystyle \lim_{x\to 2015}\left( \dfrac{\cos(x)-\cos(2015)}{x-2015}\right).$$

##### Exercise $$\PageIndex{20}$$(✳)

Evaluate $$\displaystyle \lim_{x\to \pi/3}\left( \dfrac{\cos(x)-1/2}{x-\pi/3}\right).$$

##### Exercise $$\PageIndex{21}$$(✳)

Evaluate $$\displaystyle \lim_{x\to \pi}\left(\dfrac{\sin(x)}{x-\pi}\right).$$

##### Exercise $$\PageIndex{22}$$(✳)

Evaluate $$\displaystyle \lim_{x\to 2}\left( \dfrac{x^{2015}-2^{2015}}{x-2}\right).$$

This page titled 2.6: Using the Arithmetic of Derivatives – Examples is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Joel Feldman, Andrew Rechnitzer and Elyse Yeager via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.