Navigation

Computing derivatives

4.1 Arithmetic of derivatives

49 problems · hints, answers and solutions shown beside each one

Stage 1 · Conceptual

Q1Stage 1

True or false: ddx{f(x)+g(x)}=f(x)+g(x)\ds\diff{}{x}\{f(x)+g(x)\}=f'(x)+g'(x) when ff and gg are differentiable functions.

Hint

Look at the Sum rule

Answer

True

Full solution

True: this is exactly what the Sum Rule states.

Q2Stage 1

True or false: ddx{f(x)g(x)}=f(x)g(x)\ds\diff{}{x}\{f(x)g(x)\}=f'(x)g'(x) when ff and gg are differentiable functions.

Hint

Try an example, like f(x)=g(x)=xf(x)=g(x)=x.

Answer

False, in general

Full solution

False, in general. The product rule tells us ddx{f(x)g(x)}=f(x)g(x)+f(x)g(x)\diff{}{x}\{f(x)g(x)\}=f'(x)g(x)+f(x)g'(x). An easy example of why we can't do it the other way is to take f(x)=g(x)=xf(x)=g(x)=x. Then the equation becomes ddx{x2}=(1)(1)\diff{}{x}\{x^2\}=(1)(1), which is false.

Q3Stage 1

True or false: ddx{f(x)g(x)}=f(x)g(x)f(x)g(x)g2(x)\ds\diff{}{x}\left\{\dfrac{f(x)}{g(x)}\right\}=\dfrac{f'(x)}{g(x)}-\dfrac{f(x)g'(x)}{g^2(x)} when ff and gg are differentiable functions.

Hint

Simplify

Answer

True

Full solution

True: the quotient rule tells us

ddx{f(x)g(x)}=g(x)f(x)f(x)g(x)g2(x)=g(x)f(x)g2(x)f(x)g(x)g2(x)=f(x)g(x)f(x)g(x)g2(x).\diff{}{x}\left\{\frac{f(x)}{g(x)}\right\}=\frac{g(x)f'(x)-f(x)g'(x)}{g^2(x)} = \frac{g(x)f'(x)}{g^2(x)}-\frac{f(x)g'(x)}{g^2(x)} = \frac{f'(x)}{g(x)}-\frac{f(x)g'(x)}{g^2(x)}.
Q4Stage 1

Let ff be a differentiable function. Use at least three different rules to differentiate g(x)=3f(x){g(x)=3f(x)} in different ways, and verify that they all give the same answer.

Hint

g(x)=f(x)+f(x)+f(x)g(x)=f(x)+f(x)+f(x)

Answer

If you're creative, you can find lots of ways to differentiate!
Constant multiple: g(x)=3f(x)g'(x)=3f'(x).
Product rule: g(x)=ddx{3}f(x)+3f(x)=0f(x)+3f(x)=3f(x)g'(x) = \diff{}{x}\{3\}f(x)+3f'(x)=0f(x)+3f'(x)=3f'(x).
Sum rule: g(x)=ddx{f(x)+f(x)+f(x)}=f(x)+f(x)+f(x)=3f(x)g'(x)=\diff{}{x}\{f(x)+f(x)+f(x)\}=f'(x)+f'(x)+f'(x)=3f'(x).
Quotient rule: $g'(x)=\diff{}{x}\left{\frac{f(x)}{\frac{1}{3}}\right}= \frac{\frac{1}{3}f'(x)-f(x)(0)}{\frac{1}{9}}=\frac{\frac{1}{3}f'(x)}{\frac{1}{9}}=9\left(\frac{1}{3}\right)f'(x)=3f'(x)$.
All rules give g(x)=3f(x)g'(x)=3f'(x).

Full solution

If you're creative, you can find lots of ways to differentiate!
Constant multiple: g(x)=3f(x)g'(x)=3f'(x).
Product rule: g(x)=ddx{3}f(x)+3f(x)=0f(x)+3f(x)=3f(x)g'(x) = \diff{}{x}\{3\}f(x)+3f'(x)=0f(x)+3f'(x)=3f'(x).
Sum rule: g(x)=ddx{f(x)+f(x)+f(x)}=f(x)+f(x)+f(x)=3f(x)g'(x)=\diff{}{x}\{f(x)+f(x)+f(x)\}=f'(x)+f'(x)+f'(x)=3f'(x).
Quotient rule: $g'(x)=\diff{}{x}\left{\frac{f(x)}{\frac{1}{3}}\right}= \frac{\frac{1}{3}f'(x)-f(x)(0)}{\frac{1}{9}}=\frac{\frac{1}{3}f'(x)}{\frac{1}{9}}=9\left(\frac{1}{3}\right)f'(x)=3f'(x)$.
All rules give g(x)=3f(x)g'(x)=3f'(x).

Stage 2 · Procedural

Q5Stage 2

Differentiate f(x)=3x2+4x1/2f(x)=3x^2+4x^{1/2} for x>0x>0.

Hint

Use linearity and the known derivatives of x2x^2 and x1/2x^{1/2}.

Answer

f(x)=6x+2xf'(x)=6x+\frac{2}{\sqrt{x}}

Full solution

We know, from Examples 3.3.10 and 3.3.15 in the text, that ddxx2=2x\diff{}{x}x^2=2x and ddxx1/2=12x\diff{}{x}x^{1/2}=\frac{1}{2\sqrt{x}}. So, by linearity,

f(x)=32x+412x=6x+2x\begin{equation*} f'(x)=3\cdot 2x+ 4\cdot \frac{1}{2\sqrt{x}} =6x+\frac{2}{\sqrt{x}} \end{equation*}
Q6Stage 2

Let f(x)=2xf(x)=2^{x}. What is f(n)(x)f^{(n)}(x), if nn is a whole number?

Hint

Remember ddx{2x}=2xlog2\ds\diff{}{x}\{2^x\}=2^x\log2.

Answer

f(n)=2x(log2)nf^{(n)}=2^x(\log 2)^n

Full solution

We differentiate a few time to find the pattern.

ddx{2x}=2xlog2d2dx2{2x}=2xlog2log2=2x(log2)2d3dx3{2x}=2x(log2)2log2=2x(log2)3\begin{align*}\diff{}{x}\{2^x\}&=2^x\log 2\\ \ddiff{2}{}{x}\{2^x\}&=2^x\log2 \cdot \log 2 = 2^x(\log2)^2\\ \ddiff{3}{}{x}\{2^x\}&=2^x(\log2)^2 \cdot \log 2 = 2^x(\log2)^3\end{align*}

Every time we differentiate, we multiply the original function by another factor of log2\log 2. So, the nnth derivative is given by:

dndxn{2x}=2x(log2)n\begin{align*}\ddiff{n}{}{x}\{2^x\}&=2^x(\log2)^n\end{align*}
Q7Stage 2

Use the product rule to differentiate f(x)=(2x+5)(8x9x)f(x)=(2x+5)(8\sqrt{x}-9x).

Hint

You have already seen ddx{x}\diff{}{x}\{\sqrt{x}\}.

Answer

36x+24x+20x45-36x+24\sqrt{x}+\frac{20}{\sqrt{x}}-45

Full solution

We have already seen ddx{x}=12x\diff{}{x}\{\sqrt{x}\}=\frac{1}{2\sqrt{x}} in Example 3.3.15 of the text. Now:

f(x)=(2)(8x9x)+(2x+5)(82x9)=16x18x+(2x+5)(4x9)=36x+24x+20x45\begin{align*}f'(x) &= (2)(8\sqrt{x}-9x)+(2x+5)\left(\frac{8}{2\sqrt{x}}-9\right)\\ &= 16\sqrt{x}-18x+(2x+5)\left(\frac{4}{\sqrt{x}}-9\right)\\ &=-36x+24\sqrt{x}+\frac{20}{\sqrt{x}}-45 \end{align*}
Q8Stage 2Past exam · 2015Q

Find the equation of the tangent line to the graph of y=x3y=x^3 at x=12x=\dfrac{1}{2}.

Hint

The equation of a line can be determined using a point, and the slope. The derivative of x3x^3 can be found by writing x3=(x)(x2)x^3=(x)(x^2).

Answer

y18=34(x12)y - \frac{1}{8} = \frac{3}{4}\cdot \left(x-\frac{1}{2}\right), or y=34x14y= \tfrac{3}{4} x - \tfrac{1}{4}

Full solution

We already know that ddxx=1\diff{}{x}x=1 and ddxx2=2x\diff{}{x}x^2=2x, so we can compute the derivative of x3x^3 by writing x3=(x)(x2)x^3=(x)(x^2),

ddxx3=ddx(x)(x2)=(1)(x2)+(x)(2x)=3x2\begin{equation*} \diff{}{x} x^3 =\diff{}{x} (x)(x^2) = (1)(x^2)+(x)(2x)=3x^2 \end{equation*}

When this is evaluated at x=12x=\frac{1}{2} we get 34\frac{3}{4}. Since we also compute (12)3=18\left( \frac{1}{2}\right)^3=\frac{1}{8}, the equation of the tangent line is

y18=34(x12).\begin{align*} y - \frac{1}{8} = \frac{3}{4}\cdot \left(x-\frac{1}{2}\right). \end{align*}
Q9Stage 2Past exam · 1999H

A particle moves along the xx–axis so that its position at time tt is given by x=t34t2+1x=t^3-4t^2+1 .

  1. At t=2t=2, what is the particle's speed? That is, what is the absolute value of its velocity?

  2. At t=2t=2, in what direction is the particle moving?

  3. At t=2t=2, is the particle's speed increasing or decreasing?

Hint

Be careful to distinguish between speed and velocity.

Answer

(a) 44 (b) left (c) decreasing

Full solution

Let f(t)=t34t2+1f(t)=t^3-4t^2+1. We saw in Question 8 that ddtt3=3t2\diff{}{t}t^3=3t^2. So

f(t)=3t28tf(2)=3×48×2=4f(t)=6t8f(2)=6×28=4\begin{align*} f'(t)&=3t^2-8t & f'(2)&=3\times 4-8\times 2=-4\cr f''(t)&=6t-8 & f''(2)&=6\times 2-8=4\cr \end{align*}

Hence at t=2t=2, (a) the particle has speed of magnitude 4, and (b) is moving towards the left. At t=2t=2, f(2)>0f''(2)>0, so ff' is increasing, i.e. becoming less negative. Since ff' is getting closer to zero, (c) the magnitude of the speed is decreasing.

Q10Stage 2Past exam · 1999H

Calculate and simplify the derivative of 2x12x+1\dfrac{2x-1}{2x+1}

Answer

1(x+1/2)2\dfrac{1}{{(x+1/2)}^2}, or 4(2x+1)2\dfrac{4}{(2x+1)^2}

Full solution

We can use the quotient rule here.

ddx{2x12x+1}=(2x+1)(2)(2x1)(2)(2x+1)2=4(2x+1)2=1(x+1/2)2\begin{align*} \diff{}{x}\left\{\frac{2x-1}{2x+1}\right\}&=\frac{(2x+1)(2)-(2x-1)(2)}{(2x+1)^2} =\frac{4}{(2x+1)^2}=\frac{1}{(x+1/2)^2} \end{align*}
Q11Stage 2

What is the slope of the graph y=(3x+13x2)2y=\left(\dfrac{3x+1}{3x-2}\right)^2 when x=1x=1?

Hint

How do you take care of that power?

Answer

72-72

Full solution

First, we find the yy' for general xx. Using the corollary to Theorem 4.1.3 and the quotient rule:

y=2(3x+13x2)ddx{3x+13x2}=2(3x+13x2)((3x2)(3)(3x+1)(3)(3x2)2)=2(3x+13x2)(9(3x2)2)=18(3x+1)(3x2)3\begin{align*}y'&=2\left(\dfrac{3x+1}{3x-2}\right)\cdot\diff{}{x}\left\{\dfrac{3x+1}{3x-2}\right\}\\ &=2\left(\dfrac{3x+1}{3x-2}\right)\left(\dfrac{(3x-2)(3)-(3x+1)(3)}{(3x-2)^2}\right) \\ &=2\left(\dfrac{3x+1}{3x-2}\right)\left(\dfrac{-9}{(3x-2)^2}\right)\\ &=\dfrac{-18(3x+1)}{(3x-2)^3}\end{align*}

So, plugging in x=1x=1:

y(1)=18(3+1)(32)3=72\begin{align*}y'(1)&=\dfrac{-18(3+1)}{(3-2)^3}=-72\end{align*}

Stage 3 · Application

Q12Stage 3

Let g(x)=f(x)exg(x)=f(x)e^x, for a differentiable function f(x)f(x). Give a simplified formula for g(x)g'(x).

Functions of the form g(x)g(x) are relatively common. If you remember this formula, you can save yourself some time when you need to differentiate them.

Hint

After you differentiate, factor out exe^x.

Answer

g(x)=[f(x)+f(x)]exg'(x)=[f(x)+f'(x)]e^x

