| 
View
 

3 Derivative Of Simple Functions

This version was saved 14 years, 7 months ago View current version     Page history
Saved by Chung
on July 31, 2010 at 7:57:45 pm
 

Derivative of Simple Functions

Bridge Course, August 2010

July 28, 2010

Intuition: The derivative of a function f(x) assigns measures the “slope” (i.e. how quickly the value of f(x) changes as the value of x changes) of the function at the point x. It is denoted Formula, or just f′(x).

Figure 1: f(x) = e^x with a tangent to f at x = 2.5

 

Definition: Consider a function f = f(x) defined over real-line. Then f′(x) is defined as 

                                               Formula.

 

Examples: Derivative computation

Consider a few examples of derivative computation:

 

When limits exist                                                                          Maxima CODE

1. Consider f(x) = x. Then                                                                                                          diff(x,x,1)

                                                    Formula

    Hence the slope of the function is 1 everywhere.

2. Consider f(x) = 2x. Then Formula.                                                          diff(2*x,x,1)

3. Consider f(x) = x2. Then Formula

Hence the slope of the function changes with x – in particular, the larger the magnitude of x, the larger the slope.                                                                                                                                                  diff(x∧2,x,1)

 

  

                     (a) f'(0)                                          (b) f'(1)                                         (c) f'(2)  

Figure 2: slope of the function changes with different x

 

When derivatives do not exist

 

1. |x|, for x = 0.                                                                                                                diff(abs(x),x,1)

Figure 3: f(x) = |x|

Proof: we have

                                                                 Formula

Consider

                                                Formula

Note that: If ϵ is negative, then Formula is negative.If ϵ is positive, then Formula is positive. Therefore, Formula does not exist and hence derivative of |x|, for x=0 does not exist.

 

2. Formula for x = 0.                                                                                                                diff(1/x,x,1)

Figure 4: f(x) = Formula

Proof: Consider the function f(x) = Formula for x ̸= 0. We have

                         Formula

Note that: If a is equal 0, the derivative of f(x) becomes infinity. Therefore, the derivative of Formula for x = 0 does not exist.

 

More examples

 

1. Let f(x) = Formula. Find f′(x)                                                                                           diff(x∧n,x,1)

                         Formula

2. Let f(x) = sin x. Find f′(x)                                                                                          diff(sin(x),x,1)

                         Formula

. Let f(x) = ln x. Find f′(x) and f′(100)                                                                           diff(log(x),x,1)

                         Formula

And hence, f′(100) = 1/100

 

Exercises

 

1. Compute the derivative of f(x) by using definition of derivative

 

(a) f(x) = Formula + 2x + 1                                                                                         diff(x∧3+2*x+1,x,1)

(b) Formula                                                           diff(x∧2,x,1) and diff(-x∧2,x,1)

(c) f(x) = cos x                                                                                                              diff(cos(x),x,1)

(d) f(x) = tan x                                                                                                              diff(tan(x),x,1)

(e) f(x) = Formula                                                                                                                  diff(e∧x,x,1)

 

2. Determine the following function whether f′(x) for x = 0 and find the value if it exists

 

(a) f(x) = ln x                                                                                                                 diff(log(x),x,1)

(b) f(x) = ln(1 + x)                                                                                                      diff(log(1+x),x,1)

 

Comments (0)

You don't have permission to comment on this page.