SOLUTIONS TO DERIVATIVES USING THE LIMIT DEFINITION


SOLUTION 7 :

$ f'(x) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(x + \Delta x) - f(x)} \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ { \displaystyle{ {...
...a x)^2 + 3(x + \Delta x)} } - { {x-1} \over {x^2+3x} } }
\over {\Delta x } } $

(Get a common denominator for the expression in the numerator. Recall that division by $ \Delta x $ is the same as multiplication by $ \displaystyle{ {1} \over { \Delta x } } $ . )

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ { { (x + \Delta x ...
...ta x+(\Delta x)^2+3x+3\Delta x)(x^2+3x) } }
\; \; { {1} \over { \Delta x} } } $

(Algebraically and arithmetically simplify the expression in the numerator. The terms x3, 2x2, -3x, and $ 3x \Delta x $ will subtract out. I would show this step, but this web page is not wide enough. It is important to note that the denominator of this expression should be left in factored form so that the term $ \Delta x $ can be easily eliminated later.)

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ - x^2 \Delta x - x...
...a x
\over { (x^2+2x \Delta x+(\Delta x)^2+3x+3\Delta x)(x^2+3x) \Delta x } } $

(Factor $ \Delta x $ from the numerator.)

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ \Delta x ( - x^2 -...
... 3 ) \over
{ (x^2+2x \Delta x+(\Delta x)^2+3x+3\Delta x)(x^2+3x) \Delta x } } $

(The term $ \Delta x $ now divides out and the limit can be calculated.)

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ - x^2 - x \Delta x...
... \Delta x + 3 \over
{ (x^2+2x \Delta x+(\Delta x)^2+3x+3\Delta x)(x^2+3x) } } $

$ = \displaystyle{ - x^2 + 2x + 3 \over
{ (x^2+3x)(x^2+3x) } } $

$ = \displaystyle{ 2x + 3 - x^2 \over (x^2+3x)^2 } $ .

Click HERE to return to the list of problems.



SOLUTION 8 :

$ f'(x) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(x + \Delta x) - f(x)} \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ \sqrt{ (x + \Delta x)^3 - (x + \Delta x) } - \sqrt{ x^3 - x }
\over {\Delta x } } $

(Eliminate the square root terms in the numerator of the expression by multiplying by the conjugate of the numerator divided by itself.)

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ \sqrt{ (x + \Delta...
...^3 - x } \over \sqrt{ (x + \Delta x)^3 - (x + \Delta x) } + \sqrt{ x^3 - x } } $

(Algebraically and arithmetically simplify the expression in the numerator. It is important to note that the denominator of this expression should be left in factored form so that the term $ \Delta x $ can be easily eliminated later.)

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ (x + \Delta x)^3 -...
...elta x } ( \sqrt{ (x + \Delta x)^3 - (x + \Delta x) } + \sqrt{ x^3 - x } \ ) } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ x^3 + 3x^2 \Delta ...
...elta x } ( \sqrt{ (x + \Delta x)^3 - (x + \Delta x) } + \sqrt{ x^3 - x } \ ) } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ 3x^2 \Delta x +3x(...
...elta x } ( \sqrt{ (x + \Delta x)^3 - (x + \Delta x) } + \sqrt{ x^3 - x } \ ) } $

(Factor $ \Delta x $ from the numerator.)

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ \Delta x ( 3x^2 + ...
...elta x } ( \sqrt{ (x + \Delta x)^3 - (x + \Delta x) } + \sqrt{ x^3 - x } \ ) } $

(The term $ \Delta x $ now divides out and the limit can be calculated.)

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle{ 3x^2 + 3x \Delta x...
...^2 - 1 \over
\sqrt{ (x + \Delta x)^3 - (x + \Delta x) } + \sqrt{ x^3 - x } } $

$ = \displaystyle{ 3x^2 - 1 \over
\sqrt{ x^3 - x } + \sqrt{ x^3 - x } } $

$ = \displaystyle{ 3x^2 - 1 \over 2 \sqrt{ x^3 - x } } $ .

Click HERE to return to the list of problems.



SOLUTION 9 : The derivative at x=1 is

$ f'(1) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(1 + \Delta x) - f(1)} \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { f(1 + \Delta x) - ( 2 + \sqrt{1} ) \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { f(1 + \Delta x) - 3 \over {\Delta x} } $ .

Note that $ \Delta x $ can be either positive or negative, and $ 1+ \Delta x > 1 $ when $ \Delta x > 0 $ , and $ 1+ \Delta x < 1 $ when $ \Delta x < 0 $ . Thus,

$ f(1 + \Delta x) = \cases{ 2 + \sqrt{ 1 + \Delta x } \ \ , & if $\space \Delta ...
...elta x) + \displaystyle{ 5 \over 2 } \ \ , & if $ \Delta x < 0 $\space . \cr } $