Full solution

Using the product rule, g(x)=f(x)ex+f(x)ex=[f(x)+f(x)]exg'(x)=f'(x)e^x+f(x)e^x=[f(x)+f'(x)]e^x

Q13Stage 3

A town is founded in the year 2000. After tt years, it has had b(t)b(t) births and d(t)d(t) deaths. Nobody enters or leaves the town except by birth or death (whoa). Give an expression for the rate the population of the town is growing.

Hint

Population growth is rate of change of population.

Answer

b(t)d(t)b'(t)-d'(t)

Full solution

Population growth is rate of change of population. Population in year 2000+t2000+t is given by P(t)=P0+b(t)d(t)P(t)=P_0+b(t)-d(t), where P0P_0 is the initial population of the town. Then P(t)P'(t) is the expression we're looking for, and P(t)=b(t)d(t)P'(t)=b'(t)-d'(t).

It is interesting to note that the initial population does not obviously show up in this calculation. It would probably affect b(t)b(t) and d(t)d(t), but if we know these we do not need to know P0P_0 to answer our question.

Q14Stage 3Past exam · 1997D

Find all points on the curve y=3x2y=3x^2 where the tangent line passes through (2,9)(2,9).

Answer

(1,3), (3,27)(1,3),\ (3,27)

Full solution

We already know that ddxx2=2x\diff{}{x}x^2=2x. So the slope of y=3x2y=3x^2 at x=ax=a is 6a6a. The tangent line to y=3x2y=3x^2 at x=a,y=3a2x=a, y=3a^2 is y3a2=6a(xa)y-3a^2=6a(x-a). This tangent line passes through (2,9)(2,9) if

93a2=6a(2a)3a212a+9=0a24a+3=0(a3)(a1)=0      a=1,3\begin{align*} 9-3a^2&=6a(2-a)\\ 3a^2-12a+9&=0\\ a^2-4a+3&=0\\ (a-3)(a-1)&=0\\ \implies~~a&=1,3 \end{align*}

The points are (1,3), (3,27)(1,3),\ (3,27).

Q15Stage 3Past exam · 2015Q

Evaluate $\displaystyle \lim_{y\rightarrow 0}\left( \dfrac{\sqrt{100180+y}-\sqrt{100180}}{y}\right)$ by interpreting the limit as a derivative.

Hint

Interpret it as a derivative that you know how to compute.

Answer

12100180\dfrac{1}{2\sqrt{100180}}

Full solution

This limit represents the derivative computed at x=100180x=100180 of the function f(x)=xf(x)=\sqrt{x}. Since the derivative of f(x)f(x) is 12x\dfrac{1}{2\sqrt{x}}, then its value at x=100180x=100180 is exactly 12100180\dfrac{1}{2\sqrt{100180}}.

Q16Stage 3

A rectangle is growing. At time t=0t=0, it is a square with side length 1 metre. Its width increases at a constant rate of 2 metres per second, and its length increases at a constant rate of 5 metres per second. How fast is its area increasing at time t>0t>0?

Hint

The answer is not 10 square metres per second.

Answer

20t+720t+7 square metres per second.

Full solution

Let w(t)w(t) and l(t)l(t) be the width and length of the rectangle. Given in the problem is that w(t)=2w'(t)=2 and l(t)=5l'(t)=5. Since both functions have constant slopes, both must be lines. Their slopes are given, and their intercepts are w(0)=l(0)=1w(0)=l(0)=1. So, w(t)=2t+1w(t)=2t+1 and l(t)=5t+1l(t)=5t+1.

The area of the rectangle is A(t)=w(t)l(t)A(t)=w(t)\cdot l(t), so using the product rule, the rate at which the area is increasing is A(t)=w(t)l(t)+w(t)l(t)=2(5t+1)+5(2t+1)=20t+7A'(t)=w'(t)l(t)+w(t)l'(t)=2(5t+1)+5(2t+1)=20t+7 square metres per second.

Q17Stage 3

Let f(x)=x2g(x)f(x)=x^2g(x) for some differentiable function g(x)g(x). What is f(0)f'(0)?

Hint

You don't need to know g(0)g(0) or g(0)g'(0).

Answer

0

Full solution

Using the product rule, f(x)=(2x)g(x)+x2g(x)f'(x)=(2x)g(x)+x^2g'(x), so f(0)=0g(x)+0g(x)=0f'(0)=0\cdot g(x)+0\cdot g'(x)=0. (Since gg is differentiable, gg' exists.)

Q18Stage 3

Verify that differentiating f(x)=g(x)h(x)f(x)=\dfrac{g(x)}{h(x)} using the quotient rule gives the same answer as differentiating f(x)=g(x)k(x)k(x)h(x)f(x)=\dfrac{g(x)}{k(x)}\cdot\dfrac{k(x)}{h(x)} using the product rule and the quotient rule, when k(x)0k(x) \neq 0.

Answer

First expression, f(x)=g(x)h(x)f(x)=\dfrac{g(x)}{h(x)}:

f(x)=h(x)g(x)g(x)h(x)h2(x)\begin{align*}f'(x)&=\frac{h(x)g'(x)-g(x)h'(x)}{h^2(x)}\end{align*}

Second expresson, f(x)=g(x)k(x)k(x)h(x)f(x)=\dfrac{g(x)}{k(x)}\cdot\dfrac{k(x)}{h(x)}:

f(x)=(k(x)g(x)g(x)k(x)k2(x))(k(x)h(x))+(g(x)k(x))(h(x)k(x)k(x)h(x)h2(x))=k(x)g(x)g(x)k(x)k(x)h(x)+g(x)h(x)k(x)g(x)k(x)h(x)k(x)h2(x)=h(x)k(x)g(x)h(x)g(x)k(x)k(x)h2(x)+g(x)h(x)k(x)g(x)k(x)h(x)k(x)h2(x)=h(x)k(x)g(x)h(x)g(x)k(x)+g(x)h(x)k(x)g(x)k(x)h(x)k(x)h2(x)=h(x)k(x)g(x)g(x)k(x)h(x)k(x)h2(x)=h(x)g(x)g(x)h(x)h2(x)\begin{align*}f'(x)&=\left(\frac{k(x)g'(x)-g(x)k'(x)}{k^2(x)}\right)\left(\frac{k(x)}{h(x)}\right)+\left(\frac{g(x)}{k(x)}\right)\left(\frac{h(x)k'(x)-k(x)h'(x)}{h^2(x)}\right)\\ &=\frac{k(x)g'(x)-g(x)k'(x)}{k(x)h(x)}+ \frac{g(x)h(x)k'(x)-g(x)k(x)h'(x)}{k(x)h^2(x)}\\ &=\frac{h(x)k(x)g'(x)-h(x)g(x)k'(x)}{k(x)h^2(x)}+ \frac{g(x)h(x)k'(x)-g(x)k(x)h'(x)}{k(x)h^2(x)}\\ &=\frac{h(x)k(x)g'(x)-h(x)g(x)k'(x)+g(x)h(x)k'(x)-g(x)k(x)h'(x)}{k(x)h^2(x)}\\ &=\frac{h(x)k(x)g'(x)-g(x)k(x)h'(x)}{k(x)h^2(x)}\\ &=\frac{h(x)g'(x)-g(x)h'(x)}{h^2(x)}\end{align*}

and this is exactly what we got from differentiating the first expression.

Full solution

First expression, f(x)=g(x)h(x)f(x)=\dfrac{g(x)}{h(x)}:

f(x)=h(x)g(x)g(x)h(x)h2(x)\begin{align*}f'(x)&=\frac{h(x)g'(x)-g(x)h'(x)}{h^2(x)}\end{align*}

Second expresson, f(x)=g(x)k(x)k(x)h(x)f(x)=\dfrac{g(x)}{k(x)}\cdot\dfrac{k(x)}{h(x)}:

f(x)=(k(x)g(x)g(x)k(x)k2(x))(k(x)h(x))+(g(x)k(x))(h(x)k(x)k(x)h(x)h2(x))=k(x)g(x)g(x)k(x)k(x)h(x)+g(x)h(x)k(x)g(x)k(x)h(x)k(x)h2(x)=h(x)k(x)g(x)h(x)g(x)k(x)k(x)h2(x)+g(x)h(x)k(x)g(x)k(x)h(x)k(x)h2(x)=h(x)k(x)g(x)h(x)g(x)k(x)+g(x)h(x)k(x)g(x)k(x)h(x)k(x)h2(x)=h(x)k(x)g(x)g(x)k(x)h(x)k(x)h2(x)=h(x)g(x)g(x)h(x)h2(x)\begin{align*}f'(x)&=\left(\frac{k(x)g'(x)-g(x)k'(x)}{k^2(x)}\right)\left(\frac{k(x)}{h(x)}\right)+\left(\frac{g(x)}{k(x)}\right)\left(\frac{h(x)k'(x)-k(x)h'(x)}{h^2(x)}\right)\\ &=\frac{k(x)g'(x)-g(x)k'(x)}{k(x)h(x)}+ \frac{g(x)h(x)k'(x)-g(x)k(x)h'(x)}{k(x)h^2(x)}\\ &=\frac{h(x)k(x)g'(x)-h(x)g(x)k'(x)}{k(x)h^2(x)}+ \frac{g(x)h(x)k'(x)-g(x)k(x)h'(x)}{k(x)h^2(x)}\\ &=\frac{h(x)k(x)g'(x)-h(x)g(x)k'(x)+g(x)h(x)k'(x)-g(x)k(x)h'(x)}{k(x)h^2(x)}\\ &=\frac{h(x)k(x)g'(x)-g(x)k(x)h'(x)}{k(x)h^2(x)}\\ &=\frac{h(x)g'(x)-g(x)h'(x)}{h^2(x)}\end{align*}

and this is exactly what we got from differentiating the first expression.

Q19Stage 3Past exam · 2009H

Find constants aa, bb so that the following function is differentiable:

f(x)={ax2+bx1exx>1f(x) =\left\{\begin{array}{ll} ax^2 + b & x \le 1\\ e^x & x > 1\end{array}\right.
Hint

In order to be differentiable, a function should be continuous. To determine the differentiability of the function at x=1x=1, use the definition of the derivative.

Answer

a=b=e2a=b=\dfrac{e}{2}

Full solution

When we say a function is differentiable without specifying a range, we mean that it is differentiable over its domain. The function f(x)f(x) is differentiable when x1x \neq 1 for any values of aa and bb; it is up to us to figure out which constants make it differentiable when x=1x=1.

In order to be differentiable, a function must be continuous. The definition of continuity tells us that, for ff to be continuous at x=1x=1, we need limx1f(x)=f(1)\ds\lim_{x \to 1}f(x)=f(1). From the definition of ff, we see f(1)=a+b=limx1f(x)f(1)=a+b=\ds\lim_{x \to 1^-}f(x), so we need limx1+f(x)=a+b\ds\lim_{x\to 1^+}f(x)=a+b. Since limx1+f(x)=e1=e\ds\lim_{x \to 1^+}f(x)=e^1=e, we specifically need

e=a+b.e=a+b.

Now, let's consider differentiability of ff at x=1x=1. We need the following limit to exist:

limh0f(1+h)f(1)h\begin{align*}\lim_{h \to 0} \frac{f(1+h)-f(1)}{h}&\end{align*}

In particular, we need the one-sided limits to exist and be equal:

limh0f(1+h)f(1)h=limh0+f(1+h)f(1)h\begin{align*}\textcolor{red}{\lim_{h \to 0^-}\frac{f(1+h)-f(1)}{h}}&=\textcolor{blue}{\lim_{h \to 0^+}\frac{f(1+h)-f(1)}{h}}\end{align*}

If h<0h<0, then 1+h<11+h<1, so f(1+h)=a(1+h)2+bf(1+h)=a(1+h)^2+b. If h>0h>0, then 1+h>11+h>1, so f(1+h)=e1+hf(1+h)=e^{1+h}. With this in mind, we begin to evaluate the one-sided limits:

limh0f(1+h)f(1)h=limh0[a(1+h)2+b][a+b]h=limh0ah2+2ahh=2alimh0+f(1+h)f(1)h=limh0+e1+h(a+b)h\begin{align*}\color{red}\lim_{h \to 0^-}\frac{f(1+h)-f(1)}{h}&\color{red}= \lim_{h \to 0^-}\frac{[a(1+h)^2+b]-[a+b]}{h}\\ &\color{red}=\lim_{h \to 0^-}\frac{ah^2+2ah}{h}=2a\\ \color{blue}\lim_{h \to 0^+}\frac{f(1+h)-f(1)}{h}&\color{blue}= \lim_{h \to 0^+}\frac{e^{1+h}-(a+b)}{h}\end{align*}

Since we take a+ba+b to be equal to ee (to ensure continuity):

=limh0+e1+he1h=ddx{ex}x=1=e1=e\begin{align*}&\color{blue}= \lim_{h \to 0^+}\frac{e^{1+h}-e^1}{h}\\ &\color{blue}=\left.\diff{}{x}\{e^x\}\right|_{x=1}=e^1=e\end{align*}

So, we also need

2a=e\textcolor{red}{2a}=\textcolor{blue}{e}

Therefore, the values of aa and bb that make ff differentiable are a=b=e2a=b=\dfrac{e}{2}.

Q20Stage 3

Let g(x)=f(x)exg(x)=f(x)e^x. In Question 12, Section 3.5, we learned that g(x)=[f(x)+f(x)]exg'(x)=[f(x)+f'(x)]e^x.

  1. What is g(x)g''(x)?

  2. What is g(x)g'''(x)?

  3. Based on your answers above, guess a formula for g(4)(x)g^{(4)}(x). Check it by differentiating.

Hint

Review Pascal's Triangle.

Answer

(a) g(x)=[f(x)+2f(x)+f(x)]exg''(x)=[f(x)+2f'(x)+f''(x)]e^x
(b) g(x)=[f(x)+3f(x)+3f(x)+f(x)]exg'''(x)=[f(x)+3f'(x)+3f''(x)+f'''(x)]e^x
(c) g(4)(x)=[f(x)+4f(x)+6f(x)+4f(x)+f(4)(x)]exg^{(4)}(x)=[f(x)+4f'(x)+6f''(x)+4f'''(x)+f^{(4)}(x)]e^x

Full solution

(a) Using the product rule,

g(x)=[f(x)+f(x)]ex+[f(x)+f(x)]ex=[f(x)+2f(x)+f(x)]exg''(x)=[f'(x)+f''(x)]e^x+[f(x)+f'(x)]e^x=[f(x)+2f'(x)+f''(x)]e^x

(b) Using the product rule and our answer from (a),

g(x)=[f(x)+2f(x)+f(x)]ex+[f(x)+2f(x)+f(x)]ex=[f(x)+3f(x)+3f(x)+f(x)]ex\begin{align*} g'''(x)&=[f'(x)+2f''(x)+f'''(x)]e^x+[f(x)+2f'(x)+f''(x)]e^x\\ &=[f(x)+3f'(x)+3f''(x)+f'''(x)]e^x \end{align*}

(c) We notice that the coefficients of the derivatives of ff correspond to the entries in the rows of Pascal's Triangle.

Figure from prob_s2.4, line 1

Figure from prob_s2.4, line 1

  • In the first derivative of gg, the coefficients of ff and ff' correspond to the entries in the second row of Pascal's Triangle.

  • In the second derivative of gg, the coefficients of ff, ff', and ff'' correspond to the entries in the third row of Pascal's Triangle.

  • In the third derivative of gg, the coefficients of ff, ff', ff'', and ff''' correspond to the entries in the fourth row of Pascal's Triangle.

  • We guess that, in the fourth derivative of gg, the coefficients of ff, ff', ff'', ff''', and f(4)f^{(4)} will correspond to the entries in the fifth row of Pascal's Triangle.

That is, we guess

g(4)(x)=[f(x)+4f(x)+6f(x)+4f(x)+f(4)(x)]exg^{(4)}(x)=[f(x)+4f'(x)+6f''(x)+4f'''(x)+f^{(4)}(x)]e^x

This is verified by differentiating our answer from (a) using the product rule:

g(x)=[f(x)+3f(x)+3f(x)+f(x)]exg(4)(x)=[f(x)+3f(x)+3f(x)+f(4)(x)]ex+[f(x)+3f(x)+3f(x)+f(x)]ex=[f(x)+4f(x)+6f(x)+4f(x)+f(4)(x)]ex.\begin{align*} g'''(x)&=[f(x)+3f'(x)+3f''(x)+f'''(x)]e^x\\ g^{(4)}(x)&=[f'(x)+3f''(x)+3f'''(x)+f^{(4)}(x)]e^x+[f(x)+3f'(x)+3f''(x)+f'''(x)]e^x\\ &=[f(x)+4f'(x)+6f''(x)+4f'''(x)+f^{(4)}(x)]e^x. \end{align*}
Q21Stage 3

This question is now Question 36 in Section 4.3, because it uses the chain rule.

Stage 1 · Conceptual

Q22Stage 1

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

f(x)=2xx+1f(x)=2(x+1)+2x(x+1)2=2(x+1)(x+1)2=2x+1\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*}
Hint

Check signs

Answer

In the quotient rule, there is a minus, not a plus. Also, 2(x+1)+2x2(x+1)+2x is not the same as 2(x+1)2(x+1).

The correct version is:

f(x)=2xx+1f(x)=2(x+1)2x(x+1)2=2(x+1)2\begin{align*} f(x)&=\frac{2x}{x+1}\\ f'(x)&=\frac{2(x+1)\textcolor{red}{-}2x}{(x+1)^2}\\ &=\frac{2}{(x+1)^2} \end{align*}
Full solution

In the quotient rule, there is a minus, not a plus. Also, 2(x+1)+2x2(x+1)+2x is not the same as 2(x+1)2(x+1).

The correct version is:

f(x)=2xx+1f(x)=2(x+1)2x(x+1)2=2(x+1)2\begin{align*} f(x)&=\frac{2x}{x+1}\\ f'(x)&=\frac{2(x+1)\textcolor{red}{-}2x}{(x+1)^2}\\ &=\frac{2}{(x+1)^2} \end{align*}
Q23Stage 1

True or false: ddx{2x}=x2x1\ds\diff{}{x}\{2^x\}=x2^{x-1}.

Hint

Read Lemma 4.1.14 carefully.

Answer

False

Full solution

False: Lemma 4.1.14 tells us that, for a constant nn, ddx{xn}=nxn1\ds\diff{}{x}\{x^n\}=nx^{n-1}. Note that the base xx is the variable and the exponent nn is a constant. In the equation given in the question, the base 22 is a constant, and the exponent xx is the variable: this is the opposite of the situation where Lemma 4.1.14 applies.

We do not yet know how to differentiate 2x2^x. We'll learn about it in Section 3.5.

Stage 2 · Procedural

Q24Stage 2

Find the derivative of f(x)=ex2xf(x)=\dfrac{e^{x}}{2x} .

Hint

Quotient rule

Answer

(x1)ex2x2\dfrac{(x-1)e^x}{2x^2}

Full solution

Using the quotient rule,

f(x)=2xex2ex4x2=ex(2x2)4x2=(x1)ex2x2\begin{align*} f'(x)=\frac{2xe^x-2e^x}{4x^2}=\frac{e^x(2x-2)}{4x^2}=\frac{(x-1)e^x}{2x^2} \end{align*}
Q25Stage 2

Differentiate f(x)=e2xf(x)=e^{2x}.

Hint

e2x=(ex)2e^{2x}=\left(e^x\right)^2

Answer

2e2x2e^{2x}

Full solution
f(x)=ddx{e2x}=ddx{(ex)2}=2ddx{ex}ex=2exex=2(ex)2=2e2x\begin{align*} f'(x)=\diff{}{x}\{e^{2x}\}=\diff{}{x}\{(e^x)^2\}=2\diff{}{x}\{e^x\}e^x=2e^xe^x=2(e^{x})^2=2e^{2x} \end{align*}
Q26Stage 2

Differentiate f(x)=ea+xf(x)=e^{a+x}, where aa is a constant.

Hint

ea+x=eaexe^{a+x}=e^ae^x

Answer

ea+xe^{a+x}

Full solution
ea+x=eaex\begin{align*}e^{a+x}&=e^ae^x\end{align*}

Since eae^a is just a constant,

ddx{eaex}=eaddx{ex}=eaex=ea+x\begin{align*}\diff{}{x}\{e^{a}e^{x}\}&=e^a\diff{}{x}\{e^x\}=e^ae^x=e^{a+x}\end{align*}

So, f(x)=f(x)=ea+xf'(x)=f(x)=e^{a+x}.

Q27Stage 2

For which values of xx is the function f(x)=xexf(x)=xe^x increasing?

Hint

Figure out where the derivative is positive.

Answer

x>1x>-1

Full solution

If the derivative is positive, the function is increasing, so let's start by finding the derivative. We use the product rule (although Question 12 gives a shortcut).

f(x)=1ex+xex=(1+x)ex\begin{align*} f'(x)&=1\cdot e^x+xe^x=(1+x)e^x \end{align*}

Since exe^x is always positive, f(x)>0f'(x)>0 when 1+x>01+x>0. So, f(x)f(x) is increasing when x>1x>-1.

Q28Stage 2

Suppose the position of a particle at time tt is given by s(t)=ett2+1s(t) = \dfrac{e^t}{t^2+1}. Find the acceleration of the particle (s(t)s''(t)) at time t=1t=1.

Hint

The acceleration is given by s(t)s''(t).

Answer

00

Full solution

The question asks for s(1)s''(1). We start our differentiation using the quotient rule:

s(t)=et(t2+1)et(2t)(t2+1)2=et(t22t+1)(t2+1)2\begin{align*}s'(t)&=\frac{e^t(t^2+1)-e^t(2t)}{(t^2+1)^2}\\ &=\frac{e^t(t^2-2t+1)}{(t^2+1)^2}\end{align*}

Using the quotient rule again,

s(t)=(t2+1)2ddt{et(t22t+1)}et(t22t+1)ddt{(t2+1)2}(t2+1)4=(t2+1)2[et(2t2)+et(t22t+1)]et(t22t+1)2(t2+1)(2t)(t2+1)4=et(t2+1)2(t21)4tet(t1)2(t2+1)(t2+1)4s(1)=0\begin{align*}s''(t)&=\frac{(t^2+1)^2\textcolor{blue}{\diff{}{t}\{e^t(t^2-2t+1)\}}-e^t(t^2-2t+1) \textcolor{red}{\diff{}{t}\{(t^2+1)^2\}}}{(t^2+1)^4}\\ &=\frac{(t^2+1)^2\cdot\left[\textcolor{blue}{e^t(2t-2)+e^t(t^2-2t+1)}\right]- e^t(t^2-2t+1) \cdot \textcolor{red}{2(t^2+1)(2t)}}{(t^2+1)^4}\\ &=\frac{e^t(t^2+1)^2(t^2-1)-4te^t(t-1)^2(t^2+1)}{(t^2+1)^4}\\ s''(1)&=0\end{align*}
Q29Stage 2

Differentiate f(x)=(ex+1)(ex1)f(x)=(e^x+1)(e^x-1).

Hint

Product rule will work nicely here. Alternately, review the result of Question 25.

Answer

2e2x2e^{2x}

Full solution

Using the product rule,

f(x)=(ex)(ex1)+(ex+1)(ex)=ex(ex1+ex+1)=2(ex)2=2e2xf'(x)=(e^x)(e^x-1)+(e^x+1)(e^x)=e^x(e^x-1+e^x+1)=2(e^x)^2=2e^{2x}

Alternate solution: using Question 25:

f(x)=e2x1    f(x)=2e2x.f(x)=e^{2x}-1 \implies f'(x)=2e^{2x}.
Q30Stage 2

A particle's position is given by

s(t)=t2et.s(t)=t^2e^t.

When is the particle moving in the negative direction?

Hint

To find the sign of a product, compare the signs of each factor. The function ete^t is always positive.

Answer

When tt is in the interval (2,0)(-2,0).

Full solution

The question asks when s(t)s'(t) is negative. So, we start by differentiating. Using the product rule:

s(t)=et(t2+2t)=ett(t+2)\begin{align*} s'(t)&=e^t(t^2+2t)\\ &=e^t \cdot t(t+2) \end{align*}

ete^t is always positive, so s(t)s'(t) is negative when tt and 2+t2+t have opposite signs. This occurs when 2<t<0-2<t<0.

Q31Stage 2

Let f(x)=ax15f(x)=ax^{15} for some constant aa. Which value of aa results in f(15)(x)=3f^{(15)}(x)=3?

Hint

Use factorials, as in Example 3.4.2.

Answer

315!\dfrac{3}{15!}

Full solution

Every time we differentiate f(x)f(x), the constant out front gets multiplied by an ever-decreasing constant, while the power decreases by one. As in Example 3.4.2, d15dx15ax15=a15!\ds\ddiff{{15}}{}{x}ax^{15}=a\cdot 15!. So, if a15!=3a\cdot 15!=3, then a=315!a=\dfrac{3}{15!}.

Q32Stage 2

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

Hint

First, factor an xx out of the derivative. What's left over looks like a quadratic equation, if you take x2x^2 to be your variable, instead of xx.

Answer

4x(x2+2)(x2+3)4x(x^2+2)(x^2+3)

Full solution

f(x)=23x6+5x4+12x2+9f(x)=\frac{2}{3}x^6+5x^4+12x^2+9 is a polynomial:

f(x)=4x5+20x3+24x=4x(x4+5x2+6)=4x((x2)2+5(x2)+6)=4x(x2+2)(x2+3)\begin{align*} f'(x)&=4x^5+20x^3+24x\\& =4x(x^4+5x^2+6)\\& = 4x((x^2)^2+5(x^2)+6)\\&=4x(x^2+2)(x^2+3) \end{align*}
Q33Stage 2

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

Hint

1t=t1\frac{1}{t}=t^{-1}

Answer

12t3+15t2+1t212t^3+15t^2+\frac{1}{t^2}

Full solution

We can rewrite slightly to make every term into a power of tt:

s(t)=3t4+5t3t1s(t)=43t3+35t2(1)t2=12t3+15t2+1t2\begin{align*} s(t)&=3t^4+5t^3-t^{-1}\\ s'(t)&=4\cdot 3t^{3}+3\cdot 5t^2-(-1)\cdot t^{-2}\\ &=12t^3+15t^2+\frac{1}{t^2} \end{align*}
Q34Stage 2

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

Hint

First simplify. Don't be confused by the role reversal of xx and yy: xx is just the name of the function (2y+1y)y3\big(2y+\tfrac{1}{y}\big)\cdot y^3, which is a function of the variable yy. You are to differentiate with respect to yy.

Answer

x(y)=8y3+2yx'(y)=8y^3+2y

Full solution

We could use the product rule here, but it's easier to simplify first. Don't be confused by the role reversal of xx and yy: xx is the name of the function, and yy is the variable.

x(y)=(2y+1y)y3=2y4+y2x(y)=8y3+2y\begin{align*} x(y) &= \left(2y+\frac{1}{y}\right)\cdot y^3\\ &=2y^4+y^2\\ x'(y)&=8y^3+2y \end{align*}
Q35Stage 2

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

Hint

x=x1/2\sqrt{x}=x^{1/2}

Answer

T(x)=(x2+3)(12x)(x+1)(2x)(x2+3)2T'(x)=\dfrac{(x^2+3)\left(\frac{1}{2\sqrt{x}}\right)-(\sqrt{x}+1)(2x)}{(x^2+3)^2}

Full solution

We've already seen that ddx{x}=12x\diff{}{x}\{\sqrt{x}\}=\frac{1}{2\sqrt{x}}, but if you forget this formula it is easy to figure out: x=x1/2\sqrt{x}=x^{1/2}, so ddx{x}=12x1/2=12x\diff{}{x}\{\sqrt{x}\}=\frac{1}{2}x^{-1/2}=\frac{1}{2\sqrt{x}}.

Using the quotient rule:

T(x)=x+1x2+3T(x)=(x2+3)(12x)(x+1)(2x)(x2+3)2\begin{align*} T(x) &= \dfrac{\sqrt{x}+1}{x^2+3}\\ T'(x)&=\frac{(x^2+3)\left(\frac{1}{2\sqrt{x}}\right)-(\sqrt{x}+1)(2x)}{(x^2+3)^2} \end{align*}
Q36Stage 2Past exam · 2015Q

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

Answer

214x7x2(x2+3)2\dfrac{21-4x-7x^2}{(x^2+3)^2}

Full solution

We use quotient rule:

(x2+3)72x(7x+2)(x2+3)2=214x7x2(x2+3)2\begin{align*} \frac{(x^2+3)\cdot 7 - 2x\cdot (7x+2)}{(x^2+3)^2}=\frac{21 - 4x - 7x^2}{(x^2+3)^2} \end{align*}
Q37Stage 2

What is f(0)f'(0), when f(x)=(3x3+4x2+x+1)(2x+5)f(x)=(3x^3+4x^2+x+1)(2x+5)?

Hint

You don't need to multiply through.

Answer

7

Full solution

Instead of multiplying to get our usual form of this polynomial, we can use the product rule. If f1(x)=3x3+4x2+x+1f_1(x)=3x^3+4x^2+x+1 and f2(x)=2x+5f_2(x)=2x+5, then
f1(x)=9x2+8x+1f_1'(x)=9x^2+8x+1 and f2(x)=2f_2'(x)=2. Then

f(0)=f1(0)f2(0)+f1(0)f2(0)=(1)(5)+(1)(2)=7\begin{align*} f'(0)&=f_1'(0)f_2(0)+f_1(0)f_2'(0)\\ &=(1)(5)+(1)(2)=7\end{align*}
Q38Stage 2

Differentiate f(x)=3x3+1x2+5xf(x)=\dfrac{3x^3+1}{x^2+5x}.

Hint

You can use the quotient rule.

Answer

3x4+30x32x5(x2+5x)2\dfrac{3x^4+30x^3-2x-5}{(x^2+5x)^2}

Full solution

Using the quotient rule,

f(x)=(x2+5x)(9x2)(3x3+1)(2x+5)(x2+5x)2=3x4+30x32x5(x2+5x)2f'(x) = \frac{(x^2+5x)(9x^2)-(3x^3+1)(2x+5)}{(x^2+5x)^2} = \frac{3x^4+30x^3-2x-5}{(x^2+5x)^2}
Q39Stage 2Past exam · 2015Q

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

Answer

3x2+12x+5(2x)2\dfrac{-3x^2+12x+5}{(2-x)^2}

Full solution

We use quotient rule:

(2x)(6x)(3x2+5)(1)(2x)2=3x2+12x+5(x2)2\begin{align*} \frac{(2-x)(6x)-(3x^2+5)(-1)}{(2-x)^2}=\frac{-3x^2+12x+5}{(x-2)^2} \end{align*}
Q40Stage 2Past exam · 2015Q

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

Answer

22x(3x2+5)2\dfrac{-22x}{(3x^2+5)^2}

Full solution

We use quotient rule:

(3x2+5)(2x)(2x2)(6x)(3x2+5)2=22x(3x2+5)2\begin{align*} \frac{(3x^2+5)(-2x) - (2-x^2)(6x)}{(3x^2+5)^2}=\frac{-22x}{(3x^2+5)^2} \end{align*}
Q41Stage 2Past exam · 2015Q

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

Answer

4x3+12x21(x+2)2\dfrac{4x^3+12x^2-1}{(x+2)^2}

Full solution

We use quotient rule:

6x2(x+2)(2x3+1)1(x+2)2=4x3+12x21(x+2)2\begin{align*} \frac{6x^2\cdot (x+2)-(2x^3+1)\cdot 1}{(x+2)^2}=\frac{4x^3+12x^2-1}{(x+2)^2} \end{align*}
Q42Stage 2Past exam · 2015Q

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

Hint

There are two pieces of the given function that could cause problems.

Answer

The derivative of the function is

(1x2)12xx(2x)(1x2)2=(1x2)2x(2x)2x(1x2)2\begin{align*} \frac{(1-x^2)\cdot\frac{1}{2\sqrt{x}} - \sqrt{x} \cdot (-2x)}{(1-x^2)^2} &= \frac{(1-x^2) - 2x \cdot (-2x)}{2\sqrt{x}(1-x^2)^2} \end{align*}

The derivative is undefined if either x<0x<0 or x=0,±1x = 0,\pm 1 (since the square-root is undefined for x<0x<0 and the denominator is zero when x=0,1,1x=0,1,-1. Putting this together — the derivative exists for x>0,x1x>0, x\neq 1.

Full solution

The derivative of the function is

(1x2)12xx(2x)(1x2)2=(1x2)2x(2x)2x(1x2)2\begin{align*} \frac{(1-x^2)\cdot\frac{1}{2\sqrt{x}} - \sqrt{x} \cdot (-2x)}{(1-x^2)^2} &= \frac{(1-x^2) - 2x \cdot (-2x)}{2\sqrt{x}(1-x^2)^2} \end{align*}

The derivative is undefined if either x<0x<0 or x=0,±1x = 0,\pm 1 (since the square-root is undefined for x<0x<0 and the denominator is zero when x=0,1,1x=0,1,-1. Putting this together — the derivative exists for x>0,x1x>0, x\neq 1.

Q43Stage 2

Differentiate f(x)=(3x5+15x3+8)(3x2+8x5)f(x)=\left(3\sqrt[5]{x}+15\sqrt[3]{x}+8\right)\left(3x^2+8x-5\right).

Hint

x3=x1/3\sqrt[3]{x}=x^{1/3}

Answer

$\left(\frac{3}{5}{x}^{\frac{-4}{5}}+5{x}^{\frac{-2}{3}}\right)\left(3x^2+8x-5\right)+ \left(3\sqrt[5]{x}+15\sqrt[3]{x}+8\right)\left(6x+8\right)$

Full solution

Using the product rule seems faster than expanding.

f(x)=ddx{3x5+15x3+8}(3x2+8x5)+(3x5+15x3+8)ddx{3x2+8x5}=ddx{3x15+15x13+8}(3x2+8x5)+(3x5+15x3+8)ddx{3x2+8x5}=(35x45+5x23)(3x2+8x5)+(3x5+15x3+8)(6x+8)\begin{align*} f'(x)&=\diff{}{x}\left\{3\sqrt[5]{x}+15\sqrt[3]{x}+8\right\}\left(3x^2+8x-5\right)+ \left(3\sqrt[5]{x}+15\sqrt[3]{x}+8\right)\diff{}{x}\left\{3x^2+8x-5\right\}\\ &=\diff{}{x}\left\{3{x}^{\frac{1}{5}}+15{x}^{\frac{1}{3}}+8\right\}\left(3x^2+8x-5\right)+ \left(3\sqrt[5]{x}+15\sqrt[3]{x}+8\right)\diff{}{x}\left\{3x^2+8x-5\right\}\\ &=\left(\frac{3}{5}{x}^{\frac{-4}{5}}+5{x}^{\frac{-2}{3}}\right)\left(3x^2+8x-5\right)+ \left(3\sqrt[5]{x}+15\sqrt[3]{x}+8\right)\left(6x+8\right) \end{align*}
Q44Stage 2

Differentiate f(x)=(x2+5x+1)(x+x3)xf(x)=\dfrac{(x^2+5x+1)(\sqrt{x}+\sqrt[3]{x})}{x}.

Hint

Simplify first

Answer

f(x)=(2x+5)(x1/2+x2/3)+(x2+5x+1)(12x3/223x5/3)f'(x)=(2x+5)(x^{-1/2}+x^{-2/3})+(x^2+5x+1)\left(\frac{-1}{2}x^{-3/2}-\frac{2}{3}x^{-5/3}\right)

Full solution

To avoid the quotient rule, we can divide through the denominator:

f(x)=(x2+5x+1)(x+x3)x=(x2+5x+1)(x+x3)x=(x2+5x+1)(x1/2+x2/3)\begin{align*}f(x)&=\dfrac{(x^2+5x+1)(\sqrt{x}+\sqrt[3]{x})}{x} =(x^2+5x+1)\dfrac{(\sqrt{x}+\sqrt[3]{x})}{x}\\ &=(x^2+5x+1)(x^{-1/2}+x^{-2/3})\end{align*}

Now, product rule:

f(x)=(2x+5)(x1/2+x2/3)+(x2+5x+1)(12x3/223x5/3)\begin{align*}f'(x)&=(2x+5)(x^{-1/2}+x^{-2/3})+(x^2+5x+1)\left(\frac{-1}{2}x^{-3/2}-\frac{2}{3}x^{-5/3}\right)\end{align*}

(If you simplified differently, or used the quotient rule, you probably came up with a different-looking answer. There is only one derivative, though, so all correct answers will look the same after sufficient algebraic manipulation.)

Stage 3 · Application

Q45Stage 3

Let f(x)=ax3+bx2+cx+df(x)=ax^3+bx^2+cx+d, where aa, bb, cc, and dd are nonzero constants. What is the smallest integer nn so that dnfdxn=0\ds\ddiff{n}{f}{x}=0 for all xx?

Hint

Differentiate a few times until you get zero, remembering that aa, bb, cc, and dd are all constants.

Answer

n=4n=4

Full solution

We differentiate using the power rule.

dfdx=3ax2+2bx+cd2fdx2=6ax+2bd3fdx3=6ad4fdx4=0\begin{align*} \diff{f}{x}&=3ax^2+2bx+c\\ \ddiff{2}{f}{x}&=6ax+2b\\ \ddiff{3}{f}{x}&=6a\\ \ddiff{4}{f}{x}&=0 \end{align*}

In the above work, remember that aa, bb, cc, and dd are all constants. Since they are nonzero constants, d3fdx3=6a0\ds\ddiff{3}{f}{x} =6a\neq 0. So, the fourth derivative is the first derivative to be identically zero: n=4n=4.

Q46Stage 3Past exam · 2007H

Let f(x)=xxf(x) = x|x|.

  1. Show that f(x)f(x) is differentiable at x=0x = 0, and find f(0)f'(0).

  2. Find the second derivative of f(x)f(x). Explicitly state, with justification, the point(s) at which f(x)f''(x) does not exist, if any.

Hint

You can re-write this function as a piecewise function, with branches x0x \ge 0 and x<0x<0. To figure out the derivatives at x=0x = 0, use the definition of a derivative.

Answer

(a) In order to make f(x)f(x) a little more tractable, let's change the format. Since $|x|=\left{\begin{array}{rl} x&x \geq 0\ -x&x<0 \end{array}\right.$, then:

f(x)={x2x<0x2x0.f(x)=\left\{\begin{array}{rl} -x^2&x<0\\ x^2&x\ge 0.\end{array} \right.

Now, we turn to the definition of the derivative to figure out whether f(0)f'(0) exists.

f(0)=limh0f(0+h)f(0)h=limh0f(h)0h=limh0f(h)hif it exists.\begin{align*}f'(0)&=\lim_{h \to 0} \frac{f(0+h)-f(0)}{h}=\lim_{h \to 0}\frac{f(h)-0}{h} =\lim_{h \to 0}\frac{f(h)}{h}\qquad\text{if it exists.}\end{align*}

Since ff looks different to the left and right of 0, in order to evaluate this limit, we look at the corresponding one-sided limits. Note that when hh approaches 0 from the right, h>0h>0 so f(h)=h2f(h)=h^2. By contrast, when hh approaches 0 from the left, h<0h<0 so f(h)=h2f(h)=-h^2.

 limh0+f(h)h=limh0+h2h=limh0+h=0 limh0f(h)h=limh0h2h=limh0h=0\begin{align*}&~\lim_{h \to 0^+} \frac{f(h)}{h}=\lim_{h \to 0^+}\frac{h^2}{h}=\lim_{h \to 0^+}h=0\\ &~\lim_{h \to 0^-} \frac{f(h)}{h}=\lim_{h \to 0^-}\frac{-h^2}{h}=\lim_{h \to 0^-}-h=0\end{align*}

Since both one-sided limits exist and are equal to 0,

 limh0f(0+h)f(0)h=0\begin{align*}&~\lim_{h \to 0} \frac{f(0+h)-f(0)}{h}=0\end{align*}

and so ff is differentiable at x=0x=0 and f(0)=0f'(0)=0.

(b) From (a), f(0)=0f'(0)=0 and

f(x)={x2x<0x2x0.f(x)=\left\{\begin{array}{rl} -x^2&x<0\\ x^2&x\ge 0.\end{array} \right.

So,

f(x)={2xx<02xx0.f'(x)=\left\{\begin{array}{rl} -2x&x<0\\ 2x&x\ge 0.\end{array} \right.

Then, we know the second derivative of ff everywhere except at x=0x=0:

f(x)={2x<0?x=02x>0.f''(x)=\left\{\begin{array}{cc} -2&x<0\\ ?&x=0\\ 2&x> 0.\end{array} \right.

So, whenever x0x \neq 0, f(x)f''(x) exists. To investigate the differentiability of f(x)f'(x) when x=0x=0, again we turn to the definition of a derivative. If

limh0f(0+h)f(0)h\begin{align*}&\lim_{h \to 0}\frac{f'(0+h)-f'(0)}{h}\end{align*}

exists, then f(0)f''(0) exists.

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

Since f(h)f(h) behaves differently when hh is greater than or less than zero, we look at the one-sided limits.

limh0+f(h)h=limh0+2hh=2limh0f(h)h=limh02hh=2\begin{align*}\lim_{h \to 0^+}\frac{f'(h)}{h}&=\lim_{h \to 0^+}\frac{2h}{h}=2\\ \lim_{h \to 0^-}\frac{f'(h)}{h}&=\lim_{h \to 0^-}\frac{-2h}{h}=-2\end{align*}

Since the one-sided limits do not agree,

limh0f(0+h)f(0)h=DNE\begin{align*}\lim_{h \to 0}\frac{f'(0+h)-f'(0)}{h}&=DNE\end{align*}

So, f(0)f''(0) does not exist. Now we have a complete picture of f(x)f''(x):

f(x)={2x<0DNEx=02x>0.f''(x)=\left\{\begin{array}{ll} -2&x<0\\ DNE&x=0\\ 2&x>0. \end{array}\right.
Full solution

(a) In order to make f(x)f(x) a little more tractable, let's change the format. Since $|x|=\left{\begin{array}{rl} x&x \geq 0\ -x&x<0 \end{array}\right.$, then:

f(x)={x2x<0x2x0.f(x)=\left\{\begin{array}{rl} -x^2&x<0\\ x^2&x\ge 0.\end{array} \right.

Now, we turn to the definition of the derivative to figure out whether f(0)f'(0) exists.

f(0)=limh0f(0+h)f(0)h=limh0f(h)0h=limh0f(h)hif it exists.\begin{align*}f'(0)&=\lim_{h \to 0} \frac{f(0+h)-f(0)}{h}=\lim_{h \to 0}\frac{f(h)-0}{h} =\lim_{h \to 0}\frac{f(h)}{h}\qquad\text{if it exists.}\end{align*}

Since ff looks different to the left and right of 0, in order to evaluate this limit, we look at the corresponding one-sided limits. Note that when hh approaches 0 from the right, h>0h>0 so f(h)=h2f(h)=h^2. By contrast, when hh approaches 0 from the left, h<0h<0 so f(h)=h2f(h)=-h^2.

 limh0+f(h)h=limh0+h2h=limh0+h=0 limh0f(h)h=limh0h2h=limh0h=0\begin{align*}&~\lim_{h \to 0^+} \frac{f(h)}{h}=\lim_{h \to 0^+}\frac{h^2}{h}=\lim_{h \to 0^+}h=0\\ &~\lim_{h \to 0^-} \frac{f(h)}{h}=\lim_{h \to 0^-}\frac{-h^2}{h}=\lim_{h \to 0^-}-h=0\end{align*}

Since both one-sided limits exist and are equal to 0,

 limh0f(0+h)f(0)h=0\begin{align*}&~\lim_{h \to 0} \frac{f(0+h)-f(0)}{h}=0\end{align*}

and so ff is differentiable at x=0x=0 and f(0)=0f'(0)=0.

(b) From (a), f(0)=0f'(0)=0 and

f(x)={x2x<0x2x0.f(x)=\left\{\begin{array}{rl} -x^2&x<0\\ x^2&x\ge 0.\end{array} \right.

So,

f(x)={2xx<02xx0.f'(x)=\left\{\begin{array}{rl} -2x&x<0\\ 2x&x\ge 0.\end{array} \right.

Then, we know the second derivative of ff everywhere except at x=0x=0:

f(x)={2x<0?x=02x>0.f''(x)=\left\{\begin{array}{cc} -2&x<0\\ ?&x=0\\ 2&x> 0.\end{array} \right.

So, whenever x0x \neq 0, f(x)f''(x) exists. To investigate the differentiability of f(x)f'(x) when x=0x=0, again we turn to the definition of a derivative. If

limh0f(0+h)f(0)h\begin{align*}&\lim_{h \to 0}\frac{f'(0+h)-f'(0)}{h}\end{align*}

exists, then f(0)f''(0) exists.

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

Since f(h)f(h) behaves differently when hh is greater than or less than zero, we look at the one-sided limits.

limh0+f(h)h=limh0+2hh=2limh0f(h)h=limh02hh=2\begin{align*}\lim_{h \to 0^+}\frac{f'(h)}{h}&=\lim_{h \to 0^+}\frac{2h}{h}=2\\ \lim_{h \to 0^-}\frac{f'(h)}{h}&=\lim_{h \to 0^-}\frac{-2h}{h}=-2\end{align*}

Since the one-sided limits do not agree,

limh0f(0+h)f(0)h=DNE\begin{align*}\lim_{h \to 0}\frac{f'(0+h)-f'(0)}{h}&=DNE\end{align*}

So, f(0)f''(0) does not exist. Now we have a complete picture of f(x)f''(x):

f(x)={2x<0DNEx=02x>0.f''(x)=\left\{\begin{array}{ll} -2&x<0\\ DNE&x=0\\ 2&x>0. \end{array}\right.
Q47Stage 3Past exam · 2007H

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

Hint

Let mm be the slope of such a tangent line, and let P1P_1 and P2P_2 be the points where the tangent line is tangent to the two curves, respectively. There are three equations mm fulfils: it has the same slope as the curves at the given points, and it is the slope of the line passing through the points P1P_1 and P2P_2.

Answer

y=x14y=x-\dfrac{1}{4}

Full solution

Denote by mm the slope of the common tangent, by (x1,y1)(x_1,y_1) the point of tangency with y=x2y=x^2, and by (x2,y2)(x_2,y_2) the point of tangency with y=x22x+2y=x^2-2x+2. Then we must have

y1=x12y2=x222x2+2m=2x1=2x22=y2y1x2x1y_1=x_1^2\qquad y_2=x_2^2-2x_2+2\qquad m=2x_1=2x_2-2=\frac{y_2-y_1}{x_2-x_1}

From the “mm” equations we get x1=m2x_1=\frac{m}{2}, x2=m2+1x_2=\frac{m}{2}+1 and

m=y2y1x2x1=y2y1=x222x2+2x12=(x2x1)(x2+x1)2(x21)=(m2+1m2)(m2+1+m2)2(m2+11)=(1)(m+1)2m2=1So,   m=1,x1=12,y1=14,x2=32,y2=943+2=54\begin{align*} m&=\frac{y_2-y_1}{x_2-x_1}\\ &=y_2-y_1\\ &=x_2^2-2x_2+2-x_1^2\\ \\& =(x_2-x_1)(x_2+x_1)-2(x_2-1)\\ &=\left(\frac{m}{2}+1-\frac{m}{2}\right)\left(\frac{m}{2}+1+\frac{m}{2}\right) -2\left(\frac{m}{2}+1-1\right) \\ &=(1)(m+1)-2\frac{m}{2}\\ &=1\\ \text{So,}~~~m&=1,\qquad x_1=\half,\qquad y_1=\frac{1}{4},\qquad x_2=\frac{3}{2},\qquad y_2=\frac{9}{4}-3+2=\frac{5}{4} \end{align*}

An equation of the common tangent is y=x14y=x-\frac{1}{4}.

Q48Stage 3Past exam · 1998H

Find all lines that are tangent to both of the curves y=x2y=x^2 and y=x2+2x5y=-x^2+2x-5. Illustrate your answer with a sketch.

Hint

A line has equation y=mx+by=mx+b, for some constants mm and bb. What has to be true for y=mb+xy=mb+x to be tangent to the first curve at the point x=αx=\alpha, and to the second at the point x=βx=\beta?

Answer

Figure from prob_s2.6, line 667

Figure from prob_s2.6, line 667

y=4x4y=4x-4 and y=2x1y=-2x-1

Full solution

The line y=mx+by=mx+b is tangent to y=x2y=x^2 at x=αx=\alpha if

2α=m and α2=mα+b    m=2α and b=α22\alpha=m\hbox{ and }\alpha^2=m\alpha+b \iff m=2\alpha\hbox{ and }b=-\alpha^2

The same line y=mx+by=mx+b is tangent to y=x2+2x5y=-x^2+2x-5 at x=βx=\beta if

2β+2=m and β2+2β5=mβ+b    m=22β and b=β2+2β5(22β)β=β25\begin{align*} -2\beta+2=m&\hbox{ and }-\beta^2+2\beta-5=m\beta+b\\ \iff m=2-2\beta&\hbox{ and }b=-\beta^2+2\beta-5-(2-2\beta)\beta=\beta^2-5 \end{align*}

For the line to be simultaneously tangent to the two parabolas we need

m=2α=22β and b=α2=β25m=2\alpha=2-2\beta\hbox{ and }b=-\alpha^2=\beta^2-5

Substituting α=1β\alpha=1-\beta into α2=β25-\alpha^2=\beta^2-5 gives (1β)2=β25-(1-\beta)^2=\beta^2-5 or 2β22β4=02\beta^2-2\beta-4=0 or β=1,2\beta=-1,2. The corresponding values of the other parameters are α=2,1\alpha=2,-1, m=4,2m=4,-2 and b=4,1b=-4,-1. The two lines are y=4x4y=4x-4 and y=2x1y=-2x-1.

Figure from prob_s2.6, line 667

Figure from prob_s2.6, line 667

Q49Stage 3Past exam · 2015Q

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

Hint

Compare this to one of the forms given in the text for the definition of the derivative.

Answer

2015220142015\cdot 2^{2014}

Full solution

This limit represents the derivative computed at x=2x=2 of the function f(x)=x2015f(x)=x^{2015}. To see this, simply use the definition of the derivative at a=2a=2 with f(x)=x2015f(x)=x^{2015}:

ddx{f(x)}a=limxaf(x)f(a)xaddx{x2015}2=limx2x201522015x2\begin{align*} \left.\diff{}{x}\{f(x)\}\right|_{a} &= \lim_{x \to a}\frac{f(x)-f(a)}{x-a}\\ \left.\diff{}{x}\{x^{2015}\}\right|_{2} &=\lim_{x\to2} \frac{x^{2015}-2^{2015}}{x-2} \end{align*}

Since the derivative of f(x)f(x) is 2015x20142015\cdot x^{2014}, then its value at x=2x=2 is exactly 2015220142015\cdot 2^{2014}.

From the UBC Math 100 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.