# Derivative

A **derivative**, one of the fundamental concepts of calculus, measures how quickly a function changes as its input value changes. Given a graph of a real curve, the derivative at a specific point will equal the slope of the line tangent to that point. For example, the derivative of `y = x ^{2}` at the point

`(1,1)`tells how quickly the function is increasing at that point. If a function has a derivative at some point, it is said to be

**differentiable**there. If a function has a derivative at every point where it is defined, we say it is a

**differentiable function**. Differentiability implies continuity.

One of the main applications of differential calculus is **differentiating** a function, or calculating its derivative. The First Fundamental Theorem of Calculus explains that one can find the original function, given its derivative, by integrating, or taking the integral of, the derivative.

## Contents

## Definition

The derivative of the function `f(x)`, denoted `f'(x)` or , is defined as:

In other words, it is the limit of the slope of the secant line to f(x) as it becomes a tangent line. If the tangent line is increasing (which it is if the original function is increasing), the derivative is positive; if the function is decreasing, the derivative is negative.

For example,
In general, `f'(mx) = m`; that is, the derivative of any line is equal to its slope.

### Higher order derivatives

A higher order derivative is obtained by repeatedly differentiating a function. Thus, the second derivative of x, or , is

Similarly,

and so forth.

A common alternative notation is , , and for the second, third or n th derivative.

### Partial derivatives

A *partial derivative* is obtained by differentiating a function of multiple variables with respect to one variable while holding the rest constant. For example, the partial derivative of `F(x,y)` with respect to x, or , represents the rate of change of F with respect to x while y is constant. Thus, F could be windchill, which depends both on wind velocity and actual temperature. represents how much windchill changes with respect to wind velocity for a given temperature.

Partial derivatives are calculated just like full derivatives, with the other variables being treated as constants.

**Example:**
Let . Then there are two partial derivatives of first order:

Note that the two partial derivatives and in this example are again differentiable functions of and , so higher derivatives can be calculated:

Note that equals , so that the order of taking the derivative doesn't matter. Though this doesn't hold generally, it's true for a great class of important functions, specifically continuous functions.

## Uses

In mathematics, derivatives are helpful in determining the maximum and minimum of a function. For example, taking the derivative of a quadratic function will yield a linear function. The points at which this function equals zero are called critical points. Maxima and minima can occur at critical points, and can be verified to be a maximum or minimum by the *second derivative test*. The second derivative is used to determine the concavity, or curved shape of the graph. Where the concavity is positive, the graph curves upwards, and could contain a relative minimum. Where the concavity is negative, the graph curves downwards, and could contain a relative maximum. Where the concavity equals zero is said to be a point of *inflection,* meaning that it is a point where the concavity could be changing.

Derivatives are also useful in physics, under the "rate of change" concept. For example, acceleration is the derivative of velocity with respect to time, and velocity is the derivative of distance with respect to time.

Another important application of derivatives is in the Taylor series of a function, a way of writing certain functions like as a power series.