Further work requires the use of one-sided limits. First, the right-hand limit is

$ \displaystyle { \lim_{\Delta x\to 0^{+} } \ { f(1 + \Delta x) - 3 \over \Delta x } } $ = $ \displaystyle { \lim_{\Delta x\to 0^{+} } \ { 2+\sqrt{1 + \Delta x} - 3 \over \Delta x } } $

= $ \displaystyle { \lim_{\Delta x\to 0^{+} } \ { \sqrt{1 + \Delta x} - 1 \over \Delta x } } $

= $ \displaystyle { \lim_{\Delta x\to 0^{+} } \ { \sqrt{1 + \Delta x} - 1 \over \Delta x } \ \
{ \sqrt{1 + \Delta x} + 1 \over \sqrt{1 + \Delta x} + 1 } } $

= $ \displaystyle { \lim_{\Delta x\to 0^{+} } \ { (1 + \Delta x ) - 1 \over
\Delta x ( \sqrt{1 + \Delta x} + 1 ) } } $

= $ \displaystyle { \lim_{\Delta x\to 0^{+} } \ { \Delta x \over
\Delta x ( \sqrt{1 + \Delta x} + 1 ) } } $

= $ \displaystyle { \lim_{\Delta x\to 0^{+} } \ { 1 \over
\sqrt{1 + \Delta x} + 1 } } $

= $ \displaystyle { 1 \over \sqrt{1} + 1 } $

= $ \displaystyle { 1 \over 2 } $ .

The left-hand limit is

$ \displaystyle { \lim_{\Delta x\to 0^{-} } \ { f(1 + \Delta x) - 3 \over \Delta x } } $ = $ \displaystyle { \lim_{\Delta x\to 0^{-} } \ { \displaystyle{ 1 \over 2 } (1 + \Delta x) + \displaystyle{ 5 \over 2 } - 3 \over \Delta x } } $

= $ \displaystyle { \lim_{\Delta x\to 0^{-} } \ { \displaystyle{ 1 \over 2 } + \di...
...tyle{ 1 \over 2 } \Delta x + \displaystyle{ 5 \over 2 } - 3 \over \Delta x } } $

= $ \displaystyle { \lim_{\Delta x\to 0^{-} } \ { \displaystyle{ 1 \over 2 } \Delta x \over \Delta x } } $

= $ \displaystyle { \lim_{\Delta x\to 0^{-} } \ \displaystyle{ 1 \over 2 } } $

= $ \displaystyle { 1 \over 2 } $ .

Thus, both one-sided limits exist and are equal, so that f is differentiable at x=1 with

$ f'(1) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { f(1 + \Delta x) - 3 \over {\Delta x} } = \displaystyle{ 1 \over 2 } $ .

Click HERE to return to the list of problems.



SOLUTION 10 : The derivative at x=0 is

$ f'(0) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(0 + \Delta x) - f(0)} \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { f( \Delta x) - 0 \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { f( \Delta x) \over {\Delta x} } $

(Note that $ \Delta x \ne 0 $.)

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { ( \Delta x)^2 \sin \Big( \displaystyle{ 1 \over \Delta x } \Big) \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { ( \Delta x) \sin \Big( \displaystyle{ 1 \over \Delta x } \Big) } $ .

But for $ \Delta x \ne 0 $

$ -1 \le \sin \Big( \displaystyle{ 1 \over \Delta x } \Big) \le +1$

so that $ \Delta x > 0 $ implies that

$ - \Delta x \le ( \Delta x) \sin \Big( \displaystyle{ 1 \over \Delta x } \Big) \le \Delta x$.

Since $ \displaystyle { \lim_{\Delta x \to 0^{+} } (-\Delta x ) = 0 = \lim_{\Delta x \to 0^{+} } \Delta x } $, it follows from the Squeeze Principle that

$ \displaystyle { \lim_{\Delta x \to 0^{+} } \ ( \Delta x) \sin \Big( \displaystyle{ 1 \over \Delta x } \Big) } = 0 $.

In a similar fashion (Assume that $ \Delta x < 0 $ .) it can easily be shown that

$ \displaystyle { \lim_{\Delta x \to 0^{-} } \ ( \Delta x) \sin \Big( \displaystyle{ 1 \over \Delta x } \Big) } = 0 $.

Thus, both one-sided limits exist and are equal, so that function f is differentiable at x=0 with

$ f'(0) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { ( \Delta x) \sin \Big( \displaystyle{ 1 \over \Delta x } \Big) } = 0 $.

REMARK : What follows is a common INCORRECT attempt to solve this problem using another method. Since $ f(x) = x^2 \sin \Big( \displaystyle{ 1 \over x } \Big) $ for $ x \ne 0 $, it follows, using the product rule and chain rule, that

$ f'(x) = x^2 \cos \Big( \displaystyle{ 1 \over x } \Big) \Big\{ { -1 \over x^2 } \Big\}
+ 2x \sin \Big( \displaystyle{ 1 \over x } \Big) $

$ = - \cos \Big( \displaystyle{ 1 \over x } \Big)
+ 2x \sin \Big( \displaystyle{ 1 \over x } \Big) $

for $ x \ne 0 $ . Then

$ f'(0) = \displaystyle { \lim_{ x \to 0 } f'(x) } $

