# Real Analysis/Differentiation

←Exercises | Real Analysis Differentiation |
Applications of Derivatives→ |

In this chapter, we will introduce the concept of differentiation. Differentiation is a staple tool in calculus, which should be a fact somewhat familiar to you from studying earlier mathematics. However, the reasons as to why this is true have not always been so clearly proven. This chapter prove a simple consequence of differentiation you will be most familiar with - that is, we will focus on proving each differentiation "operations" that provides us a simple way to find the derivative for common functions.

## DefinitionEdit

Let us define the derivative of a function

Given a function

Let

We say that *ƒ*(*x*) is **differentiable** at *x*=*a* if and only if

exists.

The **derivative** of *ƒ* at *a* is denoted by

A function is said to be differentiable on a set *A* if the derivative exists for each *a* in *A*. A function is differentiable if it is differentiable on its entire domain.

## Definition-Derived Theorems (Differentiability Implies Continuity)Edit

Given our definition of a derivative, it should be noted that it utilizes limits and functions. This theorem relates derivation with continuity, which is useful for justifying many of the latter theorems that will be discussed in this chapter. The proof for this theorem is simple; it requires a valid limit converging to zero to mimic the continuity definition.

**Theorem**Given a function ƒ which is differentiable at

*a*, it is also continuous at*a*

The proof for this is as follows

Differentiable definition: | |

Suppose we multiply both sides by 0 | |

Algebraic manipulations | |

The continuity definition |

However, the converse is not true in this case. Analyzing the proof, it is apparent that a continuous function at *a* does not necessarily mean that it is differentiable at *a* simply because it would involve removing the multiplication by 0, which is impossible given our algebraic axioms.

## Properties of DifferentiationEdit

From this definition, we will create new properties of derivation. People familiar with Calculus should note that we are proving that the derivation of certain functions and operations are valid. These first theorems follow immediately from the definition.

### Basic PropertiesEdit

Below are the list of properties which are mentioned only for completeness, and a demonstration of how the derivation formula works.

Constant Function | Given |

Identity Function | Given |

__Constant Function__

Suppose a constant function *ƒ* such that . This function will always have a derivative of 0 for any real number.

Given the derivation definition, we have

Applying the definition of the function, we can substitute the function for c, as such

__Identity Function__

Suppose an identity function *ƒ* such that . This function will always have a derivative of 1 for any real number.

Given the derivation definition, we have

Applying the definition of the function, we can substitute the function for its input, as such

### Algebraic PropertiesEdit

Suppose two functions f and g that are differentiable at a, these following properties apply

Addition | |

Subtraction | |

Product | |

Multiple of a Function | |

Reciprocal | |

Division |

We will individually prove each one below

__Addition__

This proof essentially creates the definition of differentiation from the two functions that make up the overall function.

__Subtraction__

We will not write out a rigorous proof for subtraction, given that it can be done mentally by imagining a negated function or retracing the addition proof with subtraction instead.

__Product__

This proof works similarly to the previous proof, except that this proof requires the addition of extra terms which zero out when added together. This is a normal algebraic trick in order to derive theorems, which will be further used in the latter theorems in this chapter.

__Product of a Constant__

For this proof, we will present it using two different methods.

The first method requires only the limit theorem that a constant multiple is equivalent to the limit being multiplied by the constant.

The second proof requires applying the product rule and constant function for differentiation.

__Reciprocal__

Like the other proofs before, this one will also invoke the definition at a certain point to simplify the statement into a concise, memorizable format.

__Division__

This proof borrows the reciprocal proof and the multiplication proof to form an easy to follow rationale.

### Chain Rule (Function Composition Theorem)Edit

Given two functions f and g such that f is differentiable at and g is differentiable at a, then

__Proof Part 1__

Unlike the previous properties, the chain rule will quickly become problematic and will definitely require an external theorem outside of algebraic manipulations to solve. To illustrate why a new theorem is required, we will begin to prove the Chain Rule though algebraic manipulations, point out the road block, then create a lemma to guide us around the issue, and thus figure out a proof. We begin with the following statements:

The problem is that may be zero at points arbitrarily close to x, and therefore would not be continuous at these points. Thus we apply a clever lemma as follows:

#### Caratheodory's LemmaEdit

Let

We say that is differentiable at if and only if there exists a continuous function that satisfies

__Proof__

( )Let be differentiable at and define function such that

for and

It is easy to see that is continuous and that it satisfies the required condition.

( ) Let be a continuous function satisfying

For all , we have that

As is continuous, , that is,

which implies that is differentiable at

__Proof Part 2__

Let be differentiable at

Let be differentiable at

Let the domain of f be a subset of the image of g.

Then,

- is differentiable at

Caratheodory's Lemma implies that there exist continuous functions such that and

Now, consider the function . Obviously, is continuous.

Also, it satisfies . Hence, by Caratheodory's Lemma, is differentiable at and that

## ExercisesEdit

Here are some exercises to expand and train your understanding of the material.

- Find the derivatives of the following functions:
- A function of the form ƒ(x) = x
^{n} - Polynomial
- Trigonometric
- Exponential
- Logarithmic

- A function of the form ƒ(x) = x
- In this chapter you have learned that being able to take the derivative implies that the function is continuous at that point. Given this, please read Higher Order Derivatives before solving these problems
- Prove whether that the second derivative at a is also continuous at a
- Prove whether that the n
^{th}derivative at a is also continuous at a

- Some of the most popular counter examples to illustrate properties of continuity and differentiability are functions involving
- Prove that is not continuous at
- Prove that the function is continuous but not differentiable at
- Prove that is differentiable at