# Differentiation

## Definition and Notation

A *derivative* of a function, ** f(x)**, is a function

**such that:**

*f’*(x)The Derivative function is defined at x so long as the above limit exists at x. Thus, it is generally *not* defined at points where functions come to sharp “corners” or cusps, or if the limit is different from the right than from the left. For example, the derivative for the function below is undefined at x=2:

What is a derivative? The value of ** f’(x)** is the slope of the line tangent to

**at x. This is the same as saying that it is the rate of change of**

*f*(x)**with respect to x at x.**

*f*(x)Besides the ** f’(x)** notation, several equivalent notations are found in literature and textbooks to denote a derivative:

## Differentiation Rules

Learning to differentiate is a process of memorizing differentiation rules for various types of functions. I will list several of the most useful rules here without much explanation. If you are rusty on differentiating, I would encourage you to find a calculus text book and work odd-numbered problems until you feel comfortable.

### Basic Differentiation Rules

#### Derivative of a Constant

**Let b be a constant, then**

if *f*(x) = b then *f’*(x) = 0

#### Derivative of a Linear Function

if *f*(x) = mx + b then *f’*(x) = m

#### The Power Rule

**Let n be an integer, then**

if *f*(x) = x^{n} then *f’*(x) = nx^{n-1}

#### Derivative of a Function Multiplied by a Constant

#### Derivative of a Sum of Two Functions

#### The Product Rule

#### The Quotient Rule

#### The Reciprocal Rule

#### The Chain Rule

### Log and Exponent Functions

#### Base e

#### Any Other Base

### Trigonometric Functions

You should be aware that differentiation rules exist for all six standard trig functions (sin, cos, tan, sec, csc, cot) and their inverses (sin^{-1}, cos^{-1}, tan^{-1}, sec^{-1}, csc^{-1}, cot^{-1}). In practice, however, you can get away with knowing the differentiation rules for sin and cos and looking up the others if you need them. Actually, if you remember your identities from high school trig, you should be able to rearrange any trigonometric function in terms of sines and cosines.

The hardest part is remembering which one has the negative sign.

### Hyperbolic Functions

I actually doubt that there will be any questions on the exam about hyperbolic functions. They have important applications (for example in infinite sequences and series, which are important in numeric analysis and algorithm design) but they are probably a little esoteric for a test that doesn’t even cover integral calculus. Still, for the sake of completeness, let me remind you of the two basic rules:

Notice that they are just like the rules for sine and cosine, but with no negative sign.

## Sources

Shenk, A. (1988). *Calculus and Analytic Geometry* [4th Ed.]. Glenview, IL: Scott Foresman and Company.

Swokowski, E., Olinick, M., Pence, D. & Cole, J. (1994). *Calculus of a Single Variable* [6th Ed.]. Boston, MA: PWS.