$ = \displaystyle { \lim_{ x \to 0 } \ \Big\{ - \cos \Big( \displaystyle{ 1 \over x } \Big)
+ 2x \sin \Big( \displaystyle{ 1 \over x } \Big) \Big\} } $.

Because the term $ - \cos \Big( \displaystyle{ 1 \over x } \Big) $ oscillates between 1 and -1 as $ \Delta x $ approaches zero , this limit does not exist. An INCORRECT conclusion would be that f'(0) does not exist, i.e., f is not differentiable at x=0. If f' were continuous at x=0 , this would be a valid method to compute f'(0) .

Click HERE to return to the list of problems.



SOLUTION 11 : First rewrite f(x). That is,

f(x) = | x2 - 3x | = | x(x-3) |

$ = \cases{ x(x-3), & if $\space x \le 0 $\space \cr
- x(x-3) , & if $ 0 < x < 3 $\space \cr
x(x-3) , & if $ x \ge 3 $\space \cr } $

$ = \cases{ x^2 - 3x, & if $\space x \le 0 $\space \cr
3x - x^2, & if $ 0 < x < 3 $\space \cr
x^2 - 3x , & if $ x \ge 3 $\space . \cr } $

Assume that x < 0. Then

$ f'(x) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(x + \Delta x) - f(x)} \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { (x + \Delta x)^2 - 3(x + \Delta x) - (x^2-3x) \over \Delta x } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { x^2+ 2x \Delta x + (\Delta x)^2 - 3x -3 \Delta x - x^2+3x \over \Delta x } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { { 2x \Delta x + (\Delta x)^2 - 3 \Delta x } \over \Delta x } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { \Delta x ( 2x + \Delta x - 3 ) \over \Delta x } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { ( 2x + \Delta x - 3 ) } $

= 2x - 3 .

Assume that x>3. Then it is also true that f'(x) = 2x - 3. Assume that 0 < x < 3. Then

$ f'(x) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(x + \Delta x) - f(x)} \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { 3(x + \Delta x) - (x + \Delta x)^2 - (3x - x^2 ) \over \Delta x } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { 3x + 3 \Delta x - ( x^2 + 2x \Delta x + (\Delta x)^2 ) - 3x +x^2 \over \Delta x } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { 3x + 3 \Delta x - x^2 - 2x \Delta x - (\Delta x)^2 - 3x +x^2 \over \Delta x } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { 3 \Delta x - 2x \Delta x - (\Delta x)^2 \over \Delta x } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { \Delta x ( 3 - 2x - \Delta x ) \over \Delta x } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { ( 3 - 2x - \Delta x ) } $

= 3 - 2x .

Now check for differentiability at x=0, i.e., compute f'(0). Then

$ f'(0) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(0 + \Delta x) - f(0)} \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { f( \Delta x) - 0 \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { f( \Delta x) \over {\Delta x} } $ .

If $ \Delta x > 0 $, then

$ \displaystyle { \lim_{\Delta x \to 0^{+} } \ { {f( \Delta x) } \over {\Delta x...
...im_{\Delta x \to 0^{+} } \ { 3 (\Delta x) - ( \Delta x)^2 \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{+} } \ { \Delta x ( 3 - \Delta x ) \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{+} } \ ( 3 - \Delta x ) } $

= 3.

If $ \Delta x < 0 $, then

$ \displaystyle { \lim_{\Delta x \to 0^{-} } \ { {f( \Delta x) } \over {\Delta x...
...im_{\Delta x \to 0^{-} } \ { ( \Delta x)^2 - 3 (\Delta x) \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{-} } \ { \Delta x ( \Delta x - 3 ) \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{-} } \ ( \Delta x - 3 ) } $

= - 3.

Since the one-sided limits exist but are NOT EQUAL, $ f'(0) = \displaystyle { \lim_{\Delta x \to 0 } \ { {f( \Delta x) } \over {\Delta x} } } $ does not exist, and f is not differentiable at x = 0. Now check for differentiability at x=3, i.e., compute f'(3). Then

$ f'(3) = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(3 + \Delta x) - f(3)} \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(3 + \Delta x) - 0 } \over {\Delta x} } $

$ = \displaystyle {\lim_{\Delta x\to 0} } \; \;\displaystyle { {f(3 +\Delta x) } \over {\Delta x} } $ .

If $ \Delta x > 0 $ , then $ 3 + \Delta x > 3 $ so that

$ \displaystyle { \lim_{\Delta x \to 0^{+} } \ { {f(3 + \Delta x) } \over {\Delt...
...lta x \to 0^{+} } \ { (3 + \Delta x)^2 - 3 (3 + \Delta x) \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{+} } \ { 9 + 6 \Delta x + ( \Delta x)^2 - 9 - 3 \Delta x \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{+} } \ { 3 \Delta x + ( \Delta x)^2 \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{+} } \ { \Delta x ( 3 + \Delta x ) \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{+} } \ ( 3 + \Delta x ) } $

= 3.

If $ \Delta x < 0 $ , then $ 3 + \Delta x < 3 $ so that

$ \displaystyle { \lim_{\Delta x \to 0^{-} } \ { {f(3 + \Delta x) } \over {\Delt...
...elta x \to 0^{-} } \ { 3 (3 + \Delta x) - (3 + \Delta x)^2\over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{-} } \ { 9 + 3 \Delta x - (9 + 6 \Delta x + ( \Delta x)^2) \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{-} } \ { 9 + 3 \Delta x - 9 - 6 \Delta x - ( \Delta x)^2 \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{-} } \ { -3 \Delta x - ( \Delta x)^2 \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{-} } \ { \Delta x ( -3 - \Delta x) \over {\Delta x} } } $

$ = \displaystyle { \lim_{\Delta x \to 0^{-} } \ ( -3 - \Delta x ) } $

= - 3.

Since the one-sided limits exist but are NOT EQUAL, $ f'(3) = \displaystyle { \lim_{\Delta x \to 0 } \ { {f(3 + \Delta x) } \over {\Delta x} } } $ does not exist, and f is not differentiable at x = 3. Summarizing, the derivative of f is

$ f'(x) = \cases{ 2x - 3, & if $\space x < 0 $\space \cr
3 - 2x, & if $ 0 < x < 3 $\space \cr
2x - 3 , & if $ x > 3 $\space . \cr } $

Function f is not differentiable at x=0 or x=3.

Click HERE to return to the list of problems.



SOLUTION 12 : First, determine if f is continuous at x=2, i.e., determine if $ \displaystyle{ \lim_{ x \to 2 } \ f(x) = f(2) = 0 } $ .

For x > 2

$ \displaystyle{ \lim_{ x \to 2^{+} } \ f(x) } = \displaystyle{ \lim_{ x \to 2^{+} } \ \Big\{ { 1\over 4 }x^3 - {1 \over 2 } x^2 \Big\} } $

$ = \displaystyle{ 1\over 4 }(2)^3 - \displaystyle{1 \over 2 } (2)^2 $

= 0.

For x < 2

$ \displaystyle{ \lim_{ x \to 2^{-} } \ f(x) } = \displaystyle { \lim_{ x \to 2^{-} } \ \displaystyle{ -6x-6 \over x^2+2 } } $

$ = \displaystyle{ -6(2)-6 \over (2)^2+2 } $

= -3.

Thus, the one-sided limits exist but are NOT EQUAL, so that $ \displaystyle{ \lim_{ x \to 2 } \ f(x) } $ does not exist and function f is NOT CONTINUOUS AT x=2 . Since function f is NOT CONTINUOUS AT x=2 , function f is NOT DIFFERENTIABLE at x=2 .



REMARK 1 : Use of the limit definition of the derivative of f at x=2 also leads to a correct solution to this problem.



REMARK 2 : What follows is a common INCORRECT attempt to solve this problem using another method. For x>2

$ f'(x) = \displaystyle{ 3 \over 4 } x^2 - x $.

For x<2

$ f'(x) = \displaystyle{ (x^2+2) (-6) - (-6x-6) (2x) \over (x^2+2)^2 } $

$ = \displaystyle{ 6x^2 + 12x - 12 \over (x^2+2)^2 } $.

Then

$ \displaystyle{ \lim_{ x \to 2^{+} } \ f'(x) } = \displaystyle{ \lim_{ x \to 2^{+} } \ \Big\{ { 3 \over 4 } x^2 - x \Big\} } $

$ = \displaystyle{ 3 \over 4 } (2)^2 - 2 $

= 1 ,

and

$ \displaystyle{ \lim_{ x \to 2^{-} } \ f'(x) } = \displaystyle{ \lim_{ x \to 2^{-} } \ { 6x^2 + 12x - 12 \over (x^2+2)^2 } } $

$ = \displaystyle{ 6(2)^2 + 12(2) - 12 \over ((2)^2+2)^2 } $

= 1 .

An INCORRECT conclusion would be that f'(2) = 1. If f' were continuous at x=2 , this would be a valid method to compute f'(2) .

Click HERE to return to the list of problems.







Duane Kouba
1998-06-02